@collabdt/core 0.5.1 → 0.5.4
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/AppSidebarContent.d.ts +2 -3
- package/dist/core/components/AppSidebarContent.d.ts.map +1 -1
- package/dist/core/components/AppSidebarContent.js +10 -1
- package/dist/core/components/AppSidebarContent.js.map +1 -1
- package/dist/core/components/Toolbar.d.ts +2 -3
- package/dist/core/components/Toolbar.d.ts.map +1 -1
- package/dist/core/components/Toolbar.js.map +1 -1
- package/dist/core/components/ui/AppSidebar.d.ts +2 -2
- package/dist/core/components/ui/AppSidebar.d.ts.map +1 -1
- package/dist/core/components/ui/AppSidebar.js.map +1 -1
- package/dist/core/components/ui/Comments/CommentsSection.d.ts.map +1 -1
- package/dist/core/components/ui/Comments/CommentsSection.js +10 -9
- package/dist/core/components/ui/Comments/CommentsSection.js.map +1 -1
- package/dist/core/components/ui/Sensors/SensorsSection.d.ts.map +1 -1
- package/dist/core/components/ui/Sensors/SensorsSection.js +24 -23
- package/dist/core/components/ui/Sensors/SensorsSection.js.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/Shell.js +1 -1
- package/dist/core/components/ui/ViewerSidebar/Shell.js.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/TabStrip.d.ts +6 -5
- package/dist/core/components/ui/ViewerSidebar/TabStrip.d.ts.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/TabStrip.js +6 -4
- package/dist/core/components/ui/ViewerSidebar/TabStrip.js.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/sidebarTabs.d.ts +16 -9
- package/dist/core/components/ui/ViewerSidebar/sidebarTabs.d.ts.map +1 -1
- package/dist/core/components/ui/ViewerSidebar/sidebarTabs.js.map +1 -1
- package/dist/core/components/viewers/Viewer.d.ts.map +1 -1
- package/dist/core/components/viewers/Viewer.js +17 -8
- package/dist/core/components/viewers/Viewer.js.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/BimViewer.js +6 -1
- package/dist/core/components/viewers/bim/BimViewer.js.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/index.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/index.js +5 -1
- package/dist/core/components/viewers/bim/src/BimSidebar/src/index.js.map +1 -1
- package/dist/core/components/viewers/bim/src/ElementAppearance.d.ts +10 -1
- package/dist/core/components/viewers/bim/src/ElementAppearance.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/ElementAppearance.js +36 -1
- package/dist/core/components/viewers/bim/src/ElementAppearance.js.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelsSync.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/ModelsSync.js +6 -5
- package/dist/core/components/viewers/bim/src/ModelsSync.js.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/appearanceOverrides.d.ts +12 -1
- package/dist/core/components/viewers/bim/src/lib/appearanceOverrides.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/lib/appearanceOverrides.js +18 -2
- package/dist/core/components/viewers/bim/src/lib/appearanceOverrides.js.map +1 -1
- package/dist/core/components/viewers/map/MapViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/map/MapViewer.js +6 -3
- package/dist/core/components/viewers/map/MapViewer.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/index.js +5 -1
- package/dist/core/components/viewers/map/src/MapSidebar/index.js.map +1 -1
- package/dist/core/components/viewers/map/utils/stringToColour.d.ts +3 -0
- package/dist/core/components/viewers/map/utils/stringToColour.d.ts.map +1 -1
- package/dist/core/components/viewers/map/utils/stringToColour.js +72 -70
- package/dist/core/components/viewers/map/utils/stringToColour.js.map +1 -1
- package/dist/core/components/viewers/plugins/src/PluginCard.d.ts.map +1 -1
- package/dist/core/components/viewers/plugins/src/PluginCard.js +8 -4
- package/dist/core/components/viewers/plugins/src/PluginCard.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.js +5 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/index.js.map +1 -1
- package/dist/core/components/viewers/shared/legends/ViewerLegendHost.d.ts +10 -0
- package/dist/core/components/viewers/shared/legends/ViewerLegendHost.d.ts.map +1 -0
- package/dist/core/components/viewers/{map/legends/MapLegendHost.js → shared/legends/ViewerLegendHost.js} +48 -8
- package/dist/core/components/viewers/shared/legends/ViewerLegendHost.js.map +1 -0
- package/dist/core/components/viewers/viewerAccess.d.ts +7 -0
- package/dist/core/components/viewers/viewerAccess.d.ts.map +1 -0
- package/dist/core/components/viewers/viewerAccess.js +9 -0
- package/dist/core/components/viewers/viewerAccess.js.map +1 -0
- package/dist/core/i18n/messages/en.json +5 -0
- package/dist/core/i18n/messages/es.json +5 -0
- package/dist/core/i18n/messages/fr.json +5 -0
- package/dist/core/plugins/hello-bim/components/SpaceDialog.d.ts +13 -0
- package/dist/core/plugins/hello-bim/components/SpaceDialog.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpaceDialog.js +80 -0
- package/dist/core/plugins/hello-bim/components/SpaceDialog.js.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesLegend.d.ts +11 -0
- package/dist/core/plugins/hello-bim/components/SpacesLegend.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesLegend.js +16 -0
- package/dist/core/plugins/hello-bim/components/SpacesLegend.js.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesTab.d.ts +4 -0
- package/dist/core/plugins/hello-bim/components/SpacesTab.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesTab.js +211 -0
- package/dist/core/plugins/hello-bim/components/SpacesTab.js.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesTool.d.ts +8 -0
- package/dist/core/plugins/hello-bim/components/SpacesTool.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/components/SpacesTool.js +68 -0
- package/dist/core/plugins/hello-bim/components/SpacesTool.js.map +1 -0
- package/dist/core/plugins/hello-bim/components/icons.d.ts +13 -0
- package/dist/core/plugins/hello-bim/components/icons.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/components/icons.js +52 -0
- package/dist/core/plugins/hello-bim/components/icons.js.map +1 -0
- package/dist/core/plugins/hello-bim/index.d.ts +2 -6
- package/dist/core/plugins/hello-bim/index.d.ts.map +1 -1
- package/dist/core/plugins/hello-bim/index.js +27 -3
- package/dist/core/plugins/hello-bim/index.js.map +1 -1
- package/dist/core/plugins/hello-bim/manifest.json +97 -31
- package/dist/core/plugins/hello-bim/spaces.d.ts +57 -0
- package/dist/core/plugins/hello-bim/spaces.d.ts.map +1 -0
- package/dist/core/plugins/hello-bim/spaces.js +207 -0
- package/dist/core/plugins/hello-bim/spaces.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MapTool.d.ts +9 -0
- package/dist/core/plugins/hello-map/components/MapTool.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/{HelloMapTool.js → MapTool.js} +30 -11
- package/dist/core/plugins/hello-map/components/MapTool.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkerDialog.d.ts +9 -0
- package/dist/core/plugins/hello-map/components/MarkerDialog.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkerDialog.js +47 -0
- package/dist/core/plugins/hello-map/components/MarkerDialog.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersLayer.d.ts +8 -0
- package/dist/core/plugins/hello-map/components/MarkersLayer.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersLayer.js +133 -0
- package/dist/core/plugins/hello-map/components/MarkersLayer.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersLegend.d.ts +11 -0
- package/dist/core/plugins/hello-map/components/MarkersLegend.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersLegend.js +20 -0
- package/dist/core/plugins/hello-map/components/MarkersLegend.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersPage.d.ts +6 -0
- package/dist/core/plugins/hello-map/components/MarkersPage.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersPage.js +40 -0
- package/dist/core/plugins/hello-map/components/MarkersPage.js.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersTab.d.ts +4 -0
- package/dist/core/plugins/hello-map/components/MarkersTab.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/components/MarkersTab.js +275 -0
- package/dist/core/plugins/hello-map/components/MarkersTab.js.map +1 -0
- package/dist/core/plugins/hello-map/index.d.ts +2 -5
- package/dist/core/plugins/hello-map/index.d.ts.map +1 -1
- package/dist/core/plugins/hello-map/index.js +43 -3
- package/dist/core/plugins/hello-map/index.js.map +1 -1
- package/dist/core/plugins/hello-map/manifest.json +85 -12
- package/dist/core/plugins/hello-map/markers.d.ts +32 -0
- package/dist/core/plugins/hello-map/markers.d.ts.map +1 -0
- package/dist/core/plugins/hello-map/markers.js +143 -0
- package/dist/core/plugins/hello-map/markers.js.map +1 -0
- package/dist/core/plugins/host/PluginDataPageHost.d.ts +10 -0
- package/dist/core/plugins/host/PluginDataPageHost.d.ts.map +1 -0
- package/dist/core/plugins/host/PluginDataPageHost.js +142 -0
- package/dist/core/plugins/host/PluginDataPageHost.js.map +1 -0
- package/dist/core/plugins/host/PluginDialogHost.d.ts +7 -0
- package/dist/core/plugins/host/PluginDialogHost.d.ts.map +1 -0
- package/dist/core/plugins/host/PluginDialogHost.js +80 -0
- package/dist/core/plugins/host/PluginDialogHost.js.map +1 -0
- package/dist/core/plugins/host/PluginMapLayerHost.d.ts +6 -0
- package/dist/core/plugins/host/PluginMapLayerHost.d.ts.map +1 -0
- package/dist/core/plugins/host/PluginMapLayerHost.js +26 -0
- package/dist/core/plugins/host/PluginMapLayerHost.js.map +1 -0
- package/dist/core/plugins/host/dialogs.d.ts +25 -0
- package/dist/core/plugins/host/dialogs.d.ts.map +1 -0
- package/dist/core/plugins/host/dialogs.js +50 -0
- package/dist/core/plugins/host/dialogs.js.map +1 -0
- package/dist/core/plugins/host/host.d.ts.map +1 -1
- package/dist/core/plugins/host/host.js +2 -0
- package/dist/core/plugins/host/host.js.map +1 -1
- package/dist/core/plugins/host/pluginState.d.ts +28 -0
- package/dist/core/plugins/host/pluginState.d.ts.map +1 -0
- package/dist/core/plugins/host/pluginState.js +49 -0
- package/dist/core/plugins/host/pluginState.js.map +1 -0
- package/dist/core/plugins/host/pluginViewerKey.d.ts +13 -0
- package/dist/core/plugins/host/pluginViewerKey.d.ts.map +1 -0
- package/dist/core/plugins/host/pluginViewerKey.js +18 -0
- package/dist/core/plugins/host/pluginViewerKey.js.map +1 -0
- package/dist/core/plugins/host/provider.d.ts.map +1 -1
- package/dist/core/plugins/host/provider.js +2 -1
- package/dist/core/plugins/host/provider.js.map +1 -1
- package/dist/core/plugins/host/runtimeShims.d.ts.map +1 -1
- package/dist/core/plugins/host/runtimeShims.js +61 -1
- package/dist/core/plugins/host/runtimeShims.js.map +1 -1
- package/dist/core/plugins/host/usePluginDataPages.d.ts +15 -0
- package/dist/core/plugins/host/usePluginDataPages.d.ts.map +1 -0
- package/dist/core/plugins/host/usePluginDataPages.js +22 -0
- package/dist/core/plugins/host/usePluginDataPages.js.map +1 -0
- package/dist/core/plugins/host/usePluginViewerTabs.d.ts +11 -0
- package/dist/core/plugins/host/usePluginViewerTabs.d.ts.map +1 -0
- package/dist/core/plugins/host/usePluginViewerTabs.js +41 -0
- package/dist/core/plugins/host/usePluginViewerTabs.js.map +1 -0
- package/dist/core/plugins/sdk/bimViewer.d.ts +29 -13
- package/dist/core/plugins/sdk/bimViewer.d.ts.map +1 -1
- package/dist/core/plugins/sdk/bimViewer.js +17 -1
- package/dist/core/plugins/sdk/bimViewer.js.map +1 -1
- package/dist/core/plugins/sdk/index.d.ts +1 -0
- package/dist/core/plugins/sdk/index.d.ts.map +1 -1
- package/dist/core/plugins/sdk/index.js +4 -1
- package/dist/core/plugins/sdk/index.js.map +1 -1
- package/dist/core/plugins/sdk/messages.d.ts +6 -0
- package/dist/core/plugins/sdk/messages.d.ts.map +1 -1
- package/dist/core/plugins/sdk/messages.js +11 -0
- package/dist/core/plugins/sdk/messages.js.map +1 -1
- package/dist/core/plugins/sdk/state.d.ts +6 -0
- package/dist/core/plugins/sdk/state.d.ts.map +1 -0
- package/dist/core/plugins/sdk/state.js +30 -0
- package/dist/core/plugins/sdk/state.js.map +1 -0
- package/dist/core/plugins/sdk/types.d.ts +55 -10
- package/dist/core/plugins/sdk/types.d.ts.map +1 -1
- package/dist/core/plugins/sdk/types.js +7 -3
- package/dist/core/plugins/sdk/types.js.map +1 -1
- package/dist/core/plugins/sdk/ui.d.ts +12 -0
- package/dist/core/plugins/sdk/ui.d.ts.map +1 -0
- package/dist/core/plugins/sdk/ui.js +16 -0
- package/dist/core/plugins/sdk/ui.js.map +1 -0
- package/dist/core/store/CombineProviders.d.ts.map +1 -1
- package/dist/core/store/CombineProviders.js +6 -2
- package/dist/core/store/CombineProviders.js.map +1 -1
- package/dist/core/store/Menus/reducer.d.ts +5 -3
- package/dist/core/store/Menus/reducer.d.ts.map +1 -1
- package/dist/core/store/Menus/reducer.js.map +1 -1
- package/dist/core/types/dbTypes.d.ts +5 -0
- package/dist/core/types/dbTypes.d.ts.map +1 -1
- package/dist/core/types/dbTypes.js.map +1 -1
- package/package.json +3 -1
- package/dist/core/components/viewers/map/legends/MapLegendHost.d.ts +0 -10
- package/dist/core/components/viewers/map/legends/MapLegendHost.d.ts.map +0 -1
- package/dist/core/components/viewers/map/legends/MapLegendHost.js.map +0 -1
- package/dist/core/plugins/hello-bim/components/HelloBimTool.d.ts +0 -18
- package/dist/core/plugins/hello-bim/components/HelloBimTool.d.ts.map +0 -1
- package/dist/core/plugins/hello-bim/components/HelloBimTool.js +0 -142
- package/dist/core/plugins/hello-bim/components/HelloBimTool.js.map +0 -1
- package/dist/core/plugins/hello-map/components/HelloMapTool.d.ts +0 -14
- package/dist/core/plugins/hello-map/components/HelloMapTool.d.ts.map +0 -1
- package/dist/core/plugins/hello-map/components/HelloMapTool.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/store/Menus/reducer.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport type { ViewerNames } from '../../types/dbTypes'\r\nimport type { ActionMap } from '../ActionMap'\r\n\r\nexport type SidebarTabType = 'file' | 'layers' | 'communication' | 'sensors' | 'settings'\r\n\r\n/** Request from a viewer marker to open a comment's editor/reply box in the sidebar. */\r\nexport type CommentActionRequest = {\r\n commentId: number\r\n action: 'edit' | 'reply'\r\n /** Monotonic id so the same request fires again even if the target is unchanged. */\r\n requestId: number\r\n}\r\n\r\n/** Request from a viewer marker to open a sensor's editor in the sidebar. */\r\nexport type SensorActionRequest = {\r\n sensorId: number\r\n action: 'edit'\r\n /** Monotonic id so the same request fires again even if the target is unchanged. */\r\n requestId: number\r\n}\r\n\r\ninterface MenusTypes {\r\n currentViewer: ViewerNames\r\n rowsPerPage: number\r\n selectedTab: SidebarTabType\r\n commentsVisibleInViewer: ViewerNames[]\r\n currentCommentId: number | null\r\n /** Comment double-clicked to zoom/focus. Drives the thick focus ring + camera move. */\r\n focusedCommentId: number | null\r\n /** Monotonic counter bumped on every focus dispatch so re-focusing the same comment re-zooms. */\r\n focusRequestId: number\r\n pendingCommentAction: CommentActionRequest | null\r\n sensorsVisibleInViewer: ViewerNames[]\r\n visibleSensorTypes: Partial<Record<ViewerNames, number[]>>\r\n visibleSensorTags: Partial<Record<ViewerNames, string[]>>\r\n currentSensorId: number | null\r\n currentSensorTypeId: number | null\r\n /** Sensor double-clicked to zoom/focus. Drives the thick focus ring + camera move. */\r\n focusedSensorId: number | null\r\n /** Monotonic counter bumped on every sensor focus dispatch so re-focusing re-zooms. */\r\n sensorFocusRequestId: number\r\n pendingSensorAction: SensorActionRequest | null\r\n /** Legend card shown for this viewer. An absent entry means shown. */\r\n sensorLegendVisible: Partial<Record<ViewerNames, boolean>>\r\n /** Sensor type the legend is pinned to, overriding the focused sensor's own type. */\r\n sensorLegendTypeId: Partial<Record<ViewerNames, number | null>>\r\n}\r\n\r\nexport type MenusState = MenusTypes\r\n\r\nexport type MenusPayload = {\r\n ['SET_VIEWER']: Pick<MenusTypes, 'currentViewer'>\r\n ['SET_PAGINATION_ROWS_PER_PAGE']: Pick<MenusTypes, 'rowsPerPage'>\r\n ['SET_SIDEBAR_SELECTED_TAB']: Pick<MenusTypes, 'selectedTab'>\r\n ['SHOW_COMMENTS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_COMMENTS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['SET_CURRENT_COMMENT_ID']: {commentId: number | null}\r\n ['SET_FOCUSED_COMMENT_ID']: {commentId: number | null}\r\n ['REQUEST_COMMENT_ACTION']: {commentId: number; action: 'edit' | 'reply'}\r\n ['CLEAR_PENDING_COMMENT_ACTION']: undefined\r\n ['TOGGLE_SENSOR_TYPE_VISIBILITY']: { viewer: ViewerNames; sensorTypeId: number; force?: boolean }\r\n ['TOGGLE_SENSOR_TAG_VISIBILITY']: { viewer: ViewerNames; sensorTag: string; force?: boolean }\r\n ['SHOW_ALL_SENSOR_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_ALL_SENSORS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_ALL_SENSOR_TAGS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['SET_CURRENT_SENSOR_ID']: Pick<MenusTypes, 'currentSensorId'>\r\n ['SET_CURRENT_SENSOR_TYPE_ID']: Pick<MenusTypes, 'currentSensorTypeId'>\r\n ['SET_FOCUSED_SENSOR_ID']: {sensorId: number | null}\r\n ['REQUEST_SENSOR_ACTION']: {sensorId: number}\r\n ['CLEAR_PENDING_SENSOR_ACTION']: undefined\r\n /** `visible` sets explicitly; omit it to flip. Not the `force` (\"only show\") shape used by\r\n * the visibility toggles above, because the legend's close button needs an explicit hide. */\r\n ['TOGGLE_SENSOR_LEGEND']: { viewer: ViewerNames; visible?: boolean }\r\n ['SET_SENSOR_LEGEND_TYPE_ID']: { viewer: ViewerNames; sensorTypeId: number | null }\r\n}\r\n\r\nexport type MenusActions\r\n = ActionMap<MenusPayload>[keyof ActionMap<MenusPayload>]\r\n\r\nexport const MenusReducer = (state: MenusState, action: MenusActions) => {\r\n switch (action.type) {\r\n case 'SET_VIEWER':\r\n return {\r\n ...state,\r\n currentViewer: action.payload.currentViewer,\r\n }\r\n case 'SET_PAGINATION_ROWS_PER_PAGE':\r\n return {\r\n ...state,\r\n rowsPerPage: action.payload.rowsPerPage,\r\n }\r\n case 'SET_SIDEBAR_SELECTED_TAB':\r\n return {\r\n ...state,\r\n selectedTab: action.payload.selectedTab,\r\n }\r\n case 'SHOW_COMMENTS_IN_VIEWER':\r\n const viewerToShow = action.payload.viewer\r\n if (!viewerToShow) return state\r\n const commentsCurrentlyVisible = state.commentsVisibleInViewer || []\r\n return {\r\n ...state,\r\n commentsVisibleInViewer: commentsCurrentlyVisible.includes(viewerToShow)\r\n ? commentsCurrentlyVisible\r\n : [...commentsCurrentlyVisible, viewerToShow],\r\n }\r\n case 'HIDE_COMMENTS_IN_VIEWER':\r\n const viewerToHide = action.payload.viewer\r\n if (!viewerToHide) return state\r\n return {\r\n ...state,\r\n commentsVisibleInViewer: (state.commentsVisibleInViewer || []).filter(\r\n v => v !== viewerToHide\r\n ),\r\n }\r\n case 'SET_CURRENT_COMMENT_ID':\r\n return {\r\n ...state,\r\n currentCommentId: action.payload.commentId,\r\n }\r\n case 'SET_FOCUSED_COMMENT_ID':\r\n return {\r\n ...state,\r\n focusedCommentId: action.payload.commentId,\r\n focusRequestId: state.focusRequestId + 1,\r\n }\r\n case 'REQUEST_COMMENT_ACTION':\r\n return {\r\n ...state,\r\n pendingCommentAction: {\r\n commentId: action.payload.commentId,\r\n action: action.payload.action,\r\n requestId: (state.pendingCommentAction?.requestId ?? 0) + 1,\r\n },\r\n }\r\n case 'CLEAR_PENDING_COMMENT_ACTION':\r\n if (state.pendingCommentAction === null) return state\r\n return {\r\n ...state,\r\n pendingCommentAction: null,\r\n }\r\n case 'SET_CURRENT_SENSOR_ID':\r\n return {\r\n ...state,\r\n currentSensorId: action.payload.currentSensorId,\r\n }\r\n case 'SET_CURRENT_SENSOR_TYPE_ID':\r\n return {\r\n ...state,\r\n currentSensorTypeId: action.payload.currentSensorTypeId,\r\n }\r\n case 'SET_FOCUSED_SENSOR_ID':\r\n return {\r\n ...state,\r\n focusedSensorId: action.payload.sensorId,\r\n sensorFocusRequestId: state.sensorFocusRequestId + 1,\r\n // Focusing a sensor hands the legend back to that sensor's own type, in this viewer\r\n // only. Clearing on a null payload instead would undo the selection the legend dropdown\r\n // just made, since it clears the focus right after pinning a type.\r\n sensorLegendTypeId: action.payload.sensorId == null\r\n ? state.sensorLegendTypeId\r\n : { ...state.sensorLegendTypeId, [state.currentViewer]: null },\r\n }\r\n case 'REQUEST_SENSOR_ACTION':\r\n return {\r\n ...state,\r\n pendingSensorAction: {\r\n sensorId: action.payload.sensorId,\r\n // `as const`, or the literal widens to `string` and the reducer's inferred return\r\n // type stops being assignable to MenusState.\r\n action: 'edit' as const,\r\n requestId: (state.pendingSensorAction?.requestId ?? 0) + 1,\r\n },\r\n }\r\n case 'CLEAR_PENDING_SENSOR_ACTION':\r\n if (state.pendingSensorAction === null) return state\r\n return {\r\n ...state,\r\n pendingSensorAction: null,\r\n }\r\n case 'HIDE_ALL_SENSORS_IN_VIEWER':\r\n const sensorViewerToHide = action.payload.viewer\r\n if (!sensorViewerToHide) return state\r\n return {\r\n ...state,\r\n sensorsVisibleInViewer: (state.sensorsVisibleInViewer || []).filter(\r\n v => v !== sensorViewerToHide\r\n ),\r\n // Also hide all sensor types for this viewer\r\n visibleSensorTypes: {\r\n ...state.visibleSensorTypes,\r\n [sensorViewerToHide]: [],\r\n },\r\n // Nothing left for the legend to explain in this viewer.\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [sensorViewerToHide]: null,\r\n },\r\n }\r\n case 'HIDE_ALL_SENSOR_TAGS_IN_VIEWER':\r\n const tagViewerToHide = action.payload.viewer\r\n if (!tagViewerToHide) return state\r\n return {\r\n ...state,\r\n visibleSensorTags: {\r\n ...state.visibleSensorTags,\r\n [tagViewerToHide]: [],\r\n },\r\n }\r\n case 'TOGGLE_SENSOR_TYPE_VISIBILITY':\r\n const { viewer: toggleViewer, sensorTypeId, force } = action.payload\r\n if (!toggleViewer || !sensorTypeId) return state\r\n const currentTypesForViewer = state.visibleSensorTypes?.[toggleViewer] || []\r\n const isCurrentlyVisible = currentTypesForViewer.includes(sensorTypeId)\r\n // force=true → only show (idempotent); force=false/undefined → toggle\r\n if (force && isCurrentlyVisible) return state\r\n const turningOn = Boolean(force) || !isCurrentlyVisible\r\n return {\r\n ...state,\r\n visibleSensorTypes: {\r\n ...state.visibleSensorTypes,\r\n [toggleViewer]: turningOn\r\n ? [...currentTypesForViewer, sensorTypeId]\r\n : currentTypesForViewer.filter(t => t !== sensorTypeId),\r\n },\r\n // Switching a type on is also how you choose what the legend explains, so the ramp, the\r\n // marker halos and the building colours appear immediately rather than waiting for a\r\n // sensor to be focused. Switching it off releases the legend again.\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [toggleViewer]: turningOn\r\n ? sensorTypeId\r\n : state.sensorLegendTypeId?.[toggleViewer] === sensorTypeId\r\n ? null\r\n : state.sensorLegendTypeId?.[toggleViewer] ?? null,\r\n },\r\n }\r\n case 'TOGGLE_SENSOR_TAG_VISIBILITY':\r\n const { viewer: toggleTagViewer, sensorTag, force: forceTag } = action.payload\r\n if (!toggleTagViewer || !sensorTag) return state\r\n const currentTagsForViewer = state.visibleSensorTags?.[toggleTagViewer] || []\r\n const isTagCurrentlyVisible = currentTagsForViewer.includes(sensorTag)\r\n if (forceTag && isTagCurrentlyVisible) return state\r\n return {\r\n ...state,\r\n visibleSensorTags: {\r\n ...state.visibleSensorTags,\r\n [toggleTagViewer]: (forceTag || !isTagCurrentlyVisible)\r\n ? [...currentTagsForViewer, sensorTag]\r\n : currentTagsForViewer.filter(t => t !== sensorTag),\r\n },\r\n }\r\n\r\n case 'TOGGLE_SENSOR_LEGEND':\r\n const { viewer: legendViewer, visible } = action.payload\r\n if (!legendViewer) return state\r\n const legendCurrentlyVisible = state.sensorLegendVisible?.[legendViewer] !== false\r\n return {\r\n ...state,\r\n sensorLegendVisible: {\r\n ...state.sensorLegendVisible,\r\n [legendViewer]: visible ?? !legendCurrentlyVisible,\r\n },\r\n }\r\n case 'SET_SENSOR_LEGEND_TYPE_ID':\r\n const { viewer: legendTypeViewer, sensorTypeId: legendTypeId } = action.payload\r\n if (!legendTypeViewer) return state\r\n return {\r\n ...state,\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [legendTypeViewer]: legendTypeId,\r\n },\r\n }\r\n\r\n case 'SHOW_ALL_SENSOR_IN_VIEWER':\r\n const showAllViewer = action.payload.viewer\r\n if (!showAllViewer) return state\r\n // This is called when opening the add sensor tool - we don't know all types yet\r\n // So we just ensure the viewer is in sensorsVisibleInViewer\r\n return state\r\n default:\r\n return state\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkFO,MAAM,eAAe,CAAC,OAAmB,WAAyB;AAlFzE;AAmFE,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACH,aAAO,iCACF,QADE;AAAA,QAEL,eAAe,OAAO,QAAQ;AAAA,MAChC;AAAA,IACF,KAAK;AACH,aAAO,iCACF,QADE;AAAA,QAEL,aAAa,OAAO,QAAQ;AAAA,MAC9B;AAAA,IACF,KAAK;AACH,aAAO,iCACF,QADE;AAAA,QAEL,aAAa,OAAO,QAAQ;AAAA,MAC9B;AAAA,IACF,KAAK;AACH,YAA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M,EAAE,QAAQ,kBAAkB,cAAc,aAAa,IAAI,OAAO;AACxE,UAAI,CAAC,iBAAkB,QAAO;AAC9B,aAAO,iCACF,QADE;AAAA,QAEL,oBAAoB,iCACf,MAAM,qBADS;AAAA,UAElB,CAAC,gBAAgB,GAAG;AAAA,QACtB;AAAA,MACF;AAAA,IAEF,KAAK;AACH,YAAM,gBAAgB,OAAO,QAAQ;AACrC,UAAI,CAAC,cAAe,QAAO;AAG3B,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/store/Menus/reducer.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport type { ViewerKey, ViewerNames } from '../../types/dbTypes'\r\nimport type { ActionMap } from '../ActionMap'\r\n\r\nexport type SidebarTabType = 'file' | 'layers' | 'communication' | 'sensors' | 'settings'\r\n\r\n/** A built-in tab or a plugin one. Separate from `SidebarTabType`, which stays exhaustive. */\r\nexport type SidebarTabKey = SidebarTabType | `plugin:${string}`\r\n\r\n/** Request from a viewer marker to open a comment's editor/reply box in the sidebar. */\r\nexport type CommentActionRequest = {\r\n commentId: number\r\n action: 'edit' | 'reply'\r\n /** Monotonic id so the same request fires again even if the target is unchanged. */\r\n requestId: number\r\n}\r\n\r\n/** Request from a viewer marker to open a sensor's editor in the sidebar. */\r\nexport type SensorActionRequest = {\r\n sensorId: number\r\n action: 'edit'\r\n /** Monotonic id so the same request fires again even if the target is unchanged. */\r\n requestId: number\r\n}\r\n\r\ninterface MenusTypes {\r\n currentViewer: ViewerKey\r\n rowsPerPage: number\r\n selectedTab: SidebarTabKey\r\n commentsVisibleInViewer: ViewerNames[]\r\n currentCommentId: number | null\r\n /** Comment double-clicked to zoom/focus. Drives the thick focus ring + camera move. */\r\n focusedCommentId: number | null\r\n /** Monotonic counter bumped on every focus dispatch so re-focusing the same comment re-zooms. */\r\n focusRequestId: number\r\n pendingCommentAction: CommentActionRequest | null\r\n sensorsVisibleInViewer: ViewerNames[]\r\n visibleSensorTypes: Partial<Record<ViewerNames, number[]>>\r\n visibleSensorTags: Partial<Record<ViewerNames, string[]>>\r\n currentSensorId: number | null\r\n currentSensorTypeId: number | null\r\n /** Sensor double-clicked to zoom/focus. Drives the thick focus ring + camera move. */\r\n focusedSensorId: number | null\r\n /** Monotonic counter bumped on every sensor focus dispatch so re-focusing re-zooms. */\r\n sensorFocusRequestId: number\r\n pendingSensorAction: SensorActionRequest | null\r\n /** Legend card shown for this viewer. An absent entry means shown. */\r\n sensorLegendVisible: Partial<Record<ViewerNames, boolean>>\r\n /** Sensor type the legend is pinned to, overriding the focused sensor's own type. */\r\n sensorLegendTypeId: Partial<Record<ViewerNames, number | null>>\r\n}\r\n\r\nexport type MenusState = MenusTypes\r\n\r\nexport type MenusPayload = {\r\n ['SET_VIEWER']: Pick<MenusTypes, 'currentViewer'>\r\n ['SET_PAGINATION_ROWS_PER_PAGE']: Pick<MenusTypes, 'rowsPerPage'>\r\n ['SET_SIDEBAR_SELECTED_TAB']: Pick<MenusTypes, 'selectedTab'>\r\n ['SHOW_COMMENTS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_COMMENTS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['SET_CURRENT_COMMENT_ID']: {commentId: number | null}\r\n ['SET_FOCUSED_COMMENT_ID']: {commentId: number | null}\r\n ['REQUEST_COMMENT_ACTION']: {commentId: number; action: 'edit' | 'reply'}\r\n ['CLEAR_PENDING_COMMENT_ACTION']: undefined\r\n ['TOGGLE_SENSOR_TYPE_VISIBILITY']: { viewer: ViewerNames; sensorTypeId: number; force?: boolean }\r\n ['TOGGLE_SENSOR_TAG_VISIBILITY']: { viewer: ViewerNames; sensorTag: string; force?: boolean }\r\n ['SHOW_ALL_SENSOR_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_ALL_SENSORS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['HIDE_ALL_SENSOR_TAGS_IN_VIEWER']: {viewer: ViewerNames}\r\n ['SET_CURRENT_SENSOR_ID']: Pick<MenusTypes, 'currentSensorId'>\r\n ['SET_CURRENT_SENSOR_TYPE_ID']: Pick<MenusTypes, 'currentSensorTypeId'>\r\n ['SET_FOCUSED_SENSOR_ID']: {sensorId: number | null}\r\n ['REQUEST_SENSOR_ACTION']: {sensorId: number}\r\n ['CLEAR_PENDING_SENSOR_ACTION']: undefined\r\n /** `visible` sets explicitly; omit it to flip. Not the `force` (\"only show\") shape used by\r\n * the visibility toggles above, because the legend's close button needs an explicit hide. */\r\n ['TOGGLE_SENSOR_LEGEND']: { viewer: ViewerNames; visible?: boolean }\r\n ['SET_SENSOR_LEGEND_TYPE_ID']: { viewer: ViewerNames; sensorTypeId: number | null }\r\n}\r\n\r\nexport type MenusActions\r\n = ActionMap<MenusPayload>[keyof ActionMap<MenusPayload>]\r\n\r\nexport const MenusReducer = (state: MenusState, action: MenusActions) => {\r\n switch (action.type) {\r\n case 'SET_VIEWER':\r\n return {\r\n ...state,\r\n currentViewer: action.payload.currentViewer,\r\n }\r\n case 'SET_PAGINATION_ROWS_PER_PAGE':\r\n return {\r\n ...state,\r\n rowsPerPage: action.payload.rowsPerPage,\r\n }\r\n case 'SET_SIDEBAR_SELECTED_TAB':\r\n return {\r\n ...state,\r\n selectedTab: action.payload.selectedTab,\r\n }\r\n case 'SHOW_COMMENTS_IN_VIEWER':\r\n const viewerToShow = action.payload.viewer\r\n if (!viewerToShow) return state\r\n const commentsCurrentlyVisible = state.commentsVisibleInViewer || []\r\n return {\r\n ...state,\r\n commentsVisibleInViewer: commentsCurrentlyVisible.includes(viewerToShow)\r\n ? commentsCurrentlyVisible\r\n : [...commentsCurrentlyVisible, viewerToShow],\r\n }\r\n case 'HIDE_COMMENTS_IN_VIEWER':\r\n const viewerToHide = action.payload.viewer\r\n if (!viewerToHide) return state\r\n return {\r\n ...state,\r\n commentsVisibleInViewer: (state.commentsVisibleInViewer || []).filter(\r\n v => v !== viewerToHide\r\n ),\r\n }\r\n case 'SET_CURRENT_COMMENT_ID':\r\n return {\r\n ...state,\r\n currentCommentId: action.payload.commentId,\r\n }\r\n case 'SET_FOCUSED_COMMENT_ID':\r\n return {\r\n ...state,\r\n focusedCommentId: action.payload.commentId,\r\n focusRequestId: state.focusRequestId + 1,\r\n }\r\n case 'REQUEST_COMMENT_ACTION':\r\n return {\r\n ...state,\r\n pendingCommentAction: {\r\n commentId: action.payload.commentId,\r\n action: action.payload.action,\r\n requestId: (state.pendingCommentAction?.requestId ?? 0) + 1,\r\n },\r\n }\r\n case 'CLEAR_PENDING_COMMENT_ACTION':\r\n if (state.pendingCommentAction === null) return state\r\n return {\r\n ...state,\r\n pendingCommentAction: null,\r\n }\r\n case 'SET_CURRENT_SENSOR_ID':\r\n return {\r\n ...state,\r\n currentSensorId: action.payload.currentSensorId,\r\n }\r\n case 'SET_CURRENT_SENSOR_TYPE_ID':\r\n return {\r\n ...state,\r\n currentSensorTypeId: action.payload.currentSensorTypeId,\r\n }\r\n case 'SET_FOCUSED_SENSOR_ID':\r\n return {\r\n ...state,\r\n focusedSensorId: action.payload.sensorId,\r\n sensorFocusRequestId: state.sensorFocusRequestId + 1,\r\n // Focusing a sensor hands the legend back to that sensor's own type, in this viewer\r\n // only. Clearing on a null payload instead would undo the selection the legend dropdown\r\n // just made, since it clears the focus right after pinning a type.\r\n sensorLegendTypeId: action.payload.sensorId == null\r\n ? state.sensorLegendTypeId\r\n : { ...state.sensorLegendTypeId, [state.currentViewer]: null },\r\n }\r\n case 'REQUEST_SENSOR_ACTION':\r\n return {\r\n ...state,\r\n pendingSensorAction: {\r\n sensorId: action.payload.sensorId,\r\n // `as const`, or the literal widens to `string` and the reducer's inferred return\r\n // type stops being assignable to MenusState.\r\n action: 'edit' as const,\r\n requestId: (state.pendingSensorAction?.requestId ?? 0) + 1,\r\n },\r\n }\r\n case 'CLEAR_PENDING_SENSOR_ACTION':\r\n if (state.pendingSensorAction === null) return state\r\n return {\r\n ...state,\r\n pendingSensorAction: null,\r\n }\r\n case 'HIDE_ALL_SENSORS_IN_VIEWER':\r\n const sensorViewerToHide = action.payload.viewer\r\n if (!sensorViewerToHide) return state\r\n return {\r\n ...state,\r\n sensorsVisibleInViewer: (state.sensorsVisibleInViewer || []).filter(\r\n v => v !== sensorViewerToHide\r\n ),\r\n // Also hide all sensor types for this viewer\r\n visibleSensorTypes: {\r\n ...state.visibleSensorTypes,\r\n [sensorViewerToHide]: [],\r\n },\r\n // Nothing left for the legend to explain in this viewer.\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [sensorViewerToHide]: null,\r\n },\r\n }\r\n case 'HIDE_ALL_SENSOR_TAGS_IN_VIEWER':\r\n const tagViewerToHide = action.payload.viewer\r\n if (!tagViewerToHide) return state\r\n return {\r\n ...state,\r\n visibleSensorTags: {\r\n ...state.visibleSensorTags,\r\n [tagViewerToHide]: [],\r\n },\r\n }\r\n case 'TOGGLE_SENSOR_TYPE_VISIBILITY':\r\n const { viewer: toggleViewer, sensorTypeId, force } = action.payload\r\n if (!toggleViewer || !sensorTypeId) return state\r\n const currentTypesForViewer = state.visibleSensorTypes?.[toggleViewer] || []\r\n const isCurrentlyVisible = currentTypesForViewer.includes(sensorTypeId)\r\n // force=true → only show (idempotent); force=false/undefined → toggle\r\n if (force && isCurrentlyVisible) return state\r\n const turningOn = Boolean(force) || !isCurrentlyVisible\r\n return {\r\n ...state,\r\n visibleSensorTypes: {\r\n ...state.visibleSensorTypes,\r\n [toggleViewer]: turningOn\r\n ? [...currentTypesForViewer, sensorTypeId]\r\n : currentTypesForViewer.filter(t => t !== sensorTypeId),\r\n },\r\n // Switching a type on is also how you choose what the legend explains, so the ramp, the\r\n // marker halos and the building colours appear immediately rather than waiting for a\r\n // sensor to be focused. Switching it off releases the legend again.\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [toggleViewer]: turningOn\r\n ? sensorTypeId\r\n : state.sensorLegendTypeId?.[toggleViewer] === sensorTypeId\r\n ? null\r\n : state.sensorLegendTypeId?.[toggleViewer] ?? null,\r\n },\r\n }\r\n case 'TOGGLE_SENSOR_TAG_VISIBILITY':\r\n const { viewer: toggleTagViewer, sensorTag, force: forceTag } = action.payload\r\n if (!toggleTagViewer || !sensorTag) return state\r\n const currentTagsForViewer = state.visibleSensorTags?.[toggleTagViewer] || []\r\n const isTagCurrentlyVisible = currentTagsForViewer.includes(sensorTag)\r\n if (forceTag && isTagCurrentlyVisible) return state\r\n return {\r\n ...state,\r\n visibleSensorTags: {\r\n ...state.visibleSensorTags,\r\n [toggleTagViewer]: (forceTag || !isTagCurrentlyVisible)\r\n ? [...currentTagsForViewer, sensorTag]\r\n : currentTagsForViewer.filter(t => t !== sensorTag),\r\n },\r\n }\r\n\r\n case 'TOGGLE_SENSOR_LEGEND':\r\n const { viewer: legendViewer, visible } = action.payload\r\n if (!legendViewer) return state\r\n const legendCurrentlyVisible = state.sensorLegendVisible?.[legendViewer] !== false\r\n return {\r\n ...state,\r\n sensorLegendVisible: {\r\n ...state.sensorLegendVisible,\r\n [legendViewer]: visible ?? !legendCurrentlyVisible,\r\n },\r\n }\r\n case 'SET_SENSOR_LEGEND_TYPE_ID':\r\n const { viewer: legendTypeViewer, sensorTypeId: legendTypeId } = action.payload\r\n if (!legendTypeViewer) return state\r\n return {\r\n ...state,\r\n sensorLegendTypeId: {\r\n ...state.sensorLegendTypeId,\r\n [legendTypeViewer]: legendTypeId,\r\n },\r\n }\r\n\r\n case 'SHOW_ALL_SENSOR_IN_VIEWER':\r\n const showAllViewer = action.payload.viewer\r\n if (!showAllViewer) return state\r\n // This is called when opening the add sensor tool - we don't know all types yet\r\n // So we just ensure the viewer is in sensorsVisibleInViewer\r\n return state\r\n default:\r\n return state\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAqFO,MAAM,eAAe,CAAC,OAAmB,WAAyB;AArFzE;AAsFE,UAAQ,OAAO,M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,EAAE,QAAQ,cAAc,QAAQ,IAAI,OAAO;AACjD,UAAI,CAAC,aAAc,QAAO;AAC1B,YAAM,2BAAyB,WAAM,wBAAN,mBAA4B,mBAAkB;AAC7E,aAAO,iCACF,QADE;AAAA,QAEL,qBAAqB,iCAChB,MAAM,sBADU;AAAA,UAEnB,CAAC,YAAY,GAAG,4BAAW,CAAC;AAAA,QAC9B;AAAA,MACF;AAAA,IACF,KAAK;AACH,YAAM,EAAE,QAAQ,kBAAkB,cAAc,aAAa,IAAI,OAAO;AACxE,UAAI,CAAC,iBAAkB,QAAO;AAC9B,aAAO,iCACF,QADE;AAAA,QAEL,oBAAoB,iCACf,MAAM,qBADS;AAAA,UAElB,CAAC,gBAAgB,GAAG;AAAA,QACtB;AAAA,MACF;AAAA,IAEF,KAAK;AACH,YAAM,gBAAgB,OAAO,QAAQ;AACrC,UAAI,CAAC,cAAe,QAAO;AAG3B,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;","names":[]}
|
|
@@ -192,6 +192,11 @@ export declare enum ViewerNames {
|
|
|
192
192
|
settings = "settings",
|
|
193
193
|
users = "users"
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* A built-in viewer or a plugin page, as `plugin:<pluginId>:<pageId>`. Widened rather than
|
|
197
|
+
* adding enum members: `ViewerNames` mirrors the Prisma `appContent` enum.
|
|
198
|
+
*/
|
|
199
|
+
export type ViewerKey = ViewerNames | `plugin:${string}`;
|
|
195
200
|
export declare enum SensorTypes {
|
|
196
201
|
Temperature = "Temperature",
|
|
197
202
|
Light = "Light",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dbTypes.d.ts","sourceRoot":"","sources":["../../../src/core/types/dbTypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,oBAAY,oBAAoB;IAAG,MAAM,WAAW;IAAE,QAAQ,aAAa;IAAE,OAAO,YAAY;IAAE,eA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AE,CAAA;IACzC,eAAe,CAAC,EAAE,eAAe,GAAG,GAAG,eAAe,EAAE,CAAA;IACxD,YAAY,CAAC,EAAE,YAAY,GAAG,GAAG,YAAY,EAAE,CAAA;IAC/C,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,qBAAqB,CAAC,EAAE,qBAAqB,GAAG,GAAG,qBAAqB,EAAE,CAAA;IAC1E,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,GAAG,oBAAoB,EAAE,CAAA;IACvE,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,GAAG,gBAAgB,EAAE,CAAA;IAC3D,uBAAuB,CAAC,EAAE,IAAI,CAAA;IAC9B,qBAAqB,CAAC,EAAE,IAAI,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,GAAG,mBAAmB,EAAE,CAAA;IACjE,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,GAAG,sBAAsB,EAAE,CAAA;IAC7E,sBAAsB,CAAC,EAAE,6BAA6B,GAAG,GAAG,6BAA6B,EAAE,CAAA;IAC3F,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,cAAc,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport { CountrySubdivision } from './datasetTypes';\r\n\r\nimport type { 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 suspended: boolean;\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?: CityGmlSurfaceMaterial | `${CityGmlSurfaceMaterial}`\r\n cityGmlTrafficFunction?: CityGmlTrafficSurfaceFunction | `${CityGmlTrafficSurfaceFunction}`\r\n cityGmlIsAuxiliary?: boolean\r\n organizationId: number\r\n}"],"mappings":"AAOO,IAAK,uBAAL,kBAAKA,0BAAL;AAA4B,EAAAA,sBAAA,YAAS;AAAU,EAAAA,sBAAA,cAAW;AAAY,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,yBAAsB;AAAuB,EAAAA,sBAAA,WAAQ;AAAS,EAAAA,sBAAA,oBAAiB;AAAkB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,6BAA0B;AAA2B,EAAAA,sBAAA,gBAAa;AAAvc,SAAAA;AAAA,GAAA;AACL,IAAK,wBAAL,kBAAKC,2BAAL;AAA6B,EAAAA,uBAAA,aAAU;AAAW,EAAAA,uBAAA,YAAS;AAAU,EAAAA,uBAAA,eAAY;AAA5E,SAAAA;AAAA,GAAA;AACL,IAAK,+BAAL,kBAAKC,kCAAL;AAAoC,EAAAA,8BAAA,eAAY;AAAa,EAAAA,8BAAA,UAAO;AAAQ,EAAAA,8BAAA,UAAO;AAAQ,EAAAA,8BAAA,UAAO;AAA7F,SAAAA;AAAA,GAAA;AACL,IA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AAAA;AAAA,GAAA;AACL,IAAK,yBAAL,kBAAKC,4BAAL;AAA8B,EAAAA,wBAAA,aAAU;AAAW,EAAAA,wBAAA,cAAW;AAAY,EAAAA,wBAAA,YAAS;AAAU,EAAAA,wBAAA,UAAO;AAAQ,EAAAA,wBAAA,WAAQ;AAAS,EAAAA,wBAAA,kBAAe;AAAvI,SAAAA;AAAA,GAAA;AACL,IAAK,gCAAL,kBAAKC,mCAAL;AAAqC,EAAAA,+BAAA,iBAAc;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"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/core/types/dbTypes.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport { CountrySubdivision } from './datasetTypes';\r\n\r\nimport type { 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\n/**\r\n * A built-in viewer or a plugin page, as `plugin:<pluginId>:<pageId>`. Widened rather than\r\n * adding enum members: `ViewerNames` mirrors the Prisma `appContent` enum.\r\n */\r\nexport type ViewerKey = ViewerNames | `plugin:${string}`\r\n\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 suspended: boolean;\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?: CityGmlSurfaceMaterial | `${CityGmlSurfaceMaterial}`\r\n cityGmlTrafficFunction?: CityGmlTrafficSurfaceFunction | `${CityGmlTrafficSurfaceFunction}`\r\n cityGmlIsAuxiliary?: boolean\r\n organizationId: number\r\n}"],"mappings":"AAOO,IAAK,uBAAL,kBAAKA,0BAAL;AAA4B,EAAAA,sBAAA,YAAS;AAAU,EAAAA,sBAAA,cAAW;AAAY,EAAAA,sBAAA,aAAU;AAAW,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,qBAAkB;AAAmB,EAAAA,sBAAA,yBAAsB;AAAuB,EAAAA,sBAAA,WAAQ;AAAS,EAAAA,sBAAA,oBAAiB;AAAkB,EAAAA,sBAAA,qBAAkB;AAAmB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EAAAA,uBAAA,WAAQ;AAAS,EAAAA,uBAAA,WAAQ;AAAjF,SAAAA;AAAA,GAAA;AACL,IAAK,mBAAL,kBAAKC,sBAAL;AAAwB,EAAAA,kBAAA,YAAS;AAAU,EAAAA,kBAAA,uBAAoB;AAAqB,EAAAA,kBAAA,cAAW;AAAY,EAAAA,kBAAA,gBAAa;AAAc,EAAAA,kBAAA,UAAO;AAAxI,SAAAA;AAAA,GAAA;AACL,IAAK,sBAAL,kBAAKC,yBAAL;AAA2B,EAAAA,qBAAA,YAAS;AAAU,EAAAA,qBAAA,YAAS;AAAU,EAAAA,qBAAA,WAAQ;AAAS,EAAAA,qBAAA,SAAM;AAAnF,SAAAA;AAAA,GAAA;AACL,IAAK,yBAAL,kBAAKC,4BAAL;AAA8B,EAAAA,wBAAA,aAAU;AAAW,EAAAA,wBAAA,cAAW;AAAY,EAAAA,wBAAA,YAAS;AAAU,EAAAA,wBAAA,UAAO;AAAQ,EAAAA,wBAAA,WAAQ;AAAS,EAAAA,wBAAA,kBAAe;AAAvI,SAAAA;AAAA,GAAA;AACL,IAAK,gCAAL,kBAAKC,mCAAL;AAAqC,EAAAA,+BAAA,iBAAc;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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collabdt/core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "CDT Core contains all the core technology for your CDT platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
"lint": "eslint src",
|
|
51
51
|
"license:headers": "node scripts/add-license-headers.mjs",
|
|
52
52
|
"license:check": "node scripts/add-license-headers.mjs --check",
|
|
53
|
+
"attribution:check": "node scripts/check-ai-attribution.mjs",
|
|
54
|
+
"hooks:install": "git config core.hooksPath .githooks",
|
|
53
55
|
"prepublishOnly": "npm run build",
|
|
54
56
|
"test": "jest",
|
|
55
57
|
"test:unit": "vitest run",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Single shared legend card. Reads all `map.legends` registrations and renders
|
|
4
|
-
* one DatasetManager-styled card (bottom-left, aligned with the layers/styling
|
|
5
|
-
* card) with a titled section per
|
|
6
|
-
* ACTIVE legend. Replaces the per-plugin floating legends and their hand-tuned
|
|
7
|
-
* bottom-[Npx] offsets — sections auto-stack inside the one card.
|
|
8
|
-
*/
|
|
9
|
-
export declare function MapLegendHost(): React.JSX.Element;
|
|
10
|
-
//# sourceMappingURL=MapLegendHost.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapLegendHost.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/viewers/map/legends/MapLegendHost.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B;;;;;;GAMG;AACH,wBAAgB,aAAa,sBAkC5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/core/components/viewers/map/legends/MapLegendHost.tsx"],"sourcesContent":["'use client'\r\n\r\n// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport { useTranslations } from 'next-intl'\r\nimport * as React from 'react'\r\n\r\nimport { LegendCard } from '../../../../components/ui/LegendCard'\r\nimport { usePluginContributions } from '../../../../plugins/host/provider'\r\n\r\nimport type { LegendRegistration } from '../../../../plugins/sdk/types'\r\n\r\n/**\r\n * Single shared legend card. Reads all `map.legends` registrations and renders\r\n * one DatasetManager-styled card (bottom-left, aligned with the layers/styling\r\n * card) with a titled section per\r\n * ACTIVE legend. Replaces the per-plugin floating legends and their hand-tuned\r\n * bottom-[Npx] offsets — sections auto-stack inside the one card.\r\n */\r\nexport function MapLegendHost() {\r\n const registrations = usePluginContributions('map.legends')\r\n const t = useTranslations('MapLegend')\r\n const [activeMap, setActiveMap] = React.useState<Record<string, boolean>>({})\r\n\r\n const reportActive = React.useCallback((id: string, active: boolean) => {\r\n setActiveMap(prev => (prev[id] === active ? prev : { ...prev, [id]: active }))\r\n }, [])\r\n\r\n const activeCount = registrations.filter(r => activeMap[r.id]).length\r\n\r\n return (\r\n <>\r\n {/* Hidden probes keep useLegend() hooks alive even while the card is hidden. */}\r\n <div className=\"hidden\">\r\n {registrations.map(r => (\r\n <LegendSection key={`probe-${r.id}`} registration={r} onActiveChange={reportActive} renderBody={false} />\r\n ))}\r\n </div>\r\n\r\n {activeCount > 0 && (\r\n <LegendCard\r\n title={activeCount === 1 ? t('title') : t('titlePlural')}\r\n count={activeCount}\r\n testId=\"map-legend-card\"\r\n countTestId=\"map-legend-count\"\r\n >\r\n {registrations.map(r => (\r\n <LegendSection key={r.id} registration={r} onActiveChange={reportActive} renderBody />\r\n ))}\r\n </LegendCard>\r\n )}\r\n </>\r\n )\r\n}\r\n\r\ninterface LegendSectionProps {\r\n registration: LegendRegistration\r\n onActiveChange: (id: string, active: boolean) => void\r\n renderBody: boolean\r\n}\r\n\r\nfunction LegendSection({ registration, onActiveChange, renderBody }: LegendSectionProps) {\r\n const t = useTranslations('MapLegend')\r\n const { active, title, unavailable, rows } = registration.useLegend()\r\n\r\n React.useEffect(() => {\r\n onActiveChange(registration.id, active)\r\n }, [active, registration.id, onActiveChange])\r\n\r\n if (!renderBody || !active) return null\r\n\r\n return (\r\n <div className=\"px-3 py-2 border-t first:border-t-0\">\r\n <div className=\"font-semibold text-xs mb-1\">{title ?? registration.title}</div>\r\n {unavailable ? (\r\n <div className=\"rounded bg-red-100 text-red-800 px-2 py-1 text-[11px] font-medium\">\r\n {t('feedUnavailable')}\r\n </div>\r\n ) : (\r\n <ul className=\"space-y-1\">\r\n {rows.map(row => (\r\n <li key={row.label} className=\"flex items-center gap-2 text-xs\">\r\n <span aria-hidden=\"true\" className=\"inline-block h-3 w-3 rounded-sm shrink-0\" style={{ backgroundColor: row.color }} />\r\n <span className=\"flex-1\">{row.label}</span>\r\n {row.count !== undefined && <span className=\"tabular-nums opacity-70\">{row.count}</span>}\r\n </li>\r\n ))}\r\n </ul>\r\n )}\r\n </div>\r\n )\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAgCI,mBAIM,KAJN;AA3BJ,SAAS,uBAAuB;AAChC,YAAY,WAAW;AAEvB,SAAS,kBAAkB;AAC3B,SAAS,8BAA8B;AAWhC,SAAS,gBAAgB;AAC9B,QAAM,g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BAAC,SAAI,WAAU,qEACZ,YAAE,iBAAiB,GACtB,IAEA,oBAAC,QAAG,WAAU,aACX,eAAK,IAAI,SACR,qBAAC,QAAmB,WAAU,mCAC5B;AAAA,0BAAC,UAAK,eAAY,QAAO,WAAU,4CAA2C,OAAO,EAAE,iBAAiB,IAAI,MAAM,GAAG;AAAA,MACrH,oBAAC,UAAK,WAAU,UAAU,cAAI,OAAM;AAAA,MACnC,IAAI,UAAU,UAAa,oBAAC,UAAK,WAAU,2BAA2B,cAAI,OAAM;AAAA,SAH1E,IAAI,KAIb,CACD,GACH;AAAA,KAEJ;AAEJ;","names":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { BimToolProps } from '../../sdk/bimViewer';
|
|
3
|
-
import type { ToolbarToolProps } from '../../sdk/types';
|
|
4
|
-
/**
|
|
5
|
-
* Lists the spaces in the loaded model, and drives the viewer from that list.
|
|
6
|
-
*
|
|
7
|
-
* The whole point of this plugin is to prove the boundary: everything here comes
|
|
8
|
-
* from `BimToolProps`, which arrives as props, and from `../sdk/*`. It never
|
|
9
|
-
* imports `@thatopen`, never touches a core store, and never reaches into the
|
|
10
|
-
* viewer's internals.
|
|
11
|
-
*
|
|
12
|
-
* Note the visibility step. `IFCSPACE` is hidden by default — spaces are
|
|
13
|
-
* volumetric and would obscure everything inside them — so listing them is not
|
|
14
|
-
* the same as showing them. A plugin author hits this immediately, which is
|
|
15
|
-
* exactly why the example handles it.
|
|
16
|
-
*/
|
|
17
|
-
export declare function HelloBimTool({ modelIds, selection, select, fitToSelection, setItemsVisible, getItemsOfCategory, getProperties, }: ToolbarToolProps & BimToolProps): React.JSX.Element;
|
|
18
|
-
//# sourceMappingURL=HelloBimTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HelloBimTool.d.ts","sourceRoot":"","sources":["../../../../../src/core/plugins/hello-bim/components/HelloBimTool.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,KAAK,EAAE,YAAY,EAAc,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAYvD;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,MAAM,EACN,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,aAAa,GACd,EAAE,gBAAgB,GAAG,YAAY,qBAsJjC"}
|