@soonspacejs/plugin-cps-soonmanager 2.8.10 → 2.8.12

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.
package/dist/types.d.ts CHANGED
@@ -20,6 +20,7 @@ export interface IMetadata {
20
20
  * 场景树
21
21
  */
22
22
  export interface ITreeData {
23
+ parent: ITreeData | null;
23
24
  id: string;
24
25
  pid: string | null;
25
26
  name: string;
@@ -54,7 +55,6 @@ export interface ITopologyNodeGraph {
54
55
  linkInfo: ITopologyEdge;
55
56
  targetNodeId: string;
56
57
  passable: PassableType;
57
- length: number;
58
58
  }
59
59
  export interface ITopologyEdge {
60
60
  id: string;
@@ -148,6 +148,10 @@ export interface ILoadSceneOptions {
148
148
  * 应用预设效果
149
149
  */
150
150
  applyPresetEffects?: boolean;
151
+ /**
152
+ * 同步场景算法 BFS | DFS
153
+ */
154
+ loadSceneAlgorithm?: LoadSceneAlgorithm;
151
155
  }
152
156
  /**
153
157
  * properties map
@@ -173,6 +177,10 @@ export interface TLicense {
173
177
  sign: string;
174
178
  content: string;
175
179
  }
180
+ export declare enum LoadSceneAlgorithm {
181
+ BFS = "BFS",
182
+ DFS = "DFS"
183
+ }
176
184
  export interface Options {
177
185
  key?: string;
178
186
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-cps-soonmanager",
3
3
  "pluginName": "CpsSoonmanagerPlugin",
4
- "version": "2.8.10",
4
+ "version": "2.8.12",
5
5
  "description": "Sync cps soonmanager data plugin for SoonSpace.js",
6
6
  "main": "dist/index.esm.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,8 +13,8 @@
13
13
  ],
14
14
  "author": "xunwei",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "2be8f7eedb9bbc1d6a263e5cc50d3235911551b8",
16
+ "gitHead": "4b5289f3fabce1ddcbc750bdeeced02bc4b4f397",
17
17
  "peerDependencies": {
18
- "soonspacejs": "2.8.10"
18
+ "soonspacejs": "2.8.12"
19
19
  }
20
20
  }
File without changes