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.

47 lines (46 loc) 1.4 kB
import { useCollectionDataSource } from '@tachybase/client'; import { FilterDynamicComponent } from '../components/FilterDynamicComponent'; import { Instruction } from './default-node/interface'; export default class extends Instruction { title: string; type: string; group: string; icon: string; color: string; description: string; fieldset: { collection: { 'x-reactions': any[]; type: string; title: string; required: boolean; 'x-decorator': string; 'x-component': string; }; params: { type: string; properties: { filter: { "x-validator"(value: any): string; type: string; title: string; 'x-decorator': string; 'x-component': string; 'x-use-component-props': () => { options: any[]; className: string; }; 'x-component-props': { dynamicComponent: string; }; }; }; }; }; scope: { useCollectionDataSource: typeof useCollectionDataSource; }; components: { FilterDynamicComponent: typeof FilterDynamicComponent; }; }