@soonspacejs/plugin-cps-soonmanager 2.8.13 → 2.8.15
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 -0
- package/package.json +3 -3
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.
|
|
4
|
+
"version": "2.8.15",
|
|
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": "459190746fe7c09573ff54982b8548143ca000d4",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.8.
|
|
18
|
+
"soonspacejs": "2.8.15"
|
|
19
19
|
}
|
|
20
20
|
}
|