@soonspacejs/plugin-cps-soonmanager 2.13.6 → 2.13.8

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
@@ -30,7 +30,7 @@ export interface ITreeData {
30
30
  pid: string | null;
31
31
  sid: string;
32
32
  name: string;
33
- renderType: 'GROUP' | '3D' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE' | 'DECAL' | 'AREA' | 'FLOOR' | 'ROOM';
33
+ renderType: 'GROUP' | '3D' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE' | 'DECAL' | 'AREA' | 'FLOOR' | 'ROOM' | 'GS';
34
34
  deviceCode: string | null;
35
35
  matrix: number[];
36
36
  familyId: string | null;
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import SoonSpace from 'soonspacejs';
1
+ import SoonSpace, { BaseObject3D } from 'soonspacejs';
2
2
  import { TAnimationFrame } from 'umanager-animation-parser';
3
3
  import { BaseTreeNode, IKeyframe, ITreeData } from './types';
4
4
  import CpsSoonmanagerPlugin from '.';
@@ -19,4 +19,5 @@ export declare function isSpace(renderType: ITreeData['renderType']): boolean;
19
19
  export declare function createSpace(ssp: SoonSpace, node: ITreeData, objectId: string): import("../../../soonspacejs/src/Library/Canvas3D").Canvas3D;
20
20
  export declare function createWaterSurface(cpsPlugin: CpsSoonmanagerPlugin, node: ITreeData, objectId: string): import("../../../soonspacejs/src/Library/PluginObject").PluginObject | null;
21
21
  export declare function createDecal(ssp: SoonSpace, node: ITreeData, objectId: string, path: string | null): Promise<import("../../../soonspacejs/src/Library/Decal").Decal | null>;
22
+ export declare function createGs3d(ssp: SoonSpace, node: ITreeData, path: string | null): Promise<BaseObject3D>;
22
23
  export declare function transformKeyframes(keyframes: IKeyframe[]): TAnimationFrame[];
package/env.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare module '@mkkellogg/gaussian-splats-3d' {
2
+ export const DropInViewer: any
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-cps-soonmanager",
3
3
  "pluginName": "CpsSoonmanagerPlugin",
4
- "version": "2.13.6",
4
+ "version": "2.13.8",
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": "6c1113b3e61e448be7ce9463ed22a75f507d9f67",
16
+ "gitHead": "d6b6f55e087ba0621e8bb404fc63c99fd4389660",
17
17
  "dependencyPlugins": [
18
18
  "plugin-poi-renderer",
19
19
  "plugin-effect",
@@ -32,10 +32,11 @@
32
32
  "socket.io-client": "^4.7.2"
33
33
  },
34
34
  "peerDependencies": {
35
- "@soonspacejs/plugin-atmosphere": "2.13.6",
36
- "@soonspacejs/plugin-effect": "2.13.6",
37
- "@soonspacejs/plugin-poi-renderer": "2.13.6",
38
- "soonspacejs": "2.13.6",
35
+ "@soonspacejs/plugin-atmosphere": "2.13.8",
36
+ "@soonspacejs/plugin-effect": "2.13.8",
37
+ "@soonspacejs/plugin-gs3d-loader": "2.13.7",
38
+ "@soonspacejs/plugin-poi-renderer": "2.13.8",
39
+ "soonspacejs": "2.13.8",
39
40
  "umanager-animation-parser": "^0.0.6"
40
41
  }
41
42
  }