/** * Descriptor enabling operation on widget: * - string (if you just need to include / exclude operation or groups) * - object, if this is group in which you want to selectively include or exclude the operation */ export declare type OperationInclusionDescriptor = string | { /** * Type of transaction; a string that uniquely identifies the operation on the widget */ type: OperationType; /** * List of included operations or groups operations */ include?: OperationInclusionDescriptor[]; /** * List of excluded operations or groups operations */ exclude?: OperationType[]; }; /** * TODO: Rename to CoreOperationRole in 2.0.0 */ export declare enum OperationTypeCrud { create = "create", save = "save", delete = "delete", associate = "associate", cancelCreate = "cancel-create", fileUpload = "file-upload" } /** * String that uniquely identifies an operation on widget */ export declare type OperationType = OperationTypeCrud | string;