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.

12 lines (11 loc) 374 B
import { Context, Next } from '@tego/server'; import Trigger from '../../triggers'; export declare class OmniTrigger extends Trigger { static TYPE: string; constructor(workflow: any); triggerAction: (context: any, next: any) => Promise<any>; middleware: (context: Context, next: Next) => Promise<any>; private trigger; on(): void; off(): void; }