UNPKG

@aurigma/design-atoms-interfaces

Version:

36 lines (35 loc) 1.11 kB
import { IBarcodePermissionsData } from "./IBarcodePermissionsData"; import { IImagePermissionsData } from "./IImagePermissionsData"; /** * A structure defining permissions for the placeholder's content. * @example * ```json * { * "defaultItemsConfig": { * "placeholder": { * "placeholderPermissions": { * "allowEditContent": true, * "showSelectButton": true, * "showHandleButton": true * }, * "contentPermissions": { * "imagePermissions": { * "allowChangeImage": true, * "allowEditImage": true * }, * "barcodePermissions": { * "allowChangeBarcodeType": true * } * } * } * } * } * ``` * @public */ export interface IContentPermissionsData { /** Defines permissions for the content of image placeholders. */ imagePermissions?: IImagePermissionsData; /** Defines permissions for the content of barcode placeholders. */ barcodePermissions?: IBarcodePermissionsData; }