@tachybase/module-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
95 lines (94 loc) • 2.79 kB
TypeScript
import React from 'react';
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 useCreateFormBlockProps: () => {
form: any;
};
export declare const createWorkflow: ISchema;
export declare const updateWorkflow: ISchema;
export declare const WorkflowTabCardItem: (props: any) => import("react/jsx-runtime").JSX.Element;
/**
* 表格数据提供者,支持分类筛选
* - 根据当前选中的分类标签(tag.value)动态添加 category.id filter
* - 使用 listExtended action 获取包含额外字段的工作流列表(最新执行时间、事件源名称、分类等)
*/
export declare const TabTableBlockProvider: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<{
params: any;
}>>;
export declare const workflowSchema: ISchema;