@twinmatrix/spatialverse-sdk-web 0.1.0 → 3.1.1
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/README.md +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts +69 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts +77 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → legacy/CustomThreeJsWrapper}/CustomThreeJsWrapper.d.ts +26 -3
- package/lib/types/meta-atlas-sdk/3DMap/legacy/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts +322 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts +121 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts +314 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts +3 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts +65 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts +25 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts +32 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts +18 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts +80 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts +92 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraSync.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/suncalc.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/utils.d.ts +1 -1
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts +130 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts +2 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts +57 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts +45 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts +72 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/{focustree.d.ts → focus-core/focustree.d.ts} +376 -131
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focustree.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts +661 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +37 -407
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts → MetaAtlasCore/shared-layers/customerLayer.d.ts} +530 -536
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts.map → MetaAtlasCore/shared-layers/customerLayer.d.ts.map} +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts +108 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +52 -413
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +5 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -1
- package/lib/types/react/MetaAtlasMap.d.ts.map +1 -1
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts +3 -0
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts +30 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useFocus/types.d.ts +11 -0
- package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/types.d.ts +16 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -1
- package/lib/types/react/index.d.ts +3 -0
- package/lib/types/react/index.d.ts.map +1 -1
- package/lib/types/react/stores/useMapDataStore.d.ts +2 -0
- package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -1
- package/lib/types/react/stores/useMetaAtlasStore.d.ts +2 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -1
- package/lib/types/react/types/index.d.ts +8 -0
- package/lib/types/react/types/index.d.ts.map +1 -1
- package/package.json +18 -9
- package/lib/cjs/index.js +0 -642
- package/lib/cjs/react/index.js +0 -642
- package/lib/esm/index.js +0 -642
- package/lib/esm/react/index.js +0 -642
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +0 -28
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +0 -5156
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +0 -1
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraSync.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraUtils.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/constants.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/suncalc.d.ts +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for focus tree structure and utility functions
|
|
3
|
+
*/
|
|
4
|
+
export interface Site {
|
|
5
|
+
name: string;
|
|
6
|
+
taxonomyPath: string;
|
|
7
|
+
buildings?: Building[];
|
|
8
|
+
cameraConfigs?: any;
|
|
9
|
+
isAirport?: boolean;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
export interface Building {
|
|
13
|
+
name: string;
|
|
14
|
+
taxonomyPath: string;
|
|
15
|
+
floors?: Floor[];
|
|
16
|
+
defaultFloorPath?: string;
|
|
17
|
+
cameraConfigs?: any;
|
|
18
|
+
bounds?: any;
|
|
19
|
+
model3D?: any;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
export interface Floor {
|
|
23
|
+
name: string;
|
|
24
|
+
taxonomyPath: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
levelIndex?: number;
|
|
27
|
+
groundStackHeight?: number;
|
|
28
|
+
zoomLevel?: number;
|
|
29
|
+
bounds?: any;
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export type TaxonomyLevel = 'site' | 'building' | 'floor' | null;
|
|
33
|
+
export interface FindBuildingResult {
|
|
34
|
+
building: Building;
|
|
35
|
+
site: Site;
|
|
36
|
+
}
|
|
37
|
+
export interface FindFloorResult {
|
|
38
|
+
floor: Floor;
|
|
39
|
+
building: Building;
|
|
40
|
+
site: Site;
|
|
41
|
+
}
|
|
42
|
+
export type FocusTree = Record<string, Site> | {
|
|
43
|
+
readonly [key: string]: Site;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=focus-tree-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-tree-types.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for working with the focus tree structure
|
|
3
|
+
* These functions provide reusable logic for finding sites, buildings, and floors
|
|
4
|
+
* by taxonomy path, and determining the level type of a taxonomy path.
|
|
5
|
+
*/
|
|
6
|
+
import type { Site, Building, Floor, TaxonomyLevel, FindBuildingResult, FindFloorResult } from './focus-tree-types';
|
|
7
|
+
/**
|
|
8
|
+
* Extract the site taxonomy portion from a full taxonomy path
|
|
9
|
+
* Example: "where.changi.terminals.t1.l1" -> "where.changi"
|
|
10
|
+
*
|
|
11
|
+
* @param taxonomyPath - Full taxonomy path
|
|
12
|
+
* @returns Site taxonomy string or null if invalid
|
|
13
|
+
*/
|
|
14
|
+
export declare function extractSiteTaxonomy(taxonomyPath: string): string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Extract the building taxonomy portion from a full taxonomy path
|
|
17
|
+
* Example: "where.changi.terminals.t1.l1" -> "where.changi.terminals.t1"
|
|
18
|
+
*
|
|
19
|
+
* @param taxonomyPath - Full taxonomy path
|
|
20
|
+
* @returns Building taxonomy string or null if invalid
|
|
21
|
+
*/
|
|
22
|
+
export declare function extractBuildingTaxonomy(taxonomyPath: string): string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Find a site by its taxonomy path
|
|
25
|
+
*
|
|
26
|
+
* @param taxonomyPath - Taxonomy path to search for
|
|
27
|
+
* @returns Site object or null if not found
|
|
28
|
+
*/
|
|
29
|
+
export declare function findSiteByTaxonomy(taxonomyPath: string): Site | null;
|
|
30
|
+
/**
|
|
31
|
+
* Find a building by its taxonomy path across all sites
|
|
32
|
+
*
|
|
33
|
+
* @param taxonomyPath - Taxonomy path to search for
|
|
34
|
+
* @returns Object containing building and its parent site, or null if not found
|
|
35
|
+
*/
|
|
36
|
+
export declare function findBuildingByTaxonomy(taxonomyPath: string): FindBuildingResult | null;
|
|
37
|
+
/**
|
|
38
|
+
* Find a floor by its taxonomy path across all sites and buildings
|
|
39
|
+
*
|
|
40
|
+
* @param taxonomyPath - Taxonomy path to search for
|
|
41
|
+
* @returns Object containing floor, its parent building, and parent site, or null if not found
|
|
42
|
+
*/
|
|
43
|
+
export declare function findFloorByTaxonomy(taxonomyPath: string): FindFloorResult | null;
|
|
44
|
+
/**
|
|
45
|
+
* Determine the level type (site, building, or floor) of a taxonomy path
|
|
46
|
+
* Uses sequential matching: site -> building -> floor
|
|
47
|
+
*
|
|
48
|
+
* @param taxonomyPath - Taxonomy path to check
|
|
49
|
+
* @returns Level type or null if not found
|
|
50
|
+
*/
|
|
51
|
+
export declare function getTaxonomyLevel(taxonomyPath: string): TaxonomyLevel;
|
|
52
|
+
/**
|
|
53
|
+
* Get all sites from the focus tree
|
|
54
|
+
*
|
|
55
|
+
* @returns Array of site objects
|
|
56
|
+
*/
|
|
57
|
+
export declare function getAllSites(): Site[];
|
|
58
|
+
/**
|
|
59
|
+
* Get all buildings for a specific site
|
|
60
|
+
*
|
|
61
|
+
* @param siteTaxonomy - Taxonomy path of the site
|
|
62
|
+
* @returns Array of building objects
|
|
63
|
+
*/
|
|
64
|
+
export declare function getBuildingsBySite(siteTaxonomy: string): Building[];
|
|
65
|
+
/**
|
|
66
|
+
* Get all floors for a specific building
|
|
67
|
+
*
|
|
68
|
+
* @param buildingTaxonomy - Taxonomy path of the building
|
|
69
|
+
* @returns Array of floor objects
|
|
70
|
+
*/
|
|
71
|
+
export declare function getFloorsByBuilding(buildingTaxonomy: string): Floor[];
|
|
72
|
+
//# sourceMappingURL=focus-tree-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-tree-utils.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAEV,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,aAAa,EACb,kBAAkB,EAClB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAK5B;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAcvE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAc3E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAcpE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,GACnB,kBAAkB,GAAG,IAAI,CAwB3B;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,GACnB,eAAe,GAAG,IAAI,CAkCxB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,MAAM,GACnB,aAAa,CAwBf;AAED;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,IAAI,EAAE,CAWpC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,GACnB,QAAQ,EAAE,CAeZ;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,MAAM,GACvB,KAAK,EAAE,CAeT"}
|