@elevasis/ui 1.20.0 → 1.21.0
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/auth/index.d.ts +174 -14
- package/dist/charts/index.js +3 -2
- package/dist/{chunk-Z2BXCFAG.js → chunk-2WLVOFK7.js} +1 -1
- package/dist/{chunk-ACD2QA6E.js → chunk-3DIU726S.js} +2 -2
- package/dist/chunk-3KMDHCAR.js +52 -0
- package/dist/chunk-AWT255UH.js +255 -0
- package/dist/{chunk-AWMZCYKH.js → chunk-BC6TJEON.js} +2 -45
- package/dist/{chunk-I6EVLOP3.js → chunk-CRFV2TVK.js} +2 -2
- package/dist/{chunk-EMN755L5.js → chunk-CTF6FS2M.js} +10 -216
- package/dist/{chunk-4SY4EQSK.js → chunk-CYJILY7M.js} +3 -3
- package/dist/{chunk-AQ5MQDSS.js → chunk-EDAYKRPJ.js} +404 -2
- package/dist/{chunk-XOTN3X3Z.js → chunk-FATKFO7X.js} +3 -54
- package/dist/{chunk-ERVB3QJQ.js → chunk-FVBYSDM4.js} +1 -1
- package/dist/{chunk-BX565EOK.js → chunk-MOBXWBES.js} +495 -860
- package/dist/{chunk-U4CHEPIL.js → chunk-NL6EFQYE.js} +515 -265
- package/dist/{chunk-JHMJKDVU.js → chunk-R3R367QY.js} +1 -1
- package/dist/chunk-ROSMICXG.js +668 -0
- package/dist/{chunk-GH7ZO4VD.js → chunk-ST2RSBQ3.js} +364 -364
- package/dist/{chunk-JZEXFQ6N.js → chunk-UZWZY7TJ.js} +2 -2
- package/dist/{chunk-UMFPUM7Q.js → chunk-V422ET6W.js} +12 -12
- package/dist/components/chat/index.d.ts +202 -0
- package/dist/components/chat/index.js +2 -0
- package/dist/components/index.d.ts +5708 -22
- package/dist/components/index.js +2653 -2901
- package/dist/features/auth/index.d.ts +2557 -9
- package/dist/features/dashboard/index.d.ts +244 -9
- package/dist/features/dashboard/index.js +10 -9
- package/dist/features/monitoring/index.d.ts +121 -15
- package/dist/features/monitoring/index.js +11 -10
- package/dist/features/operations/index.d.ts +2006 -29
- package/dist/features/operations/index.js +1116 -170
- package/dist/features/settings/index.d.ts +2589 -23
- package/dist/features/settings/index.js +10 -9
- package/dist/hooks/index.css +68 -0
- package/dist/hooks/index.d.ts +7772 -22
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/published.css +68 -0
- package/dist/hooks/published.d.ts +7216 -21
- package/dist/hooks/published.js +5 -5
- package/dist/index.css +68 -0
- package/dist/index.d.ts +9684 -15
- package/dist/index.js +7 -7
- package/dist/initialization/index.d.ts +2526 -23
- package/dist/layout/index.d.ts +3 -3
- package/dist/layout/index.js +4 -4
- package/dist/organization/index.d.ts +274 -23
- package/dist/profile/index.d.ts +2477 -15
- package/dist/provider/index.d.ts +334 -11
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +309 -11
- package/dist/theme/index.d.ts +148 -10
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/synapse.d.ts.map +1 -1
- package/dist/theme/presets/synapse.js +75 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +9 -4
- package/dist/auth/guards/AdminGuard.d.ts +0 -32
- package/dist/auth/guards/AdminGuard.d.ts.map +0 -1
- package/dist/auth/guards/ProtectedRoute.d.ts +0 -60
- package/dist/auth/guards/ProtectedRoute.d.ts.map +0 -1
- package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +0 -12
- package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +0 -1
- package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +0 -14
- package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +0 -1
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/chunk-JFRG2JJE.js +0 -47
- package/dist/components/charts/ActivityTrendChart.d.ts +0 -13
- package/dist/components/charts/ActivityTrendChart.d.ts.map +0 -1
- package/dist/components/charts/CombinedTrendChart.d.ts +0 -22
- package/dist/components/charts/CombinedTrendChart.d.ts.map +0 -1
- package/dist/components/charts/CostTrendChart.d.ts +0 -13
- package/dist/components/charts/CostTrendChart.d.ts.map +0 -1
- package/dist/components/charts/HeroStatsRow.d.ts +0 -15
- package/dist/components/charts/HeroStatsRow.d.ts.map +0 -1
- package/dist/components/charts/index.d.ts +0 -9
- package/dist/components/charts/index.d.ts.map +0 -1
- package/dist/components/command-queue/TaskCard.d.ts +0 -18
- package/dist/components/command-queue/TaskCard.d.ts.map +0 -1
- package/dist/components/command-queue/index.d.ts +0 -5
- package/dist/components/command-queue/index.d.ts.map +0 -1
- package/dist/components/display/PageNotFound.d.ts +0 -2
- package/dist/components/display/PageNotFound.d.ts.map +0 -1
- package/dist/components/display/index.d.ts +0 -26
- package/dist/components/display/index.d.ts.map +0 -1
- package/dist/components/execution/ExecutionStats.d.ts +0 -16
- package/dist/components/execution/ExecutionStats.d.ts.map +0 -1
- package/dist/components/execution/index.d.ts +0 -18
- package/dist/components/execution/index.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/AuroraBackground.d.ts +0 -16
- package/dist/components/layout/backgrounds/AuroraBackground.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/AuroraBackground.js +0 -169
- package/dist/components/layout/backgrounds/EmberBackground.d.ts +0 -16
- package/dist/components/layout/backgrounds/EmberBackground.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/EmberBackground.js +0 -169
- package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts +0 -16
- package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/RoseGoldBackground.js +0 -169
- package/dist/components/monitoring/ErrorBreakdownTable.d.ts +0 -12
- package/dist/components/monitoring/ErrorBreakdownTable.d.ts.map +0 -1
- package/dist/components/monitoring/ResourceHealthPanel.d.ts +0 -8
- package/dist/components/monitoring/ResourceHealthPanel.d.ts.map +0 -1
- package/dist/components/monitoring/index.d.ts +0 -16
- package/dist/components/monitoring/index.d.ts.map +0 -1
- package/dist/components/notifications/NotificationBell.d.ts +0 -9
- package/dist/components/notifications/NotificationBell.d.ts.map +0 -1
- package/dist/components/notifications/NotificationItem.d.ts +0 -9
- package/dist/components/notifications/NotificationItem.d.ts.map +0 -1
- package/dist/components/notifications/NotificationList.d.ts +0 -10
- package/dist/components/notifications/NotificationList.d.ts.map +0 -1
- package/dist/components/notifications/NotificationPanel.d.ts +0 -10
- package/dist/components/notifications/NotificationPanel.d.ts.map +0 -1
- package/dist/components/notifications/index.d.ts +0 -5
- package/dist/components/notifications/index.d.ts.map +0 -1
- package/dist/components/operations/calibration/CreateProjectModal.d.ts +0 -9
- package/dist/components/operations/calibration/CreateProjectModal.d.ts.map +0 -1
- package/dist/components/operations/calibration/ProjectCard.d.ts +0 -9
- package/dist/components/operations/calibration/ProjectCard.d.ts.map +0 -1
- package/dist/components/operations/command-queue/index.d.ts +0 -3
- package/dist/components/operations/command-queue/index.d.ts.map +0 -1
- package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts +0 -17
- package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts.map +0 -1
- package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts +0 -17
- package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts.map +0 -1
- package/dist/components/operations/command-queue/sidebar/index.d.ts +0 -5
- package/dist/components/operations/command-queue/sidebar/index.d.ts.map +0 -1
- package/dist/components/operations/command-view/CommandViewGraph.d.ts +0 -22
- package/dist/components/operations/command-view/CommandViewGraph.d.ts.map +0 -1
- package/dist/components/operations/command-view/index.d.ts +0 -4
- package/dist/components/operations/command-view/index.d.ts.map +0 -1
- package/dist/components/operations/executions/AgentExecutionLogs.d.ts +0 -13
- package/dist/components/operations/executions/AgentExecutionLogs.d.ts.map +0 -1
- package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts +0 -13
- package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts.map +0 -1
- package/dist/components/operations/executions/index.d.ts +0 -4
- package/dist/components/operations/executions/index.d.ts.map +0 -1
- package/dist/components/operations/index.d.ts +0 -8
- package/dist/components/operations/index.d.ts.map +0 -1
- package/dist/components/operations/knowledge-base/DocTreeNav.d.ts +0 -14
- package/dist/components/operations/knowledge-base/DocTreeNav.d.ts.map +0 -1
- package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts +0 -16
- package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts.map +0 -1
- package/dist/components/operations/knowledge-base/index.d.ts +0 -3
- package/dist/components/operations/knowledge-base/index.d.ts.map +0 -1
- package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts +0 -16
- package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts.map +0 -1
- package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts +0 -12
- package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts.map +0 -1
- package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts +0 -12
- package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts.map +0 -1
- package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts +0 -7
- package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts.map +0 -1
- package/dist/components/operations/shared/index.d.ts +0 -5
- package/dist/components/operations/shared/index.d.ts.map +0 -1
- package/dist/components/operations/shared/layouts/ResourceHeader.d.ts +0 -11
- package/dist/components/operations/shared/layouts/ResourceHeader.d.ts.map +0 -1
- package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts +0 -8
- package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts.map +0 -1
- package/dist/components/operations/shared/layouts/index.d.ts +0 -4
- package/dist/components/operations/shared/layouts/index.d.ts.map +0 -1
- package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts +0 -7
- package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts.map +0 -1
- package/dist/components/operations/task-scheduler/TaskScheduler.d.ts +0 -2
- package/dist/components/operations/task-scheduler/TaskScheduler.d.ts.map +0 -1
- package/dist/components/operations/task-scheduler/index.d.ts +0 -11
- package/dist/components/operations/task-scheduler/index.d.ts.map +0 -1
- package/dist/components/sdk-barrel.d.ts +0 -26
- package/dist/components/sdk-barrel.d.ts.map +0 -1
- package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts +0 -9
- package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts.map +0 -1
- package/dist/components/settings/api-keys/ApiKeyList.d.ts +0 -8
- package/dist/components/settings/api-keys/ApiKeyList.d.ts.map +0 -1
- package/dist/components/settings/api-keys/ApiKeySettings.d.ts +0 -2
- package/dist/components/settings/api-keys/ApiKeySettings.d.ts.map +0 -1
- package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts +0 -9
- package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts.map +0 -1
- package/dist/components/settings/api-keys/EditApiKeyModal.d.ts +0 -8
- package/dist/components/settings/api-keys/EditApiKeyModal.d.ts.map +0 -1
- package/dist/components/settings/api-keys/index.d.ts +0 -6
- package/dist/components/settings/api-keys/index.d.ts.map +0 -1
- package/dist/components/settings/credentials/CreateCredentialModal.d.ts +0 -9
- package/dist/components/settings/credentials/CreateCredentialModal.d.ts.map +0 -1
- package/dist/components/settings/credentials/CredentialList.d.ts +0 -10
- package/dist/components/settings/credentials/CredentialList.d.ts.map +0 -1
- package/dist/components/settings/credentials/CredentialSettings.d.ts +0 -7
- package/dist/components/settings/credentials/CredentialSettings.d.ts.map +0 -1
- package/dist/components/settings/credentials/index.d.ts +0 -5
- package/dist/components/settings/credentials/index.d.ts.map +0 -1
- package/dist/components/settings/deployments/DeploymentList.d.ts +0 -8
- package/dist/components/settings/deployments/DeploymentList.d.ts.map +0 -1
- package/dist/components/settings/deployments/DeploymentSettings.d.ts +0 -2
- package/dist/components/settings/deployments/DeploymentSettings.d.ts.map +0 -1
- package/dist/components/settings/deployments/index.d.ts +0 -5
- package/dist/components/settings/deployments/index.d.ts.map +0 -1
- package/dist/components/settings/index.d.ts +0 -6
- package/dist/components/settings/index.d.ts.map +0 -1
- package/dist/components/table/SortableHeader.d.ts +0 -12
- package/dist/components/table/SortableHeader.d.ts.map +0 -1
- package/dist/components/table/index.d.ts +0 -4
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/features/auth/AdminGuard.d.ts +0 -38
- package/dist/features/auth/AdminGuard.d.ts.map +0 -1
- package/dist/features/auth/FeatureGuard.d.ts +0 -45
- package/dist/features/auth/FeatureGuard.d.ts.map +0 -1
- package/dist/features/auth/ProtectedRoute.d.ts +0 -43
- package/dist/features/auth/ProtectedRoute.d.ts.map +0 -1
- package/dist/features/auth/index.d.ts.map +0 -1
- package/dist/features/auth/useUserProfile.d.ts +0 -10
- package/dist/features/auth/useUserProfile.d.ts.map +0 -1
- package/dist/features/dashboard/Dashboard.d.ts +0 -57
- package/dist/features/dashboard/Dashboard.d.ts.map +0 -1
- package/dist/features/dashboard/RecentExecutionsByResource.d.ts +0 -11
- package/dist/features/dashboard/RecentExecutionsByResource.d.ts.map +0 -1
- package/dist/features/dashboard/ResourceOverview.d.ts +0 -21
- package/dist/features/dashboard/ResourceOverview.d.ts.map +0 -1
- package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts +0 -7
- package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts.map +0 -1
- package/dist/features/dashboard/index.d.ts.map +0 -1
- package/dist/features/monitoring/ActivityFeed.d.ts +0 -37
- package/dist/features/monitoring/ActivityFeed.d.ts.map +0 -1
- package/dist/features/monitoring/ActivityLog.d.ts +0 -8
- package/dist/features/monitoring/ActivityLog.d.ts.map +0 -1
- package/dist/features/monitoring/CostAnalytics.d.ts +0 -13
- package/dist/features/monitoring/CostAnalytics.d.ts.map +0 -1
- package/dist/features/monitoring/ErrorDetailsModal.d.ts +0 -13
- package/dist/features/monitoring/ErrorDetailsModal.d.ts.map +0 -1
- package/dist/features/monitoring/ExecutionHealth.d.ts +0 -9
- package/dist/features/monitoring/ExecutionHealth.d.ts.map +0 -1
- package/dist/features/monitoring/ExecutionLogsPage.d.ts +0 -20
- package/dist/features/monitoring/ExecutionLogsPage.d.ts.map +0 -1
- package/dist/features/monitoring/NotificationCenter.d.ts +0 -5
- package/dist/features/monitoring/NotificationCenter.d.ts.map +0 -1
- package/dist/features/monitoring/index.d.ts.map +0 -1
- package/dist/features/operations/CalibrationPage.d.ts +0 -9
- package/dist/features/operations/CalibrationPage.d.ts.map +0 -1
- package/dist/features/operations/CalibrationProjectDetailPage.d.ts +0 -43
- package/dist/features/operations/CalibrationProjectDetailPage.d.ts.map +0 -1
- package/dist/features/operations/CalibrationProjectsPage.d.ts +0 -10
- package/dist/features/operations/CalibrationProjectsPage.d.ts.map +0 -1
- package/dist/features/operations/CalibrationRunDetailPage.d.ts +0 -35
- package/dist/features/operations/CalibrationRunDetailPage.d.ts.map +0 -1
- package/dist/features/operations/CommandQueueDetailPage.d.ts +0 -16
- package/dist/features/operations/CommandQueueDetailPage.d.ts.map +0 -1
- package/dist/features/operations/CommandQueuePage.d.ts +0 -13
- package/dist/features/operations/CommandQueuePage.d.ts.map +0 -1
- package/dist/features/operations/CommandViewPage.d.ts +0 -6
- package/dist/features/operations/CommandViewPage.d.ts.map +0 -1
- package/dist/features/operations/CommandViewSidebarContent.d.ts +0 -19
- package/dist/features/operations/CommandViewSidebarContent.d.ts.map +0 -1
- package/dist/features/operations/ResourceDetailPage.d.ts +0 -25
- package/dist/features/operations/ResourceDetailPage.d.ts.map +0 -1
- package/dist/features/operations/ResourcesPage.d.ts +0 -15
- package/dist/features/operations/ResourcesPage.d.ts.map +0 -1
- package/dist/features/operations/ResourcesSidebar.d.ts +0 -9
- package/dist/features/operations/ResourcesSidebar.d.ts.map +0 -1
- package/dist/features/operations/calibration-components/ComparisonTable.d.ts +0 -9
- package/dist/features/operations/calibration-components/ComparisonTable.d.ts.map +0 -1
- package/dist/features/operations/executions/AgentExecutionPanel.d.ts +0 -12
- package/dist/features/operations/executions/AgentExecutionPanel.d.ts.map +0 -1
- package/dist/features/operations/executions/ExecutionPanel.d.ts +0 -13
- package/dist/features/operations/executions/ExecutionPanel.d.ts.map +0 -1
- package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts +0 -12
- package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts.map +0 -1
- package/dist/features/operations/executions/index.d.ts +0 -7
- package/dist/features/operations/executions/index.d.ts.map +0 -1
- package/dist/features/operations/index.d.ts.map +0 -1
- package/dist/features/operations/layouts/components/ResourceHeader.d.ts +0 -11
- package/dist/features/operations/layouts/components/ResourceHeader.d.ts.map +0 -1
- package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts +0 -8
- package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts.map +0 -1
- package/dist/features/operations/layouts/components/index.d.ts +0 -4
- package/dist/features/operations/layouts/components/index.d.ts.map +0 -1
- package/dist/features/settings/AccountSettings.d.ts +0 -20
- package/dist/features/settings/AccountSettings.d.ts.map +0 -1
- package/dist/features/settings/AppearanceSettings.d.ts +0 -23
- package/dist/features/settings/AppearanceSettings.d.ts.map +0 -1
- package/dist/features/settings/CreateWebhookEndpointModal.d.ts +0 -8
- package/dist/features/settings/CreateWebhookEndpointModal.d.ts.map +0 -1
- package/dist/features/settings/EditCredentialModal.d.ts +0 -9
- package/dist/features/settings/EditCredentialModal.d.ts.map +0 -1
- package/dist/features/settings/EditWebhookEndpointModal.d.ts +0 -8
- package/dist/features/settings/EditWebhookEndpointModal.d.ts.map +0 -1
- package/dist/features/settings/MemberConfigModal.d.ts +0 -14
- package/dist/features/settings/MemberConfigModal.d.ts.map +0 -1
- package/dist/features/settings/OAuthIntegrationsCard.d.ts +0 -6
- package/dist/features/settings/OAuthIntegrationsCard.d.ts.map +0 -1
- package/dist/features/settings/OrgMembersList.d.ts +0 -5
- package/dist/features/settings/OrgMembersList.d.ts.map +0 -1
- package/dist/features/settings/OrganizationSettings.d.ts +0 -30
- package/dist/features/settings/OrganizationSettings.d.ts.map +0 -1
- package/dist/features/settings/WebhookEndpointList.d.ts +0 -9
- package/dist/features/settings/WebhookEndpointList.d.ts.map +0 -1
- package/dist/features/settings/WebhookEndpointSettings.d.ts +0 -6
- package/dist/features/settings/WebhookEndpointSettings.d.ts.map +0 -1
- package/dist/features/settings/index.d.ts.map +0 -1
- package/dist/hooks/command-queue/index.d.ts +0 -7
- package/dist/hooks/command-queue/index.d.ts.map +0 -1
- package/dist/hooks/command-queue/useCommandQueue.d.ts +0 -33
- package/dist/hooks/command-queue/useCommandQueue.d.ts.map +0 -1
- package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +0 -17
- package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +0 -1
- package/dist/hooks/command-queue/useDeleteTask.d.ts +0 -5
- package/dist/hooks/command-queue/useDeleteTask.d.ts.map +0 -1
- package/dist/hooks/command-queue/usePatchTask.d.ts +0 -6
- package/dist/hooks/command-queue/usePatchTask.d.ts.map +0 -1
- package/dist/hooks/command-queue/useSubmitAction.d.ts +0 -29
- package/dist/hooks/command-queue/useSubmitAction.d.ts.map +0 -1
- package/dist/hooks/executions/index.d.ts +0 -17
- package/dist/hooks/executions/index.d.ts.map +0 -1
- package/dist/hooks/executions/useArchivedLogs.d.ts +0 -14
- package/dist/hooks/executions/useArchivedLogs.d.ts.map +0 -1
- package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +0 -15
- package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +0 -1
- package/dist/hooks/executions/useCancelExecution.d.ts +0 -20
- package/dist/hooks/executions/useCancelExecution.d.ts.map +0 -1
- package/dist/hooks/executions/useDeleteExecution.d.ts +0 -13
- package/dist/hooks/executions/useDeleteExecution.d.ts.map +0 -1
- package/dist/hooks/executions/useExecuteAsync.d.ts +0 -21
- package/dist/hooks/executions/useExecuteAsync.d.ts.map +0 -1
- package/dist/hooks/executions/useExecution.d.ts +0 -10
- package/dist/hooks/executions/useExecution.d.ts.map +0 -1
- package/dist/hooks/executions/useExecutions.d.ts +0 -16
- package/dist/hooks/executions/useExecutions.d.ts.map +0 -1
- package/dist/hooks/executions/useResourceDefinition.d.ts +0 -9
- package/dist/hooks/executions/useResourceDefinition.d.ts.map +0 -1
- package/dist/hooks/executions/useResources.d.ts +0 -15
- package/dist/hooks/executions/useResources.d.ts.map +0 -1
- package/dist/hooks/executions/useRetryExecution.d.ts +0 -16
- package/dist/hooks/executions/useRetryExecution.d.ts.map +0 -1
- package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +0 -41
- package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +0 -1
- package/dist/hooks/feature-access/index.d.ts +0 -2
- package/dist/hooks/feature-access/index.d.ts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/monitoring/index.d.ts +0 -11
- package/dist/hooks/monitoring/index.d.ts.map +0 -1
- package/dist/hooks/monitoring/useActivities.d.ts +0 -52
- package/dist/hooks/monitoring/useActivities.d.ts.map +0 -1
- package/dist/hooks/monitoring/useCostSummary.d.ts +0 -7
- package/dist/hooks/monitoring/useCostSummary.d.ts.map +0 -1
- package/dist/hooks/monitoring/useExecutionHealth.d.ts +0 -10
- package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +0 -1
- package/dist/hooks/monitoring/useExecutionLogs.d.ts +0 -56
- package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +0 -1
- package/dist/hooks/monitoring/useNotificationCount.d.ts +0 -26
- package/dist/hooks/monitoring/useNotificationCount.d.ts.map +0 -1
- package/dist/hooks/monitoring/useNotifications.d.ts +0 -11
- package/dist/hooks/monitoring/useNotifications.d.ts.map +0 -1
- package/dist/hooks/notifications/index.d.ts +0 -8
- package/dist/hooks/notifications/index.d.ts.map +0 -1
- package/dist/hooks/notifications/useMarkAllAsRead.d.ts +0 -2
- package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +0 -1
- package/dist/hooks/notifications/useMarkAsRead.d.ts +0 -2
- package/dist/hooks/notifications/useMarkAsRead.d.ts.map +0 -1
- package/dist/hooks/notifications/useTestNotification.d.ts +0 -16
- package/dist/hooks/notifications/useTestNotification.d.ts.map +0 -1
- package/dist/hooks/observability/index.d.ts +0 -25
- package/dist/hooks/observability/index.d.ts.map +0 -1
- package/dist/hooks/observability/useBatchedResourcesHealth.d.ts +0 -15
- package/dist/hooks/observability/useBatchedResourcesHealth.d.ts.map +0 -1
- package/dist/hooks/observability/useBusinessImpact.d.ts +0 -9
- package/dist/hooks/observability/useBusinessImpact.d.ts.map +0 -1
- package/dist/hooks/observability/useCostBreakdown.d.ts +0 -10
- package/dist/hooks/observability/useCostBreakdown.d.ts.map +0 -1
- package/dist/hooks/observability/useCostByModel.d.ts +0 -3
- package/dist/hooks/observability/useCostByModel.d.ts.map +0 -1
- package/dist/hooks/observability/useCostTrends.d.ts +0 -3
- package/dist/hooks/observability/useCostTrends.d.ts.map +0 -1
- package/dist/hooks/observability/useDashboardMetrics.d.ts +0 -3
- package/dist/hooks/observability/useDashboardMetrics.d.ts.map +0 -1
- package/dist/hooks/observability/useErrorAnalysis.d.ts +0 -7
- package/dist/hooks/observability/useErrorAnalysis.d.ts.map +0 -1
- package/dist/hooks/observability/useErrorDetails.d.ts +0 -20
- package/dist/hooks/observability/useErrorDetails.d.ts.map +0 -1
- package/dist/hooks/observability/useErrorDistribution.d.ts +0 -12
- package/dist/hooks/observability/useErrorDistribution.d.ts.map +0 -1
- package/dist/hooks/observability/useErrorTrends.d.ts +0 -12
- package/dist/hooks/observability/useErrorTrends.d.ts.map +0 -1
- package/dist/hooks/observability/useRecentExecutionsByResource.d.ts +0 -18
- package/dist/hooks/observability/useRecentExecutionsByResource.d.ts.map +0 -1
- package/dist/hooks/observability/useResolveError.d.ts +0 -17
- package/dist/hooks/observability/useResolveError.d.ts.map +0 -1
- package/dist/hooks/observability/useResourcesHealth.d.ts +0 -13
- package/dist/hooks/observability/useResourcesHealth.d.ts.map +0 -1
- package/dist/hooks/observability/useTopFailingResources.d.ts +0 -13
- package/dist/hooks/observability/useTopFailingResources.d.ts.map +0 -1
- package/dist/hooks/observability/useUnresolvedErrors.d.ts +0 -15
- package/dist/hooks/observability/useUnresolvedErrors.d.ts.map +0 -1
- package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts +0 -24
- package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts.map +0 -1
- package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts +0 -3
- package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts.map +0 -1
- package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts +0 -35
- package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/index.d.ts +0 -8
- package/dist/hooks/operations/command-view/index.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts +0 -24
- package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/useCommandViewData.d.ts +0 -11
- package/dist/hooks/operations/command-view/useCommandViewData.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/useCommandViewStats.d.ts +0 -12
- package/dist/hooks/operations/command-view/useCommandViewStats.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/useResourceErrors.d.ts +0 -22
- package/dist/hooks/operations/command-view/useResourceErrors.d.ts.map +0 -1
- package/dist/hooks/operations/command-view/useResourceExecutions.d.ts +0 -22
- package/dist/hooks/operations/command-view/useResourceExecutions.d.ts.map +0 -1
- package/dist/hooks/operations/index.d.ts +0 -4
- package/dist/hooks/operations/index.d.ts.map +0 -1
- package/dist/hooks/operations/knowledge-base/index.d.ts +0 -3
- package/dist/hooks/operations/knowledge-base/index.d.ts.map +0 -1
- package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts +0 -27
- package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts.map +0 -1
- package/dist/hooks/operations/settings/index.d.ts +0 -4
- package/dist/hooks/operations/settings/index.d.ts.map +0 -1
- package/dist/hooks/operations/settings/useOAuthFlow.d.ts +0 -17
- package/dist/hooks/operations/settings/useOAuthFlow.d.ts.map +0 -1
- package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts +0 -17
- package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts.map +0 -1
- package/dist/hooks/operations/shared/index.d.ts +0 -6
- package/dist/hooks/operations/shared/index.d.ts.map +0 -1
- package/dist/hooks/operations/shared/queryKeys.d.ts +0 -23
- package/dist/hooks/operations/shared/queryKeys.d.ts.map +0 -1
- package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts +0 -11
- package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts.map +0 -1
- package/dist/hooks/operations/shared/useExecutionPanelState.d.ts +0 -46
- package/dist/hooks/operations/shared/useExecutionPanelState.d.ts.map +0 -1
- package/dist/hooks/published.d.ts.map +0 -1
- package/dist/hooks/scheduling/index.d.ts +0 -7
- package/dist/hooks/scheduling/index.d.ts.map +0 -1
- package/dist/hooks/scheduling/useScheduledTasks.d.ts +0 -19
- package/dist/hooks/scheduling/useScheduledTasks.d.ts.map +0 -1
- package/dist/hooks/scheduling/useSchedules.d.ts +0 -185
- package/dist/hooks/scheduling/useSchedules.d.ts.map +0 -1
- package/dist/hooks/sessions/index.d.ts +0 -8
- package/dist/hooks/sessions/index.d.ts.map +0 -1
- package/dist/hooks/sessions/useSessionExecutions.d.ts +0 -13
- package/dist/hooks/sessions/useSessionExecutions.d.ts.map +0 -1
- package/dist/hooks/sessions/useSessionMessages.d.ts +0 -7
- package/dist/hooks/sessions/useSessionMessages.d.ts.map +0 -1
- package/dist/hooks/sessions/useSessions.d.ts +0 -26
- package/dist/hooks/sessions/useSessions.d.ts.map +0 -1
- package/dist/hooks/settings/api-keys/index.d.ts +0 -7
- package/dist/hooks/settings/api-keys/index.d.ts.map +0 -1
- package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts +0 -3
- package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts.map +0 -1
- package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts +0 -2
- package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts.map +0 -1
- package/dist/hooks/settings/api-keys/useListApiKeys.d.ts +0 -2
- package/dist/hooks/settings/api-keys/useListApiKeys.d.ts.map +0 -1
- package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts +0 -5
- package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts.map +0 -1
- package/dist/hooks/settings/credentials/index.d.ts +0 -7
- package/dist/hooks/settings/credentials/index.d.ts.map +0 -1
- package/dist/hooks/settings/credentials/useCreateCredential.d.ts +0 -3
- package/dist/hooks/settings/credentials/useCreateCredential.d.ts.map +0 -1
- package/dist/hooks/settings/credentials/useCredentials.d.ts +0 -8
- package/dist/hooks/settings/credentials/useCredentials.d.ts.map +0 -1
- package/dist/hooks/settings/credentials/useDeleteCredential.d.ts +0 -2
- package/dist/hooks/settings/credentials/useDeleteCredential.d.ts.map +0 -1
- package/dist/hooks/settings/credentials/useUpdateCredential.d.ts +0 -10
- package/dist/hooks/settings/credentials/useUpdateCredential.d.ts.map +0 -1
- package/dist/hooks/settings/deployments/index.d.ts +0 -5
- package/dist/hooks/settings/deployments/index.d.ts.map +0 -1
- package/dist/hooks/settings/deployments/useDeploymentActions.d.ts +0 -4
- package/dist/hooks/settings/deployments/useDeploymentActions.d.ts.map +0 -1
- package/dist/hooks/settings/deployments/useListDeployments.d.ts +0 -2
- package/dist/hooks/settings/deployments/useListDeployments.d.ts.map +0 -1
- package/dist/hooks/settings/index.d.ts +0 -6
- package/dist/hooks/settings/index.d.ts.map +0 -1
- package/dist/hooks/settings/organization/index.d.ts +0 -6
- package/dist/hooks/settings/organization/index.d.ts.map +0 -1
- package/dist/hooks/settings/organization/useDeactivateMembership.d.ts +0 -11
- package/dist/hooks/settings/organization/useDeactivateMembership.d.ts.map +0 -1
- package/dist/hooks/settings/organization/useReactivateMembership.d.ts +0 -11
- package/dist/hooks/settings/organization/useReactivateMembership.d.ts.map +0 -1
- package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts +0 -8
- package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts.map +0 -1
- package/dist/hooks/settings/organization/useUserMemberships.d.ts +0 -3
- package/dist/hooks/settings/organization/useUserMemberships.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/index.d.ts +0 -7
- package/dist/hooks/settings/webhooks/index.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts +0 -18
- package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts +0 -2
- package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts +0 -14
- package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts +0 -18
- package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts.map +0 -1
- package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts +0 -27
- package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts.map +0 -1
- package/dist/hooks/useOrganizationMembers.d.ts +0 -18
- package/dist/hooks/useOrganizationMembers.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/initialization/InitializationProvider.d.ts +0 -48
- package/dist/initialization/InitializationProvider.d.ts.map +0 -1
- package/dist/initialization/hooks/useAppInitialization.d.ts +0 -32
- package/dist/initialization/hooks/useAppInitialization.d.ts.map +0 -1
- package/dist/initialization/index.d.ts.map +0 -1
- package/dist/organization/context/OrganizationProvider.d.ts +0 -24
- package/dist/organization/context/OrganizationProvider.d.ts.map +0 -1
- package/dist/organization/hooks/useOrgInitialization.d.ts +0 -56
- package/dist/organization/hooks/useOrgInitialization.d.ts.map +0 -1
- package/dist/organization/index.d.ts.map +0 -1
- package/dist/profile/context/ProfileProvider.d.ts +0 -31
- package/dist/profile/context/ProfileProvider.d.ts.map +0 -1
- package/dist/profile/hooks/useUserProfile.d.ts +0 -38
- package/dist/profile/hooks/useUserProfile.d.ts.map +0 -1
- package/dist/profile/index.d.ts.map +0 -1
- package/dist/provider/CoreAuthKitInner.d.ts +0 -12
- package/dist/provider/CoreAuthKitInner.d.ts.map +0 -1
- package/dist/provider/ElevasisCoreProvider.d.ts +0 -25
- package/dist/provider/ElevasisCoreProvider.d.ts.map +0 -1
- package/dist/provider/ElevasisServiceContext.d.ts +0 -31
- package/dist/provider/ElevasisServiceContext.d.ts.map +0 -1
- package/dist/provider/ElevasisUIProvider.d.ts +0 -28
- package/dist/provider/ElevasisUIProvider.d.ts.map +0 -1
- package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +0 -2
- package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +0 -1
- package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +0 -2
- package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +0 -1
- package/dist/provider/index.d.ts.map +0 -1
- package/dist/provider/published.d.ts.map +0 -1
- package/dist/provider/types.d.ts +0 -151
- package/dist/provider/types.d.ts.map +0 -1
- package/dist/sdk-barrel.d.ts +0 -20
- package/dist/sdk-barrel.d.ts.map +0 -1
- package/dist/theme/PresetsContext.d.ts +0 -4
- package/dist/theme/PresetsContext.d.ts.map +0 -1
- package/dist/theme/cssVariables.d.ts +0 -12
- package/dist/theme/cssVariables.d.ts.map +0 -1
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/presets/__tests__/getPreset.test.d.ts +0 -2
- package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +0 -1
- package/dist/theme/presets/abyss.d.ts +0 -3
- package/dist/theme/presets/abyss.d.ts.map +0 -1
- package/dist/theme/presets/aurora.d.ts +0 -12
- package/dist/theme/presets/aurora.d.ts.map +0 -1
- package/dist/theme/presets/canopy.d.ts +0 -12
- package/dist/theme/presets/canopy.d.ts.map +0 -1
- package/dist/theme/presets/canyon.d.ts +0 -11
- package/dist/theme/presets/canyon.d.ts.map +0 -1
- package/dist/theme/presets/cortex.d.ts +0 -3
- package/dist/theme/presets/cortex.d.ts.map +0 -1
- package/dist/theme/presets/cyber-punk.d.ts +0 -11
- package/dist/theme/presets/cyber-punk.d.ts.map +0 -1
- package/dist/theme/presets/cyber-strike.d.ts +0 -13
- package/dist/theme/presets/cyber-strike.d.ts.map +0 -1
- package/dist/theme/presets/cyber-void.d.ts +0 -12
- package/dist/theme/presets/cyber-void.d.ts.map +0 -1
- package/dist/theme/presets/cyber-volt.d.ts +0 -12
- package/dist/theme/presets/cyber-volt.d.ts.map +0 -1
- package/dist/theme/presets/default.d.ts +0 -4
- package/dist/theme/presets/default.d.ts.map +0 -1
- package/dist/theme/presets/ember.d.ts +0 -12
- package/dist/theme/presets/ember.d.ts.map +0 -1
- package/dist/theme/presets/helios.d.ts +0 -3
- package/dist/theme/presets/helios.d.ts.map +0 -1
- package/dist/theme/presets/honey.d.ts +0 -12
- package/dist/theme/presets/honey.d.ts.map +0 -1
- package/dist/theme/presets/index.d.ts +0 -8
- package/dist/theme/presets/index.d.ts.map +0 -1
- package/dist/theme/presets/midnight.d.ts +0 -12
- package/dist/theme/presets/midnight.d.ts.map +0 -1
- package/dist/theme/presets/nirvana.d.ts +0 -16
- package/dist/theme/presets/nirvana.d.ts.map +0 -1
- package/dist/theme/presets/obsidian.d.ts +0 -3
- package/dist/theme/presets/obsidian.d.ts.map +0 -1
- package/dist/theme/presets/regal.d.ts +0 -8
- package/dist/theme/presets/regal.d.ts.map +0 -1
- package/dist/theme/presets/rose-gold.d.ts +0 -12
- package/dist/theme/presets/rose-gold.d.ts.map +0 -1
- package/dist/theme/presets/slate.d.ts +0 -3
- package/dist/theme/presets/slate.d.ts.map +0 -1
- package/dist/theme/presets/tactical.d.ts +0 -8
- package/dist/theme/presets/tactical.d.ts.map +0 -1
- package/dist/theme/presets/types.d.ts +0 -43
- package/dist/theme/presets/types.d.ts.map +0 -1
- package/dist/theme/presets/verdant.d.ts +0 -3
- package/dist/theme/presets/verdant.d.ts.map +0 -1
- package/dist/theme/presets/wave.d.ts +0 -14
- package/dist/theme/presets/wave.d.ts.map +0 -1
- package/dist/theme/useAvailablePresets.d.ts +0 -16
- package/dist/theme/useAvailablePresets.d.ts.map +0 -1
package/dist/layout/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare function AppBackground({ children }: {
|
|
|
41
41
|
children?: ReactNode;
|
|
42
42
|
}): react_jsx_runtime.JSX.Element;
|
|
43
43
|
|
|
44
|
-
type CyberVariant = '
|
|
44
|
+
type CyberVariant = 'chrome' | 'strike' | 'void' | 'volt';
|
|
45
45
|
interface CyberParticlesProps {
|
|
46
46
|
/** Which particle flavor to render. */
|
|
47
47
|
variant: CyberVariant;
|
|
@@ -55,7 +55,7 @@ interface CyberParticlesProps {
|
|
|
55
55
|
* that inherit their color from `var(--color-primary)` so they automatically
|
|
56
56
|
* match the active preset's accent:
|
|
57
57
|
*
|
|
58
|
-
* - `
|
|
58
|
+
* - `chrome` — brushed slate sparks
|
|
59
59
|
* - `strike` — red sparks
|
|
60
60
|
* - `void` — blue sparks
|
|
61
61
|
* - `volt` — cyan sparks
|
|
@@ -85,7 +85,7 @@ interface CyberBackgroundProps {
|
|
|
85
85
|
* `ThemePreset.background`. Consumers can still override the full background
|
|
86
86
|
* per-app via `<ElevasisUIProvider theme={{ background: <Custom/> }}>`.
|
|
87
87
|
*
|
|
88
|
-
* - `
|
|
88
|
+
* - `chrome` — Rising sparks tinted by the slate primary (cool metallic shimmer)
|
|
89
89
|
* - `strike` — Combat HUD scan sweep + radar pings + targeting brackets
|
|
90
90
|
* - `void` — Matrix-style digital rain
|
|
91
91
|
* - `volt` — Circuit-board data flow with animated pulses
|
package/dist/layout/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper,
|
|
2
|
-
export { PageContainer, SubshellLoader, SubshellSidebarSection } from '../chunk-
|
|
1
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-CTF6FS2M.js';
|
|
2
|
+
export { CollapsibleSidebarGroup, PageContainer, SidebarListItem, SubshellLoader, SubshellSidebarSection } from '../chunk-AWT255UH.js';
|
|
3
3
|
import '../chunk-NNKKBSJN.js';
|
|
4
4
|
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-WWEMNIHW.js';
|
|
5
5
|
export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-QJ2S46NI.js';
|
|
6
6
|
import '../chunk-MHW43EOH.js';
|
|
7
|
-
export { AppBackground } from '../chunk-
|
|
8
|
-
export { CyberBackground, CyberParticles, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-
|
|
7
|
+
export { AppBackground } from '../chunk-R3R367QY.js';
|
|
8
|
+
export { CyberBackground, CyberParticles, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-3DIU726S.js';
|
|
9
9
|
import '../chunk-QJ2KCHKX.js';
|
|
10
10
|
import '../chunk-Q7DJKLEN.js';
|
|
@@ -1,24 +1,275 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { UseBoundStore, StoreApi } from 'zustand';
|
|
5
|
+
|
|
1
6
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* -
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
* Multi-tenancy configuration types
|
|
8
|
+
*
|
|
9
|
+
* Config is stored in dedicated `config` columns (NOT nested in metadata):
|
|
10
|
+
* - organizations.config: Org-level config (no feature toggles -- all features available by default)
|
|
11
|
+
* - org_memberships.config: Per-user-per-org feature overrides
|
|
12
|
+
* - users.config: User-global config
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Per-user-per-org config (stored in org_memberships.config)
|
|
16
|
+
* Controls which features a specific member can access within their org
|
|
17
|
+
* Valid feature keys: operations, monitoring, acquisition, calibration, seo
|
|
18
|
+
*/
|
|
19
|
+
interface MembershipFeatureConfig {
|
|
20
|
+
features?: {
|
|
21
|
+
operations?: boolean;
|
|
22
|
+
monitoring?: boolean;
|
|
23
|
+
acquisition?: boolean;
|
|
24
|
+
calibration?: boolean;
|
|
25
|
+
seo?: boolean;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Organization Membership types based on WorkOS API
|
|
31
|
+
*/
|
|
32
|
+
interface OrganizationMembership {
|
|
33
|
+
object: 'organization_membership';
|
|
34
|
+
id: string;
|
|
35
|
+
userId: string;
|
|
36
|
+
organizationId: string;
|
|
37
|
+
role: {
|
|
38
|
+
slug: string;
|
|
39
|
+
};
|
|
40
|
+
status: 'active' | 'inactive';
|
|
41
|
+
createdAt: string;
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Extended membership with user and organization details for UI
|
|
46
|
+
*/
|
|
47
|
+
interface MembershipWithDetails extends OrganizationMembership {
|
|
48
|
+
user?: {
|
|
49
|
+
id: string;
|
|
50
|
+
email: string;
|
|
51
|
+
firstName?: string;
|
|
52
|
+
lastName?: string;
|
|
53
|
+
profilePictureUrl?: string;
|
|
54
|
+
};
|
|
55
|
+
organization?: {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
workos_org_id: string;
|
|
59
|
+
primaryDomain?: string;
|
|
60
|
+
is_test?: boolean;
|
|
61
|
+
status?: string;
|
|
62
|
+
metadata?: Record<string, unknown>;
|
|
63
|
+
config?: Record<string, unknown>;
|
|
64
|
+
};
|
|
65
|
+
config?: MembershipFeatureConfig;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The value exposed by OrganizationProvider to all consumers.
|
|
70
|
+
*/
|
|
71
|
+
interface OrganizationContextValue {
|
|
72
|
+
/** WorkOS organization ID of the currently selected organization. */
|
|
73
|
+
currentWorkOSOrganizationId: string | null;
|
|
74
|
+
/** Supabase (UUID) organization ID of the currently selected organization. */
|
|
75
|
+
currentSupabaseOrganizationId: string | null;
|
|
76
|
+
/** Full membership record for the currently selected organization. */
|
|
77
|
+
currentMembership: MembershipWithDetails | null;
|
|
78
|
+
/** All memberships for the authenticated user. */
|
|
79
|
+
memberships: MembershipWithDetails[];
|
|
80
|
+
/** True while the initial membership list is being fetched. */
|
|
81
|
+
isInitializing: boolean;
|
|
82
|
+
/** True while a subsequent org switch / refresh is in flight. */
|
|
83
|
+
isOrgRefreshing: boolean;
|
|
84
|
+
/** Error message if the membership fetch or org switch failed. */
|
|
85
|
+
error: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Switch the active organization.
|
|
88
|
+
*
|
|
89
|
+
* Persists the selection to `last_visited_org` on the user profile and
|
|
90
|
+
* invalidates all org-scoped TanStack Query cache entries.
|
|
91
|
+
*
|
|
92
|
+
* @param workosOrgId - WorkOS organization ID to switch to.
|
|
93
|
+
*/
|
|
94
|
+
switchOrganization: (workosOrgId: string) => void;
|
|
95
|
+
/**
|
|
96
|
+
* Re-fetch memberships and retry org selection after an error.
|
|
97
|
+
*/
|
|
98
|
+
retry: () => Promise<void>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Consumes the nearest OrganizationProvider.
|
|
102
|
+
*
|
|
103
|
+
* @throws {Error} If called outside of an OrganizationProvider tree.
|
|
104
|
+
*/
|
|
105
|
+
declare function useOrganization(): OrganizationContextValue;
|
|
106
|
+
|
|
107
|
+
type ApiRequestFn = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
108
|
+
/**
|
|
109
|
+
* Provides organization state to its subtree via React Context.
|
|
110
|
+
*
|
|
111
|
+
* Must be rendered inside:
|
|
112
|
+
* - ProfileProvider (needs useProfile for last_visited_org preference)
|
|
113
|
+
* - A TanStack QueryClientProvider (needs useQueryClient for cache invalidation)
|
|
114
|
+
*
|
|
115
|
+
* Receives apiRequest as a prop so it can mount before ElevasisServiceProvider.
|
|
116
|
+
*
|
|
117
|
+
* Behaviors:
|
|
118
|
+
* - Fetches all memberships for the authenticated user via GET /memberships/my-memberships
|
|
119
|
+
* - Selects the active org by priority: saved preference > WorkOS org ID > first membership
|
|
120
|
+
* - Persists org switches to PATCH /users/me { last_visited_org }
|
|
121
|
+
* - Clears all state when the user signs out (user becomes null)
|
|
122
|
+
*/
|
|
123
|
+
declare function OrganizationProvider({ apiRequest, children }: {
|
|
124
|
+
apiRequest: ApiRequestFn;
|
|
125
|
+
children: ReactNode;
|
|
126
|
+
}): react.FunctionComponentElement<react.ProviderProps<OrganizationContextValue | null>>;
|
|
127
|
+
|
|
128
|
+
type Organization = NonNullable<MembershipWithDetails['organization']>;
|
|
129
|
+
interface OrganizationSwitcherProps {
|
|
130
|
+
currentOrganization: Organization | undefined;
|
|
131
|
+
memberships: MembershipWithDetails[];
|
|
132
|
+
isLoading: boolean;
|
|
133
|
+
onSwitch: (workosOrgId: string) => Promise<void>;
|
|
134
|
+
}
|
|
135
|
+
declare function OrganizationSwitcher({ currentOrganization, memberships, isLoading, onSwitch }: OrganizationSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
interface OrganizationsState {
|
|
138
|
+
currentWorkOSOrganizationId: string | null;
|
|
139
|
+
currentSupabaseOrganizationId: string | null;
|
|
140
|
+
currentMembership: MembershipWithDetails | null;
|
|
141
|
+
isInitializing: boolean;
|
|
142
|
+
isOrgRefreshing: boolean;
|
|
143
|
+
error: string | null;
|
|
144
|
+
}
|
|
145
|
+
interface OrganizationsActions {
|
|
146
|
+
setCurrentWorkOSOrganizationId: (workOSorgId: string | null) => void;
|
|
147
|
+
setCurrentMembership: (membership: MembershipWithDetails | null) => void;
|
|
148
|
+
setOrganizationsInitializing: (initializing: boolean) => void;
|
|
149
|
+
setOrganizationsLoading: (loading: boolean) => void;
|
|
150
|
+
setOrganizationsError: (error: string | null) => void;
|
|
151
|
+
}
|
|
152
|
+
interface OrganizationsSlice extends OrganizationsActions {
|
|
153
|
+
organizations: OrganizationsState;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Type for Zustand's immer set function.
|
|
158
|
+
* This is a simplified version that works with immer middleware.
|
|
159
|
+
* The replace parameter uses false | undefined to match Zustand's type for immer mutation support.
|
|
160
|
+
*/
|
|
161
|
+
type ImmerSet<T> = (partial: T | Partial<T> | ((state: T) => void), replace?: false | undefined, action?: string) => void;
|
|
162
|
+
/**
|
|
163
|
+
* Creates the organizations slice for Zustand store.
|
|
164
|
+
*
|
|
165
|
+
* Usage in app:
|
|
166
|
+
* ```typescript
|
|
167
|
+
* import { createOrganizationsSlice } from '@repo/ui/organization'
|
|
168
|
+
*
|
|
169
|
+
* // Define AppState that extends OrganizationsSlice
|
|
170
|
+
* interface AppState extends OrganizationsSlice {
|
|
171
|
+
* // other slices...
|
|
172
|
+
* }
|
|
173
|
+
*
|
|
174
|
+
* // Pass the slice creator to your store
|
|
175
|
+
* const useAppStore = create<AppState>()(
|
|
176
|
+
* devtools(
|
|
177
|
+
* immer((...a) => ({
|
|
178
|
+
* ...createOrganizationsSlice(...a),
|
|
179
|
+
* // other slices...
|
|
180
|
+
* }))
|
|
181
|
+
* )
|
|
182
|
+
* )
|
|
183
|
+
* ```
|
|
184
|
+
*
|
|
185
|
+
* Note: The slice creator accepts set/get/store from any Zustand store
|
|
186
|
+
* that extends OrganizationsSlice. It returns the slice state and actions.
|
|
187
|
+
*/
|
|
188
|
+
declare const createOrganizationsSlice: <TAppState extends OrganizationsSlice>(set: ImmerSet<TAppState>, _get: () => TAppState, _store: unknown) => OrganizationsSlice;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Factory function to create a useOrganizations hook for your app's store.
|
|
192
|
+
*
|
|
193
|
+
* Usage in app:
|
|
194
|
+
* ```typescript
|
|
195
|
+
* import { createUseOrganizations } from '@repo/ui/organization'
|
|
196
|
+
* import { useAppStore } from './zustand/store'
|
|
197
|
+
*
|
|
198
|
+
* export const useOrganizations = createUseOrganizations(useAppStore)
|
|
199
|
+
* ```
|
|
200
|
+
*
|
|
201
|
+
* This pattern allows the shared package to provide the hook logic
|
|
202
|
+
* while each app provides its own store instance.
|
|
203
|
+
*/
|
|
204
|
+
declare function createUseOrganizations<TStore extends OrganizationsSlice>(useStore: UseBoundStore<StoreApi<TStore>>): () => {
|
|
205
|
+
setCurrentWorkOSOrganizationId: (workOSorgId: string | null) => void;
|
|
206
|
+
setCurrentMembership: (membership: MembershipWithDetails | null) => void;
|
|
207
|
+
setOrganizationsInitializing: (initializing: boolean) => void;
|
|
208
|
+
setOrganizationsLoading: (loading: boolean) => void;
|
|
209
|
+
setOrganizationsError: (error: string | null) => void;
|
|
210
|
+
organizations: OrganizationsState;
|
|
211
|
+
currentWorkOSOrganizationId: string | null;
|
|
212
|
+
currentSupabaseOrganizationId: string | null;
|
|
213
|
+
currentMembership: MembershipWithDetails | null;
|
|
214
|
+
isInitializing: boolean;
|
|
215
|
+
isOrgRefreshing: boolean;
|
|
216
|
+
error: string | null;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Type for the useOrganizations hook return value
|
|
221
|
+
*/
|
|
222
|
+
interface UseOrganizationsReturn {
|
|
223
|
+
currentWorkOSOrganizationId: string | null;
|
|
224
|
+
currentMembership: MembershipWithDetails | null;
|
|
225
|
+
setCurrentWorkOSOrganizationId: (id: string | null) => void;
|
|
226
|
+
setCurrentMembership: (membership: MembershipWithDetails | null) => void;
|
|
227
|
+
setOrganizationsInitializing: (initializing: boolean) => void;
|
|
228
|
+
setOrganizationsLoading: (loading: boolean) => void;
|
|
229
|
+
setOrganizationsError: (error: string | null) => void;
|
|
230
|
+
organizations: {
|
|
231
|
+
isInitializing: boolean;
|
|
232
|
+
isOrgRefreshing: boolean;
|
|
233
|
+
error: string | null;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Type for the useApiClient hook return value
|
|
238
|
+
*/
|
|
239
|
+
interface UseApiClientReturn {
|
|
240
|
+
apiRequest: <T = unknown>(path: string, options?: RequestInit) => Promise<T>;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Return type for useOrgInitialization hook
|
|
244
|
+
*/
|
|
245
|
+
interface UseOrgInitializationReturn {
|
|
246
|
+
memberships: MembershipWithDetails[];
|
|
247
|
+
isInitializing: boolean;
|
|
248
|
+
isLoading: boolean;
|
|
249
|
+
isInitialized: boolean;
|
|
250
|
+
error: string | null;
|
|
251
|
+
currentOrganization: MembershipWithDetails['organization'] | null;
|
|
252
|
+
retry: () => Promise<void>;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Factory function to create a useOrgInitialization hook for your app.
|
|
256
|
+
*
|
|
257
|
+
* Usage in app:
|
|
258
|
+
* ```typescript
|
|
259
|
+
* import { createUseOrgInitialization } from '@repo/ui/organization'
|
|
260
|
+
* import { useOrganizations } from './hooks/useOrganizations'
|
|
261
|
+
* import { useApiClient } from './api/hooks/useApiClient'
|
|
262
|
+
*
|
|
263
|
+
* export const useOrgInitialization = createUseOrgInitialization(
|
|
264
|
+
* useOrganizations,
|
|
265
|
+
* useApiClient
|
|
266
|
+
* )
|
|
267
|
+
* ```
|
|
268
|
+
*
|
|
269
|
+
* This pattern allows the shared package to provide the hook logic
|
|
270
|
+
* while each app provides its own hook instances.
|
|
271
|
+
*/
|
|
272
|
+
declare function createUseOrgInitialization(useOrganizations: () => UseOrganizationsReturn, useApiClient: () => UseApiClientReturn): () => UseOrgInitializationReturn;
|
|
273
|
+
|
|
274
|
+
export { OrganizationProvider, OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations, useOrganization };
|
|
275
|
+
export type { MembershipWithDetails, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, UseApiClientReturn, UseOrgInitializationReturn, UseOrganizationsReturn };
|