UNPKG

@tachybase/plugin-workflow-approval

Version:

Approval base in Workflow

142 lines (141 loc) 3.65 kB
export declare const nodeCollection: { title: string; name: string; fields: ({ type: string; name: string; interface: string; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props': { fieldNames: { label: string; value: string; }; service: { resource: string; params: { filter: { type: string; }; }; }; }; }; } | { type: string; name: string; interface: string; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props'?: undefined; }; })[]; }; export declare const workflowCollection: { title: string; name: string; fields: { type: string; name: string; interface: string; uiSchema: { title: string; type: string; 'x-component': string; required: boolean; }; }[]; }; export declare const todoCollection: { title: string; name: string; fields: ({ type: string; name: string; target: string; foreignKey: string; interface: string; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props': { fieldNames: { label: string; value: string; }; service: { resource: string; }; showTime?: undefined; }; enum?: undefined; }; isAssociation?: undefined; } | { type: string; name: string; target: string; foreignKey: string; interface: string; isAssociation: boolean; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props': { fieldNames: { label: string; value: string; }; service: { resource: string; }; showTime?: undefined; }; enum?: undefined; }; } | { type: string; name: string; interface: string; uiSchema: { type: string; title: string; 'x-component': string; enum: { value: import("@tachybase/module-workflow/client").JOB_STATUS; label: string; color: string; icon: import("react/jsx-runtime").JSX.Element; }[]; 'x-component-props'?: undefined; }; target?: undefined; foreignKey?: undefined; isAssociation?: undefined; } | { name: string; type: string; interface: string; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props': { showTime: boolean; fieldNames?: undefined; service?: undefined; }; enum?: undefined; }; target?: undefined; foreignKey?: undefined; isAssociation?: undefined; })[]; };