@soonspacejs/plugin-cps-soonmanager 2.8.12 → 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/index.d.ts +6 -3
- package/dist/index.esm.js +2 -2
- package/dist/types.d.ts +19 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -20,13 +20,15 @@ export interface IMetadata {
|
|
|
20
20
|
* 场景树
|
|
21
21
|
*/
|
|
22
22
|
export interface ITreeData {
|
|
23
|
-
parent: ITreeData | null;
|
|
24
23
|
id: string;
|
|
25
24
|
pid: string | null;
|
|
26
25
|
name: string;
|
|
27
26
|
renderType: 'GROUP' | '3D' | 'ROOM' | 'STUB';
|
|
27
|
+
deviceName: string | null;
|
|
28
|
+
deviceCode: string | null;
|
|
28
29
|
matrix: number[];
|
|
29
30
|
path: string | null;
|
|
31
|
+
familyId: string | null;
|
|
30
32
|
children: ITreeData[];
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
@@ -132,6 +134,14 @@ export interface IPresetEffectsOptions {
|
|
|
132
134
|
* loadScene options
|
|
133
135
|
*/
|
|
134
136
|
export interface ILoadSceneOptions {
|
|
137
|
+
/**
|
|
138
|
+
* 平台解密公钥
|
|
139
|
+
*/
|
|
140
|
+
appKey?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 资源包路径
|
|
143
|
+
*/
|
|
144
|
+
path?: string;
|
|
135
145
|
/**
|
|
136
146
|
* 同步自定义属性
|
|
137
147
|
*/
|
|
@@ -152,6 +162,14 @@ export interface ILoadSceneOptions {
|
|
|
152
162
|
* 同步场景算法 BFS | DFS
|
|
153
163
|
*/
|
|
154
164
|
loadSceneAlgorithm?: LoadSceneAlgorithm;
|
|
165
|
+
/**
|
|
166
|
+
* 同步场景算法 BFS | DFS
|
|
167
|
+
*/
|
|
168
|
+
loadTargetId?: ITreeData['id'];
|
|
169
|
+
/**
|
|
170
|
+
* 同步场景算法 BFS | DFS
|
|
171
|
+
*/
|
|
172
|
+
loadLevel?: number;
|
|
155
173
|
}
|
|
156
174
|
/**
|
|
157
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.
|
|
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": "
|
|
16
|
+
"gitHead": "edd814a0d1c5d8b994a43ec1579b9c384d62dfe8",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.8.
|
|
18
|
+
"soonspacejs": "2.8.14"
|
|
19
19
|
}
|
|
20
20
|
}
|