@tachybase/plugin-workflow-approval
Version:
Approval base in Workflow
71 lines (70 loc) • 1.83 kB
TypeScript
export declare const initializerName = "otherBlocks.workflow.approval";
export declare const initializerApprovalBlock: {
type: string;
key: string;
name: string;
title: string;
icon: string;
children: ({
type: string;
title: string;
icon: string;
'x-component': string;
Component: string;
collection: string;
action: string;
useInsert: () => (schema: any) => void;
params?: undefined;
'x-decorator'?: undefined;
'x-toolbar'?: undefined;
'x-settings'?: undefined;
} | {
type: string;
title: string;
icon: string;
'x-component': string;
Component: string;
collection: string;
params: {
appends: string[];
except: string[];
};
action?: undefined;
useInsert?: undefined;
'x-decorator'?: undefined;
'x-toolbar'?: undefined;
'x-settings'?: undefined;
} | {
type: string;
title: string;
icon: string;
'x-component': string;
Component: string;
collection: string;
params: {
appends: string[];
except?: undefined;
};
action?: undefined;
useInsert?: undefined;
'x-decorator'?: undefined;
'x-toolbar'?: undefined;
'x-settings'?: undefined;
} | {
type: string;
title: string;
icon: string;
'x-decorator': string;
'x-component': string;
'x-toolbar': string;
'x-settings': string;
Component: string;
collection: string;
params: {
appends: string[];
except?: undefined;
};
action?: undefined;
useInsert?: undefined;
})[];
};