UNPKG

@nocobase/flow-engine

Version:

A standalone flow engine for NocoBase, managing workflows, models, and actions.

18 lines (17 loc) 770 B
/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import type { FlowContext } from '../flowContext'; import { JSRunner } from '../JSRunner'; import type { JSRunnerOptions } from '../JSRunner'; import { RunJSVersion } from './contexts/FlowRunJSContext'; export declare function getRunJSDocFor(ctx: FlowContext, { version }?: { version?: RunJSVersion; }): any; export declare function createJSRunnerWithVersion(this: FlowContext, options?: JSRunnerOptions): JSRunner; export declare function registerDefaultMappings(): void;