@nocobase/client-v2 2.1.27 → 2.1.28

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.
@@ -19,8 +19,8 @@ export type FlowRouteProps = {
19
19
  /**
20
20
  * 管理后台动态页面路由组件。
21
21
  *
22
- * 负责读取当前路由页面 UID,补充运行时设备变量,
23
- * 并把页面生命周期桥接到 AdminLayout host model。
22
+ * 负责读取当前路由页面 UID,并把页面生命周期桥接到 AdminLayout host model。
23
+ * 设备变量通常由 PluginFlowEngine 共享初始化提供;独立渲染时会在挂载后补充注册。
24
24
  *
25
25
  * @example
26
26
  * ```tsx
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import type { FlowEngine } from '@nocobase/flow-engine';
10
+ export declare const registerDeviceTypeContext: (flowEngine: FlowEngine) => void;