UNPKG

@tachybase/module-workflow

Version:

A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.

82 lines (81 loc) 2.19 kB
import { ISchema } from '@tachybase/schema'; export declare const collectionWorkflows: { name: string; fields: ({ type: string; name: string; interface: string; uiSchema: ISchema; target?: undefined; sourceKey?: undefined; foreignKey?: undefined; otherKey?: undefined; targetKey?: undefined; sortBy?: undefined; through?: undefined; collectionName?: undefined; } | { type: string; name: string; target: string; sourceKey: string; foreignKey: string; otherKey: string; targetKey: string; sortBy: string; through: string; collectionName: string; interface: string; uiSchema: ISchema; } | { type: string; name: string; interface?: undefined; uiSchema?: undefined; target?: undefined; sourceKey?: undefined; foreignKey?: undefined; otherKey?: undefined; targetKey?: undefined; sortBy?: undefined; through?: undefined; collectionName?: undefined; } | { name: string; type: string; interface: string; target: string; targetKey: string; foreignKey: string; collectionName: string; uiSchema: { type: string; title: string; 'x-component': string; 'x-component-props': { multiple: boolean; fieldNames: { value: string; label: string; }; }; }; sourceKey?: undefined; otherKey?: undefined; sortBy?: undefined; through?: undefined; })[]; }; export declare const collectionWorkflowCategories: { name: string; fields: { type: string; name: string; interface: string; uiSchema: ISchema; }[]; }; export declare const workflowFieldset: Record<string, ISchema>; export declare const createWorkflow: ISchema; export declare const updateWorkflow: ISchema; export declare const workflowSchema: ISchema;