@tachybase/plugin-workflow-approval
Version:
Approval base in Workflow
86 lines (85 loc) • 2.23 kB
TypeScript
export declare const CollectionApprovals: {
title: string;
name: string;
fields: ({
type: string;
name: string;
interface: string;
uiSchema: {
type: string;
title: string;
'x-component': string;
'x-component-props'?: undefined;
enum?: undefined;
};
target?: undefined;
foreignKey?: undefined;
} | {
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;
};
} | {
type: string;
name: string;
interface: string;
uiSchema: {
type: string;
title: string;
'x-component': string;
enum: ({
value: number;
label: string;
editable: boolean;
color?: undefined;
} | {
value: number;
label: string;
color: string;
editable: boolean;
} | {
value: number;
label: string;
color: string;
editable?: undefined;
})[];
'x-component-props'?: undefined;
};
target?: undefined;
foreignKey?: 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;
})[];
};