@soonspacejs/plugin-cps-soonmanager 2.13.0 → 2.13.2

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.
@@ -1,8 +1,8 @@
1
1
  import NodeRSA from 'node-rsa';
2
- import { ITreeData, TLicense } from '../types';
2
+ import { IInnerTreeData, TLicense } from '../types';
3
3
  export interface EncryptInfo {
4
4
  verifyKey: string;
5
5
  debugKey: string;
6
6
  key: string;
7
7
  }
8
- export type Decrypt = (license: TLicense, nodeRsa: NodeRSA) => ITreeData[];
8
+ export type Decrypt = (license: TLicense, nodeRsa: NodeRSA) => IInnerTreeData[];
@@ -2,10 +2,6 @@
2
2
  * 场景元数据
3
3
  */
4
4
  export declare const META_DATA_FILE_PATH = "/SceneMetadata.json";
5
- /**
6
- * 签名文件
7
- */
8
- export declare const SIGN_PATH: string;
9
5
  /**
10
6
  * 模型树
11
7
  */
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import AtmospherePlugin from '@soonspacejs/plugin-atmosphere';
6
6
  import SoonFlow from '@soonflow/core';
7
7
  import { AnimationPlayer } from 'umanager-animation-parser';
8
8
  import { EventDispatcher } from 'three';
9
- import { IMetadata, ITreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
9
+ import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
10
10
  declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
11
11
  #private;
12
12
  readonly ssp: SoonSpace;
@@ -89,7 +89,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
89
89
  * 获取场景树(旧版资源包使用)
90
90
  * @returns
91
91
  */
92
- fetchTreeData(): Promise<ITreeData[]>;
92
+ fetchTreeData(): Promise<IInnerTreeData[]>;
93
93
  fetchFlatData(): Promise<IFlatData[]>;
94
94
  /**
95
95
  * 获取 Poi 数据