@aurigma/design-atoms-interfaces
Version:
28 lines (27 loc) • 838 B
TypeScript
/**
* A structure defining the barcode permissions.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "placeholder": {
* "contentPermissions": {
* "barcodePermissions": {
* "allowChangeBarcodeContent": false,
* "allowChangeBarcodeType": false
* }
* }
* }
* }
* }
* ```
* @public
*/
export interface IBarcodePermissionsData {
/** Allows your users to change the barcode type in a placeholder. The default value is `false`. */
allowChangeBarcodeType?: boolean;
/** Allows your users to change the barcode content. The default value is `true`. */
allowChangeBarcodeContent?: boolean;
/** Allows your users to change the barcode color. The default value is `true`. */
allowChangeBarcodeColor?: boolean;
}