@nocobase/flow-engine
Version:
A standalone flow engine for NocoBase, managing workflows, models, and actions.
17 lines (16 loc) • 731 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 { FlowContext, PropertyMetaFactory } from '../flowContext';
/**
* Create a meta factory for ctx.view that includes:
* - buildVariablesParams: { record } via inferRecordRef
* - properties.record: full collection meta via buildRecordMeta
* - type/preventClose/inputArgs/navigation fields for better variable selection UX
*/
export declare function createViewMeta(ctx: FlowContext, getView: () => any): PropertyMetaFactory;