@tachybase/module-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
23 lines (22 loc) • 670 B
TypeScript
import { SchemaInitializerItemType, useCollectionDataSource } from '@tachybase/client';
import { Trigger } from '..';
export default class extends Trigger {
sync: boolean;
title: string;
description: string;
fieldset: {
config: {
type: string;
'x-component': string;
'x-component-props': {};
};
};
scope: {
useCollectionDataSource: typeof useCollectionDataSource;
};
components: {
ScheduleConfig: () => import("react/jsx-runtime").JSX.Element;
};
useVariables(config: any, opts: any): any[];
useInitializers(config: any): SchemaInitializerItemType | null;
}