@soonspacejs/plugin-cps-soonmanager 2.11.50 → 2.11.52

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
@@ -1,4 +1,4 @@
1
- import { Tween } from '@tweenjs/tween.js';
1
+ import { Tween } from 'three/examples/jsm/libs/tween.module.js';
2
2
  import { AnimationModeType, BaseObjectInfo, IVector3, PoiNodeType } from 'soonspacejs/types/Interface';
3
3
  /**
4
4
  * 场景元数据
@@ -23,8 +23,8 @@ export interface IMetadata {
23
23
  export interface ITreeData {
24
24
  id: string;
25
25
  pid: string | null;
26
+ sid: string;
26
27
  name: string;
27
- uuid: string;
28
28
  renderType: 'GROUP' | '3D' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE' | 'DECAL' | 'AREA' | 'FLOOR' | 'ROOM';
29
29
  deviceCode: string | null;
30
30
  matrix: number[];
@@ -268,6 +268,10 @@ export interface ILoadSceneOptions extends ConstructorOptions {
268
268
  * 对象 id 前缀
269
269
  */
270
270
  objectPrefixId?: string;
271
+ /**
272
+ * 作为对象的 id
273
+ */
274
+ asId?: 'id' | 'sid';
271
275
  }
272
276
  /**
273
277
  * 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.11.50",
4
+ "version": "2.11.52",
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,7 +13,7 @@
13
13
  ],
14
14
  "author": "xunwei",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "6a956d877d81c70d76897089b3286d61d29f347a",
16
+ "gitHead": "4a87a60095d2a9079c2e04a8a4d3307fb6da09d7",
17
17
  "dependentPlugins": [
18
18
  "plugin-poi-renderer",
19
19
  "plugin-effect"
@@ -28,8 +28,8 @@
28
28
  "socket.io-client": "^4.7.2"
29
29
  },
30
30
  "peerDependencies": {
31
- "@soonspacejs/plugin-effect": "2.11.50",
32
- "@soonspacejs/plugin-poi-renderer": "2.11.50",
33
- "soonspacejs": "2.11.50"
31
+ "@soonspacejs/plugin-effect": "2.11.52",
32
+ "@soonspacejs/plugin-poi-renderer": "2.11.52",
33
+ "soonspacejs": "2.11.52"
34
34
  }
35
35
  }