@soonspacejs/plugin-cps-soonmanager 2.15.15 → 2.15.17

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.
@@ -44,6 +44,7 @@ export declare const SPACES_DATA_FILE_PATH = "/db/spaces";
44
44
  export declare const FLOWS_DATA_FILE_PATH = "/db/flows2";
45
45
  export declare const GIS_DATA_FILE_PATH = "/db/gis_nodes";
46
46
  export declare const GIS_PLOTS_DATA_FILE_PATH = "/db/gis_plots";
47
+ export declare const ROADS_DATA_FILE_PATH = "/db/roads";
47
48
  export declare const SEMANTIC_DATA_FILE_PATH = "/db/semantic_model";
48
49
  export declare const SCENE_NODE_FDS_DATA_FILE_PATH = "/db/scene_node_fds";
49
50
  /**
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ import { TerrainTilesRenderer } from '@soonspacejs/plugin-tiles';
8
8
  import { default as SoonFlow } from '@soonflow/core';
9
9
  import { AnimationPlayer } from 'umanager-animation-parser';
10
10
  import { EventDispatcher } from 'three';
11
- import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap, IGisData, IFdsData, IGisPlot, IWorkIdMap, IApplyWorkIdMapResult, ILoadSceneAndSemanticInWorkerOptions, ILoadSceneAndSemanticInWorkerResult } from './types';
11
+ import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap, IGisData, IFdsData, IGisPlot, IWorkIdMap, IApplyWorkIdMapResult, ILoadSceneAndSemanticInWorkerOptions, ILoadSceneAndSemanticInWorkerResult, IRoadsData } from './types';
12
12
  import { SemanticObject } from './semantic.types';
13
13
  type WorkIdContext = {
14
14
  byKey: Map<string, string>;
@@ -86,6 +86,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
86
86
  * 语义化对象
87
87
  */
88
88
  semanticObjects: SemanticObject | null;
89
+ roadsData: IRoadsData | null;
89
90
  fdsData: IFdsData[] | null;
90
91
  fdsManager: FdsManager;
91
92
  /**
@@ -121,6 +122,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
121
122
  */
122
123
  fetchTreeData(): Promise<IInnerTreeData[]>;
123
124
  fetchSemanticData(): Promise<SemanticObject>;
125
+ fetchRoadsData(): Promise<IRoadsData>;
124
126
  fetchFlatData(): Promise<IFlatData[]>;
125
127
  /**
126
128
  * 获取 Poi 数据