@tachybase/plugin-workflow-approval
Version:
Approval base in Workflow
89 lines (88 loc) • 2.38 kB
TypeScript
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;
})[];
};