@nocobase/flow-engine
Version:
A standalone flow engine for NocoBase, managing workflows, models, and actions.
18 lines (17 loc) • 756 B
TypeScript
/**
* 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 { RunJSVersion, RunJSContextCtor } from './contexts/FlowRunJSContext';
export declare class RunJSContextRegistry {
private static map;
private static defaultsRegistered;
private static ensureDefaults;
static register(version: RunJSVersion, modelClass: string, ctor: RunJSContextCtor): void;
static resolve(version: RunJSVersion, modelClass: string): RunJSContextCtor;
}
export declare function getModelClassName(ctx: any): string;