@collabdt/core 0.0.42 → 0.0.43
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/core/components/Toolbar.d.ts.map +1 -1
- package/dist/core/components/Toolbar.js.map +1 -1
- package/dist/core/components/ToolbarBody.js.map +1 -1
- package/dist/core/components/TopNavigationBar.js.map +1 -1
- package/dist/core/components/authentication/ForgotPassword.js.map +1 -1
- package/dist/core/components/authentication/Signin.js.map +1 -1
- package/dist/core/components/authentication/Signup.js.map +1 -1
- package/dist/core/components/settings/src/OrganizationSkeleton.js.map +1 -1
- package/dist/core/components/settings/src/SettingsSkeleton.js.map +1 -1
- package/dist/core/components/ui/Comments/CollapsibleCommentItem.d.ts.map +1 -1
- package/dist/core/components/ui/Comments/CollapsibleCommentItem.js.map +1 -1
- package/dist/core/components/ui/Comments/CommentsSection.d.ts.map +1 -1
- package/dist/core/components/ui/Comments/CommentsSection.js.map +1 -1
- package/dist/core/components/ui/DataTable.d.ts.map +1 -1
- package/dist/core/components/ui/DataTable.js +7 -0
- package/dist/core/components/ui/DataTable.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileItemComponent.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileItemComponent.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileMarker.d.ts +5 -2
- package/dist/core/components/ui/FilesManager/src/FileMarker.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/FileMarker.js +84 -21
- package/dist/core/components/ui/FilesManager/src/FileMarker.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/convertIfcToFragmentsFile.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/convertIfcToFragmentsFile.js.map +1 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadHandler.d.ts.map +1 -1
- package/dist/core/components/ui/FilesManager/src/useFileUploadHandler.js.map +1 -1
- package/dist/core/components/ui/Icons/IfcIcon.d.ts.map +1 -1
- package/dist/core/components/ui/Icons/IfcIcon.js.map +1 -1
- package/dist/core/components/ui/InfoSidebar/index.d.ts.map +1 -1
- package/dist/core/components/ui/InfoSidebar/index.js.map +1 -1
- package/dist/core/components/ui/Navbar.d.ts.map +1 -1
- package/dist/core/components/ui/Navbar.js.map +1 -1
- package/dist/core/components/ui/Sensors/CollapsibleSensorItem.d.ts.map +1 -1
- package/dist/core/components/ui/Sensors/CollapsibleSensorItem.js.map +1 -1
- package/dist/core/components/ui/Sensors/SensorTagsSection.d.ts.map +1 -1
- package/dist/core/components/ui/Sensors/SensorTagsSection.js.map +1 -1
- package/dist/core/components/ui/Sensors/SensorsSection.d.ts.map +1 -1
- package/dist/core/components/ui/Sensors/SensorsSection.js.map +1 -1
- package/dist/core/components/ui/ShareFeature/ShareToolSubmenu.d.ts.map +1 -1
- package/dist/core/components/ui/ShareFeature/ShareToolSubmenu.js.map +1 -1
- package/dist/core/components/viewers/Data/buildingDetails/GeocoderInput.js +2 -2
- package/dist/core/components/viewers/Data/buildingDetails/GeocoderInput.js.map +1 -1
- package/dist/core/components/viewers/Data/siteDetails/AssociatedBuildings.js +2 -2
- package/dist/core/components/viewers/Data/siteDetails/AssociatedBuildings.js.map +1 -1
- package/dist/core/components/viewers/Viewer.d.ts.map +1 -1
- package/dist/core/components/viewers/Viewer.js +5 -1
- package/dist/core/components/viewers/Viewer.js.map +1 -1
- package/dist/core/components/viewers/bim/BimToolbar.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/BimToolbar.js.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.js +14 -5
- package/dist/core/components/viewers/bim/BimViewer.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimLoadingState/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimLoadingState/index.js +6 -0
- package/dist/core/components/viewers/bim/src/BimLoadingState/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.js +168 -39
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/FilesSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/FileTab/src/ModelsSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/src/FloorplanSection.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/src/FloorplanSection.js +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/LayersTab/src/FloorplanSection.js.map +1 -1
- package/dist/core/components/viewers/bim/src/DXFLoader/index.d.ts +14 -37
- package/dist/core/components/viewers/bim/src/DXFLoader/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/DXFLoader/index.js +31 -318
- package/dist/core/components/viewers/bim/src/DXFLoader/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/FloorplanTool/index.d.ts +66 -7
- package/dist/core/components/viewers/bim/src/FloorplanTool/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/FloorplanTool/index.js +253 -21
- package/dist/core/components/viewers/bim/src/FloorplanTool/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelManager/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelManager/index.js +9 -0
- package/dist/core/components/viewers/bim/src/ModelManager/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/SimpleBimViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/SimpleBimViewer.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/TrueNorthPopover.d.ts +3 -2
- package/dist/core/components/viewers/bim/src/lib/TrueNorthPopover.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/TrueNorthPopover.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/useFriendlyIfcClassName.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/useFriendlyIfcClassName.js +3 -4
- package/dist/core/components/viewers/bim/src/lib/useFriendlyIfcClassName.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js +40 -18
- package/dist/core/components/viewers/bim/src/tools/AddToBim/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/AddDxf.d.ts +2 -5
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/AddDxf.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/AddDxf.js +45 -59
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/AddDxf.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/BimSensor.js +1 -0
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/BimSensor.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.d.ts +10 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.js +25 -73
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileHandler.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileMarkerUtils.d.ts +7 -3
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileMarkerUtils.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileMarkerUtils.js +42 -78
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/FileMarkerUtils.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/Position3DCard.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/Position3DCard.js +52 -75
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/Position3DCard.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.d.ts +15 -3
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.js +165 -105
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useFilePlacement.js.map +1 -1
- package/dist/core/components/viewers/index.d.ts.map +1 -1
- package/dist/core/components/viewers/index.js.map +1 -1
- package/dist/core/components/viewers/map/MapViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/MapViewer.js +1 -0
- package/dist/core/components/viewers/map/MapViewer.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/DatasetManager/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/DatasetManager/index.js +4 -3
- package/dist/core/components/viewers/map/datasets/DatasetManager/index.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/RowActions.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/RowActions.js +148 -0
- package/dist/core/components/viewers/map/datasets/RowActions.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/index.js +32 -15
- package/dist/core/components/viewers/map/datasets/index.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/builtinLiveDatasets.d.ts +4 -0
- package/dist/core/components/viewers/map/datasets/src/builtinLiveDatasets.d.ts.map +1 -0
- package/dist/core/components/viewers/map/datasets/src/builtinLiveDatasets.js +43 -0
- package/dist/core/components/viewers/map/datasets/src/builtinLiveDatasets.js.map +1 -0
- package/dist/core/components/viewers/map/datasets/src/localDatasets.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/localDatasets.js +39 -3
- package/dist/core/components/viewers/map/datasets/src/localDatasets.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.d.ts +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.js +2 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/publishedTiles.d.ts +47 -0
- package/dist/core/components/viewers/map/datasets/src/publishedTiles.d.ts.map +1 -0
- package/dist/core/components/viewers/map/datasets/src/publishedTiles.js +114 -0
- package/dist/core/components/viewers/map/datasets/src/publishedTiles.js.map +1 -0
- package/dist/core/components/viewers/map/datasets/src/wmsTime.d.ts +49 -0
- package/dist/core/components/viewers/map/datasets/src/wmsTime.d.ts.map +1 -0
- package/dist/core/components/viewers/map/datasets/src/wmsTime.js +100 -0
- package/dist/core/components/viewers/map/datasets/src/wmsTime.js.map +1 -0
- package/dist/core/components/viewers/map/src/Geocoder.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/Geocoder.js +9 -9
- package/dist/core/components/viewers/map/src/Geocoder.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/NonDatabaseBuildingPopover.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/NonDatabaseBuildingPopover.js +25 -43
- package/dist/core/components/viewers/map/src/MapFeaturePopoverMenu/src/NonDatabaseBuildingPopover.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.js +19 -2
- package/dist/core/components/viewers/map/src/MapLayers/src/BimLayer/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/countryLayerUtils.d.ts +9 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/countryLayerUtils.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/countryLayerUtils.js +28 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/countryLayerUtils.js.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/index.js +1 -16
- package/dist/core/components/viewers/map/src/MapLayers/src/CountryLayer/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/FileModelLayer/FileModelLayer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.js +31 -2
- package/dist/core/components/viewers/map/src/MapLayers/src/FileLayer/utils/CustomModelLayer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/WmsTimeControl.d.ts +21 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/WmsTimeControl.d.ts.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/WmsTimeControl.js +111 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/WmsTimeControl.js.map +1 -0
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/index.js +77 -2
- package/dist/core/components/viewers/map/src/MapLayers/src/OpenDataLayer/src/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/FilesSection.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/FileTab/src/ModelsSection.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/SettingsTab/src/TerrainLevel.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/SettingsTab/src/TerrainLevel.js +10 -3
- package/dist/core/components/viewers/map/src/MapSidebar/src/SettingsTab/src/TerrainLevel.js.map +1 -1
- package/dist/core/components/viewers/map/utils/geocoder.d.ts +6 -2
- package/dist/core/components/viewers/map/utils/geocoder.d.ts.map +1 -1
- package/dist/core/components/viewers/map/utils/geocoder.js +10 -62
- package/dist/core/components/viewers/map/utils/geocoder.js.map +1 -1
- package/dist/core/components/viewers/map/utils/geocoding/adapters.d.ts +5 -0
- package/dist/core/components/viewers/map/utils/geocoding/adapters.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/adapters.js +192 -0
- package/dist/core/components/viewers/map/utils/geocoding/adapters.js.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/config.d.ts +6 -0
- package/dist/core/components/viewers/map/utils/geocoding/config.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/config.js +14 -0
- package/dist/core/components/viewers/map/utils/geocoding/config.js.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/index.d.ts +8 -0
- package/dist/core/components/viewers/map/utils/geocoding/index.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/index.js +44 -0
- package/dist/core/components/viewers/map/utils/geocoding/index.js.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/osm.d.ts +6 -0
- package/dist/core/components/viewers/map/utils/geocoding/osm.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/osm.js +39 -0
- package/dist/core/components/viewers/map/utils/geocoding/osm.js.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/pelias.d.ts +8 -0
- package/dist/core/components/viewers/map/utils/geocoding/pelias.d.ts.map +1 -0
- package/dist/core/components/viewers/map/utils/geocoding/pelias.js +35 -0
- package/dist/core/components/viewers/map/utils/geocoding/pelias.js.map +1 -0
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/PointCloudToolbar.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js +1 -3
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.js +2 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/index.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.js +8 -2
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/FilesSection.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.js +9 -9
- package/dist/core/components/viewers/pointcloud/src/tools/PerformanceSettingsTools/NodeSizeSelectionTool.js.map +1 -1
- package/dist/core/hooks/provider.js.map +1 -1
- package/dist/core/plugins/host/provider.d.ts.map +1 -1
- package/dist/core/plugins/host/provider.js.map +1 -1
- package/dist/core/store/AppConfig/context.d.ts.map +1 -1
- package/dist/core/store/AppConfig/context.js.map +1 -1
- package/dist/core/store/BIM/context.d.ts.map +1 -1
- package/dist/core/store/BIM/context.js.map +1 -1
- package/dist/core/store/BIM/reducer.d.ts +0 -1
- package/dist/core/store/BIM/reducer.d.ts.map +1 -1
- package/dist/core/store/BIM/reducer.js +0 -4
- package/dist/core/store/BIM/reducer.js.map +1 -1
- package/dist/core/store/Buildings/context.d.ts.map +1 -1
- package/dist/core/store/Buildings/context.js.map +1 -1
- package/dist/core/store/Content/context.d.ts.map +1 -1
- package/dist/core/store/Content/context.js.map +1 -1
- package/dist/core/store/Datasets/context.d.ts.map +1 -1
- package/dist/core/store/Datasets/context.js +2 -1
- package/dist/core/store/Datasets/context.js.map +1 -1
- package/dist/core/store/Datasets/reducer.d.ts +2 -0
- package/dist/core/store/Datasets/reducer.d.ts.map +1 -1
- package/dist/core/store/Datasets/reducer.js +9 -4
- package/dist/core/store/Datasets/reducer.js.map +1 -1
- package/dist/core/store/Files/context.d.ts.map +1 -1
- package/dist/core/store/Files/context.js.map +1 -1
- package/dist/core/store/Map/context.d.ts.map +1 -1
- package/dist/core/store/Map/context.js.map +1 -1
- package/dist/core/store/Menus/context.d.ts.map +1 -1
- package/dist/core/store/Menus/context.js.map +1 -1
- package/dist/core/store/Permissions/context.d.ts.map +1 -1
- package/dist/core/store/Permissions/context.js.map +1 -1
- package/dist/core/store/PointCloud/context.d.ts.map +1 -1
- package/dist/core/store/PointCloud/context.js.map +1 -1
- package/dist/core/store/Tools/context.d.ts.map +1 -1
- package/dist/core/store/Tools/context.js.map +1 -1
- package/dist/core/types/datasetTypes.d.ts +8 -1
- package/dist/core/types/datasetTypes.d.ts.map +1 -1
- package/dist/core/types/dbTypes.d.ts +13 -13
- package/dist/core/types/dbTypes.d.ts.map +1 -1
- package/dist/core/types/dbTypes.js +13 -13
- package/dist/core/types/dbTypes.js.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/index.js.map +1 -1
- package/dist/core/utils/imageUtils.js +1 -1
- package/dist/core/utils/imageUtils.js.map +1 -1
- package/package.json +4 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.d.ts +0 -3
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.d.ts.map +0 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.js +0 -173
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.js.map +0 -1
|
@@ -55,6 +55,19 @@ var BuildingManagementType = /* @__PURE__ */ ((BuildingManagementType2) => {
|
|
|
55
55
|
BuildingManagementType2["Private"] = "Private";
|
|
56
56
|
return BuildingManagementType2;
|
|
57
57
|
})(BuildingManagementType || {});
|
|
58
|
+
var BuildingEnergySource = /* @__PURE__ */ ((BuildingEnergySource2) => {
|
|
59
|
+
BuildingEnergySource2["Gas"] = "Gas";
|
|
60
|
+
BuildingEnergySource2["Propane"] = "Propane";
|
|
61
|
+
BuildingEnergySource2["Electric_BB"] = "Electric_BB";
|
|
62
|
+
BuildingEnergySource2["Oil"] = "Oil";
|
|
63
|
+
BuildingEnergySource2["Electric"] = "Electric";
|
|
64
|
+
BuildingEnergySource2["Natural_Gas"] = "Natural_Gas";
|
|
65
|
+
BuildingEnergySource2["Solar"] = "Solar";
|
|
66
|
+
BuildingEnergySource2["Wind"] = "Wind";
|
|
67
|
+
BuildingEnergySource2["Geothermal"] = "Geothermal";
|
|
68
|
+
BuildingEnergySource2["District_Heating"] = "District_Heating";
|
|
69
|
+
return BuildingEnergySource2;
|
|
70
|
+
})(BuildingEnergySource || {});
|
|
58
71
|
var BuildingHeatingEnergySource = /* @__PURE__ */ ((BuildingHeatingEnergySource2) => {
|
|
59
72
|
BuildingHeatingEnergySource2["Gas"] = "Gas";
|
|
60
73
|
BuildingHeatingEnergySource2["Propane"] = "Propane";
|
|
@@ -96,19 +109,6 @@ var BuildingElectricityServiceLocation = /* @__PURE__ */ ((BuildingElectricitySe
|
|
|
96
109
|
BuildingElectricityServiceLocation2["Underhead"] = "Underhead";
|
|
97
110
|
return BuildingElectricityServiceLocation2;
|
|
98
111
|
})(BuildingElectricityServiceLocation || {});
|
|
99
|
-
var BuildingEnergySource = /* @__PURE__ */ ((BuildingEnergySource2) => {
|
|
100
|
-
BuildingEnergySource2["Gas"] = "Gas";
|
|
101
|
-
BuildingEnergySource2["Propane"] = "Propane";
|
|
102
|
-
BuildingEnergySource2["Electric_BB"] = "Electric_BB";
|
|
103
|
-
BuildingEnergySource2["Oil"] = "Oil";
|
|
104
|
-
BuildingEnergySource2["Electric"] = "Electric";
|
|
105
|
-
BuildingEnergySource2["Natural_Gas"] = "Natural_Gas";
|
|
106
|
-
BuildingEnergySource2["Solar"] = "Solar";
|
|
107
|
-
BuildingEnergySource2["Wind"] = "Wind";
|
|
108
|
-
BuildingEnergySource2["Geothermal"] = "Geothermal";
|
|
109
|
-
BuildingEnergySource2["District_Heating"] = "District_Heating";
|
|
110
|
-
return BuildingEnergySource2;
|
|
111
|
-
})(BuildingEnergySource || {});
|
|
112
112
|
var SiteEnergySource = /* @__PURE__ */ ((SiteEnergySource2) => {
|
|
113
113
|
SiteEnergySource2["Gas"] = "Gas";
|
|
114
114
|
SiteEnergySource2["Propane"] = "Propane";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["import { CountrySubdivision } from './datasetTypes';\r\nimport { Position } from './global'\r\n\r\nexport enum BuildingOccupantType {Adults = 'Adults', Families = 'Families', Seniors = 'Seniors', Seniors_50_Plus = 'Seniors_50_Plus', Seniors_55_Plus = 'Seniors_55_Plus', Seniors_65_Plus = 'Seniors_65_Plus', Seniors_60_Plus = 'Seniors_60_Plus', Indigenous_Families = 'Indigenous_Families', Youth = 'Youth', Adults_16_Plus = 'Adults_16_Plus', Adults_16_To_24 = 'Adults_16_To_24', Singles = 'Singles', Families_Single_Parents = 'Families_Single_Parents', Indigenous = 'Indigenous'}\r\nexport enum BuildingGeometryStyle {Complex = 'Complex', Simple = 'Simple', Apartment = 'Apartment'}\r\nexport enum BuildingAssessmentConditions {Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor'}\r\nexport enum BuildingProjectPhase {Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase'}\r\nexport enum BuildingProjectType {Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit'}\r\nexport enum BuildingManagementType {Internal = 'Internal', External = 'External', Municipal = 'Municipal', Private = 'Private'}\r\nexport enum BuildingHeatingEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\nexport enum BuildingCoolingEnergySource {Electric = 'Electric', Wind = 'Wind', Geothermal = 'Geothermal', District_Cooling = 'District_Cooling', Solar = 'Solar'}\r\nexport enum BuildingHotWaterEnergySource {Electric = 'Electric', Natural_Gas = 'Natural_Gas', Propane = 'Propane', Oil = 'Oil', Solar = 'Solar', Wind = 'Wind'}\r\nexport enum BuildingElectricityServiceSize {Size_60 = 'Size_60', Size_100 = 'Size_100', Size_200 = 'Size_200'}\r\nexport enum BuildingElectricityServiceLocation {Overhead = 'Overhead', Underhead = 'Underhead'}\r\nexport enum BuildingEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\n\r\nexport enum SiteEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\nexport enum SiteAssessmentConditions {Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor'} \r\nexport enum SiteLandUse {Residential = 'Residential', Industry_And_Business = 'Industry_And_Business', Mixed_Use = 'Mixed_Use', Special_Function_Area = 'Special_Function_Area', Monument = 'Monument', Dump = 'Dump', Mining = 'Mining', Park = 'Park', Cemetery = 'Cemetery', Sports_Leisure_and_Recreation = 'Sports_Leisure_and_Recreation', Open_Pit_Quarry = 'Open_Pit_Quarry', Road = 'Road', Railway = 'Railway', Airfield = 'Airfield', Shipping = 'Shipping', Track = 'Track', Square = 'Square', Grassland = 'Grassland', Agriculture = 'Agriculture', Forest = 'Forest', Grove = 'Grove', Heath = 'Heath', Moor = 'Moor', Marsh = 'Marsh', Untilled_Land = 'Untilled_Land', River = 'River', Standing_Waterbody = 'Standing_Waterbody', Harbour = 'Harbour', Sea = 'Sea'}\r\nexport enum SiteProjectPhase {Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase'}\r\nexport enum SiteProjectType {Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit'}\r\nexport enum DatasetGroup { Organizational = 'Organizational', Municipal = 'Municipal', National = 'National', Provincial = 'Provincial'}\r\nexport enum DataManagementSystem {Ckan = 'Ckan', Arcgis = 'Arcgis', Opendatasoft = 'Opendatasoft', Socrata = 'Socrata', Other = 'Other'}\r\nexport enum ViewerNames {auth = 'auth', map = 'map', bim = 'bim', pointcloud = 'pointcloud', buildings = 'buildings', sites = 'sites', files = 'files', land = 'land', infrastructure = 'infrastructure', extensions = 'extensions', settings = 'settings', users= 'users'}\r\nexport enum SensorTypes {Temperature = 'Temperature', Light = 'Light', Humidity = 'Humidity', Energy_Consumption = 'Energy_Consumption', Movement = 'Movement', Air_Quality = 'Air_Quality', Atmospheric_Pressure = 'Atmospheric_Pressure', Irradiance = 'Irradiance', Flow = 'Flow', State = 'State', Noise_Level = 'Noise_Level'}\r\nexport enum SensorDataFormat {Csv = 'Csv', Json = 'Json'}\r\n\r\nexport enum InfrastructureType {LandFeature = 'LandFeature', Facility = 'Facility', Project = 'Project', Alignment = 'Alignment', Road = 'Road', Railway = 'Railway', Survey = 'Survey', LandDivision = 'LandDivision', Condominium = 'Condominium', Other = 'Other'}\r\nexport enum InfrastructureState {Existing = 'Existing', Proposed = 'Proposed', Planned = 'Planned', UnderConstruction = 'UnderConstruction', Abandoned = 'Abandoned', Demolished = 'Demolished'}\r\nexport enum LinearSide {Left = 'Left', Right = 'Right', Center = 'Center', Both = 'Both', Neither = 'Neither', Unspecified = 'Unspecified'}\r\nexport enum LinearReferencingType {Absolute = 'Absolute', Relative = 'Relative', Interpolative = 'Interpolative'}\r\nexport enum GeometryType {Point = 'Point', LineString = 'LineString', PolyfaceMesh = 'PolyfaceMesh', Curve = 'Curve'}\r\nexport enum SurfaceType {TIN = 'TIN', Grid = 'Grid', Breaklines = 'Breaklines'}\r\nexport enum IfcInfrastructureDomain {IfcRoad = 'IfcRoad', IfcRailway = 'IfcRailway', IfcBridge = 'IfcBridge', IfcMarineFacility = 'IfcMarineFacility', IfcWaterway = 'IfcWaterway', IfcGeotechnicalAssembly = 'IfcGeotechnicalAssembly',}\r\nexport enum IfcRoadType {Highway = 'Highway', Street = 'Street', Interchange = 'Interchange', BicycleWay = 'BicycleWay', Footway = 'Footway', NotDefined = 'NotDefined'}\r\nexport enum IfcRailType {HeavyRail = 'HeavyRail', LightRail = 'LightRail', Subway = 'Subway', Tram = 'Tram', Monorail = 'Monorail', RackRail = 'RackRail'}\r\nexport enum IfcTrackComponentType {Track = 'Track', Sleeper = 'Sleeper', Ballast = 'Ballast', Frog = 'Frog', Sleepers = 'Sleepers', Block = 'Block'}\r\nexport enum IfcBridgePartType {Abutment = 'Abutment', Deck = 'Deck', Pier = 'Pier', Pylon = 'Pylon', Superstructure = 'Superstructure', Substructure = 'Substructure'}\r\nexport enum IfcGeotechType { Borehole = 'Borehole', Earthwork = 'Earthwork', RockTunnel = 'RockTunnel' }\r\nexport enum IfcSignalType { TrafficLight = 'TrafficLight', RailSignal = 'RailSignal', Sign = 'Sign', Panel = 'Panel' }\r\nexport enum IfcSensorType { TrafficSensor = 'TrafficSensor', WeatherSensor = 'WeatherSensor', SecurityCamera = 'SecurityCamera' }\r\nexport enum IfcUtilityType { PowerLine = 'PowerLine', Telecom = 'Telecom', Stormwater = 'Stormwater', Sewage = 'Sewage', Gas = 'Gas', DuctBank = 'DuctBank' }\r\nexport enum IfcEarthworksType { Cut = 'Cut', Fill = 'Fill', Embankment = 'Embankment', Subgrade = 'Subgrade' }\r\nexport enum IfcFacilityPartType { Segment = 'Segment', Junction = 'Junction', LevelCrossing = 'LevelCrossing', Terminal = 'Terminal' }\r\nexport enum CityGmlLod { LOD0 = 'LOD0', LOD1 = 'LOD1', LOD2 = 'LOD2', LOD3 = 'LOD3', LOD4 = 'LOD4' }\r\nexport enum CityGmlFunction { Traffic = 'Traffic', WaterBody = 'WaterBody', SolitaryVegetation = 'SolitaryVegetation', PlantCover = 'PlantCover', CityFurniture = 'CityFurniture', LandUse = 'LandUse' }\r\nexport enum CityGmlUsage { Public = 'Public', Private = 'Private', Industrial = 'Industrial', Commercial = 'Commercial', Government = 'Government', Military = 'Military' }\r\nexport enum CityGmlFurnitureType { TrafficLight = 'TrafficLight', TrafficSign = 'TrafficSign', StreetLamp = 'StreetLamp', BusStop = 'BusStop', Bench = 'Bench', WasteBin = 'WasteBin', Bollard = 'Bollard' }\r\nexport enum CityGmlVegetationType { Tree = 'Tree', Shrub = 'Shrub', Hedge = 'Hedge', Grass = 'Grass' }\r\nexport enum CityGmlCondition { Intact = 'Intact', UnderConstruction = 'UnderConstruction', Declined = 'Declined', Demolished = 'Demolished', Ruin = 'Ruin' }\r\nexport enum CityGmlElevationRef { Bottom = 'Bottom', Ground = 'Ground', Eaves = 'Eaves', Top = 'Top' }\r\nexport enum CityGmlSurfaceMaterial { Asphalt = 'Asphalt', Concrete = 'Concrete', Gravel = 'Gravel', Soil = 'Soil', Grass = 'Grass', PavingStones = 'PavingStones' }\r\nexport enum CityGmlTrafficSurfaceFunction { DrivingLane = 'DrivingLane', CycleLane = 'CycleLane', Sidewalk = 'Sidewalk', ParkingBay = 'ParkingBay', Crosswalk = 'Crosswalk', TrafficIsland = 'TrafficIsland', Embankment = 'Embankment' }\r\nexport enum Language { En = 'En', Fr = 'Fr', Es = 'Es' }\r\n\r\n\r\nexport interface User {\r\n id: number;\r\n name: string;\r\n password: string;\r\n email: string;\r\n emailVerified?: Date | null; \r\n imageFileId?: number | null;\r\n createdAt: Date; \r\n updatedAt: Date; \r\n organizationId?: number | null;\r\n roleId: number;\r\n}\r\n\r\nexport interface Role {\r\n id: number;\r\n name: string;\r\n permissions: unknown[]; // Prisma Json[]; keep as unknown[] in core\r\n orgId: number;\r\n}\r\n\r\nexport type Permission = {\r\n action: string;\r\n subject: string;\r\n description?: string;\r\n};\r\n\r\nexport interface Account {\r\n id: number;\r\n type: string;\r\n provider: string;\r\n providerAccountId: string;\r\n refresh_token?: string | null;\r\n access_token?: string | null;\r\n expires_at?: number | null;\r\n token_type?: string | null;\r\n scope?: string | null;\r\n id_token?: string | null;\r\n session_state?: string | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n userId: number;\r\n}\r\n\r\nexport interface Organization {\r\n id: number;\r\n name: string;\r\n title?: string | null;\r\n description?: string | null;\r\n geocoder: boolean;\r\n mainColor?: string | null;\r\n secondaryColor?: string | null;\r\n locationId?: string | null;\r\n countrySubdivision?: string | null; // CA-ON, US-NY, etc.\r\n municipality?: string | null;\r\n postalCode?: string | null;\r\n lat?: number | null;\r\n long?: number | null;\r\n zoom?: number | null;\r\n bbox: number[]\r\n bearing?: number | null;\r\n pitch?: number | null;\r\n mapStyles: unknown[]; // Json[] in Prisma, keep as unknown[] in core\r\n minZoom?: number | null;\r\n maxBounds: number[]\r\n appContent: (ViewerNames | `${ViewerNames}`)[]\r\n logoKey?: string | null;\r\n faviconKey?: string | null;\r\n maxNumberOfUsers?: number | null;\r\n languages: (Language | `${Language}`)[];\r\n country?: string | null;\r\n locationSiteId?: number | null;\r\n locationBuildingId?: number | null;\r\n}\r\n\r\nexport interface BuildingOnOrganizations {\r\n buildingId: number;\r\n organizationId: number;\r\n}\r\n\r\nexport interface Comment {\r\n id: number;\r\n authorId: number;\r\n organizationId: number;\r\n text: string;\r\n longitude?: number | null;\r\n latitude?: number | null;\r\n elevation?: number | null;\r\n visible: boolean;\r\n viewer: ViewerNames | `${ViewerNames}`;\r\n x?: number | null;\r\n y?: number | null;\r\n z?: number | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n image?: string | null;\r\n replyToId?: number | null;\r\n buildingId?: number | null;\r\n}\r\n\r\nexport interface Sensor {\r\n id: number;\r\n data: string;\r\n dataFormat: SensorDataFormat | `${SensorDataFormat}`;\r\n updateFrequency: number;\r\n name: string;\r\n longitude?: number | null;\r\n latitude?: number | null;\r\n elevation?: number | null;\r\n visible: boolean;\r\n viewer: ViewerNames | `${ViewerNames}`;\r\n x?: number | null;\r\n y?: number | null;\r\n z?: number | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n url?: string | null;\r\n tags: string[];\r\n maxThreshold?: number | null;\r\n minThreshold?: number | null;\r\n typeId?: number | null;\r\n organizationId: number;\r\n buildingId?: number | null;\r\n authorId: number;\r\n}\r\n\r\nexport interface SensorType {\r\n id: number;\r\n name: SensorTypes | `${SensorTypes}`;\r\n icon: string;\r\n minValue: number;\r\n maxValue: number;\r\n minColour: string;\r\n midColour: string;\r\n maxColour: string;\r\n}\r\n\r\nexport interface Building {\r\n id: number \r\n buildingEmail?: string\r\n buildingPhoneNumber?: string\r\n buildingAddress?: string\r\n buildingStreetNumber?: string\r\n buildingStreetName?: string\r\n buildingStreetType?: string\r\n buildingStreetDirection?: string\r\n buildingCountrySubdivision?: string\r\n buildingMunicipality?: string\r\n buildingPostalCode?: string\r\n buildingType: string[]\r\n buildingLongitude?: number\r\n buildingLatitude?: number\r\n rotation?: number\r\n buildingElevation?: number\r\n buildingEasting?: number\r\n buildingNorthing?: number\r\n buildingEPSG?: number\r\n buildingName?: string\r\n buildingNotes?: string\r\n buildingWebsite?: string\r\n buildingHeatingIncluded?: boolean\r\n buildingHydroIncluded?: boolean\r\n buildingProviderContactEmail?: string\r\n buildingProviderContactName?: string\r\n buildingProviderContactPhone?: string\r\n buildingProviderName?: string\r\n buildingProviderType?: string\r\n buildingProviderWebsite?: string\r\n buildingOccupantType: (BuildingOccupantType | `${BuildingOccupantType}`)[]\r\n buildingStoreyNum?: number\r\n buildingTotalSqft?: number\r\n buildingUnits1B?: boolean\r\n buildingUnits1BNum?: number\r\n buildingUnits1BSqft: number[]\r\n buildingUnits2B?: boolean\r\n buildingUnits2BNum?: number\r\n buildingUnits2BSqft: number[]\r\n buildingUnits3B?: boolean\r\n buildingUnits3BNum?: number\r\n buildingUnits3BSqft: number[]\r\n buildingUnits4B?: boolean\r\n buildingUnits4BNum?: number\r\n buildingUnits4BSqft: number[]\r\n buildingUnits5B?: boolean\r\n buildingUnits5BNum?: number\r\n buildingUnits5BSqft: number[]\r\n buildingUnits6B?: boolean\r\n buildingUnits6BNum?: number\r\n buildingUnits6BSqft: number[]\r\n buildingUnitsB?: boolean\r\n buildingUnitsBNum?: number\r\n buildingUnitsBSqft: number[]\r\n buildingUnitsMarketRent?: boolean\r\n buildingUnitsMarketRentNum?: number\r\n buildingUnitsMarketRentSqft: number[]\r\n buildingUnitsModified?: boolean\r\n buildingUnitsModifiedNum?: number\r\n buildingUnitsModifiedSqft: number[]\r\n buildingUnitsRoom?: boolean\r\n buildingUnitsRoomNum?: number\r\n buildingUnitsRoomSqft: number[]\r\n buildingUnitsSubsidized?: boolean\r\n buildingUnitsSubsidizedNum?: number\r\n buildingUnitsSubsidizedSqft: number[]\r\n buildingUnitsBelowMarketRent?: boolean\r\n buildingUnitsBelowMarketRentNum?: number\r\n buildingUnitsBelowMarketRentSqft: number[]\r\n buildingUnitsRentGearedToIncome?: boolean\r\n buildingUnitsRentGearedToIncomeNum?: number\r\n buildingUnitsRentGearedToIncomeSqft: number[]\r\n buildingUnitsTotal?: number\r\n buildingUtilitiesIncluded?: boolean\r\n buildingYearBuilt?: number\r\n buildingAnchorAddress?: string\r\n buildingGeometryStyle?: BuildingGeometryStyle | `${BuildingGeometryStyle}`\r\n buildingCommonSpace?: boolean\r\n buildingAirQuality?: number\r\n buildingAirQualityAssessmentDate?: Date\r\n buildingAnnualConsumption?: number\r\n buildingAssessedValue?: number\r\n buildingBuilderName?: string\r\n buildingAdditionalInformation?: string\r\n buildingAssessmentCondition?: BuildingAssessmentConditions | `${BuildingAssessmentConditions}`\r\n buildingAssessmentDate?: Date\r\n buildingAssessmentDescription?: string\r\n buildingCity?: string\r\n buildingCounty?: string\r\n buildingOrthogonalHeight?: number\r\n buildingOsmId?: string\r\n buildingOsmType?: string\r\n buildingProjectPhase?: BuildingProjectPhase | `${BuildingProjectPhase}`\r\n buildingProjectType?: BuildingProjectType | `${BuildingProjectType}`\r\n buildingSourceEui?: number\r\n buildingWardName?: string\r\n buildingWardNumber?: number\r\n buildingManagementType?: BuildingManagementType | `${BuildingManagementType}`\r\n buildingManagementName?: string\r\n buildingManagementContactName?: string\r\n buildingManagementWebsite?: string\r\n buildingManagementPhoneNumber?: string\r\n buildingCensusTract?: number\r\n buildingCertifications?: string\r\n buildingClimateVulnerabilities?: string\r\n buildingComfort?: string\r\n buildingCompletedDate?: Date\r\n buildingDryerAvailable?: boolean\r\n buildingElevatorAvailable?: boolean\r\n buildingEnergyAdditionalInformation?: string\r\n buildingHeatingEnergySources: (BuildingHeatingEnergySource | `${BuildingHeatingEnergySource}`)[]\r\n buildingHeatingMetric?: number\r\n buildingHeatingInstallationYear?: number\r\n buildingCoolingEnergySources: (BuildingCoolingEnergySource | `${BuildingCoolingEnergySource}`)[]\r\n buildingCoolingMetric?: number\r\n buildingCoolingInstallationYear?: number\r\n buildingHotWaterSystemsEnergySources: (BuildingHotWaterEnergySource | `${BuildingHotWaterEnergySource}`)[]\r\n buildingHotWaterSystemsMetric?: number\r\n buildingHotWaterSystemsInstallationYear?: number\r\n buildingEnvironmentalAdditionalInformation?: string\r\n buildingEstimatedConstructionCost?: number\r\n buildingEstimatedEndDate?: Date\r\n buildingEstimatedStartDate?: Date\r\n buildingEstimatedTotalCost?: number\r\n buildingFederalContribution?: number\r\n buildingFundingAdditionalInformation?: string\r\n buildingFundingSources?: string\r\n buildingGrants?: number\r\n buildingHvacEfficiency?: string\r\n buildingElectricityServiceSize?: BuildingElectricityServiceSize | `${BuildingElectricityServiceSize}`\r\n buildingElectricityServiceLocation?: BuildingElectricityServiceLocation | `${BuildingElectricityServiceLocation}`\r\n buildingElectricityServicePanelSize?: number\r\n buildingElectricityServiceUtilityConnection?: string\r\n buildingElectricityServiceUpgradeHistory?: string\r\n buildingIntensityGhgEmissions?: number\r\n buildingLifecycleExpenses?: number\r\n buildingMaintenanceAdditionalInformation?: string\r\n buildingMaterials?: string\r\n buildingOperatingExpenses?: number\r\n buildingOwnership?: string\r\n buildingParkingAvailable?: boolean\r\n buildingPermitIssuedDate?: Date\r\n buildingPermitNumber?: number\r\n previousUpdates?: string\r\n buildingPriorityRetrofits?: string\r\n buildingProgramLoan?: number\r\n buildingProgramName?: string\r\n buildingProjectDescription?: string\r\n buildingProjectName?: string\r\n buildingProjectNumber?: number\r\n buildingProponentOrganization?: string\r\n buildingProponentType?: string\r\n buildingRentalMarketSurveyZone?: number\r\n buildingRetrofitFundingNeeds?: string\r\n buildingSafetyConcerns?: string\r\n buildingSiteEui?: number\r\n buildingSolarPotential?: number\r\n buildingStartDate?: Date\r\n buildingStructuralVulnerabilities?: string\r\n buildingSubsidies?: number\r\n buildingTotalContribution?: number\r\n buildingTotalGhgEmissions?: number\r\n buildingTotalRentableArea?: number\r\n buildingUnitAdditionalInformation?: string\r\n buildingValueOfFundingFlowed?: number\r\n buildingWasherAvailable?: boolean\r\n buildingWaterIncluded?: boolean\r\n buildingWaterUseIntensity?: number\r\n buildingZoning?: string\r\n featureId?: string | null\r\n buildingParentSiteId?: number | null\r\n}\r\n\r\nexport interface DbFile {\r\n id: number\r\n name: string\r\n type: string\r\n url?: string | null\r\n assetId: string\r\n mimeType?: string | null\r\n extension?: string | null\r\n sizeBytes?: number | null\r\n uploadedAt: string\r\n description?: string | null\r\n tag?: string | null\r\n position?: Position\r\n x?: number | null\r\n y?: number | null\r\n z?: number | null\r\n lat?: number | null\r\n lng?: number | null\r\n elevation?: number | null\r\n rotation?: number | null\r\n isVisible?: boolean\r\n lazFileKey?: string | null\r\n potreeFolderKey?: string | null\r\n potreeMetadataFileKey?: string | null\r\n pointCloudUploaded?: boolean | null\r\n pointCloudPotreeConverted?: boolean | null\r\n bucket?: string | null\r\n fileCommentId?: number | null\r\n fileOrganizationId: number\r\n attachedFilesBuildingId?: number | null\r\n buildingCodeComplianceBuildingId?: number | null\r\n environmentalComplianceBuildingId?: number | null\r\n occupancyCertificateBuildingId?: number | null\r\n permitsIssuedBuildingId?: number | null\r\n systemAssessmentsBuildingId?: number | null\r\n zoningComplianceBuildingId?: number | null\r\n certificationsFileBuildingId?: number | null\r\n energyCodeComplianceBuildingId?: number | null\r\n fireSafetyBuildingId?: number | null\r\n maintenanceRecordsBuildingId?: number | null\r\n proximityToServicesBuildingId?: number | null\r\n regionalEnergyTrendsBuildingId?: number | null\r\n BCABuildingId?: number | null\r\n contractorReportsBuildingId?: number | null\r\n engineeringAssessmentsBuildingId?: number | null\r\n airQualityReportsBuildingId?: number | null\r\n waterQualityReportsBuildingId?: number | null\r\n DSRsBuildingId?: number | null\r\n energyAssessmentReportsBuildingId?: number | null\r\n attachedFilesSiteId?: number | null\r\n energyCodeComplianceSiteId?: number | null\r\n certificationCertificatesSiteId?: number | null\r\n environmentalComplianceSiteId?: number | null\r\n maintenanceRecordsSiteId?: number | null\r\n fireSafetySiteId?: number | null\r\n fireCertSiteId?: number | null\r\n zoningComplianceSiteId?: number | null\r\n buildingPermitSiteId?: number | null\r\n insuranceClaimsSiteId?: number | null\r\n buildingPermitsIssuedSiteId?: number | null\r\n}\r\n\r\nexport interface Site {\r\n id: number\r\n siteName?: string\r\n siteAddress?: string\r\n siteCountrySubdivision?: string\r\n siteMunicipality?: string\r\n siteCity?: string\r\n sitePostalCode?: string\r\n siteCounty?: string\r\n siteWard?: string\r\n siteLongitude?: number\r\n siteLatitude?: number\r\n siteEnergyUsage?: SiteEnergySource | `${SiteEnergySource}`\r\n siteAnnualConsumption?: number\r\n siteEnergyDemand?: number\r\n siteSourceEui?: number\r\n siteEui?: number\r\n siteSolarPotential?: number\r\n siteRenewableEnergy?: string\r\n siteEnergyAdditionalInformation?: string\r\n siteTotalGhgEmissions?: number\r\n siteIntensityGhgEmissions?: number\r\n siteCertifications?: string\r\n siteWaterUseData?: number\r\n siteEnvironmentalAdditionalInformation?: string\r\n siteLifecycleExpenses?: number\r\n siteOperatingExpenses?: number\r\n siteFundingSources?: string\r\n siteGrants?: number\r\n siteSubsidies?: number\r\n siteProponentOrganization?: string\r\n siteProgramLoan?: number\r\n siteProponentType?: string\r\n siteProgramName?: string\r\n siteTotalContribution?: number\r\n siteValueOfFundingFlowed?: number\r\n siteFundingAdditionalInformation?: string\r\n siteAssessmentCondition?: SiteAssessmentConditions | `${SiteAssessmentConditions}`\r\n siteAssessmentDate?: Date\r\n siteAssessmentDescription?: string\r\n siteMaintenanceAdditionalInformation?: string\r\n siteClimateVulnerabilities?: string\r\n siteSafetyConcerns?: string\r\n siteInsuranceProvider?: string\r\n siteInsuranceCosts?: number\r\n siteLandUse?: SiteLandUse | `${SiteLandUse}`\r\n siteLandUseSubtype?: string\r\n siteTotalArea?: number\r\n siteTotalBuiltArea?: number\r\n siteTotalAvailableArea?: number\r\n siteYearBuilt?: Date\r\n siteZoning?: string\r\n siteOwnership?: string\r\n siteProviderName?: string\r\n siteProviderType?: string\r\n siteProviderWebsite?: string\r\n siteProviderContactName?: string\r\n siteProviderContactPhone?: string\r\n siteProviderContactEmail?: string\r\n siteWebsite?: string\r\n siteNotes?: string\r\n siteProjectName?: string\r\n siteProjectNumber?: number\r\n siteProjectPhase?: SiteProjectPhase | `${SiteProjectPhase}`\r\n siteProjectType?: SiteProjectType | `${SiteProjectType}`\r\n siteEstimatedStartDate?: Date\r\n siteEstimatedEndDate?: Date\r\n siteStartDate?: Date\r\n siteCompletedDate?: Date\r\n sitePriorityRetrofits?: string\r\n siteProjectDescription?: string\r\n sitePreviousUpdates?: string\r\n siteBuilderName?: string\r\n sitePermitNumber?: number\r\n sitePermitIssuedDate?: Date\r\n siteEstimatedTotalCost?: number\r\n siteEstimatedConstructionCost?: number\r\n siteRetrofitFundingNeeds?: string\r\n siteFederalContribution?: number\r\n siteAssessedValue?: number\r\n siteOrganizationId: number\r\n}\r\n\r\nexport interface OpenDataPortal {\r\n id: number\r\n name: string\r\n group: DatasetGroup | `${DatasetGroup}`\r\n portalUrl?: string\r\n dataManagementSystem?: DataManagementSystem | `${DataManagementSystem}`\r\n apiUrl?: string\r\n countrySubdivision?: string\r\n municipality?: string\r\n country?: string\r\n live?: boolean\r\n}\r\n\r\nexport interface Infrastructure {\r\n id: number\r\n featureId?: string\r\n infrastructureName?: string\r\n infrastructureType?: InfrastructureType | `${InfrastructureType}`\r\n infrastructureEmail?: string\r\n infrastructureCountrySubdivision?: string\r\n infrastructureMunicipality?: string\r\n infrastructureCity?: string\r\n infrastructureCounty?: string\r\n infrastructurePhoneNumber?: string\r\n infrastructureAddress?: string\r\n infrastructureStreetNumber?: string\r\n infrastructureStreetName?: string\r\n infrastructureStreetType?: string\r\n infrastructureStreetDirection?: string\r\n infrastructurePostalCode?: string\r\n infrastructureDescription?: string\r\n infrastructureDatasetId?: string\r\n infrastructureExternalId?: string // Mapped from ID.identifier\r\n infrastructureScope?: string // Mapped from ID.scope\r\n infrastructureProjectName?: string // Context from Part 0 Project\r\n infrastructureFacilityId?: string // Context from Part 0 Facility\r\n infrastructureState?: InfrastructureState | `${InfrastructureState}`\r\n infrastructureStatus?: string // Generic status string or CodeList URI\r\n infrastructureValidFrom?: Date\r\n infrastructureValidTo?: Date\r\n infrastructureGeometryId?: number // Reference to geometry in our Files table \r\n infrastructureGeometryType?: GeometryType | `${GeometryType}` \r\n infrastructureEPSG?: number\r\n infrastructureLongitude?: number\r\n infrastructureLatitude?: number\r\n infrastructureRotation?: number\r\n infrastructureElevation?: number\r\n infrastructureEasting?: number\r\n infrastructureNorthing?: number\r\n infrastructureNotes?: string\r\n infrastructureWebsite?: string // Coordinate Reference System\r\n linearMeasure?: number\r\n linearMeasureUom?: string // Unit of measure (e.g., \"m\", \"km\")\r\n linearStartValue?: number\r\n linearDefaultLRM?: string\r\n linearLRMType?: LinearReferencingType | `${LinearReferencingType}`\r\n linearHasStationEquation?: boolean\r\n linearRestartValue?: number // Value after the station equation\r\n linearIsAlignment?: boolean\r\n linearAlignmentType?: string // e.g., \"Centerline\", \"LeftRail\", \"RightCurb\"\r\n infrastructureMaterial?: string\r\n infrastructureLayerType?: string\r\n linearHasCrossSection?: boolean\r\n linearCrossSectionArea?: number\r\n linearCrossSectionAreaUom?: string\r\n linearMaxLateralOffset?: number // Furthest distance from centerline\r\n linearVerticalOffset?: number\r\n infrastructureSurfaceType?: SurfaceType | `${SurfaceType}`\r\n infrastructureTinId?: string // Reference to TIN geometry ID\r\n infrastructureSurfaceName?: string\r\n infrastructureSurveyDocumentId?: string\r\n infrastructureSurveyDate?: Date\r\n ifcGlobalId?: string\r\n ifcDomain?: IfcInfrastructureDomain | `${IfcInfrastructureDomain}`\r\n ifcRoadType?: IfcRoadType | `${IfcRoadType}`\r\n ifcLaneCount?: number\r\n ifcDesignSpeed?: number\r\n ifcRailType?: IfcRailType | `${IfcRailType}`\r\n ifcTrackGauge?: number\r\n ifcCant?: number\r\n ifcTrackComponentType?: IfcTrackComponentType | `${IfcTrackComponentType}`\r\n ifcBridgePartType?: IfcBridgePartType | `${IfcBridgePartType}`\r\n ifcBridgeClearance?: number\r\n ifcLoadRating?: number\r\n ifcGeotechType?: IfcGeotechType | `${IfcGeotechType}`\r\n ifcWaterDepth?: number\r\n ifcSignalType?: IfcSignalType | `${IfcSignalType}`\r\n ifcSensorType?: IfcSensorType | `${IfcSensorType}`\r\n ifcUtilityType?: IfcUtilityType | `${IfcUtilityType}`\r\n ifcUtilityDiameter?: number\r\n ifcVoltage?: number // For power lines\r\n ifcEarthworksType?: IfcEarthworksType | `${IfcEarthworksType}`\r\n ifcSlopeRatio?: number // e.g., 2:1 slope\r\n infrastructureParentId?: string // Recursive ID for nested parts (e.g. Bridge Span inside Bridge)\r\n ifcFacilityPartType?: IfcFacilityPartType | `${IfcFacilityPartType}`\r\n cityGmlLod?: CityGmlLod | `${CityGmlLod}`\r\n cityGmlFunction?: CityGmlFunction | `${CityGmlFunction}`\r\n cityGmlUsage?: CityGmlUsage | `${CityGmlUsage}`\r\n cityGmlRelativeToTerrain?: string\r\n cityGmlIsTrafficSpace?: boolean\r\n cityGmlTrafficGranularity?: string\r\n cityGmlVegetationType?: CityGmlVegetationType | `${CityGmlVegetationType}`\r\n cityGmlFurnitureType?: CityGmlFurnitureType | `${CityGmlFurnitureType}`\r\n cityGmlCrownDiameter?: number\r\n cityGmlName?: string\r\n cityGmlCondition?: CityGmlCondition | `${CityGmlCondition}`\r\n cityGmlConstructionDate?: Date\r\n cityGmlDemolitionDate?: Date\r\n cityGmlMeasuredHeight?: number\r\n cityGmlHeightRef?: CityGmlElevationRef | `${CityGmlElevationRef}`\r\n cityGmlSurfaceMaterial?: CityGmlSurfaceMaterial | `${CityGmlSurfaceMaterial}`\r\n cityGmlTrafficFunction?: CityGmlTrafficSurfaceFunction | `${CityGmlTrafficSurfaceFunction}`\r\n cityGmlIsAuxiliary?: boolean\r\n organizationId: number\r\n}"],"mappings":"AAGO,IAAK,uBAAL,kBAAKA,0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AAA;AAAA,GAAA;AACL,IAAK,WAAL,kBAAKC,cAAL;AAAgB,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAtC,SAAAA;AAAA,GAAA;","names":["BuildingOccupantType","BuildingGeometryStyle","BuildingAssessmentConditions","BuildingProjectPhase","BuildingProjectType","BuildingManagementType","BuildingHeatingEnergySource","BuildingCoolingEnergySource","BuildingHotWaterEnergySource","BuildingElectricityServiceSize","BuildingElectricityServiceLocation","BuildingEnergySource","SiteEnergySource","SiteAssessmentConditions","SiteLandUse","SiteProjectPhase","SiteProjectType","DatasetGroup","DataManagementSystem","ViewerNames","SensorTypes","SensorDataFormat","InfrastructureType","InfrastructureState","LinearSide","LinearReferencingType","GeometryType","SurfaceType","IfcInfrastructureDomain","IfcRoadType","IfcRailType","IfcTrackComponentType","IfcBridgePartType","IfcGeotechType","IfcSignalType","IfcSensorType","IfcUtilityType","IfcEarthworksType","IfcFacilityPartType","CityGmlLod","CityGmlFunction","CityGmlUsage","CityGmlFurnitureType","CityGmlVegetationType","CityGmlCondition","CityGmlElevationRef","CityGmlSurfaceMaterial","CityGmlTrafficSurfaceFunction","Language"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["import { CountrySubdivision } from './datasetTypes';\r\nimport { Position } from './global'\r\n\r\nexport enum BuildingOccupantType {Adults = 'Adults', Families = 'Families', Seniors = 'Seniors', Seniors_50_Plus = 'Seniors_50_Plus', Seniors_55_Plus = 'Seniors_55_Plus', Seniors_65_Plus = 'Seniors_65_Plus', Seniors_60_Plus = 'Seniors_60_Plus', Indigenous_Families = 'Indigenous_Families', Youth = 'Youth', Adults_16_Plus = 'Adults_16_Plus', Adults_16_To_24 = 'Adults_16_To_24', Singles = 'Singles', Families_Single_Parents = 'Families_Single_Parents', Indigenous = 'Indigenous'}\r\nexport enum BuildingGeometryStyle {Complex = 'Complex', Simple = 'Simple', Apartment = 'Apartment'}\r\nexport enum BuildingAssessmentConditions {Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor'}\r\nexport enum BuildingProjectPhase {Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase'}\r\nexport enum BuildingProjectType {Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit'}\r\nexport enum BuildingManagementType {Internal = 'Internal', External = 'External', Municipal = 'Municipal', Private = 'Private'}\r\nexport enum BuildingEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\nexport enum BuildingHeatingEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\nexport enum BuildingCoolingEnergySource {Electric = 'Electric', Wind = 'Wind', Geothermal = 'Geothermal', District_Cooling = 'District_Cooling', Solar = 'Solar'}\r\nexport enum BuildingHotWaterEnergySource {Electric = 'Electric', Natural_Gas = 'Natural_Gas', Propane = 'Propane', Oil = 'Oil', Solar = 'Solar', Wind = 'Wind'}\r\nexport enum BuildingElectricityServiceSize {Size_60 = 'Size_60', Size_100 = 'Size_100', Size_200 = 'Size_200'}\r\nexport enum BuildingElectricityServiceLocation {Overhead = 'Overhead', Underhead = 'Underhead'}\r\n\r\nexport enum SiteEnergySource {Gas = 'Gas', Propane = 'Propane', Electric_BB = 'Electric_BB', Oil = 'Oil', Electric = 'Electric', Natural_Gas = 'Natural_Gas', Solar = 'Solar', Wind = 'Wind', Geothermal = 'Geothermal', District_Heating = 'District_Heating'}\r\nexport enum SiteAssessmentConditions {Excellent = 'Excellent', Good = 'Good', Fair = 'Fair', Poor = 'Poor'} \r\nexport enum SiteLandUse {Residential = 'Residential', Industry_And_Business = 'Industry_And_Business', Mixed_Use = 'Mixed_Use', Special_Function_Area = 'Special_Function_Area', Monument = 'Monument', Dump = 'Dump', Mining = 'Mining', Park = 'Park', Cemetery = 'Cemetery', Sports_Leisure_and_Recreation = 'Sports_Leisure_and_Recreation', Open_Pit_Quarry = 'Open_Pit_Quarry', Road = 'Road', Railway = 'Railway', Airfield = 'Airfield', Shipping = 'Shipping', Track = 'Track', Square = 'Square', Grassland = 'Grassland', Agriculture = 'Agriculture', Forest = 'Forest', Grove = 'Grove', Heath = 'Heath', Moor = 'Moor', Marsh = 'Marsh', Untilled_Land = 'Untilled_Land', River = 'River', Standing_Waterbody = 'Standing_Waterbody', Harbour = 'Harbour', Sea = 'Sea'}\r\nexport enum SiteProjectPhase {Inception_Phase = 'Inception_Phase', Conceptualization_Phase = 'Conceptualization_Phase', Criteria_Definition_Phase = 'Criteria_Definition_Phase', Design_Phase = 'Design_Phase', Coordination_Phase = 'Coordination_Phase', Implementation_Phase = 'Implementation_Phase', Handover_Phase = 'Handover_Phase', Operations_Phase = 'Operations_Phase'}\r\nexport enum SiteProjectType {Modification = 'Modification', New_Build = 'New_Build', Renovation = 'Renovation', Repair = 'Repair', Operation_Maintenance = 'Operation_Maintenance', Retrofit = 'Retrofit'}\r\nexport enum DatasetGroup { Organizational = 'Organizational', Municipal = 'Municipal', National = 'National', Provincial = 'Provincial'}\r\nexport enum DataManagementSystem {Ckan = 'Ckan', Arcgis = 'Arcgis', Opendatasoft = 'Opendatasoft', Socrata = 'Socrata', Other = 'Other'}\r\nexport enum ViewerNames {auth = 'auth', map = 'map', bim = 'bim', pointcloud = 'pointcloud', buildings = 'buildings', sites = 'sites', files = 'files', land = 'land', infrastructure = 'infrastructure', extensions = 'extensions', settings = 'settings', users= 'users'}\r\nexport enum SensorTypes {Temperature = 'Temperature', Light = 'Light', Humidity = 'Humidity', Energy_Consumption = 'Energy_Consumption', Movement = 'Movement', Air_Quality = 'Air_Quality', Atmospheric_Pressure = 'Atmospheric_Pressure', Irradiance = 'Irradiance', Flow = 'Flow', State = 'State', Noise_Level = 'Noise_Level'}\r\nexport enum SensorDataFormat {Csv = 'Csv', Json = 'Json'}\r\n\r\nexport enum InfrastructureType {LandFeature = 'LandFeature', Facility = 'Facility', Project = 'Project', Alignment = 'Alignment', Road = 'Road', Railway = 'Railway', Survey = 'Survey', LandDivision = 'LandDivision', Condominium = 'Condominium', Other = 'Other'}\r\nexport enum InfrastructureState {Existing = 'Existing', Proposed = 'Proposed', Planned = 'Planned', UnderConstruction = 'UnderConstruction', Abandoned = 'Abandoned', Demolished = 'Demolished'}\r\nexport enum LinearSide {Left = 'Left', Right = 'Right', Center = 'Center', Both = 'Both', Neither = 'Neither', Unspecified = 'Unspecified'}\r\nexport enum LinearReferencingType {Absolute = 'Absolute', Relative = 'Relative', Interpolative = 'Interpolative'}\r\nexport enum GeometryType {Point = 'Point', LineString = 'LineString', PolyfaceMesh = 'PolyfaceMesh', Curve = 'Curve'}\r\nexport enum SurfaceType {TIN = 'TIN', Grid = 'Grid', Breaklines = 'Breaklines'}\r\nexport enum IfcInfrastructureDomain {IfcRoad = 'IfcRoad', IfcRailway = 'IfcRailway', IfcBridge = 'IfcBridge', IfcMarineFacility = 'IfcMarineFacility', IfcWaterway = 'IfcWaterway', IfcGeotechnicalAssembly = 'IfcGeotechnicalAssembly',}\r\nexport enum IfcRoadType {Highway = 'Highway', Street = 'Street', Interchange = 'Interchange', BicycleWay = 'BicycleWay', Footway = 'Footway', NotDefined = 'NotDefined'}\r\nexport enum IfcRailType {HeavyRail = 'HeavyRail', LightRail = 'LightRail', Subway = 'Subway', Tram = 'Tram', Monorail = 'Monorail', RackRail = 'RackRail'}\r\nexport enum IfcTrackComponentType {Track = 'Track', Sleeper = 'Sleeper', Ballast = 'Ballast', Frog = 'Frog', Sleepers = 'Sleepers', Block = 'Block'}\r\nexport enum IfcBridgePartType {Abutment = 'Abutment', Deck = 'Deck', Pier = 'Pier', Pylon = 'Pylon', Superstructure = 'Superstructure', Substructure = 'Substructure'}\r\nexport enum IfcGeotechType { Borehole = 'Borehole', Earthwork = 'Earthwork', RockTunnel = 'RockTunnel' }\r\nexport enum IfcSignalType { TrafficLight = 'TrafficLight', RailSignal = 'RailSignal', Sign = 'Sign', Panel = 'Panel' }\r\nexport enum IfcSensorType { TrafficSensor = 'TrafficSensor', WeatherSensor = 'WeatherSensor', SecurityCamera = 'SecurityCamera' }\r\nexport enum IfcUtilityType { PowerLine = 'PowerLine', Telecom = 'Telecom', Stormwater = 'Stormwater', Sewage = 'Sewage', Gas = 'Gas', DuctBank = 'DuctBank' }\r\nexport enum IfcEarthworksType { Cut = 'Cut', Fill = 'Fill', Embankment = 'Embankment', Subgrade = 'Subgrade' }\r\nexport enum IfcFacilityPartType { Segment = 'Segment', Junction = 'Junction', LevelCrossing = 'LevelCrossing', Terminal = 'Terminal' }\r\nexport enum CityGmlLod { LOD0 = 'LOD0', LOD1 = 'LOD1', LOD2 = 'LOD2', LOD3 = 'LOD3', LOD4 = 'LOD4' }\r\nexport enum CityGmlFunction { Traffic = 'Traffic', WaterBody = 'WaterBody', SolitaryVegetation = 'SolitaryVegetation', PlantCover = 'PlantCover', CityFurniture = 'CityFurniture', LandUse = 'LandUse' }\r\nexport enum CityGmlUsage { Public = 'Public', Private = 'Private', Industrial = 'Industrial', Commercial = 'Commercial', Government = 'Government', Military = 'Military' }\r\nexport enum CityGmlFurnitureType { TrafficLight = 'TrafficLight', TrafficSign = 'TrafficSign', StreetLamp = 'StreetLamp', BusStop = 'BusStop', Bench = 'Bench', WasteBin = 'WasteBin', Bollard = 'Bollard' }\r\nexport enum CityGmlVegetationType { Tree = 'Tree', Shrub = 'Shrub', Hedge = 'Hedge', Grass = 'Grass' }\r\nexport enum CityGmlCondition { Intact = 'Intact', UnderConstruction = 'UnderConstruction', Declined = 'Declined', Demolished = 'Demolished', Ruin = 'Ruin' }\r\nexport enum CityGmlElevationRef { Bottom = 'Bottom', Ground = 'Ground', Eaves = 'Eaves', Top = 'Top' }\r\nexport enum CityGmlSurfaceMaterial { Asphalt = 'Asphalt', Concrete = 'Concrete', Gravel = 'Gravel', Soil = 'Soil', Grass = 'Grass', PavingStones = 'PavingStones' }\r\nexport enum CityGmlTrafficSurfaceFunction { DrivingLane = 'DrivingLane', CycleLane = 'CycleLane', Sidewalk = 'Sidewalk', ParkingBay = 'ParkingBay', Crosswalk = 'Crosswalk', TrafficIsland = 'TrafficIsland', Embankment = 'Embankment' }\r\nexport enum Language { En = 'En', Fr = 'Fr', Es = 'Es' }\r\n\r\n\r\nexport interface User {\r\n id: number;\r\n name: string;\r\n password: string;\r\n email: string;\r\n emailVerified?: Date | null; \r\n imageFileId?: number | null;\r\n createdAt: Date; \r\n updatedAt: Date; \r\n organizationId?: number | null;\r\n roleId: number;\r\n}\r\n\r\nexport interface Role {\r\n id: number;\r\n name: string;\r\n permissions: unknown[]; // Prisma Json[]; keep as unknown[] in core\r\n orgId: number;\r\n}\r\n\r\nexport type Permission = {\r\n action: string;\r\n subject: string;\r\n description?: string;\r\n};\r\n\r\nexport interface Account {\r\n id: number;\r\n type: string;\r\n provider: string;\r\n providerAccountId: string;\r\n refresh_token?: string | null;\r\n access_token?: string | null;\r\n expires_at?: number | null;\r\n token_type?: string | null;\r\n scope?: string | null;\r\n id_token?: string | null;\r\n session_state?: string | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n userId: number;\r\n}\r\n\r\nexport interface Organization {\r\n id: number;\r\n name: string;\r\n title?: string | null;\r\n description?: string | null;\r\n geocoder: boolean;\r\n mainColor?: string | null;\r\n secondaryColor?: string | null;\r\n locationId?: string | null;\r\n countrySubdivision?: string | null; // CA-ON, US-NY, etc.\r\n municipality?: string | null;\r\n postalCode?: string | null;\r\n lat?: number | null;\r\n long?: number | null;\r\n zoom?: number | null;\r\n bbox: number[]\r\n bearing?: number | null;\r\n pitch?: number | null;\r\n mapStyles: unknown[]; // Json[] in Prisma, keep as unknown[] in core\r\n minZoom?: number | null;\r\n maxBounds: number[]\r\n appContent: (ViewerNames | `${ViewerNames}`)[]\r\n logoKey?: string | null;\r\n faviconKey?: string | null;\r\n maxNumberOfUsers?: number | null;\r\n languages: (Language | `${Language}`)[];\r\n country?: string | null;\r\n locationSiteId?: number | null;\r\n locationBuildingId?: number | null;\r\n}\r\n\r\nexport interface BuildingOnOrganizations {\r\n buildingId: number;\r\n organizationId: number;\r\n}\r\n\r\nexport interface Comment {\r\n id: number;\r\n authorId: number;\r\n organizationId: number;\r\n text: string;\r\n longitude?: number | null;\r\n latitude?: number | null;\r\n elevation?: number | null;\r\n visible: boolean;\r\n viewer: ViewerNames | `${ViewerNames}`;\r\n x?: number | null;\r\n y?: number | null;\r\n z?: number | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n replyToId?: number | null;\r\n buildingId?: number | null;\r\n image?: string | null;\r\n}\r\n\r\nexport interface Sensor {\r\n id: number;\r\n data: string;\r\n dataFormat: SensorDataFormat | `${SensorDataFormat}`;\r\n updateFrequency: number;\r\n name: string;\r\n longitude?: number | null;\r\n latitude?: number | null;\r\n elevation?: number | null;\r\n visible: boolean;\r\n viewer: ViewerNames | `${ViewerNames}`;\r\n x?: number | null;\r\n y?: number | null;\r\n z?: number | null;\r\n createdAt: Date;\r\n updatedAt: Date;\r\n url?: string | null;\r\n tags: string[];\r\n maxThreshold?: number | null;\r\n minThreshold?: number | null;\r\n typeId?: number | null;\r\n organizationId: number;\r\n buildingId?: number | null;\r\n authorId: number;\r\n}\r\n\r\nexport interface SensorType {\r\n id: number;\r\n name: SensorTypes | `${SensorTypes}`;\r\n icon: string;\r\n minValue: number;\r\n maxValue: number;\r\n minColour: string;\r\n midColour: string;\r\n maxColour: string;\r\n}\r\n\r\nexport interface Building {\r\n id: number \r\n buildingEmail?: string\r\n buildingPhoneNumber?: string\r\n buildingAddress?: string\r\n buildingStreetNumber?: string\r\n buildingStreetName?: string\r\n buildingStreetType?: string\r\n buildingStreetDirection?: string\r\n buildingCountrySubdivision?: string\r\n buildingMunicipality?: string\r\n buildingPostalCode?: string\r\n buildingType: string[]\r\n buildingLongitude?: number\r\n buildingLatitude?: number\r\n rotation?: number\r\n buildingElevation?: number\r\n buildingEasting?: number\r\n buildingNorthing?: number\r\n buildingEPSG?: number\r\n buildingName?: string\r\n buildingNotes?: string\r\n buildingWebsite?: string\r\n buildingHeatingIncluded?: boolean\r\n buildingHydroIncluded?: boolean\r\n buildingProviderContactEmail?: string\r\n buildingProviderContactName?: string\r\n buildingProviderContactPhone?: string\r\n buildingProviderName?: string\r\n buildingProviderType?: string\r\n buildingProviderWebsite?: string\r\n buildingOccupantType: (BuildingOccupantType | `${BuildingOccupantType}`)[]\r\n buildingStoreyNum?: number\r\n buildingTotalSqft?: number\r\n buildingUnits1B?: boolean\r\n buildingUnits1BNum?: number\r\n buildingUnits1BSqft: number[]\r\n buildingUnits2B?: boolean\r\n buildingUnits2BNum?: number\r\n buildingUnits2BSqft: number[]\r\n buildingUnits3B?: boolean\r\n buildingUnits3BNum?: number\r\n buildingUnits3BSqft: number[]\r\n buildingUnits4B?: boolean\r\n buildingUnits4BNum?: number\r\n buildingUnits4BSqft: number[]\r\n buildingUnits5B?: boolean\r\n buildingUnits5BNum?: number\r\n buildingUnits5BSqft: number[]\r\n buildingUnits6B?: boolean\r\n buildingUnits6BNum?: number\r\n buildingUnits6BSqft: number[]\r\n buildingUnitsB?: boolean\r\n buildingUnitsBNum?: number\r\n buildingUnitsBSqft: number[]\r\n buildingUnitsMarketRent?: boolean\r\n buildingUnitsMarketRentNum?: number\r\n buildingUnitsMarketRentSqft: number[]\r\n buildingUnitsModified?: boolean\r\n buildingUnitsModifiedNum?: number\r\n buildingUnitsModifiedSqft: number[]\r\n buildingUnitsRoom?: boolean\r\n buildingUnitsRoomNum?: number\r\n buildingUnitsRoomSqft: number[]\r\n buildingUnitsSubsidized?: boolean\r\n buildingUnitsSubsidizedNum?: number\r\n buildingUnitsSubsidizedSqft: number[]\r\n buildingUnitsBelowMarketRent?: boolean\r\n buildingUnitsBelowMarketRentNum?: number\r\n buildingUnitsBelowMarketRentSqft: number[]\r\n buildingUnitsRentGearedToIncome?: boolean\r\n buildingUnitsRentGearedToIncomeNum?: number\r\n buildingUnitsRentGearedToIncomeSqft: number[]\r\n buildingUnitsTotal?: number\r\n buildingUtilitiesIncluded?: boolean\r\n buildingYearBuilt?: number\r\n buildingAnchorAddress?: string\r\n buildingGeometryStyle?: BuildingGeometryStyle | `${BuildingGeometryStyle}`\r\n buildingCommonSpace?: boolean\r\n buildingAirQuality?: number\r\n buildingAirQualityAssessmentDate?: Date\r\n buildingAnnualConsumption?: number\r\n buildingAssessedValue?: number\r\n buildingBuilderName?: string\r\n buildingAdditionalInformation?: string\r\n buildingAssessmentCondition?: BuildingAssessmentConditions | `${BuildingAssessmentConditions}`\r\n buildingAssessmentDate?: Date\r\n buildingAssessmentDescription?: string\r\n buildingCity?: string\r\n buildingCounty?: string\r\n buildingOrthogonalHeight?: number\r\n buildingOsmId?: string\r\n buildingOsmType?: string\r\n buildingProjectPhase?: BuildingProjectPhase | `${BuildingProjectPhase}`\r\n buildingProjectType?: BuildingProjectType | `${BuildingProjectType}`\r\n buildingSourceEui?: number\r\n buildingWardName?: string\r\n buildingWardNumber?: number\r\n buildingManagementType?: BuildingManagementType | `${BuildingManagementType}`\r\n buildingManagementName?: string\r\n buildingManagementContactName?: string\r\n buildingManagementWebsite?: string\r\n buildingManagementPhoneNumber?: string\r\n buildingCensusTract?: number\r\n buildingCertifications?: string\r\n buildingClimateVulnerabilities?: string\r\n buildingComfort?: string\r\n buildingCompletedDate?: Date\r\n buildingDryerAvailable?: boolean\r\n buildingElevatorAvailable?: boolean\r\n buildingEnergyAdditionalInformation?: string\r\n buildingHeatingEnergySources: (BuildingHeatingEnergySource | `${BuildingHeatingEnergySource}`)[]\r\n buildingHeatingMetric?: number\r\n buildingHeatingInstallationYear?: number\r\n buildingCoolingEnergySources: (BuildingCoolingEnergySource | `${BuildingCoolingEnergySource}`)[]\r\n buildingCoolingMetric?: number\r\n buildingCoolingInstallationYear?: number\r\n buildingHotWaterSystemsEnergySources: (BuildingHotWaterEnergySource | `${BuildingHotWaterEnergySource}`)[]\r\n buildingHotWaterSystemsMetric?: number\r\n buildingHotWaterSystemsInstallationYear?: number\r\n buildingEnvironmentalAdditionalInformation?: string\r\n buildingEstimatedConstructionCost?: number\r\n buildingEstimatedEndDate?: Date\r\n buildingEstimatedStartDate?: Date\r\n buildingEstimatedTotalCost?: number\r\n buildingFederalContribution?: number\r\n buildingFundingAdditionalInformation?: string\r\n buildingFundingSources?: string\r\n buildingGrants?: number\r\n buildingHvacEfficiency?: string\r\n buildingElectricityServiceSize?: BuildingElectricityServiceSize | `${BuildingElectricityServiceSize}`\r\n buildingElectricityServiceLocation?: BuildingElectricityServiceLocation | `${BuildingElectricityServiceLocation}`\r\n buildingElectricityServicePanelSize?: number\r\n buildingElectricityServiceUtilityConnection?: string\r\n buildingElectricityServiceUpgradeHistory?: string\r\n buildingIntensityGhgEmissions?: number\r\n buildingLifecycleExpenses?: number\r\n buildingMaintenanceAdditionalInformation?: string\r\n buildingMaterials?: string\r\n buildingOperatingExpenses?: number\r\n buildingOwnership?: string\r\n buildingParkingAvailable?: boolean\r\n buildingPermitIssuedDate?: Date\r\n buildingPermitNumber?: number\r\n previousUpdates?: string\r\n buildingPriorityRetrofits?: string\r\n buildingProgramLoan?: number\r\n buildingProgramName?: string\r\n buildingProjectDescription?: string\r\n buildingProjectName?: string\r\n buildingProjectNumber?: number\r\n buildingProponentOrganization?: string\r\n buildingProponentType?: string\r\n buildingRentalMarketSurveyZone?: number\r\n buildingRetrofitFundingNeeds?: string\r\n buildingSafetyConcerns?: string\r\n buildingSiteEui?: number\r\n buildingSolarPotential?: number\r\n buildingStartDate?: Date\r\n buildingStructuralVulnerabilities?: string\r\n buildingSubsidies?: number\r\n buildingTotalContribution?: number\r\n buildingTotalGhgEmissions?: number\r\n buildingTotalRentableArea?: number\r\n buildingUnitAdditionalInformation?: string\r\n buildingValueOfFundingFlowed?: number\r\n buildingWasherAvailable?: boolean\r\n buildingWaterIncluded?: boolean\r\n buildingWaterUseIntensity?: number\r\n buildingZoning?: string\r\n featureId?: string | null\r\n buildingParentSiteId?: number | null\r\n}\r\n\r\nexport interface DbFile {\r\n id: number\r\n name: string\r\n type: string\r\n url?: string | null\r\n assetId: string\r\n mimeType?: string | null\r\n extension?: string | null\r\n sizeBytes?: number | null\r\n uploadedAt: string\r\n description?: string | null\r\n tag?: string | null\r\n position?: Position\r\n x?: number | null\r\n y?: number | null\r\n z?: number | null\r\n lat?: number | null\r\n lng?: number | null\r\n elevation?: number | null\r\n rotation?: number | null\r\n isVisible?: boolean\r\n lazFileKey?: string | null\r\n potreeFolderKey?: string | null\r\n potreeMetadataFileKey?: string | null\r\n pointCloudUploaded?: boolean | null\r\n pointCloudPotreeConverted?: boolean | null\r\n bucket?: string | null\r\n fileCommentId?: number | null\r\n fileOrganizationId: number\r\n attachedFilesBuildingId?: number | null\r\n buildingCodeComplianceBuildingId?: number | null\r\n environmentalComplianceBuildingId?: number | null\r\n occupancyCertificateBuildingId?: number | null\r\n permitsIssuedBuildingId?: number | null\r\n systemAssessmentsBuildingId?: number | null\r\n zoningComplianceBuildingId?: number | null\r\n certificationsFileBuildingId?: number | null\r\n energyCodeComplianceBuildingId?: number | null\r\n fireSafetyBuildingId?: number | null\r\n maintenanceRecordsBuildingId?: number | null\r\n proximityToServicesBuildingId?: number | null\r\n regionalEnergyTrendsBuildingId?: number | null\r\n BCABuildingId?: number | null\r\n contractorReportsBuildingId?: number | null\r\n engineeringAssessmentsBuildingId?: number | null\r\n airQualityReportsBuildingId?: number | null\r\n waterQualityReportsBuildingId?: number | null\r\n DSRsBuildingId?: number | null\r\n energyAssessmentReportsBuildingId?: number | null\r\n attachedFilesSiteId?: number | null\r\n energyCodeComplianceSiteId?: number | null\r\n certificationCertificatesSiteId?: number | null\r\n environmentalComplianceSiteId?: number | null\r\n maintenanceRecordsSiteId?: number | null\r\n fireSafetySiteId?: number | null\r\n fireCertSiteId?: number | null\r\n zoningComplianceSiteId?: number | null\r\n buildingPermitSiteId?: number | null\r\n insuranceClaimsSiteId?: number | null\r\n buildingPermitsIssuedSiteId?: number | null\r\n}\r\n\r\nexport interface Site {\r\n id: number\r\n siteName?: string\r\n siteAddress?: string\r\n siteCountrySubdivision?: string\r\n siteMunicipality?: string\r\n siteCity?: string\r\n sitePostalCode?: string\r\n siteCounty?: string\r\n siteWard?: string\r\n siteLongitude?: number\r\n siteLatitude?: number\r\n siteEnergyUsage?: SiteEnergySource | `${SiteEnergySource}`\r\n siteAnnualConsumption?: number\r\n siteEnergyDemand?: number\r\n siteSourceEui?: number\r\n siteEui?: number\r\n siteSolarPotential?: number\r\n siteRenewableEnergy?: string\r\n siteEnergyAdditionalInformation?: string\r\n siteTotalGhgEmissions?: number\r\n siteIntensityGhgEmissions?: number\r\n siteCertifications?: string\r\n siteWaterUseData?: number\r\n siteEnvironmentalAdditionalInformation?: string\r\n siteLifecycleExpenses?: number\r\n siteOperatingExpenses?: number\r\n siteFundingSources?: string\r\n siteGrants?: number\r\n siteSubsidies?: number\r\n siteProponentOrganization?: string\r\n siteProgramLoan?: number\r\n siteProponentType?: string\r\n siteProgramName?: string\r\n siteTotalContribution?: number\r\n siteValueOfFundingFlowed?: number\r\n siteFundingAdditionalInformation?: string\r\n siteAssessmentCondition?: SiteAssessmentConditions | `${SiteAssessmentConditions}`\r\n siteAssessmentDate?: Date\r\n siteAssessmentDescription?: string\r\n siteMaintenanceAdditionalInformation?: string\r\n siteClimateVulnerabilities?: string\r\n siteSafetyConcerns?: string\r\n siteInsuranceProvider?: string\r\n siteInsuranceCosts?: number\r\n siteLandUse?: SiteLandUse | `${SiteLandUse}`\r\n siteLandUseSubtype?: string\r\n siteTotalArea?: number\r\n siteTotalBuiltArea?: number\r\n siteTotalAvailableArea?: number\r\n siteYearBuilt?: Date\r\n siteZoning?: string\r\n siteOwnership?: string\r\n siteProviderName?: string\r\n siteProviderType?: string\r\n siteProviderWebsite?: string\r\n siteProviderContactName?: string\r\n siteProviderContactPhone?: string\r\n siteProviderContactEmail?: string\r\n siteWebsite?: string\r\n siteNotes?: string\r\n siteProjectName?: string\r\n siteProjectNumber?: number\r\n siteProjectPhase?: SiteProjectPhase | `${SiteProjectPhase}`\r\n siteProjectType?: SiteProjectType | `${SiteProjectType}`\r\n siteEstimatedStartDate?: Date\r\n siteEstimatedEndDate?: Date\r\n siteStartDate?: Date\r\n siteCompletedDate?: Date\r\n sitePriorityRetrofits?: string\r\n siteProjectDescription?: string\r\n sitePreviousUpdates?: string\r\n siteBuilderName?: string\r\n sitePermitNumber?: number\r\n sitePermitIssuedDate?: Date\r\n siteEstimatedTotalCost?: number\r\n siteEstimatedConstructionCost?: number\r\n siteRetrofitFundingNeeds?: string\r\n siteFederalContribution?: number\r\n siteAssessedValue?: number\r\n siteOrganizationId: number\r\n}\r\n\r\nexport interface OpenDataPortal {\r\n id: number\r\n name: string\r\n group: DatasetGroup | `${DatasetGroup}`\r\n portalUrl?: string\r\n dataManagementSystem?: DataManagementSystem | `${DataManagementSystem}`\r\n apiUrl?: string\r\n countrySubdivision?: string\r\n municipality?: string\r\n country?: string\r\n live?: boolean\r\n}\r\n\r\nexport interface Infrastructure {\r\n id: number\r\n featureId?: string\r\n infrastructureName?: string\r\n infrastructureType?: InfrastructureType | `${InfrastructureType}`\r\n infrastructureEmail?: string\r\n infrastructureCountrySubdivision?: string\r\n infrastructureMunicipality?: string\r\n infrastructureCity?: string\r\n infrastructureCounty?: string\r\n infrastructurePhoneNumber?: string\r\n infrastructureAddress?: string\r\n infrastructureStreetNumber?: string\r\n infrastructureStreetName?: string\r\n infrastructureStreetType?: string\r\n infrastructureStreetDirection?: string\r\n infrastructurePostalCode?: string\r\n infrastructureDescription?: string\r\n infrastructureDatasetId?: string\r\n infrastructureExternalId?: string // Mapped from ID.identifier\r\n infrastructureScope?: string // Mapped from ID.scope\r\n infrastructureProjectName?: string // Context from Part 0 Project\r\n infrastructureFacilityId?: string // Context from Part 0 Facility\r\n infrastructureState?: InfrastructureState | `${InfrastructureState}`\r\n infrastructureStatus?: string // Generic status string or CodeList URI\r\n infrastructureValidFrom?: Date\r\n infrastructureValidTo?: Date\r\n infrastructureGeometryId?: number // Reference to geometry in our Files table \r\n infrastructureGeometryType?: GeometryType | `${GeometryType}` \r\n infrastructureEPSG?: number\r\n infrastructureLongitude?: number\r\n infrastructureLatitude?: number\r\n infrastructureRotation?: number\r\n infrastructureElevation?: number\r\n infrastructureEasting?: number\r\n infrastructureNorthing?: number\r\n infrastructureNotes?: string\r\n infrastructureWebsite?: string // Coordinate Reference System\r\n linearMeasure?: number\r\n linearMeasureUom?: string // Unit of measure (e.g., \"m\", \"km\")\r\n linearStartValue?: number\r\n linearDefaultLRM?: string\r\n linearLRMType?: LinearReferencingType | `${LinearReferencingType}`\r\n linearHasStationEquation?: boolean\r\n linearRestartValue?: number // Value after the station equation\r\n linearIsAlignment?: boolean\r\n linearAlignmentType?: string // e.g., \"Centerline\", \"LeftRail\", \"RightCurb\"\r\n infrastructureMaterial?: string\r\n infrastructureLayerType?: string\r\n linearHasCrossSection?: boolean\r\n linearCrossSectionArea?: number\r\n linearCrossSectionAreaUom?: string\r\n linearMaxLateralOffset?: number // Furthest distance from centerline\r\n linearVerticalOffset?: number\r\n infrastructureSurfaceType?: SurfaceType | `${SurfaceType}`\r\n infrastructureTinId?: string // Reference to TIN geometry ID\r\n infrastructureSurfaceName?: string\r\n infrastructureSurveyDocumentId?: string\r\n infrastructureSurveyDate?: Date\r\n ifcGlobalId?: string\r\n ifcDomain?: IfcInfrastructureDomain | `${IfcInfrastructureDomain}`\r\n ifcRoadType?: IfcRoadType | `${IfcRoadType}`\r\n ifcLaneCount?: number\r\n ifcDesignSpeed?: number\r\n ifcRailType?: IfcRailType | `${IfcRailType}`\r\n ifcTrackGauge?: number\r\n ifcCant?: number\r\n ifcTrackComponentType?: IfcTrackComponentType | `${IfcTrackComponentType}`\r\n ifcBridgePartType?: IfcBridgePartType | `${IfcBridgePartType}`\r\n ifcBridgeClearance?: number\r\n ifcLoadRating?: number\r\n ifcGeotechType?: IfcGeotechType | `${IfcGeotechType}`\r\n ifcWaterDepth?: number\r\n ifcSignalType?: IfcSignalType | `${IfcSignalType}`\r\n ifcSensorType?: IfcSensorType | `${IfcSensorType}`\r\n ifcUtilityType?: IfcUtilityType | `${IfcUtilityType}`\r\n ifcUtilityDiameter?: number\r\n ifcVoltage?: number // For power lines\r\n ifcEarthworksType?: IfcEarthworksType | `${IfcEarthworksType}`\r\n ifcSlopeRatio?: number // e.g., 2:1 slope\r\n infrastructureParentId?: string // Recursive ID for nested parts (e.g. Bridge Span inside Bridge)\r\n ifcFacilityPartType?: IfcFacilityPartType | `${IfcFacilityPartType}`\r\n cityGmlLod?: CityGmlLod | `${CityGmlLod}`\r\n cityGmlFunction?: CityGmlFunction | `${CityGmlFunction}`\r\n cityGmlUsage?: CityGmlUsage | `${CityGmlUsage}`\r\n cityGmlRelativeToTerrain?: string\r\n cityGmlIsTrafficSpace?: boolean\r\n cityGmlTrafficGranularity?: string\r\n cityGmlVegetationType?: CityGmlVegetationType | `${CityGmlVegetationType}`\r\n cityGmlFurnitureType?: CityGmlFurnitureType | `${CityGmlFurnitureType}`\r\n cityGmlCrownDiameter?: number\r\n cityGmlName?: string\r\n cityGmlCondition?: CityGmlCondition | `${CityGmlCondition}`\r\n cityGmlConstructionDate?: Date\r\n cityGmlDemolitionDate?: Date\r\n cityGmlMeasuredHeight?: number\r\n cityGmlHeightRef?: CityGmlElevationRef | `${CityGmlElevationRef}`\r\n cityGmlSurfaceMaterial?: CityGmlSurfa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BAAc;AAAe,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,cAAW;AAAY,EAAAA,+BAAA,gBAAa;AAAc,EAAAA,+BAAA,eAAY;AAAa,EAAAA,+BAAA,mBAAgB;AAAiB,EAAAA,+BAAA,gBAAa;AAA/M,SAAAA;AAAA,GAAA;AACL,IAAK,WAAL,kBAAKC,cAAL;AAAgB,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAM,EAAAA,UAAA,QAAK;AAAtC,SAAAA;AAAA,GAAA;","names":["BuildingOccupantType","BuildingGeometryStyle","BuildingAssessmentConditions","BuildingProjectPhase","BuildingProjectType","BuildingManagementType","BuildingEnergySource","BuildingHeatingEnergySource","BuildingCoolingEnergySource","BuildingHotWaterEnergySource","BuildingElectricityServiceSize","BuildingElectricityServiceLocation","SiteEnergySource","SiteAssessmentConditions","SiteLandUse","SiteProjectPhase","SiteProjectType","DatasetGroup","DataManagementSystem","ViewerNames","SensorTypes","SensorDataFormat","InfrastructureType","InfrastructureState","LinearSide","LinearReferencingType","GeometryType","SurfaceType","IfcInfrastructureDomain","IfcRoadType","IfcRailType","IfcTrackComponentType","IfcBridgePartType","IfcGeotechType","IfcSignalType","IfcSensorType","IfcUtilityType","IfcEarthworksType","IfcFacilityPartType","CityGmlLod","CityGmlFunction","CityGmlUsage","CityGmlFurnitureType","CityGmlVegetationType","CityGmlCondition","CityGmlElevationRef","CityGmlSurfaceMaterial","CityGmlTrafficSurfaceFunction","Language"]}
|
|
@@ -3,5 +3,5 @@ export { DataTypes as DataTypesNames } from './global';
|
|
|
3
3
|
export type { BoundingBox } from './map';
|
|
4
4
|
export type { User, Role, Organization, Comment, Sensor, SensorType, Building, DbFile, Site, OpenDataPortal, Infrastructure, Permission, } from './dbTypes';
|
|
5
5
|
export { ViewerNames, SensorTypes, SensorDataFormat, DatasetGroup, Language, } from './dbTypes';
|
|
6
|
-
export type { Dataset } from './datasetTypes';
|
|
6
|
+
export type { Dataset, LayerGeometryType } from './datasetTypes';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AACtD,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACxC,YAAY,EACV,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,QAAQ,GACT,MAAM,WAAW,CAAA;AAClB,YAAY,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AACtD,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACxC,YAAY,EACV,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,QAAQ,GACT,MAAM,WAAW,CAAA;AAClB,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/types/index.ts"],"sourcesContent":["export type { SearchParams, DataTypes } from './global'\r\nexport { DataTypes as DataTypesNames } from './global'\r\nexport type { BoundingBox } from './map'\r\nexport type {\r\n User,\r\n Role,\r\n Organization,\r\n Comment,\r\n Sensor,\r\n SensorType,\r\n Building,\r\n DbFile,\r\n Site,\r\n OpenDataPortal,\r\n Infrastructure,\r\n Permission,\r\n} from './dbTypes'\r\nexport {\r\n ViewerNames,\r\n SensorTypes,\r\n SensorDataFormat,\r\n DatasetGroup,\r\n Language,\r\n} from './dbTypes'\r\nexport type { Dataset } from './datasetTypes'\r\n"],"mappings":"AACA,SAAsB,iBAAsB;AAgB5C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/core/types/index.ts"],"sourcesContent":["export type { SearchParams, DataTypes } from './global'\r\nexport { DataTypes as DataTypesNames } from './global'\r\nexport type { BoundingBox } from './map'\r\nexport type {\r\n User,\r\n Role,\r\n Organization,\r\n Comment,\r\n Sensor,\r\n SensorType,\r\n Building,\r\n DbFile,\r\n Site,\r\n OpenDataPortal,\r\n Infrastructure,\r\n Permission,\r\n} from './dbTypes'\r\nexport {\r\n ViewerNames,\r\n SensorTypes,\r\n SensorDataFormat,\r\n DatasetGroup,\r\n Language,\r\n} from './dbTypes'\r\nexport type { Dataset, LayerGeometryType } from './datasetTypes'\r\n"],"mappings":"AACA,SAAsB,iBAAsB;AAgB5C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
|
|
@@ -7,7 +7,7 @@ async function checkImageUrl(url) {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
async function uploadOrganizationLogoToPublicBucket(file) {
|
|
10
|
-
const uploadUrl = `${process.env.NEXT_PUBLIC_MINIO_BUCKET_URL}/
|
|
10
|
+
const uploadUrl = `${process.env.NEXT_PUBLIC_MINIO_BUCKET_URL}/org-logos/${file.name}`;
|
|
11
11
|
const uploadResponse = await fetch(uploadUrl, {
|
|
12
12
|
method: "PUT",
|
|
13
13
|
body: file,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/utils/imageUtils.ts"],"sourcesContent":["\r\nexport async function checkImageUrl(url: string): Promise<boolean> {\r\n try {\r\n const response = await fetch(url, { method: 'HEAD' })\r\n return response.ok\r\n } catch {\r\n return false\r\n }\r\n}\r\n\r\nexport async function uploadOrganizationLogoToPublicBucket(file: File): Promise<string> {\r\n const uploadUrl = `${process.env.NEXT_PUBLIC_MINIO_BUCKET_URL}/
|
|
1
|
+
{"version":3,"sources":["../../../src/core/utils/imageUtils.ts"],"sourcesContent":["\r\nexport async function checkImageUrl(url: string): Promise<boolean> {\r\n try {\r\n const response = await fetch(url, { method: 'HEAD' })\r\n return response.ok\r\n } catch {\r\n return false\r\n }\r\n}\r\n\r\nexport async function uploadOrganizationLogoToPublicBucket(file: File): Promise<string> {\r\n const uploadUrl = `${process.env.NEXT_PUBLIC_MINIO_BUCKET_URL}/org-logos/${file.name}`\r\n const uploadResponse = await fetch(uploadUrl, {\r\n method: 'PUT',\r\n body: file,\r\n headers: { 'Content-Type': file.type || 'application/octet-stream' },\r\n })\r\n\r\n if (!uploadResponse.ok) {\r\n throw new Error('Failed to upload organization logo')\r\n }\r\n\r\n return file.name\r\n}\r\n"],"mappings":"AACA,eAAsB,cAAc,KAA+B;AACjE,MAAI;AACF,UAAM,WAAW,MAAM,MAAM,KAAK,EAAE,QAAQ,OAAO,CAAC;AACpD,WAAO,SAAS;AAAA,EAClB,SAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEA,eAAsB,qCAAqC,MAA6B;AACtF,QAAM,YAAY,GAAG,QAAQ,IAAI,4BAA4B,cAAc,KAAK,IAAI;AACpF,QAAM,iBAAiB,MAAM,MAAM,WAAW;AAAA,IAC5C,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,SAAS,EAAE,gBAAgB,KAAK,QAAQ,2BAA2B;AAAA,EACrE,CAAC;AAED,MAAI,CAAC,eAAe,IAAI;AACtB,UAAM,IAAI,MAAM,oCAAoC;AAAA,EACtD;AAEA,SAAO,KAAK;AACd;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collabdt/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"description": "CDT Core contains all the core technology for your CDT platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test": "jest",
|
|
39
39
|
"test:unit": "vitest run",
|
|
40
40
|
"test:unit:watch": "vitest",
|
|
41
|
-
"patch": "git add . && git commit -m \"$npm_config_m\" && git push && npm version patch
|
|
42
|
-
"minor": "git add . && git commit -m \"$npm_config_m\" && git push && npm version minor
|
|
41
|
+
"patch": "git add . && git commit -m \"$npm_config_m\" && git push && npm version patch",
|
|
42
|
+
"minor": "git add . && git commit -m \"$npm_config_m\" && git push && npm version minor",
|
|
43
43
|
"major": "git add . && git commit -m \"$npm_config_m\" && git push && npm version major"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"@types/react": "^19",
|
|
166
166
|
"@types/react-dom": "^19",
|
|
167
167
|
"@types/react-google-recaptcha": "^2.1.9",
|
|
168
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
168
169
|
"esbuild-plugin-preserve-directives": "^0.0.11",
|
|
169
170
|
"eslint": "^9.32.0",
|
|
170
171
|
"eslint-config-next": "^15.3.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PointCloudViewer-old.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0B/B,wBAAgB,gBAAgB,sBAkL/B"}
|
package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.js
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
var _a;
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { useSearchParams } from "next/navigation";
|
|
6
|
-
import { loadAllAssets } from "../../utils/potreeLoader";
|
|
7
|
-
import { BuildingsContext, PointCloudContext } from "../../../../../store";
|
|
8
|
-
import { PointCloudManagementTable } from "./PointCloudManagementTable";
|
|
9
|
-
import { restoreCameraFromUrl } from "../../utils/restoreCameraFromUrl";
|
|
10
|
-
import { useFilesByBuildingId } from "../../../../../hooks/files/files";
|
|
11
|
-
import { Button } from "../../../../ui";
|
|
12
|
-
const API_BASE = (_a = process.env.NEXT_PUBLIC_POINTCLOUD_API_URL) != null ? _a : "http://localhost:5101";
|
|
13
|
-
function PointCloudViewer() {
|
|
14
|
-
const containerRef = React.useRef(null);
|
|
15
|
-
const viewerRef = React.useRef(null);
|
|
16
|
-
const { state: pointCloudState, dispatch: pointCloudDispatch } = React.useContext(PointCloudContext);
|
|
17
|
-
const PointCloudGlobalState = pointCloudState.pointcloud;
|
|
18
|
-
const [pointCloudUrl, setPointCloudUrl] = React.useState("");
|
|
19
|
-
const { state: buildingState } = React.useContext(BuildingsContext);
|
|
20
|
-
const { building } = buildingState.buildings;
|
|
21
|
-
let buildingId;
|
|
22
|
-
const searchParams = useSearchParams();
|
|
23
|
-
const pointCloudId = searchParams.get("pointCloudId");
|
|
24
|
-
if (building) buildingId = building.id;
|
|
25
|
-
const { files } = useFilesByBuildingId(building == null ? void 0 : building.id);
|
|
26
|
-
const hasPointCloudFiles = React.useMemo(
|
|
27
|
-
() => files.some((file) => {
|
|
28
|
-
const ext = file.extension.toLowerCase();
|
|
29
|
-
return ext === "laz" || ext === "las";
|
|
30
|
-
}),
|
|
31
|
-
[files]
|
|
32
|
-
);
|
|
33
|
-
let gridZ = 0;
|
|
34
|
-
if (building) buildingId = building.id;
|
|
35
|
-
else if (pointCloudUrl) buildingId = Number(pointCloudUrl);
|
|
36
|
-
React.useEffect(() => {
|
|
37
|
-
(async () => {
|
|
38
|
-
try {
|
|
39
|
-
await loadAllAssets();
|
|
40
|
-
pointCloudDispatch({ type: "SET_READY", payload: { ready: true } });
|
|
41
|
-
} catch (err) {
|
|
42
|
-
console.error("PointCloudViewer - Failed to load assets", err);
|
|
43
|
-
}
|
|
44
|
-
})();
|
|
45
|
-
}, []);
|
|
46
|
-
React.useEffect(() => {
|
|
47
|
-
if (!PointCloudGlobalState.ready || !containerRef.current || !(window == null ? void 0 : window.Potree)) return;
|
|
48
|
-
if (!pointCloudId) return;
|
|
49
|
-
const fetchPointCloud = async () => {
|
|
50
|
-
try {
|
|
51
|
-
const encodedPointCloudId = encodeURIComponent(pointCloudId || "");
|
|
52
|
-
const res = await fetch(`${API_BASE}/point-cloud/${encodedPointCloudId}`);
|
|
53
|
-
const data = await res.json();
|
|
54
|
-
const pointCloudUrlEncoded = `${API_BASE}/private/${data.bucket}/${data.potree_metadata_file_key}`;
|
|
55
|
-
setPointCloudUrl(pointCloudUrlEncoded);
|
|
56
|
-
} catch (err) {
|
|
57
|
-
console.log(err);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
fetchPointCloud();
|
|
61
|
-
}, [PointCloudGlobalState.ready, pointCloudId]);
|
|
62
|
-
React.useEffect(() => {
|
|
63
|
-
if (!PointCloudGlobalState.ready || !containerRef.current || !(window == null ? void 0 : window.Potree)) return;
|
|
64
|
-
const Potree = window.Potree;
|
|
65
|
-
const el = containerRef.current;
|
|
66
|
-
const viewer = new Potree.Viewer(el);
|
|
67
|
-
viewerRef.current = viewer;
|
|
68
|
-
viewer.setEDLEnabled(true);
|
|
69
|
-
viewer.setFOV(60);
|
|
70
|
-
viewer.setPointBudget(1e7);
|
|
71
|
-
viewer.loadSettingsFromURL();
|
|
72
|
-
viewer.setBackground("white");
|
|
73
|
-
Potree.loadPointCloud(pointCloudUrl, "cloud", (e) => {
|
|
74
|
-
try {
|
|
75
|
-
viewer.scene.addPointCloud(e.pointcloud);
|
|
76
|
-
const mat = e.pointcloud.material;
|
|
77
|
-
mat.size = 1;
|
|
78
|
-
mat.pointSizeType = Potree.PointSizeType.ADAPTIVE;
|
|
79
|
-
e.pointcloud.position.x += 3;
|
|
80
|
-
e.pointcloud.position.y -= 3;
|
|
81
|
-
e.pointcloud.position.z += 4;
|
|
82
|
-
const cameraRestored = restoreCameraFromUrl(viewer, searchParams);
|
|
83
|
-
if (!cameraRestored) {
|
|
84
|
-
viewer.fitToScreen();
|
|
85
|
-
}
|
|
86
|
-
} catch (err) {
|
|
87
|
-
console.error("[PointCloudViewer] Error adding point cloud", err);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
pointCloudDispatch({
|
|
91
|
-
type: "INIT",
|
|
92
|
-
payload: {
|
|
93
|
-
initialState: {
|
|
94
|
-
ready: true,
|
|
95
|
-
viewer: viewerRef.current
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
return () => {
|
|
100
|
-
var _a2, _b, _c;
|
|
101
|
-
try {
|
|
102
|
-
const v = viewerRef.current;
|
|
103
|
-
if ((_a2 = v == null ? void 0 : v.scene) == null ? void 0 : _a2.pointclouds) {
|
|
104
|
-
v.scene.pointclouds.forEach((pc) => {
|
|
105
|
-
var _a3, _b2, _c2, _d, _e;
|
|
106
|
-
(_e = (_b2 = (_a3 = v.scene).removePointCloud) == null ? void 0 : _b2.call(_a3, pc)) != null ? _e : (_d = (_c2 = v.scene.scene) == null ? void 0 : _c2.remove) == null ? void 0 : _d.call(_c2, pc);
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
(_c = (_b = v == null ? void 0 : v.renderer) == null ? void 0 : _b.dispose) == null ? void 0 : _c.call(_b);
|
|
110
|
-
} catch (e) {
|
|
111
|
-
}
|
|
112
|
-
viewerRef.current = null;
|
|
113
|
-
el.innerHTML = "";
|
|
114
|
-
};
|
|
115
|
-
}, [PointCloudGlobalState.ready, pointCloudUrl]);
|
|
116
|
-
return /* @__PURE__ */ jsxs(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
style: {
|
|
120
|
-
position: "absolute",
|
|
121
|
-
left: 0,
|
|
122
|
-
top: 0,
|
|
123
|
-
width: "100%",
|
|
124
|
-
height: "100%"
|
|
125
|
-
},
|
|
126
|
-
children: [
|
|
127
|
-
!pointCloudId && /* @__PURE__ */ jsx(PointCloudManagementTable, {}),
|
|
128
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
129
|
-
/* @__PURE__ */ jsx(
|
|
130
|
-
"div",
|
|
131
|
-
{
|
|
132
|
-
className: `pointer-events-none absolute inset-0 ${!pointCloudId ? "hidden" : "inline"}`,
|
|
133
|
-
style: {
|
|
134
|
-
zIndex: 9,
|
|
135
|
-
background: "radial-gradient(circle at center, rgba(220,220,220,0) 0%, rgba(220,220,220,0) 50%, rgba(220,220,220,0.9) 100%)",
|
|
136
|
-
mixBlendMode: "multiply"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
),
|
|
140
|
-
/* @__PURE__ */ jsx(
|
|
141
|
-
"div",
|
|
142
|
-
{
|
|
143
|
-
ref: containerRef,
|
|
144
|
-
className: `potree_container ${!pointCloudId ? "hidden" : "inline"}`,
|
|
145
|
-
style: {
|
|
146
|
-
position: "absolute",
|
|
147
|
-
inset: 0,
|
|
148
|
-
backgroundSize: "cover"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
),
|
|
152
|
-
/* @__PURE__ */ jsx(
|
|
153
|
-
Button,
|
|
154
|
-
{
|
|
155
|
-
className: `absolute right-5 top-5 ${!pointCloudId ? "hidden" : "inline"}`,
|
|
156
|
-
onClick: () => {
|
|
157
|
-
const params = new URLSearchParams(window.location.search);
|
|
158
|
-
params.delete("pointCloudId");
|
|
159
|
-
const newUrl = `${window.location.pathname}?${params.toString()}`;
|
|
160
|
-
window.history.pushState({}, "", newUrl);
|
|
161
|
-
},
|
|
162
|
-
children: "Go Back"
|
|
163
|
-
}
|
|
164
|
-
)
|
|
165
|
-
] })
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
export {
|
|
171
|
-
PointCloudViewer
|
|
172
|
-
};
|
|
173
|
-
//# sourceMappingURL=PointCloudViewer-old.js.map
|
package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../src/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudViewer-old.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\";\r\nimport * as THREE from \"three\";\r\nimport { useSearchParams } from \"next/navigation\";\r\nimport { loadAllAssets } from \"../../utils/potreeLoader\";\r\nimport { BuildingsContext, PointCloudContext } from '../../../../../store'\r\nimport { PointCloudManagementTable } from \"./PointCloudManagementTable\";\r\nimport { restoreCameraFromUrl } from \"../../utils/restoreCameraFromUrl\";\r\nimport { PointCloudLoadingState } from \"../PointCloudLoadingState\";\r\nimport { useFilesByBuildingId } from '../../../../../hooks/files/files'\r\nimport { Button } from '../../../../ui';\r\n\r\n\r\nconst API_BASE =\r\n process.env.NEXT_PUBLIC_POINTCLOUD_API_URL ?? \"http://localhost:5101\";\r\n\r\ntype PointCloud = {\r\n id: string;\r\n name: string;\r\n bucket: string;\r\n point_cloud_uploaded: boolean;\r\n point_cloud_potree_converted: boolean;\r\n createdAt: string;\r\n potree_metadata_presigned_url?: string | null;\r\n potree_metadata_file_key?: string | null;\r\n};\r\n\r\nexport function PointCloudViewer() {\r\n const containerRef = React.useRef<HTMLDivElement>(null);\r\n const viewerRef = React.useRef<any | null>(null);\r\n const { state: pointCloudState, dispatch: pointCloudDispatch } = React.useContext(PointCloudContext)\r\n const PointCloudGlobalState = pointCloudState.pointcloud\r\n const [pointCloudUrl, setPointCloudUrl] = React.useState(\"\")\r\n\r\n const { state: buildingState } = React.useContext(BuildingsContext)\r\n const { building } = buildingState.buildings\r\n let buildingId: number;\r\n \r\n const searchParams = useSearchParams()\r\n const pointCloudId = searchParams.get('pointCloudId')\r\n\r\n if (building) buildingId = building.id\r\n\r\n // Get files for the building to check if there are LAZ/LAS files\r\n const { files } = useFilesByBuildingId(building?.id)\r\n const hasPointCloudFiles = React.useMemo(() => \r\n files.some(file => {\r\n const ext = file.extension.toLowerCase()\r\n return ext === \"laz\" || ext === \"las\"\r\n }), \r\n [files])\r\n\r\n let gridZ = 0\r\n \r\n if (building) buildingId = building.id\r\n else if (pointCloudUrl) buildingId = Number(pointCloudUrl)\r\n \r\n // --- load CSS/JS once\r\n React.useEffect(() => {\r\n (async () => {\r\n try {\r\n await loadAllAssets()\r\n pointCloudDispatch({ type: \"SET_READY\", payload: { ready: true } })\r\n }\r\n catch (err) {\r\n console.error(\"PointCloudViewer - Failed to load assets\", err)\r\n }\r\n })();\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n if (!PointCloudGlobalState.ready || !containerRef.current || !(window as any)?.Potree) return;\r\n if(!pointCloudId) return;\r\n const fetchPointCloud = async () => {\r\n try {\r\n const encodedPointCloudId = encodeURIComponent(pointCloudId || '');\r\n const res = await fetch(`${API_BASE}/point-cloud/${encodedPointCloudId}`);\r\n const data: PointCloud = await res.json();\r\n const pointCloudUrlEncoded = `${API_BASE}/private/${data.bucket}/${data.potree_metadata_file_key}` \r\n setPointCloudUrl(pointCloudUrlEncoded)\r\n } \r\n catch(err){\r\n console.log(err)\r\n }\r\n }\r\n fetchPointCloud()\r\n\r\n }, [PointCloudGlobalState.ready, pointCloudId])\r\n\r\n\r\n // --- init viewer and load cloud\r\n React.useEffect(() => {\r\n if (!PointCloudGlobalState.ready || !containerRef.current || !(window as any)?.Potree) return;\r\n\r\n const Potree = (window as any).Potree;\r\n const el = containerRef.current;\r\n\r\n const viewer = new Potree.Viewer(el);\r\n viewerRef.current = viewer;\r\n\r\n viewer.setEDLEnabled(true);\r\n viewer.setFOV(60);\r\n viewer.setPointBudget(10_000_000);\r\n viewer.loadSettingsFromURL();\r\n viewer.setBackground(\"white\");\r\n\r\n // Load cloud\r\n Potree.loadPointCloud(pointCloudUrl, \"cloud\", (e: any) => {\r\n try {\r\n viewer.scene.addPointCloud(e.pointcloud);\r\n const mat = e.pointcloud.material;\r\n mat.size = 1;\r\n mat.pointSizeType = Potree.PointSizeType.ADAPTIVE;\r\n e.pointcloud.position.x += 3;\r\n e.pointcloud.position.y -= 3;\r\n e.pointcloud.position.z += 4;\r\n\r\n // Restore camera from URL or fit to screen\r\n const cameraRestored = restoreCameraFromUrl(viewer, searchParams)\r\n if (!cameraRestored) {\r\n viewer.fitToScreen();\r\n }\r\n } catch (err) {\r\n console.error(\"[PointCloudViewer] Error adding point cloud\", err);\r\n }\r\n });\r\n\r\n //dispatch to update global state\r\n pointCloudDispatch({\r\n type: \"INIT\",\r\n payload: {\r\n initialState: {\r\n ready: true,\r\n viewer: viewerRef.current\r\n }\r\n }\r\n })\r\n\r\n // cleanup\r\n return () => {\r\n try {\r\n // Best-effort cleanup (Potree classic has no single dispose)\r\n const v = viewerRef.current;\r\n if (v?.scene?.pointclouds) {\r\n v.scene.pointclouds.forEach((pc: any) => {\r\n v.scene.removePointCloud?.(pc) ?? v.scene.scene?.remove?.(pc);\r\n });\r\n }\r\n v?.renderer?.dispose?.();\r\n } catch { }\r\n viewerRef.current = null;\r\n el.innerHTML = \"\";\r\n };\r\n\r\n\r\n }, [PointCloudGlobalState.ready, pointCloudUrl]);\r\n\r\n return (\r\n <div\r\n style={{\r\n position: \"absolute\",\r\n left: 0,\r\n top: 0,\r\n width: \"100%\",\r\n height: \"100%\",\r\n }}\r\n >\r\n {!pointCloudId &&\r\n <PointCloudManagementTable></PointCloudManagementTable>\r\n }\r\n <div>\r\n <div\r\n className={`pointer-events-none absolute inset-0 ${!pointCloudId ? 'hidden':'inline'}`}\r\n style={{\r\n zIndex: 9,\r\n background: 'radial-gradient(circle at center, rgba(220,220,220,0) 0%, rgba(220,220,220,0) 50%, rgba(220,220,220,0.9) 100%)',\r\n mixBlendMode: 'multiply'\r\n }}\r\n />\r\n <div\r\n ref={containerRef}\r\n className={`potree_container ${!pointCloudId ? 'hidden':'inline'}`}\r\n style={{\r\n position: \"absolute\",\r\n inset: 0,\r\n backgroundSize: \"cover\",\r\n }}\r\n />\r\n\r\n <Button \r\n className={`absolute right-5 top-5 ${!pointCloudId ? 'hidden':'inline'}`}\r\n \r\n onClick={() => {\r\n const params = new URLSearchParams(window.location.search);\r\n params.delete('pointCloudId');\r\n const newUrl = `${window.location.pathname}?${params.toString()}`;\r\n window.history.pushState({}, '', newUrl);\r\n }}\r\n >\r\n Go Back\r\n </Button>\r\n </div>\r\n </div>\r\n \r\n );\r\n}\r\n"],"mappings":";AAyKQ,cAED,YAFC;AAzKR;AAEA,YAAY,WAAW;AAEvB,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,iCAAiC;AAC1C,SAAS,4BAA4B;AAErC,SAAS,4BAA4B;AACrC,SAAS,cAAc;AAGvB,MAAM,YACF,aAAQ,IAAI,mCAAZ,YAA8C;AAa3C,SAAS,mBAAmB;AACjC,QAAM,eAAe,MAAM,OAAuB,IAAI;AACtD,QAAM,YAAY,MAAM,OAAmB,IAAI;AAC/C,QAAM,EAAE,OAAO,iBAAiB,UAAU,mBAAmB,IAAI,MAAM,WAAW,iBAAiB;AACnG,QAAM,wBAAwB,gBAAgB;AAC9C,QAAM,CAAC,eAAe,gBAAgB,IAAI,MAAM,SAAS,EAAE;AAE3D,QAAM,EAAE,OAAO,cAAc,IAAI,MAAM,WAAW,gBAAgB;AAClE,QAAM,EAAE,SAAS,I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