UNPKG

@buzz-code/custom-js-node

Version:

NocoBase plugin for executing custom JavaScript code in workflows

13 lines (12 loc) 333 B
import { Instruction } from '@nocobase/plugin-workflow'; export default class CustomJsInstruction extends Instruction { run(node: any, input: any, processor: any): Promise<{ status: 1; result: any; error?: undefined; } | { status: -1; error: any; result?: undefined; }>; }