@soonspacejs/plugin-cps-soonmanager 2.8.13 → 2.8.14

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
@@ -24,8 +24,11 @@ export interface ITreeData {
24
24
  pid: string | null;
25
25
  name: string;
26
26
  renderType: 'GROUP' | '3D' | 'ROOM' | 'STUB';
27
+ deviceName: string | null;
28
+ deviceCode: string | null;
27
29
  matrix: number[];
28
30
  path: string | null;
31
+ familyId: string | null;
29
32
  children: ITreeData[];
30
33
  }
31
34
  /**
@@ -131,6 +134,14 @@ export interface IPresetEffectsOptions {
131
134
  * loadScene options
132
135
  */
133
136
  export interface ILoadSceneOptions {
137
+ /**
138
+ * 平台解密公钥
139
+ */
140
+ appKey?: string;
141
+ /**
142
+ * 资源包路径
143
+ */
144
+ path?: string;
134
145
  /**
135
146
  * 同步自定义属性
136
147
  */
@@ -151,6 +162,14 @@ export interface ILoadSceneOptions {
151
162
  * 同步场景算法 BFS | DFS
152
163
  */
153
164
  loadSceneAlgorithm?: LoadSceneAlgorithm;
165
+ /**
166
+ * 同步场景算法 BFS | DFS
167
+ */
168
+ loadTargetId?: ITreeData['id'];
169
+ /**
170
+ * 同步场景算法 BFS | DFS
171
+ */
172
+ loadLevel?: number;
154
173
  }
155
174
  /**
156
175
  * properties map
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.13",
4
+ "version": "2.8.14",
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": "d5982117927d8f1eccf32efbe1fec6238b7517e6",
16
+ "gitHead": "edd814a0d1c5d8b994a43ec1579b9c384d62dfe8",
17
17
  "peerDependencies": {
18
- "soonspacejs": "2.8.13"
18
+ "soonspacejs": "2.8.14"
19
19
  }
20
20
  }