@soonspacejs/plugin-cps-soonmanager 2.8.11 → 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;
@@ -147,6 +148,10 @@ export interface ILoadSceneOptions {
147
148
  * 应用预设效果
148
149
  */
149
150
  applyPresetEffects?: boolean;
151
+ /**
152
+ * 同步场景算法 BFS | DFS
153
+ */
154
+ loadSceneAlgorithm?: LoadSceneAlgorithm;
150
155
  }
151
156
  /**
152
157
  * properties map
@@ -172,6 +177,10 @@ export interface TLicense {
172
177
  sign: string;
173
178
  content: string;
174
179
  }
180
+ export declare enum LoadSceneAlgorithm {
181
+ BFS = "BFS",
182
+ DFS = "DFS"
183
+ }
175
184
  export interface Options {
176
185
  key?: string;
177
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.11",
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": "7c76a046a116f659fe8fe0f01d0a8451cc370b92",
16
+ "gitHead": "4b5289f3fabce1ddcbc750bdeeced02bc4b4f397",
17
17
  "peerDependencies": {
18
- "soonspacejs": "2.8.11"
18
+ "soonspacejs": "2.8.12"
19
19
  }
20
20
  }
File without changes