@tachybase/module-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
12 lines (11 loc) • 366 B
TypeScript
import { Context, Next } from '@tego/server';
import Trigger from '../../triggers';
export declare class OmniTrigger extends Trigger {
static TYPE: string;
constructor(workflow: any);
triggerAction: (ctx: any, next: any) => Promise<any>;
middleware: (ctx: Context, next: Next) => Promise<any>;
private trigger;
on(): void;
off(): void;
}