@soonspacejs/plugin-cps-soonmanager 2.11.26 → 2.11.27

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,7 +24,7 @@ export interface ITreeData {
24
24
  id: string;
25
25
  pid: string | null;
26
26
  name: string;
27
- renderType: 'GROUP' | '3D' | 'ROOM' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE';
27
+ renderType: 'GROUP' | '3D' | 'ROOM' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE' | 'DECAL';
28
28
  deviceName: string | null;
29
29
  deviceCode: string | null;
30
30
  matrix: number[];
package/dist/utils.d.ts CHANGED
@@ -16,3 +16,4 @@ export declare function decodeString(encodedStr: string): string;
16
16
  export declare function groupBy<T extends Record<string, any>, V>(list: T[], key: keyof T): Map<V, T[]>;
17
17
  export declare function createRoom(ssp: SoonSpace, node: ITreeData): import("../../../soonspacejs/src/Library/Group").Group | null;
18
18
  export declare function createWaterSurface(cpsPlugin: CpsSoonmanagerPlugin, node: ITreeData): import("../../../soonspacejs/src/Library/PluginObject").PluginObject | null;
19
+ export declare function createDecal(ssp: SoonSpace, node: ITreeData): Promise<import("../../../soonspacejs/src/Library/Decal").Decal | null>;
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.26",
4
+ "version": "2.11.27",
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": "f2e19c944fed1fb99293d504ecbe41417dab79a8",
16
+ "gitHead": "6091c06202a80f3b45c933209c3356629da34c7e",
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.26",
32
- "@soonspacejs/plugin-poi-renderer": "2.11.26",
33
- "soonspacejs": "2.11.26"
31
+ "@soonspacejs/plugin-effect": "2.11.27",
32
+ "@soonspacejs/plugin-poi-renderer": "2.11.27",
33
+ "soonspacejs": "2.11.27"
34
34
  }
35
35
  }