@nocobase/client 2.0.22 → 2.1.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ import { SchemaInitializer, SchemaInitializerManager } from './schema-initialize
18
18
  import { SchemaSettings, SchemaSettingsItemType, SchemaSettingsManager } from './schema-settings';
19
19
  import { CollectionFieldInterfaceComponentOption } from '../data-source/collection-field-interface/CollectionFieldInterface';
20
20
  import { DataSourceManager, type DataSourceManagerOptions } from '../data-source/data-source/DataSourceManager';
21
- import { FlowEngine, FlowEngineContext } from '@nocobase/flow-engine';
21
+ import { FlowEngine, FlowEngineContext, FlowModel } from '@nocobase/flow-engine';
22
22
  import type { CollectionFieldInterfaceFactory } from '../data-source';
23
23
  import type { Plugin } from './Plugin';
24
24
  import type { RequireJS } from './utils/requirejs';
@@ -105,6 +105,7 @@ export declare class Application {
105
105
  globalVarCtxs: Record<string, any>;
106
106
  jsonLogic: JsonLogic;
107
107
  flowEngine: FlowEngine;
108
+ model: ApplicationModel;
108
109
  context: FlowEngineContext & {
109
110
  pluginSettingsRouter: PluginSettingsManager;
110
111
  pluginManager: PluginManager;
@@ -203,4 +204,7 @@ export declare class Application {
203
204
  Component: ComponentType;
204
205
  }): void;
205
206
  }
207
+ declare class ApplicationModel extends FlowModel {
208
+ render(): React.JSX.Element;
209
+ }
206
210
  export {};