@datalayer/core 1.1.60 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -18
- package/lib/api/DatalayerApi.d.ts +42 -1
- package/lib/api/DatalayerApi.js +90 -3
- package/lib/api/constants.d.ts +19 -1
- package/lib/api/constants.js +19 -1
- package/lib/api/contents/attachments.d.ts +9 -0
- package/lib/api/contents/attachments.js +39 -0
- package/lib/api/contents/bridges.d.ts +22 -0
- package/lib/api/contents/bridges.js +79 -0
- package/lib/api/contents/capabilities.d.ts +11 -0
- package/lib/api/contents/capabilities.js +21 -0
- package/lib/api/contents/cloudStorage.d.ts +31 -0
- package/lib/api/contents/cloudStorage.js +89 -0
- package/lib/api/contents/dataservers.d.ts +37 -0
- package/lib/api/contents/dataservers.js +121 -0
- package/lib/api/contents/datasets.d.ts +63 -0
- package/lib/api/contents/datasets.js +82 -0
- package/lib/api/contents/datasources.d.ts +70 -0
- package/lib/api/contents/datasources.js +149 -0
- package/lib/api/contents/generated.d.ts +1070 -0
- package/lib/api/contents/index.d.ts +16 -0
- package/lib/api/contents/index.js +20 -0
- package/lib/api/contents/mcp.d.ts +46 -0
- package/lib/api/contents/mcp.js +157 -0
- package/lib/api/contents/objects.d.ts +31 -0
- package/lib/api/contents/objects.js +88 -0
- package/lib/api/contents/operations.d.ts +3 -0
- package/lib/api/contents/operations.js +19 -0
- package/lib/api/contents/runtimeMounts.d.ts +40 -0
- package/lib/api/contents/runtimeMounts.js +59 -0
- package/lib/api/contents/sandboxUid.d.ts +21 -0
- package/lib/api/contents/sandboxUid.js +27 -0
- package/lib/api/contents/sources.d.ts +19 -0
- package/lib/api/contents/sources.js +119 -0
- package/lib/api/contents/sync.d.ts +18 -0
- package/lib/api/contents/sync.js +69 -0
- package/lib/api/contents/transfers.d.ts +38 -0
- package/lib/api/contents/transfers.js +123 -0
- package/lib/api/evals/client.d.ts +402 -0
- package/lib/api/evals/client.js +359 -0
- package/lib/api/evals/index.d.ts +10 -0
- package/lib/api/evals/index.js +18 -0
- package/lib/api/evals/request.d.ts +43 -0
- package/lib/api/evals/request.js +67 -0
- package/lib/api/evals/status.d.ts +27 -0
- package/lib/api/evals/status.js +122 -0
- package/lib/api/evals/types.d.ts +1335 -0
- package/lib/api/evals/types.js +5 -0
- package/lib/api/iam/connectedAgents.d.ts +68 -0
- package/lib/api/iam/connectedAgents.js +87 -0
- package/lib/api/iam/identityProviders.d.ts +76 -0
- package/lib/api/iam/identityProviders.js +187 -0
- package/lib/api/iam/index.d.ts +3 -1
- package/lib/api/iam/index.js +3 -1
- package/lib/api/iam/mcpAlertRules.d.ts +51 -0
- package/lib/api/iam/mcpAlertRules.js +198 -0
- package/lib/api/iam/mcpAuditSettings.d.ts +46 -0
- package/lib/api/iam/mcpAuditSettings.js +120 -0
- package/lib/api/iam/mcpPolicy.d.ts +181 -0
- package/lib/api/iam/mcpPolicy.js +168 -0
- package/lib/api/iam/organizationTeams.d.ts +13 -0
- package/lib/api/iam/organizationTeams.js +43 -0
- package/lib/api/iam/profile.d.ts +17 -1
- package/lib/api/iam/profile.js +27 -0
- package/lib/api/iam/scimTokens.d.ts +79 -0
- package/lib/api/iam/scimTokens.js +141 -0
- package/lib/api/iam/secrets.js +9 -21
- package/lib/api/iam/serviceAgents.d.ts +68 -0
- package/lib/api/iam/serviceAgents.js +119 -0
- package/lib/api/iam/trials.d.ts +38 -0
- package/lib/api/iam/trials.js +66 -0
- package/lib/api/index.d.ts +8 -1
- package/lib/api/index.js +7 -1
- package/lib/api/mcp/activity.d.ts +37 -0
- package/lib/api/mcp/activity.js +26 -0
- package/lib/api/mcp/alerts.d.ts +25 -0
- package/lib/api/mcp/alerts.js +51 -0
- package/lib/api/mcp/audit.d.ts +29 -0
- package/lib/api/mcp/audit.js +55 -0
- package/lib/api/mcp/bindings.d.ts +18 -0
- package/lib/api/mcp/bindings.js +42 -0
- package/lib/api/mcp/forwarding.d.ts +25 -0
- package/lib/api/mcp/forwarding.js +46 -0
- package/lib/api/mcp/gateway.d.ts +16 -0
- package/lib/api/mcp/gateway.js +70 -0
- package/lib/api/mcp/generated.d.ts +22 -0
- package/lib/api/mcp/generated.js +213 -0
- package/lib/api/mcp/index.d.ts +17 -0
- package/lib/api/mcp/index.js +25 -0
- package/lib/api/mcp/observability.d.ts +141 -0
- package/lib/api/mcp/observability.js +267 -0
- package/lib/api/mcp/operations.d.ts +83 -0
- package/lib/api/mcp/operations.js +50 -0
- package/lib/api/mcp/organizations.d.ts +102 -0
- package/lib/api/mcp/organizations.js +46 -0
- package/lib/api/mcp/policy.d.ts +9 -0
- package/lib/api/mcp/policy.js +23 -0
- package/lib/api/mcp/tasks.d.ts +49 -0
- package/lib/api/mcp/tasks.js +147 -0
- package/lib/api/orchestration/client.d.ts +53 -0
- package/lib/api/orchestration/client.js +105 -0
- package/lib/api/orchestration/events.d.ts +88 -0
- package/lib/api/orchestration/events.js +245 -0
- package/lib/api/orchestration/generated.d.ts +693 -0
- package/lib/api/orchestration/generated.js +687 -0
- package/lib/api/orchestration/index.d.ts +30 -0
- package/lib/api/orchestration/index.js +34 -0
- package/lib/api/orchestration/lifecycle.d.ts +39 -0
- package/lib/api/orchestration/lifecycle.js +57 -0
- package/lib/api/orchestration/measures.d.ts +55 -0
- package/lib/api/orchestration/measures.js +99 -0
- package/lib/api/otel/dashboards.d.ts +56 -0
- package/lib/api/otel/dashboards.js +50 -0
- package/lib/api/otel/index.d.ts +1 -0
- package/lib/api/otel/index.js +1 -0
- package/lib/api/otel/metrics.d.ts +16 -0
- package/lib/api/otel/metrics.js +15 -0
- package/lib/api/scheduler/client.d.ts +32 -0
- package/lib/api/scheduler/client.js +42 -0
- package/lib/api/scheduler/index.d.ts +8 -0
- package/lib/api/scheduler/index.js +16 -0
- package/lib/api/scheduler/request.d.ts +28 -0
- package/lib/api/scheduler/request.js +50 -0
- package/lib/api/scheduler/types.d.ts +88 -0
- package/lib/api/scheduler/types.js +5 -0
- package/lib/api/spacer/comments.d.ts +97 -0
- package/lib/api/spacer/comments.js +45 -0
- package/lib/api/spacer/index.d.ts +9 -0
- package/lib/api/spacer/index.js +17 -0
- package/lib/api/spacer/notebooks.d.ts +33 -0
- package/lib/api/spacer/notebooks.js +39 -0
- package/lib/api/spacer/request.d.ts +25 -0
- package/lib/api/spacer/request.js +46 -0
- package/lib/api/spacer/spaces.d.ts +68 -0
- package/lib/api/spacer/spaces.js +45 -0
- package/lib/api/utils/validation.d.ts +4 -4
- package/lib/api/utils/validation.js +10 -7
- package/lib/client/auth/index.js +0 -5
- package/lib/client/auth/storage.js +0 -5
- package/lib/client/auth/strategies.js +0 -5
- package/lib/client/base.d.ts +6 -0
- package/lib/client/base.js +8 -0
- package/lib/client/constants.d.ts +1 -0
- package/lib/client/constants.js +1 -0
- package/lib/client/index.d.ts +0 -10
- package/lib/client/index.js +2 -2
- package/lib/client/mixins/ContentsMixin.d.ts +71 -0
- package/lib/client/mixins/ContentsMixin.js +157 -0
- package/lib/client/mixins/IAMMixin.d.ts +0 -31
- package/lib/client/mixins/IAMMixin.js +0 -58
- package/lib/components/animation/AnimatedText.d.ts +2 -44
- package/lib/components/animation/AnimatedText.js +6 -126
- package/lib/components/anonymous/AnonymousKeyExpired.d.ts +56 -0
- package/lib/components/anonymous/AnonymousKeyExpired.js +96 -0
- package/lib/components/anonymous/AnonymousKeyTimer.d.ts +63 -0
- package/lib/components/anonymous/AnonymousKeyTimer.js +140 -0
- package/lib/components/anonymous/index.d.ts +7 -0
- package/lib/components/anonymous/index.js +15 -0
- package/lib/components/auth/SigInAPIKey.d.ts +1 -0
- package/lib/components/auth/SigInAPIKey.js +0 -6
- package/lib/components/auth/SignIn.d.ts +1 -0
- package/lib/components/auth/SignIn.js +0 -4
- package/lib/components/auth/SignIn.stories.d.ts +2 -2
- package/lib/components/avatars/BoringAvatar.d.ts +1 -1
- package/lib/components/avatars/BoringAvatar.stories.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.js +0 -4
- package/lib/components/avatars/UserAvatar.d.ts +16 -1
- package/lib/components/avatars/UserAvatar.js +15 -13
- package/lib/components/avatars/UserProfileAvatar.d.ts +1 -1
- package/lib/components/banners/NoAutomationBanner.d.ts +1 -1
- package/lib/components/billing/BillingEntitySelect.d.ts +16 -0
- package/lib/components/billing/BillingEntitySelect.js +49 -27
- package/lib/components/billing/eligibility.d.ts +22 -0
- package/lib/components/billing/eligibility.js +27 -0
- package/lib/components/billing/index.d.ts +1 -0
- package/lib/components/billing/index.js +1 -4
- package/lib/components/buttons/DownloadCSVButton.d.ts +1 -1
- package/lib/components/buttons/DownloadJsonButton.d.ts +1 -1
- package/lib/components/buttons/LongActionButton.d.ts +1 -0
- package/lib/components/buttons/LongActionButton.js +0 -4
- package/lib/components/buttons/UploadButton.d.ts +1 -0
- package/lib/components/buttons/UploadButton.js +0 -4
- package/lib/components/checkout/StripeCheckout.d.ts +1 -1
- package/lib/components/collaboration/LiveEditorCollaborators.d.ts +36 -0
- package/lib/components/collaboration/LiveEditorCollaborators.js +88 -53
- package/lib/components/collaboration/index.js +0 -4
- package/lib/components/confetti/ConfettiSuccess.d.ts +1 -1
- package/lib/components/contents/ContentSourceCard.d.ts +8 -0
- package/lib/components/contents/ContentSourceCard.js +23 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.d.ts +10 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.js +148 -0
- package/lib/components/contents/index.d.ts +2 -0
- package/lib/components/contents/index.js +6 -0
- package/lib/components/context/OrganizationSelect.d.ts +1 -1
- package/lib/components/display/AvatarSkeleton.d.ts +1 -1
- package/lib/components/display/BusyDots.d.ts +1 -1
- package/lib/components/display/CenteredSpinner.d.ts +1 -1
- package/lib/components/display/CodePreview.d.ts +1 -1
- package/lib/components/display/DatalayerBox.d.ts +7 -3
- package/lib/components/display/DatalayerBox.js +7 -7
- package/lib/components/display/HorizontalCenter.d.ts +1 -1
- package/lib/components/display/JupyterDialog.d.ts +1 -0
- package/lib/components/display/JupyterDialog.js +1 -7
- package/lib/components/display/Markdown.d.ts +1 -0
- package/lib/components/display/NavLink.js +3 -2
- package/lib/components/display/NotebookSkeleton.d.ts +1 -1
- package/lib/components/display/Placeholder.d.ts +1 -1
- package/lib/components/display/ToTopBranded.d.ts +1 -1
- package/lib/components/echarts/EChartsReact.d.ts +1 -1
- package/lib/components/flashes/FlashClosable.d.ts +1 -0
- package/lib/components/flashes/FlashClosable.js +0 -4
- package/lib/components/flashes/FlashGuest.d.ts +1 -1
- package/lib/components/flashes/FlashSurveys.d.ts +1 -1
- package/lib/components/flashes/FlashUnauthorized.d.ts +1 -0
- package/lib/components/flashes/FlashUnauthorized.js +0 -6
- package/lib/components/flashes/surveys/Survey2025_1.d.ts +1 -1
- package/lib/components/iam/ExternalTokenSilentLogin.d.ts +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/labels/StatusLabels.d.ts +2 -9
- package/lib/components/labels/StatusLabels.js +2 -26
- package/lib/components/labels/VisibilityLabel.d.ts +1 -1
- package/lib/components/landings/StepBlock.d.ts +1 -1
- package/lib/components/mcp/ClientBadge.d.ts +41 -0
- package/lib/components/mcp/ClientBadge.js +33 -0
- package/lib/components/mcp/McpErrorBlankslate.d.ts +21 -0
- package/lib/components/mcp/McpErrorBlankslate.js +17 -0
- package/lib/components/mcp/ScopeList.d.ts +28 -0
- package/lib/components/mcp/ScopeList.js +14 -0
- package/lib/components/mcp/index.d.ts +10 -0
- package/lib/components/mcp/index.js +18 -0
- package/lib/components/navbar/NavigationVisbilityObserver.d.ts +2 -1
- package/lib/components/navbar/SubdomainNavBar.d.ts +10 -5
- package/lib/components/navbar/SubdomainNavBar.js +2 -1
- package/lib/components/notebooks/JupyterNotebook.d.ts +1 -1
- package/lib/components/notebooks/JupyterNotebookToolbar.d.ts +1 -1
- package/lib/components/principal/PrincipalAppearance.d.ts +22 -42
- package/lib/components/principal/PrincipalAppearance.js +232 -182
- package/lib/components/principal/PrincipalAvatar.d.ts +9 -1
- package/lib/components/principal/PrincipalAvatar.js +18 -10
- package/lib/components/principal/PrincipalBadge.d.ts +1 -1
- package/lib/components/principal/PrincipalBanner.d.ts +1 -1
- package/lib/components/principal/PrincipalDetailsOverlay.d.ts +38 -1
- package/lib/components/principal/PrincipalDetailsOverlay.js +64 -33
- package/lib/components/principal/PrincipalHoverCard.d.ts +31 -0
- package/lib/components/principal/PrincipalHoverCard.js +52 -0
- package/lib/components/principal/PrincipalSwitcherMenu.d.ts +1 -0
- package/lib/components/principal/PrincipalSwitcherMenu.js +5 -14
- package/lib/components/principal/index.d.ts +2 -1
- package/lib/components/principal/index.js +2 -1
- package/lib/components/progress/ConsumptionBar.d.ts +1 -0
- package/lib/components/progress/ConsumptionBar.js +0 -4
- package/lib/components/progress/ProgressRing.d.ts +1 -0
- package/lib/components/progress/SpinnerBar.d.ts +1 -1
- package/lib/components/progress/Timer.d.ts +1 -0
- package/lib/components/progress/Timer.js +0 -4
- package/lib/components/screencapture/Screencapture.js +46 -3
- package/lib/components/screencapture/ScreencaptureButton.d.ts +1 -1
- package/lib/components/sharing/ShareAccessComponent.d.ts +58 -3
- package/lib/components/sharing/ShareAccessComponent.js +143 -98
- package/lib/components/sharing/SharingEditor.d.ts +21 -0
- package/lib/components/sharing/SharingEditor.js +9 -28
- package/lib/components/sharing/index.d.ts +1 -0
- package/lib/components/sharing/index.js +1 -0
- package/lib/components/sharing/sandboxSharing.d.ts +26 -0
- package/lib/components/sharing/sandboxSharing.js +41 -0
- package/lib/components/spaces/SpaceDetailsOverlay.d.ts +39 -0
- package/lib/components/spaces/SpaceDetailsOverlay.js +80 -0
- package/lib/components/spaces/SpaceDisplay.d.ts +38 -0
- package/lib/components/spaces/SpaceDisplay.js +92 -0
- package/lib/components/spaces/index.d.ts +4 -0
- package/lib/components/spaces/index.js +7 -0
- package/lib/components/spaces/spaceDisplayModel.d.ts +93 -0
- package/lib/components/spaces/spaceDisplayModel.js +170 -0
- package/lib/components/sparklines/Sparklines.js +3 -4
- package/lib/components/sparklines/index.js +0 -4
- package/lib/components/storage/ContentsBrowser.d.ts +25 -1
- package/lib/components/storage/ContentsBrowser.js +145 -52
- package/lib/components/storage/ContentsBrowserMock.d.ts +3 -0
- package/lib/components/storage/ContentsBrowserMock.js +75 -0
- package/lib/components/storage/ContentsItems.d.ts +2 -1
- package/lib/components/storage/ContentsItems.js +0 -4
- package/lib/components/storage/ContentsTable.d.ts +50 -0
- package/lib/components/storage/ContentsTable.js +134 -0
- package/lib/components/storage/HomeFolderDrive.d.ts +71 -0
- package/lib/components/storage/HomeFolderDrive.js +248 -0
- package/lib/components/storage/index.d.ts +2 -0
- package/lib/components/storage/index.js +2 -0
- package/lib/components/students/StudentItemStatus.d.ts +1 -1
- package/lib/components/students/StudentResultCircle.d.ts +1 -1
- package/lib/components/subnav/SubNav.d.ts +5 -5
- package/lib/components/subnav/SubNav.js +11 -9
- package/lib/components/tables/DataTable.d.ts +1 -1
- package/lib/components/text-reveal/TextRevealAnimation.d.ts +2 -2
- package/lib/components/text-reveal/useTextRevealAnimationLines.d.ts +1 -1
- package/lib/components/time/LiveRelativeTime.d.ts +1 -0
- package/lib/components/time/LiveRelativeTime.js +0 -8
- package/lib/components/time/index.js +0 -4
- package/lib/components/timeline/Timeline.d.ts +1 -1
- package/lib/components/timeline/index.js +0 -4
- package/lib/components/users/PeerIndicator.d.ts +1 -0
- package/lib/components/users/PeerIndicator.js +0 -4
- package/lib/config/Configuration.d.ts +15 -17
- package/lib/config/Configuration.js +7 -0
- package/lib/hooks/cacheConverters.d.ts +0 -7
- package/lib/hooks/cacheConverters.js +0 -25
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/index.js +3 -0
- package/lib/hooks/layouts/LayoutBackdrop.d.ts +1 -1
- package/lib/hooks/layouts/LayoutScreencapture.d.ts +1 -1
- package/lib/hooks/useBackdrop.d.ts +1 -1
- package/lib/hooks/useBackdropJupyterLab.d.ts +3 -2
- package/lib/hooks/useBackdropJupyterLab.js +0 -4
- package/lib/hooks/useBillingEntityStore.js +3 -0
- package/lib/hooks/useCache.d.ts +478 -130
- package/lib/hooks/useCache.js +1580 -676
- package/lib/hooks/useContainsFocus.d.ts +1 -1
- package/lib/hooks/useContents.d.ts +334 -0
- package/lib/hooks/useContents.js +1033 -0
- package/lib/hooks/useFocusTrap.d.ts +4 -4
- package/lib/hooks/useFocusTrap.js +1 -1
- package/lib/hooks/useMcp.d.ts +315 -0
- package/lib/hooks/useMcp.js +891 -0
- package/lib/hooks/useMobile.js +0 -5
- package/lib/hooks/useNavigate.d.ts +41 -3
- package/lib/hooks/useNavigate.js +106 -52
- package/lib/hooks/usePrincipalCacheStore.js +3 -0
- package/lib/hooks/usePrincipalStore.js +3 -0
- package/lib/hooks/useProjectStore.d.ts +3 -3
- package/lib/hooks/useProjectStore.js +4 -4
- package/lib/hooks/useRef.d.ts +1 -1
- package/lib/hooks/useRef.js +3 -0
- package/lib/hooks/useScreencapture.d.ts +2 -1
- package/lib/hooks/useScreencapture.js +0 -4
- package/lib/hooks/useSpaceCacheStore.d.ts +50 -0
- package/lib/hooks/useSpaceCacheStore.js +85 -0
- package/lib/hooks/useToast.js +0 -4
- package/lib/hooks/useVisibilityObserver.d.ts +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.js +3 -1
- package/lib/mocks/components/FlashMock.d.ts +1 -1
- package/lib/mocks/views/ActionMenuMock.d.ts +1 -1
- package/lib/mocks/views/ChartMock.d.ts +1 -1
- package/lib/mocks/views/DashboardMock.d.ts +1 -1
- package/lib/mocks/views/FormMock.d.ts +1 -1
- package/lib/mocks/views/TableMock.d.ts +1 -1
- package/lib/mocks/views/WipMock.d.ts +1 -1
- package/lib/models/Credits.d.ts +16 -0
- package/lib/models/Credits.js +22 -0
- package/lib/models/CreditsDTO.d.ts +6 -5
- package/lib/models/CreditsDTO.js +7 -5
- package/lib/models/McpAuditEvent.d.ts +52 -0
- package/lib/models/McpAuditEvent.js +5 -0
- package/lib/models/McpBinding.d.ts +57 -0
- package/lib/models/McpBinding.js +5 -0
- package/lib/models/McpPolicy.d.ts +77 -0
- package/lib/models/McpPolicy.js +5 -0
- package/lib/models/McpTask.d.ts +94 -0
- package/lib/models/McpTask.js +7 -0
- package/lib/models/Organization.d.ts +69 -0
- package/lib/models/Organization.js +96 -0
- package/lib/models/Secret.d.ts +1 -2
- package/lib/models/Secret.js +2 -18
- package/lib/models/StartedBy.d.ts +91 -0
- package/lib/models/StartedBy.js +117 -0
- package/lib/models/Team.d.ts +2 -0
- package/lib/models/Team.js +2 -0
- package/lib/models/User.d.ts +4 -0
- package/lib/models/User.js +3 -0
- package/lib/models/UserDTO.js +4 -2
- package/lib/models/UserSettings.d.ts +13 -0
- package/lib/models/UserSettings.js +9 -0
- package/lib/models/contents/__fixtures__/solr-codec.json +57 -0
- package/lib/models/contents/__fixtures__/v1-contracts.json +194 -0
- package/lib/models/contents/fieldCase.d.ts +8 -0
- package/lib/models/contents/fieldCase.js +37 -0
- package/lib/models/contents/index.d.ts +2 -0
- package/lib/models/contents/index.js +6 -0
- package/lib/models/contents/permissions.d.ts +16 -0
- package/lib/models/contents/permissions.js +34 -0
- package/lib/models/index.d.ts +5 -1
- package/lib/models/index.js +5 -1
- package/lib/navigation/components.js +2 -3
- package/lib/routes/publicPaths.js +4 -0
- package/lib/state/index.d.ts +1 -0
- package/lib/state/index.js +1 -0
- package/lib/state/sessionEnd.d.ts +55 -0
- package/lib/state/sessionEnd.js +162 -0
- package/lib/state/substates/CoreState.d.ts +15 -7
- package/lib/state/substates/CoreState.js +21 -17
- package/lib/state/substates/IAMState.d.ts +1 -1
- package/lib/state/substates/IAMState.js +12 -5
- package/lib/state/substates/LayoutState.js +12 -0
- package/lib/state/substates/ProfileState.d.ts +1 -0
- package/lib/state/substates/ProfileState.js +1 -4
- package/lib/state/substates/index.d.ts +0 -1
- package/lib/state/substates/index.js +0 -1
- package/lib/utils/Jwt.d.ts +26 -0
- package/lib/utils/Jwt.js +37 -0
- package/lib/utils/Lazy.d.ts +20 -0
- package/lib/utils/Lazy.js +32 -6
- package/lib/utils/Screencapture.js +3 -0
- package/lib/utils/WithSuspense.d.ts +11 -1
- package/lib/utils/WithSuspense.js +11 -1
- package/lib/views/api-keys/APIKeyEdit.d.ts +1 -1
- package/lib/views/api-keys/APIKeyNew.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.js +30 -4
- package/lib/views/api-keys/APIKeysStandalone.d.ts +5 -1
- package/lib/views/api-keys/APIKeysStandalone.js +2 -2
- package/lib/views/datasources/DatasourceDetail.d.ts +12 -5
- package/lib/views/datasources/DatasourceDetail.js +80 -110
- package/lib/views/datasources/DatasourceNew.d.ts +14 -8
- package/lib/views/datasources/DatasourceNew.js +129 -118
- package/lib/views/datasources/Datasources.d.ts +39 -7
- package/lib/views/datasources/Datasources.js +95 -40
- package/lib/views/datasources/DatasourcesMock.d.ts +3 -0
- package/lib/views/datasources/DatasourcesMock.js +57 -0
- package/lib/views/iam/SignInSimple.d.ts +12 -0
- package/lib/views/iam/SignInSimple.js +4 -4
- package/lib/views/index.d.ts +1 -0
- package/lib/views/index.js +1 -0
- package/lib/views/mcp/AdmittedClients.d.ts +44 -0
- package/lib/views/mcp/AdmittedClients.js +59 -0
- package/lib/views/mcp/AlertDestinations.d.ts +34 -0
- package/lib/views/mcp/AlertDestinations.js +75 -0
- package/lib/views/mcp/AlertRules.d.ts +32 -0
- package/lib/views/mcp/AlertRules.js +245 -0
- package/lib/views/mcp/ApprovalQueue.d.ts +66 -0
- package/lib/views/mcp/ApprovalQueue.js +95 -0
- package/lib/views/mcp/AuditLog.d.ts +42 -0
- package/lib/views/mcp/AuditLog.js +144 -0
- package/lib/views/mcp/ConnectedAgents.d.ts +34 -0
- package/lib/views/mcp/ConnectedAgents.js +135 -0
- package/lib/views/mcp/EnterpriseConsole.d.ts +74 -0
- package/lib/views/mcp/EnterpriseConsole.js +195 -0
- package/lib/views/mcp/IdentityProviders.d.ts +33 -0
- package/lib/views/mcp/IdentityProviders.js +299 -0
- package/lib/views/mcp/McpDashboard.d.ts +50 -0
- package/lib/views/mcp/McpDashboard.js +430 -0
- package/lib/views/mcp/McpHome.d.ts +92 -0
- package/lib/views/mcp/McpHome.js +153 -0
- package/lib/views/mcp/McpObservability.d.ts +79 -0
- package/lib/views/mcp/McpObservability.js +236 -0
- package/lib/views/mcp/NotebookRuns.d.ts +39 -0
- package/lib/views/mcp/NotebookRuns.js +44 -0
- package/lib/views/mcp/OrganizationPolicy.d.ts +45 -0
- package/lib/views/mcp/OrganizationPolicy.js +108 -0
- package/lib/views/mcp/OrganizationUsage.d.ts +69 -0
- package/lib/views/mcp/OrganizationUsage.js +113 -0
- package/lib/views/mcp/PersonalPolicy.d.ts +54 -0
- package/lib/views/mcp/PersonalPolicy.js +126 -0
- package/lib/views/mcp/Policies.d.ts +53 -0
- package/lib/views/mcp/Policies.js +210 -0
- package/lib/views/mcp/PolicyForm.d.ts +83 -0
- package/lib/views/mcp/PolicyForm.js +113 -0
- package/lib/views/mcp/PolicyHistory.d.ts +58 -0
- package/lib/views/mcp/PolicyHistory.js +75 -0
- package/lib/views/mcp/RunDetail.d.ts +87 -0
- package/lib/views/mcp/RunDetail.js +186 -0
- package/lib/views/mcp/ScimProvisioning.d.ts +54 -0
- package/lib/views/mcp/ScimProvisioning.js +173 -0
- package/lib/views/mcp/ServiceAgents.d.ts +46 -0
- package/lib/views/mcp/ServiceAgents.js +194 -0
- package/lib/views/mcp/TeamPolicies.d.ts +33 -0
- package/lib/views/mcp/TeamPolicies.js +159 -0
- package/lib/views/mcp/ToolAccess.d.ts +60 -0
- package/lib/views/mcp/ToolAccess.js +101 -0
- package/lib/views/mcp/TraceTimeline.d.ts +81 -0
- package/lib/views/mcp/TraceTimeline.js +132 -0
- package/lib/views/mcp/format.d.ts +25 -0
- package/lib/views/mcp/format.js +77 -0
- package/lib/views/mcp/index.d.ts +34 -0
- package/lib/views/mcp/index.js +42 -0
- package/lib/views/mcp/types.d.ts +66 -0
- package/lib/views/mcp/types.js +5 -0
- package/lib/views/otel/simpleAuthStore.js +3 -0
- package/lib/views/secrets/SecretEdit.d.ts +5 -1
- package/lib/views/secrets/SecretEdit.js +5 -4
- package/lib/views/secrets/SecretNew.d.ts +11 -1
- package/lib/views/secrets/SecretNew.js +7 -3
- package/lib/views/secrets/Secrets.d.ts +12 -1
- package/lib/views/secrets/Secrets.js +2 -2
- package/package.json +269 -260
- package/scripts/generate-contents-types.py +169 -0
- package/scripts/generate-mcp-types.py +233 -0
- package/scripts/generate-orchestration-types.py +920 -0
- package/lib/api/iam/datasources.d.ts +0 -86
- package/lib/api/iam/datasources.js +0 -185
- package/lib/components/toolbars/index.d.ts +0 -1
- package/lib/models/Datasource.d.ts +0 -181
- package/lib/models/Datasource.js +0 -154
- package/lib/state/substates/DatasourceState.d.ts +0 -11
- package/lib/state/substates/DatasourceState.js +0 -16
- /package/lib/{components/toolbars/index.js → api/contents/generated.js} +0 -0
package/lib/hooks/useCache.d.ts
CHANGED
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
36
|
-
import { IAnyOrganization, IContact,
|
|
35
|
+
import { QueryClient, UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
36
|
+
import { IAnyOrganization, IContact, IIAMToken, IOrganization, ISchool, ISecret, IStudent, ITeam, IUser, IUserOnboarding, IUserSettings } from '../models';
|
|
37
37
|
type IAnySpace = any;
|
|
38
38
|
export type CacheProps = {
|
|
39
39
|
loginRoute?: string;
|
|
@@ -44,12 +44,172 @@ export type ISearchOpts = {
|
|
|
44
44
|
max: number;
|
|
45
45
|
public: boolean;
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Forget everything a session was told, without orphaning what is on screen.
|
|
49
|
+
*
|
|
50
|
+
* `queryClient.clear()` is the obvious way to end a session and the wrong
|
|
51
|
+
* one. It destroys the query objects themselves, and an observer whose query
|
|
52
|
+
* is destroyed while its fetch is in flight is never answered and never asks
|
|
53
|
+
* again: it sits at `isLoading` for as long as the page stays open.
|
|
54
|
+
*
|
|
55
|
+
* Signing out is exactly that race. Ending the session swaps the whole tree
|
|
56
|
+
* for the anonymous one, which mounts the home page and starts fetching the
|
|
57
|
+
* featured ribbon; the logout response then lands on top of that fetch. The
|
|
58
|
+
* ribbon stayed a row of empty placeholders until the reader reloaded.
|
|
59
|
+
*
|
|
60
|
+
* So: drop what nobody is looking at, and reset what is on screen. A reset
|
|
61
|
+
* forgets the answer the person who has left was given and asks the question
|
|
62
|
+
* again as whoever is here now, which is what signing out means for a page
|
|
63
|
+
* that is still open.
|
|
64
|
+
*/
|
|
65
|
+
export declare const forgetSession: (client: QueryClient) => void;
|
|
47
66
|
/**
|
|
48
67
|
* Centralized query key factories for all entities
|
|
49
68
|
* Following TanStack Query best practices for key structure
|
|
50
69
|
* @see https://tanstack.com/query/latest/docs/framework/react/guides/query-keys
|
|
51
70
|
*/
|
|
52
71
|
export declare const queryKeys: {
|
|
72
|
+
readonly contents: {
|
|
73
|
+
readonly all: () => readonly ["contents"];
|
|
74
|
+
readonly sources: () => readonly ["contents", "sources"];
|
|
75
|
+
readonly capabilities: () => readonly ["contents", "capabilities"];
|
|
76
|
+
readonly sourceList: (filters?: {
|
|
77
|
+
kind?: string;
|
|
78
|
+
cursor?: string;
|
|
79
|
+
limit?: number;
|
|
80
|
+
}) => readonly ["contents", "sources", "list", {
|
|
81
|
+
kind?: string;
|
|
82
|
+
cursor?: string;
|
|
83
|
+
limit?: number;
|
|
84
|
+
}];
|
|
85
|
+
readonly source: (sourceUid: string) => readonly ["contents", "sources", "detail", string];
|
|
86
|
+
readonly sourceSharing: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "sharing"];
|
|
87
|
+
readonly datasetRevisions: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "revisions"];
|
|
88
|
+
readonly datasetRevision: (sourceUid: string, revisionUid: string) => readonly ["contents", "sources", "detail", string, "revisions", string];
|
|
89
|
+
readonly datasetPublications: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "publications"];
|
|
90
|
+
readonly publishedDatasets: () => readonly ["contents", "publications", "datasets"];
|
|
91
|
+
readonly cloudObjects: (sourceUid: string, prefix?: string, cursor?: string) => readonly ["contents", "sources", "detail", string, "cloud", "objects", string, string];
|
|
92
|
+
readonly credentialDiagnostics: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "diagnostics"];
|
|
93
|
+
readonly homeFolder: () => readonly ["contents", "sources", "user-folder"];
|
|
94
|
+
readonly homeFolderQuota: () => readonly ["contents", "sources", "user-folder", "quota"];
|
|
95
|
+
readonly homeFolderObjects: (filters?: {
|
|
96
|
+
prefix?: string;
|
|
97
|
+
cursor?: string;
|
|
98
|
+
limit?: number;
|
|
99
|
+
order?: "path" | "updated";
|
|
100
|
+
}) => readonly ["contents", "sources", "user-folder", "objects", "list", {
|
|
101
|
+
prefix?: string;
|
|
102
|
+
cursor?: string;
|
|
103
|
+
limit?: number;
|
|
104
|
+
order?: "path" | "updated";
|
|
105
|
+
}];
|
|
106
|
+
readonly homeFolderObject: (path: string) => readonly ["contents", "sources", "user-folder", "objects", "stat", string];
|
|
107
|
+
readonly homeFolderObjectVersions: (objectUid: string, cursor?: string) => readonly ["contents", "sources", "user-folder", "objects", string, "versions", string];
|
|
108
|
+
readonly operations: () => readonly ["contents", "operations"];
|
|
109
|
+
readonly operation: (operationUid: string) => readonly ["contents", "operations", string];
|
|
110
|
+
readonly transfers: () => readonly ["contents", "transfers"];
|
|
111
|
+
readonly transferList: (filters?: {
|
|
112
|
+
active?: boolean;
|
|
113
|
+
cursor?: string;
|
|
114
|
+
limit?: number;
|
|
115
|
+
}) => readonly ["contents", "transfers", "list", {
|
|
116
|
+
active?: boolean;
|
|
117
|
+
cursor?: string;
|
|
118
|
+
limit?: number;
|
|
119
|
+
}];
|
|
120
|
+
readonly transfer: (transferUid: string) => readonly ["contents", "transfers", string];
|
|
121
|
+
readonly syncSessions: () => readonly ["contents", "sync"];
|
|
122
|
+
readonly syncSessionList: (filters?: {
|
|
123
|
+
active?: boolean;
|
|
124
|
+
cursor?: string;
|
|
125
|
+
limit?: number;
|
|
126
|
+
}) => readonly ["contents", "sync", "list", {
|
|
127
|
+
active?: boolean;
|
|
128
|
+
cursor?: string;
|
|
129
|
+
limit?: number;
|
|
130
|
+
}];
|
|
131
|
+
readonly syncSession: (sessionUid: string) => readonly ["contents", "sync", string];
|
|
132
|
+
readonly syncConflicts: (sessionUid: string) => readonly ["contents", "sync", string, "conflicts"];
|
|
133
|
+
readonly attachments: () => readonly ["contents", "attachments"];
|
|
134
|
+
readonly attachmentList: (filters?: {
|
|
135
|
+
sandboxUid?: string;
|
|
136
|
+
sourceUid?: string;
|
|
137
|
+
active?: boolean;
|
|
138
|
+
}) => readonly ["contents", "attachments", "list", {
|
|
139
|
+
sandboxUid?: string;
|
|
140
|
+
sourceUid?: string;
|
|
141
|
+
active?: boolean;
|
|
142
|
+
}];
|
|
143
|
+
readonly attachmentManifest: (sandboxUid: string) => readonly ["contents", "attachments", "manifest", string];
|
|
144
|
+
readonly bridgeSession: (attachmentUid: string) => readonly ["contents", "attachments", "bridge", string];
|
|
145
|
+
readonly bridges: () => readonly ["contents", "bridges"];
|
|
146
|
+
readonly bridgeList: (filters?: {
|
|
147
|
+
active?: boolean;
|
|
148
|
+
}) => readonly ["contents", "bridges", "list", {
|
|
149
|
+
active?: boolean;
|
|
150
|
+
}];
|
|
151
|
+
readonly bridge: (bridgeUid: string) => readonly ["contents", "bridges", string];
|
|
152
|
+
readonly runtimeMounts: (runtimeName: string) => readonly ["contents", "runtime-mounts", string];
|
|
153
|
+
readonly mcpTools: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "mcp", "tools"];
|
|
154
|
+
readonly mcpSessions: () => readonly ["contents", "mcp-sessions"];
|
|
155
|
+
readonly mcpSessionList: (filters?: {
|
|
156
|
+
sourceUid?: string;
|
|
157
|
+
active?: boolean;
|
|
158
|
+
}) => readonly ["contents", "mcp-sessions", "list", {
|
|
159
|
+
sourceUid?: string;
|
|
160
|
+
active?: boolean;
|
|
161
|
+
}];
|
|
162
|
+
readonly mcpSession: (sessionUid: string) => readonly ["contents", "mcp-sessions", string];
|
|
163
|
+
readonly mcpCalls: (sessionUid: string) => readonly ["contents", "mcp-sessions", string, "calls"];
|
|
164
|
+
readonly mcpCall: (sessionUid: string, callUid: string) => readonly ["contents", "mcp-sessions", string, "calls", string];
|
|
165
|
+
readonly mcpApprovals: () => readonly ["contents", "mcp-approvals"];
|
|
166
|
+
readonly mcpApprovalList: (filters?: {
|
|
167
|
+
status?: string;
|
|
168
|
+
sourceUid?: string;
|
|
169
|
+
}) => readonly ["contents", "mcp-approvals", "list", {
|
|
170
|
+
status?: string;
|
|
171
|
+
sourceUid?: string;
|
|
172
|
+
}];
|
|
173
|
+
readonly datasourceSchema: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "datasource", "schema"];
|
|
174
|
+
readonly datasourceCapabilities: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "datasource", "capabilities"];
|
|
175
|
+
readonly datasourceQueries: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "queries"];
|
|
176
|
+
readonly queries: () => readonly ["contents", "queries"];
|
|
177
|
+
readonly query: (queryUid: string) => readonly ["contents", "queries", string];
|
|
178
|
+
readonly dataserverStatus: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "dataserver", "status"];
|
|
179
|
+
};
|
|
180
|
+
readonly mcp: {
|
|
181
|
+
readonly all: () => readonly ["mcp"];
|
|
182
|
+
readonly tasks: () => readonly ["mcp", "tasks"];
|
|
183
|
+
readonly taskList: (filters?: object) => readonly ["mcp", "tasks", "list", object];
|
|
184
|
+
readonly task: (taskUid: string) => readonly ["mcp", "tasks", string];
|
|
185
|
+
readonly notebookTasks: (notebookUid: string, filters?: object) => readonly ["mcp", "tasks", "notebook", string, object];
|
|
186
|
+
readonly bindings: () => readonly ["mcp", "bindings"];
|
|
187
|
+
readonly bindingList: (filters?: object) => readonly ["mcp", "bindings", "list", object];
|
|
188
|
+
readonly activity: (filters?: object) => readonly ["mcp", "activity", object];
|
|
189
|
+
readonly audit: () => readonly ["mcp", "audit"];
|
|
190
|
+
readonly auditList: (filters?: object) => readonly ["mcp", "audit", "list", object];
|
|
191
|
+
readonly policy: (filters?: object) => readonly ["mcp", "policy", object];
|
|
192
|
+
readonly connectedAgents: () => readonly ["mcp", "connected-agents"];
|
|
193
|
+
readonly serviceAgents: (orgUid: string) => readonly ["mcp", "service-agents", string];
|
|
194
|
+
readonly policyLayer: (scope: string, subjectUid: string) => readonly ["mcp", "policy-layer", string, string];
|
|
195
|
+
readonly alertRules: (orgUid: string) => readonly ["mcp", "alert-rules", string];
|
|
196
|
+
readonly identityProviders: (orgUid: string) => readonly ["mcp", "identity-providers", string];
|
|
197
|
+
readonly scimTokens: (orgUid: string) => readonly ["mcp", "scim-tokens", string];
|
|
198
|
+
readonly admittedClients: (scope: string, subjectUid: string) => readonly ["mcp", "admitted-clients", string, string];
|
|
199
|
+
readonly forwarding: (orgUid: string) => readonly ["mcp", "audit-forwarding", string];
|
|
200
|
+
readonly auditSettings: (orgUid: string) => readonly ["mcp", "audit-settings", string];
|
|
201
|
+
readonly organizationTeams: (orgUid: string) => readonly ["mcp", "organization-teams", string];
|
|
202
|
+
readonly trace: (taskUid: string) => readonly ["mcp", "tasks", string, "trace"];
|
|
203
|
+
readonly traceById: (traceId: string) => readonly ["mcp", "traces", string];
|
|
204
|
+
readonly logs: (taskUid: string) => readonly ["mcp", "tasks", string, "logs"];
|
|
205
|
+
readonly metrics: (filters?: object) => readonly ["mcp", "metrics", object];
|
|
206
|
+
readonly operations: () => readonly ["mcp", "operations"];
|
|
207
|
+
readonly workers: () => readonly ["mcp", "operations", "workers"];
|
|
208
|
+
readonly workflows: () => readonly ["mcp", "operations", "workflows"];
|
|
209
|
+
readonly gatewayVersion: () => readonly ["mcp", "version"];
|
|
210
|
+
readonly orgOverview: (orgUid: string, filters?: object) => readonly ["mcp", "organizations", string, "overview", object];
|
|
211
|
+
readonly orgUsage: (orgUid: string, filters?: object) => readonly ["mcp", "organizations", string, "usage", object];
|
|
212
|
+
};
|
|
53
213
|
readonly auth: {
|
|
54
214
|
readonly me: () => readonly ["auth", "me"];
|
|
55
215
|
readonly whoami: () => readonly ["auth", "whoami"];
|
|
@@ -115,18 +275,19 @@ export declare const queryKeys: {
|
|
|
115
275
|
readonly bySpace: (spaceId: string) => readonly ["documents", "space", string];
|
|
116
276
|
readonly model: (documentId: string) => readonly ["documents", "detail", string, "model"];
|
|
117
277
|
};
|
|
278
|
+
readonly decks: {
|
|
279
|
+
readonly all: () => readonly ["decks"];
|
|
280
|
+
readonly details: () => readonly ["decks", "detail"];
|
|
281
|
+
readonly detail: (id: string) => readonly ["decks", "detail", string];
|
|
282
|
+
readonly bySpace: (spaceId: string) => readonly ["decks", "space", string];
|
|
283
|
+
readonly model: (deckId: string) => readonly ["decks", "detail", string, "model"];
|
|
284
|
+
};
|
|
118
285
|
readonly cells: {
|
|
119
286
|
readonly all: () => readonly ["cells"];
|
|
120
287
|
readonly details: () => readonly ["cells", "detail"];
|
|
121
288
|
readonly detail: (id: string) => readonly ["cells", "detail", string];
|
|
122
289
|
readonly bySpace: (spaceId: string) => readonly ["cells", "space", string];
|
|
123
290
|
};
|
|
124
|
-
readonly datasets: {
|
|
125
|
-
readonly all: () => readonly ["datasets"];
|
|
126
|
-
readonly details: () => readonly ["datasets", "detail"];
|
|
127
|
-
readonly detail: (id: string) => readonly ["datasets", "detail", string];
|
|
128
|
-
readonly bySpace: (spaceId: string) => readonly ["datasets", "space", string];
|
|
129
|
-
};
|
|
130
291
|
readonly lessons: {
|
|
131
292
|
readonly all: () => readonly ["lessons"];
|
|
132
293
|
readonly details: () => readonly ["lessons", "detail"];
|
|
@@ -153,16 +314,6 @@ export declare const queryKeys: {
|
|
|
153
314
|
readonly detail: (id: string) => readonly ["environments", "detail", string];
|
|
154
315
|
readonly bySpace: (spaceId: string) => readonly ["environments", "space", string];
|
|
155
316
|
};
|
|
156
|
-
readonly pages: {
|
|
157
|
-
readonly all: () => readonly ["pages"];
|
|
158
|
-
readonly details: () => readonly ["pages", "detail"];
|
|
159
|
-
readonly detail: (id: string) => readonly ["pages", "detail", string];
|
|
160
|
-
};
|
|
161
|
-
readonly datasources: {
|
|
162
|
-
readonly all: () => readonly ["datasources"];
|
|
163
|
-
readonly details: () => readonly ["datasources", "detail"];
|
|
164
|
-
readonly detail: (id: string) => readonly ["datasources", "detail", string];
|
|
165
|
-
};
|
|
166
317
|
readonly secrets: {
|
|
167
318
|
readonly all: () => readonly ["secrets"];
|
|
168
319
|
readonly details: () => readonly ["secrets", "detail"];
|
|
@@ -211,8 +362,14 @@ export declare const queryKeys: {
|
|
|
211
362
|
readonly items: {
|
|
212
363
|
readonly all: () => readonly ["items"];
|
|
213
364
|
readonly public: () => readonly ["items", "public"];
|
|
365
|
+
readonly publicItem: (uid: string) => readonly ["items", "public", string];
|
|
214
366
|
readonly bySpace: (spaceId: string) => readonly ["items", "space", string];
|
|
215
367
|
readonly search: (opts: ISearchOpts) => readonly ["items", "search", ISearchOpts];
|
|
368
|
+
readonly featured: () => readonly ["items", "featured"];
|
|
369
|
+
readonly orbits: () => readonly ["items", "orbits"];
|
|
370
|
+
readonly orbiters: (uid: string) => readonly ["items", "orbiters", string];
|
|
371
|
+
readonly derivations: (uid: string) => readonly ["items", "derivations", string];
|
|
372
|
+
readonly byOwner: (handle: string) => readonly ["items", "owner", string];
|
|
216
373
|
};
|
|
217
374
|
readonly layout: {
|
|
218
375
|
readonly byAccount: (accountHandle: string, spaceHandle?: string) => readonly ["layout", string, string] | readonly ["layout", string];
|
|
@@ -265,13 +422,14 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
265
422
|
password: string;
|
|
266
423
|
}, unknown>;
|
|
267
424
|
useLogout: () => import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
268
|
-
useMe: (token?: string) => import("@tanstack/react-query").UseQueryResult<
|
|
425
|
+
useMe: (token?: string) => import("@tanstack/react-query").UseQueryResult<IUser | null | undefined, Error>;
|
|
269
426
|
useUpdateMe: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
270
427
|
email: string;
|
|
271
428
|
firstName: string;
|
|
272
429
|
lastName: string;
|
|
273
430
|
avatarIcon?: string;
|
|
274
431
|
banner?: string;
|
|
432
|
+
showOrbits?: boolean;
|
|
275
433
|
}, unknown>;
|
|
276
434
|
useWhoami: () => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
277
435
|
useChangePassword: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
@@ -358,11 +516,11 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
358
516
|
body: object;
|
|
359
517
|
token: string;
|
|
360
518
|
}, unknown>;
|
|
361
|
-
useUser: (userId: string) => import("@tanstack/react-query").UseQueryResult<
|
|
519
|
+
useUser: (userId: string) => import("@tanstack/react-query").UseQueryResult<IUser | undefined, Error>;
|
|
362
520
|
useUserByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
363
521
|
useUserPublicProfileByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
364
|
-
useSearchUsers: (namingPattern: string) => import("@tanstack/react-query").UseQueryResult<
|
|
365
|
-
useUsersByUids: (userIds: string[]) => import("@tanstack/react-query").UseQueryResult<
|
|
522
|
+
useSearchUsers: (namingPattern: string) => import("@tanstack/react-query").UseQueryResult<IUser[], Error>;
|
|
523
|
+
useUsersByUids: (userIds: string[]) => import("@tanstack/react-query").UseQueryResult<IUser[], Error>;
|
|
366
524
|
useUpdateUserOnboarding: () => import("@tanstack/react-query").UseMutationResult<any, Error, IUserOnboarding, unknown>;
|
|
367
525
|
useUpdateUserSettings: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
368
526
|
userId: string;
|
|
@@ -413,11 +571,11 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
413
571
|
}, unknown>;
|
|
414
572
|
useUsages: (scopeOrOptions?: {
|
|
415
573
|
accountUid?: string;
|
|
416
|
-
} | Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
417
|
-
useUsagesForUser: (userId: string, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
418
|
-
usePlatformUsages: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
419
|
-
useOrganization: (organizationId: string) => import("@tanstack/react-query").UseQueryResult<
|
|
420
|
-
useOrganizationByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<
|
|
574
|
+
} | Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
575
|
+
useUsagesForUser: (userId: string, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
576
|
+
usePlatformUsages: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
577
|
+
useOrganization: (organizationId: string) => import("@tanstack/react-query").UseQueryResult<IOrganization, Error>;
|
|
578
|
+
useOrganizationByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<IOrganization | null, Error>;
|
|
421
579
|
useOrganizationPublicProfileByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
422
580
|
useUserOrganizations: () => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
423
581
|
useCreateOrganization: () => import("@tanstack/react-query").UseMutationResult<any, Error, Partial<IOrganization>, unknown>;
|
|
@@ -444,8 +602,8 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
444
602
|
useRefreshUserOrganizations: () => import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
445
603
|
useUserOrganizationById: (organizationId: string) => any;
|
|
446
604
|
useClearCachedOrganizations: (options?: UseMutationOptions<void, Error, void>) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
|
|
447
|
-
useTeam: (teamId: string, organizationId: string) => import("@tanstack/react-query").UseQueryResult<
|
|
448
|
-
useTeamByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<
|
|
605
|
+
useTeam: (teamId: string, organizationId: string) => import("@tanstack/react-query").UseQueryResult<ITeam, Error>;
|
|
606
|
+
useTeamByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<ITeam | null, Error>;
|
|
449
607
|
useTeamsByOrganization: (organizationId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
450
608
|
useCreateTeam: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
451
609
|
team: Partial<ITeam>;
|
|
@@ -476,7 +634,7 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
476
634
|
}, unknown>;
|
|
477
635
|
useRefreshTeams: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
478
636
|
useClearCachedTeams: (options?: UseMutationOptions<void, Error, void>) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
|
|
479
|
-
useSchools: () => import("@tanstack/react-query").UseQueryResult<
|
|
637
|
+
useSchools: () => import("@tanstack/react-query").UseQueryResult<ISchool[], Error>;
|
|
480
638
|
useRefreshSchools: (options?: UseMutationOptions<unknown, Error, void>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, void, unknown>;
|
|
481
639
|
useSpace: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
482
640
|
useOrganizationSpace: (organizationId: string, spaceId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
@@ -540,7 +698,6 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
540
698
|
name: string;
|
|
541
699
|
description: string;
|
|
542
700
|
}, unknown>;
|
|
543
|
-
usePublicCourses: () => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
544
701
|
useInstructorCourses: (userId?: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
545
702
|
useCourseEnrollments: () => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
546
703
|
useEnrollStudentToCourse: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
@@ -564,7 +721,6 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
564
721
|
itemIds: string[];
|
|
565
722
|
}, unknown>;
|
|
566
723
|
useRefreshCourse: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
567
|
-
useRefreshPublicCourses: (options?: UseMutationOptions<unknown, Error, void>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, void, unknown>;
|
|
568
724
|
useRefreshInstructorCourses: (options?: UseMutationOptions<unknown, Error, void>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, void, unknown>;
|
|
569
725
|
useRefreshCoursesEnrollments: (options?: UseMutationOptions<unknown, Error, void>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, void, unknown>;
|
|
570
726
|
useRefreshStudent: (options?: UseMutationOptions<unknown, Error, {
|
|
@@ -595,6 +751,25 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
595
751
|
useCloneNotebook: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
596
752
|
useRefreshNotebook: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
597
753
|
useRefreshSpaceNotebooks: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
754
|
+
useDeck: (deckId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
755
|
+
useDecksBySpace: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
756
|
+
useCreateDeck: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
757
|
+
spaceId: string;
|
|
758
|
+
name: string;
|
|
759
|
+
description?: string;
|
|
760
|
+
deckType?: string;
|
|
761
|
+
file?: File;
|
|
762
|
+
}, unknown>;
|
|
763
|
+
useUpdateDeck: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
764
|
+
id: string;
|
|
765
|
+
name: string;
|
|
766
|
+
description: string;
|
|
767
|
+
}, unknown>;
|
|
768
|
+
useUpdateDeckModel: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
769
|
+
deckId: string;
|
|
770
|
+
spec: unknown;
|
|
771
|
+
}, unknown>;
|
|
772
|
+
useCloneDeck: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
598
773
|
useDocument: (documentId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
599
774
|
useDocumentsBySpace: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
600
775
|
useCreateDocument: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
@@ -630,40 +805,6 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
630
805
|
useCloneCell: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
631
806
|
useRefreshCell: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
632
807
|
useRefreshSpaceCells: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
633
|
-
useDataset: (datasetId: string, scope?: {
|
|
634
|
-
selectedPrincipalUid?: string;
|
|
635
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
636
|
-
}) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
637
|
-
useDatasetsBySpace: (spaceId: string, scope?: {
|
|
638
|
-
selectedPrincipalUid?: string;
|
|
639
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
640
|
-
}) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
641
|
-
useUpdateDataset: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
642
|
-
id: string;
|
|
643
|
-
name: string;
|
|
644
|
-
description: string;
|
|
645
|
-
spaceId?: string;
|
|
646
|
-
selectedPrincipalUid?: string;
|
|
647
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
648
|
-
}, unknown>;
|
|
649
|
-
useRefreshDataset: (options?: UseMutationOptions<unknown, Error, string | {
|
|
650
|
-
datasetId: string;
|
|
651
|
-
selectedPrincipalUid?: string;
|
|
652
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
653
|
-
}>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string | {
|
|
654
|
-
datasetId: string;
|
|
655
|
-
selectedPrincipalUid?: string;
|
|
656
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
657
|
-
}, unknown>;
|
|
658
|
-
useRefreshSpaceDatasets: (options?: UseMutationOptions<unknown, Error, string | {
|
|
659
|
-
spaceId: string;
|
|
660
|
-
selectedPrincipalUid?: string;
|
|
661
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
662
|
-
}>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string | {
|
|
663
|
-
spaceId: string;
|
|
664
|
-
selectedPrincipalUid?: string;
|
|
665
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
666
|
-
}, unknown>;
|
|
667
808
|
useEnvironment: (environmentId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
668
809
|
useEnvironmentsBySpace: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
669
810
|
useRefreshEnvironment: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
@@ -722,48 +863,113 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
722
863
|
}, unknown>;
|
|
723
864
|
useRefreshSpaceAssignments: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
724
865
|
useDeleteItem: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
725
|
-
useSpaceItems: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<
|
|
726
|
-
useSpaceDefaultItems: (spaceId: string | undefined) => import("@tanstack/react-query").UseQueryResult<
|
|
866
|
+
useSpaceItems: (spaceId: string) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
867
|
+
useSpaceDefaultItems: (spaceId: string | undefined) => import("@tanstack/react-query").UseQueryResult<{
|
|
727
868
|
defaultNotebookUid: string | null;
|
|
728
869
|
defaultDocumentUid: string | null;
|
|
729
|
-
}
|
|
870
|
+
}, Error>;
|
|
730
871
|
useMakeItemPublic: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
731
872
|
useMakeItemPrivate: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
732
|
-
useSearchPublicItems: () => import("@tanstack/react-query").UseMutationResult<
|
|
873
|
+
useSearchPublicItems: () => import("@tanstack/react-query").UseMutationResult<{
|
|
874
|
+
items: any;
|
|
875
|
+
total: number;
|
|
876
|
+
offset: number;
|
|
877
|
+
}, Error, {
|
|
733
878
|
q?: string;
|
|
734
879
|
types?: string[];
|
|
735
880
|
max?: number;
|
|
736
|
-
|
|
737
|
-
|
|
881
|
+
offset?: number;
|
|
882
|
+
/** `relevance`, `recent` or `orbits`. */
|
|
883
|
+
sort?: string;
|
|
884
|
+
featured?: boolean;
|
|
885
|
+
/** Only this account's artifacts: what a public profile page lists. */
|
|
886
|
+
owner?: string;
|
|
887
|
+
}, unknown>;
|
|
888
|
+
useLibraryArtifacts: (max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
738
889
|
usePublications: (options?: UseQueryOptions<unknown, Error>) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
739
|
-
|
|
890
|
+
useFeaturedItems: (max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
891
|
+
useAllFeaturedItems: (options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
892
|
+
usePublicItem: (itemId?: string, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
893
|
+
useAccountPublications: (handle?: string, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
894
|
+
useMyOrbits: (offset?: number, max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
895
|
+
useAccountOrbits: (handle?: string, offset?: number, max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
896
|
+
useItemOrbiters: (itemId?: string, offset?: number, max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
897
|
+
useItemDerivations: (itemId?: string, offset?: number, max?: number, options?: UseQueryOptions<any, Error>) => import("@tanstack/react-query").DefinedUseQueryResult<unknown, Error>;
|
|
898
|
+
useOrbitItem: () => import("@tanstack/react-query").UseMutationResult<{
|
|
899
|
+
itemId: string;
|
|
900
|
+
orbits: number;
|
|
901
|
+
orbited: boolean;
|
|
902
|
+
}, Error, string, {
|
|
903
|
+
itemId: string;
|
|
904
|
+
}>;
|
|
905
|
+
useUnorbitItem: () => import("@tanstack/react-query").UseMutationResult<{
|
|
906
|
+
itemId: string;
|
|
907
|
+
orbits: number;
|
|
908
|
+
orbited: boolean;
|
|
909
|
+
}, Error, string, {
|
|
910
|
+
itemId: string;
|
|
911
|
+
}>;
|
|
912
|
+
useFeatureItem: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
913
|
+
itemId: string;
|
|
914
|
+
rank?: number;
|
|
915
|
+
}, unknown>;
|
|
916
|
+
useUnfeatureItem: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
917
|
+
useSetFeaturedRank: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
918
|
+
itemId: string;
|
|
919
|
+
rank: number;
|
|
920
|
+
}, unknown>;
|
|
921
|
+
useSetItemImage: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
922
|
+
itemId: string;
|
|
923
|
+
kind: "capture" | "box" | "icon";
|
|
924
|
+
ref?: string;
|
|
925
|
+
data?: string;
|
|
926
|
+
}, unknown>;
|
|
927
|
+
useResetItemImage: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
928
|
+
useCountItemReuse: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
929
|
+
itemId: string;
|
|
930
|
+
kind: "clone" | "instantiate";
|
|
931
|
+
}, unknown>;
|
|
932
|
+
useSyncArtifactCatalogue: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
933
|
+
artifacts: Array<Record<string, any>>;
|
|
934
|
+
artifactType?: string;
|
|
935
|
+
}, unknown>;
|
|
936
|
+
usePublishArtifact: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
937
|
+
itemId: string;
|
|
938
|
+
image?: {
|
|
939
|
+
kind: "capture" | "box" | "icon";
|
|
940
|
+
ref?: string;
|
|
941
|
+
data?: string;
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* The publisher's own words for their work, which is what somebody
|
|
945
|
+
* else will search for.
|
|
946
|
+
*
|
|
947
|
+
* Sent with the visibility rather than in a write of their own: the
|
|
948
|
+
* service writes them onto the artifact in the same operation that
|
|
949
|
+
* makes it public, so publishing still costs what it cost. Omitted
|
|
950
|
+
* entirely, they are left as they were — which is what withdrawing
|
|
951
|
+
* wants, and what an older caller gets.
|
|
952
|
+
*/
|
|
953
|
+
tags?: string[];
|
|
954
|
+
/**
|
|
955
|
+
* What the artifact says about itself, in the publisher's words.
|
|
956
|
+
*
|
|
957
|
+
* Sent with the visibility for the same reason the tags are: the
|
|
958
|
+
* service writes it onto the artifact in the operation that makes it
|
|
959
|
+
* public. Omitted entirely, it is left as it was.
|
|
960
|
+
*/
|
|
961
|
+
description?: string;
|
|
962
|
+
}, unknown>;
|
|
963
|
+
useUnpublishArtifact: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
964
|
+
useUpdateArtifactDetails: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
965
|
+
itemId: string;
|
|
966
|
+
name?: string;
|
|
967
|
+
description?: string;
|
|
968
|
+
tags?: string[];
|
|
969
|
+
}, unknown>;
|
|
740
970
|
useRefreshSpaceItems: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
741
971
|
useClearCachedPublicItems: (options?: UseMutationOptions<void, Error, void>) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
|
|
742
972
|
useClearCachedItems: (options?: UseMutationOptions<void, Error, void>) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
|
|
743
|
-
usePage: (pageId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
744
|
-
usePages: (scope?: {
|
|
745
|
-
selectedPrincipalUid?: string;
|
|
746
|
-
selectedPrincipalKind?: "personal" | "organization" | "team";
|
|
747
|
-
}) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
748
|
-
useCreatePage: () => import("@tanstack/react-query").UseMutationResult<any, Error, Omit<any, "id">, unknown>;
|
|
749
|
-
useUpdatePage: () => import("@tanstack/react-query").UseMutationResult<any, Error, Pick<any, "name" | "id" | "tags" | "description">, unknown>;
|
|
750
|
-
useDeletePage: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
751
|
-
useDatasource: (datasourceId: string, options?: {
|
|
752
|
-
principalUid?: string;
|
|
753
|
-
principalKind?: "personal" | "organization" | "team";
|
|
754
|
-
}) => import("@tanstack/react-query").UseQueryResult<NoInfer<IDatasource | null | undefined>, Error>;
|
|
755
|
-
useDatasources: (options?: {
|
|
756
|
-
principalUid?: string;
|
|
757
|
-
principalKind?: "personal" | "organization" | "team";
|
|
758
|
-
}) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
759
|
-
useCreateDatasource: (options?: {
|
|
760
|
-
principalUid?: string;
|
|
761
|
-
principalKind?: "personal" | "organization" | "team";
|
|
762
|
-
}) => import("@tanstack/react-query").UseMutationResult<any, Error, Omit<IDatasource, "id">, unknown>;
|
|
763
|
-
useUpdateDatasource: (options?: {
|
|
764
|
-
principalUid?: string;
|
|
765
|
-
principalKind?: "personal" | "organization" | "team";
|
|
766
|
-
}) => import("@tanstack/react-query").UseMutationResult<any, Error, IDatasource, unknown>;
|
|
767
973
|
useSecret: (secretId: string, options?: {
|
|
768
974
|
principalUid?: string;
|
|
769
975
|
principalKind?: "personal" | "organization" | "team";
|
|
@@ -771,7 +977,7 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
771
977
|
refetchOnMount?: boolean | "always";
|
|
772
978
|
staleTime?: number;
|
|
773
979
|
gcTime?: number;
|
|
774
|
-
}) => import("@tanstack/react-query").UseQueryResult<
|
|
980
|
+
}) => import("@tanstack/react-query").UseQueryResult<ISecret | null | undefined, Error>;
|
|
775
981
|
useSecrets: (options?: {
|
|
776
982
|
principalUid?: string;
|
|
777
983
|
principalKind?: "personal" | "organization" | "team";
|
|
@@ -788,12 +994,12 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
788
994
|
principalUid?: string;
|
|
789
995
|
principalKind?: "personal" | "organization" | "team";
|
|
790
996
|
}) => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
791
|
-
useToken: (tokenId: string) => import("@tanstack/react-query").UseQueryResult<
|
|
792
|
-
useTokens: () => import("@tanstack/react-query").UseQueryResult<
|
|
997
|
+
useToken: (tokenId: string) => import("@tanstack/react-query").UseQueryResult<IIAMToken | null | undefined, Error>;
|
|
998
|
+
useTokens: () => import("@tanstack/react-query").UseQueryResult<(IIAMToken | undefined)[], Error>;
|
|
793
999
|
useCreateToken: () => import("@tanstack/react-query").UseMutationResult<any, Error, Omit<IIAMToken, "value" | "id">, unknown>;
|
|
794
1000
|
useUpdateToken: () => import("@tanstack/react-query").UseMutationResult<any, Error, IIAMToken, unknown>;
|
|
795
1001
|
useDeleteToken: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
796
|
-
useInvite: (token: string) => import("@tanstack/react-query").UseQueryResult<
|
|
1002
|
+
useInvite: (token: string) => import("@tanstack/react-query").UseQueryResult<import("..").IInvite | undefined, Error>;
|
|
797
1003
|
useInvitesByUser: (accountId: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
798
1004
|
usePutInvite: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
799
1005
|
useRequestInvite: (options?: UseMutationOptions<unknown, Error, {
|
|
@@ -825,8 +1031,8 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
825
1031
|
useClearCachedInvites: (options?: UseMutationOptions<void, Error, void>) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
|
|
826
1032
|
useContact: (contactId: string, options?: {
|
|
827
1033
|
enabled?: boolean;
|
|
828
|
-
}) => import("@tanstack/react-query").UseQueryResult<
|
|
829
|
-
useContactByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<
|
|
1034
|
+
}) => import("@tanstack/react-query").UseQueryResult<IContact | undefined, Error>;
|
|
1035
|
+
useContactByHandle: (handle: string) => import("@tanstack/react-query").UseQueryResult<IContact | null | undefined, Error>;
|
|
830
1036
|
useSearchContacts: (query: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
831
1037
|
useCreateContact: () => import("@tanstack/react-query").UseMutationResult<any, Error, IContact, unknown>;
|
|
832
1038
|
useUpdateContact: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
@@ -864,15 +1070,16 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
864
1070
|
contactId: string;
|
|
865
1071
|
}, unknown>;
|
|
866
1072
|
useRefreshContact: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
867
|
-
useInbounds: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
1073
|
+
useInbounds: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
868
1074
|
useInbound: (id: string, options?: UseQueryOptions<unknown, Error>) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
869
1075
|
useInboundByHandle: (handle: string, options?: UseQueryOptions<unknown, Error>) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
870
1076
|
useRefreshInbound: (options?: UseMutationOptions<unknown, Error, string>) => import("@tanstack/react-query").UseMutationResult<unknown, Error, string, unknown>;
|
|
871
1077
|
useOutbound: (outboundId: string, options?: Omit<UseQueryOptions<unknown>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
872
|
-
useOutbounds: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
1078
|
+
useOutbounds: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
873
1079
|
useDraftBulkEmailsOutbounds: () => import("@tanstack/react-query").UseMutationResult<any, Error, unknown, unknown>;
|
|
874
1080
|
useTryBulkEmailsOutbounds: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
875
1081
|
useLaunchBulkEmailsOutbounds: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
1082
|
+
useMarkOutboundLaunched: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
876
1083
|
useSendOutboundEmailToUser: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
877
1084
|
userId: string;
|
|
878
1085
|
recipient: string;
|
|
@@ -910,9 +1117,9 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
910
1117
|
}, options?: Omit<UseQueryOptions<any>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
911
1118
|
useSubscriptionPlans: (scope?: {
|
|
912
1119
|
accountUid?: string;
|
|
913
|
-
}, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
914
|
-
useEligibleSubscriptionAccounts: (options?: Omit<UseQueryOptions<any[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
915
|
-
useSubscriptionAccountsDetails: (accountUids: string[], options?: Omit<UseQueryOptions<any[]>, "queryKey" | "queryFn" | "enabled">) => import("@tanstack/react-query").UseQueryResult<
|
|
1120
|
+
}, options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
1121
|
+
useEligibleSubscriptionAccounts: (options?: Omit<UseQueryOptions<any[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
1122
|
+
useSubscriptionAccountsDetails: (accountUids: string[], options?: Omit<UseQueryOptions<any[]>, "queryKey" | "queryFn" | "enabled">) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
916
1123
|
useCancelSubscription: (scope?: {
|
|
917
1124
|
accountUid?: string;
|
|
918
1125
|
}) => import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
@@ -922,7 +1129,7 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
922
1129
|
useUserSubscription: (userId: string | undefined, options?: Omit<UseQueryOptions<any>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
923
1130
|
useResetUserSubscription: () => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
924
1131
|
useBurnCredit: () => import("@tanstack/react-query").UseMutationResult<any, Error, number, unknown>;
|
|
925
|
-
useTopUpPrices: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<
|
|
1132
|
+
useTopUpPrices: (options?: Omit<UseQueryOptions<unknown[]>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
926
1133
|
useRequestPlatformSupport: () => import("@tanstack/react-query").UseMutationResult<any, Error, {
|
|
927
1134
|
subject: string;
|
|
928
1135
|
message: string;
|
|
@@ -939,21 +1146,162 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
939
1146
|
useUserSurveys: (userId: string, options?: Omit<UseQueryOptions<unknown>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
940
1147
|
useGrowthKPI: (options?: Omit<UseQueryOptions<unknown>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
941
1148
|
useGrowthContactsKPI: (options?: Omit<UseQueryOptions<unknown>, "queryKey" | "queryFn">) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
942
|
-
useRayClusters: () => import("@tanstack/react-query").UseQueryResult<
|
|
1149
|
+
useRayClusters: () => import("@tanstack/react-query").UseQueryResult<{
|
|
943
1150
|
clusters: any[];
|
|
944
1151
|
namespaces: string[];
|
|
945
|
-
}
|
|
1152
|
+
}, Error>;
|
|
946
1153
|
useRayCluster: (namespace?: string, clusterName?: string) => import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
947
1154
|
useCreateRayCluster: () => import("@tanstack/react-query").UseMutationResult<any, Error, Record<string, unknown>, unknown>;
|
|
948
1155
|
useDeleteRayCluster: (namespace?: string) => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
949
|
-
useRayJobs: (namespace?: string, clusterName?: string) => import("@tanstack/react-query").UseQueryResult<
|
|
1156
|
+
useRayJobs: (namespace?: string, clusterName?: string) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
950
1157
|
useSubmitRayJob: (clusterName: string) => import("@tanstack/react-query").UseMutationResult<any, Error, Record<string, unknown>, unknown>;
|
|
951
1158
|
useDeleteRayJob: (namespace?: string) => import("@tanstack/react-query").UseMutationResult<any, Error, string, unknown>;
|
|
952
|
-
useRayJobLogs: (jobName: string, namespace?: string, tailLines?: number, enabled?: boolean) => import("@tanstack/react-query").UseQueryResult<
|
|
1159
|
+
useRayJobLogs: (jobName: string, namespace?: string, tailLines?: number, enabled?: boolean) => import("@tanstack/react-query").UseQueryResult<{
|
|
953
1160
|
logs: string;
|
|
954
1161
|
status: string;
|
|
955
|
-
}
|
|
1162
|
+
}, Error>;
|
|
956
1163
|
queryKeys: {
|
|
1164
|
+
readonly contents: {
|
|
1165
|
+
readonly all: () => readonly ["contents"];
|
|
1166
|
+
readonly sources: () => readonly ["contents", "sources"];
|
|
1167
|
+
readonly capabilities: () => readonly ["contents", "capabilities"];
|
|
1168
|
+
readonly sourceList: (filters?: {
|
|
1169
|
+
kind?: string;
|
|
1170
|
+
cursor?: string;
|
|
1171
|
+
limit?: number;
|
|
1172
|
+
}) => readonly ["contents", "sources", "list", {
|
|
1173
|
+
kind?: string;
|
|
1174
|
+
cursor?: string;
|
|
1175
|
+
limit?: number;
|
|
1176
|
+
}];
|
|
1177
|
+
readonly source: (sourceUid: string) => readonly ["contents", "sources", "detail", string];
|
|
1178
|
+
readonly sourceSharing: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "sharing"];
|
|
1179
|
+
readonly datasetRevisions: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "revisions"];
|
|
1180
|
+
readonly datasetRevision: (sourceUid: string, revisionUid: string) => readonly ["contents", "sources", "detail", string, "revisions", string];
|
|
1181
|
+
readonly datasetPublications: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "publications"];
|
|
1182
|
+
readonly publishedDatasets: () => readonly ["contents", "publications", "datasets"];
|
|
1183
|
+
readonly cloudObjects: (sourceUid: string, prefix?: string, cursor?: string) => readonly ["contents", "sources", "detail", string, "cloud", "objects", string, string];
|
|
1184
|
+
readonly credentialDiagnostics: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "diagnostics"];
|
|
1185
|
+
readonly homeFolder: () => readonly ["contents", "sources", "user-folder"];
|
|
1186
|
+
readonly homeFolderQuota: () => readonly ["contents", "sources", "user-folder", "quota"];
|
|
1187
|
+
readonly homeFolderObjects: (filters?: {
|
|
1188
|
+
prefix?: string;
|
|
1189
|
+
cursor?: string;
|
|
1190
|
+
limit?: number;
|
|
1191
|
+
order?: "path" | "updated";
|
|
1192
|
+
}) => readonly ["contents", "sources", "user-folder", "objects", "list", {
|
|
1193
|
+
prefix?: string;
|
|
1194
|
+
cursor?: string;
|
|
1195
|
+
limit?: number;
|
|
1196
|
+
order?: "path" | "updated";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly homeFolderObject: (path: string) => readonly ["contents", "sources", "user-folder", "objects", "stat", string];
|
|
1199
|
+
readonly homeFolderObjectVersions: (objectUid: string, cursor?: string) => readonly ["contents", "sources", "user-folder", "objects", string, "versions", string];
|
|
1200
|
+
readonly operations: () => readonly ["contents", "operations"];
|
|
1201
|
+
readonly operation: (operationUid: string) => readonly ["contents", "operations", string];
|
|
1202
|
+
readonly transfers: () => readonly ["contents", "transfers"];
|
|
1203
|
+
readonly transferList: (filters?: {
|
|
1204
|
+
active?: boolean;
|
|
1205
|
+
cursor?: string;
|
|
1206
|
+
limit?: number;
|
|
1207
|
+
}) => readonly ["contents", "transfers", "list", {
|
|
1208
|
+
active?: boolean;
|
|
1209
|
+
cursor?: string;
|
|
1210
|
+
limit?: number;
|
|
1211
|
+
}];
|
|
1212
|
+
readonly transfer: (transferUid: string) => readonly ["contents", "transfers", string];
|
|
1213
|
+
readonly syncSessions: () => readonly ["contents", "sync"];
|
|
1214
|
+
readonly syncSessionList: (filters?: {
|
|
1215
|
+
active?: boolean;
|
|
1216
|
+
cursor?: string;
|
|
1217
|
+
limit?: number;
|
|
1218
|
+
}) => readonly ["contents", "sync", "list", {
|
|
1219
|
+
active?: boolean;
|
|
1220
|
+
cursor?: string;
|
|
1221
|
+
limit?: number;
|
|
1222
|
+
}];
|
|
1223
|
+
readonly syncSession: (sessionUid: string) => readonly ["contents", "sync", string];
|
|
1224
|
+
readonly syncConflicts: (sessionUid: string) => readonly ["contents", "sync", string, "conflicts"];
|
|
1225
|
+
readonly attachments: () => readonly ["contents", "attachments"];
|
|
1226
|
+
readonly attachmentList: (filters?: {
|
|
1227
|
+
sandboxUid?: string;
|
|
1228
|
+
sourceUid?: string;
|
|
1229
|
+
active?: boolean;
|
|
1230
|
+
}) => readonly ["contents", "attachments", "list", {
|
|
1231
|
+
sandboxUid?: string;
|
|
1232
|
+
sourceUid?: string;
|
|
1233
|
+
active?: boolean;
|
|
1234
|
+
}];
|
|
1235
|
+
readonly attachmentManifest: (sandboxUid: string) => readonly ["contents", "attachments", "manifest", string];
|
|
1236
|
+
readonly bridgeSession: (attachmentUid: string) => readonly ["contents", "attachments", "bridge", string];
|
|
1237
|
+
readonly bridges: () => readonly ["contents", "bridges"];
|
|
1238
|
+
readonly bridgeList: (filters?: {
|
|
1239
|
+
active?: boolean;
|
|
1240
|
+
}) => readonly ["contents", "bridges", "list", {
|
|
1241
|
+
active?: boolean;
|
|
1242
|
+
}];
|
|
1243
|
+
readonly bridge: (bridgeUid: string) => readonly ["contents", "bridges", string];
|
|
1244
|
+
readonly runtimeMounts: (runtimeName: string) => readonly ["contents", "runtime-mounts", string];
|
|
1245
|
+
readonly mcpTools: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "mcp", "tools"];
|
|
1246
|
+
readonly mcpSessions: () => readonly ["contents", "mcp-sessions"];
|
|
1247
|
+
readonly mcpSessionList: (filters?: {
|
|
1248
|
+
sourceUid?: string;
|
|
1249
|
+
active?: boolean;
|
|
1250
|
+
}) => readonly ["contents", "mcp-sessions", "list", {
|
|
1251
|
+
sourceUid?: string;
|
|
1252
|
+
active?: boolean;
|
|
1253
|
+
}];
|
|
1254
|
+
readonly mcpSession: (sessionUid: string) => readonly ["contents", "mcp-sessions", string];
|
|
1255
|
+
readonly mcpCalls: (sessionUid: string) => readonly ["contents", "mcp-sessions", string, "calls"];
|
|
1256
|
+
readonly mcpCall: (sessionUid: string, callUid: string) => readonly ["contents", "mcp-sessions", string, "calls", string];
|
|
1257
|
+
readonly mcpApprovals: () => readonly ["contents", "mcp-approvals"];
|
|
1258
|
+
readonly mcpApprovalList: (filters?: {
|
|
1259
|
+
status?: string;
|
|
1260
|
+
sourceUid?: string;
|
|
1261
|
+
}) => readonly ["contents", "mcp-approvals", "list", {
|
|
1262
|
+
status?: string;
|
|
1263
|
+
sourceUid?: string;
|
|
1264
|
+
}];
|
|
1265
|
+
readonly datasourceSchema: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "datasource", "schema"];
|
|
1266
|
+
readonly datasourceCapabilities: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "datasource", "capabilities"];
|
|
1267
|
+
readonly datasourceQueries: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "queries"];
|
|
1268
|
+
readonly queries: () => readonly ["contents", "queries"];
|
|
1269
|
+
readonly query: (queryUid: string) => readonly ["contents", "queries", string];
|
|
1270
|
+
readonly dataserverStatus: (sourceUid: string) => readonly ["contents", "sources", "detail", string, "dataserver", "status"];
|
|
1271
|
+
};
|
|
1272
|
+
readonly mcp: {
|
|
1273
|
+
readonly all: () => readonly ["mcp"];
|
|
1274
|
+
readonly tasks: () => readonly ["mcp", "tasks"];
|
|
1275
|
+
readonly taskList: (filters?: object) => readonly ["mcp", "tasks", "list", object];
|
|
1276
|
+
readonly task: (taskUid: string) => readonly ["mcp", "tasks", string];
|
|
1277
|
+
readonly notebookTasks: (notebookUid: string, filters?: object) => readonly ["mcp", "tasks", "notebook", string, object];
|
|
1278
|
+
readonly bindings: () => readonly ["mcp", "bindings"];
|
|
1279
|
+
readonly bindingList: (filters?: object) => readonly ["mcp", "bindings", "list", object];
|
|
1280
|
+
readonly activity: (filters?: object) => readonly ["mcp", "activity", object];
|
|
1281
|
+
readonly audit: () => readonly ["mcp", "audit"];
|
|
1282
|
+
readonly auditList: (filters?: object) => readonly ["mcp", "audit", "list", object];
|
|
1283
|
+
readonly policy: (filters?: object) => readonly ["mcp", "policy", object];
|
|
1284
|
+
readonly connectedAgents: () => readonly ["mcp", "connected-agents"];
|
|
1285
|
+
readonly serviceAgents: (orgUid: string) => readonly ["mcp", "service-agents", string];
|
|
1286
|
+
readonly policyLayer: (scope: string, subjectUid: string) => readonly ["mcp", "policy-layer", string, string];
|
|
1287
|
+
readonly alertRules: (orgUid: string) => readonly ["mcp", "alert-rules", string];
|
|
1288
|
+
readonly identityProviders: (orgUid: string) => readonly ["mcp", "identity-providers", string];
|
|
1289
|
+
readonly scimTokens: (orgUid: string) => readonly ["mcp", "scim-tokens", string];
|
|
1290
|
+
readonly admittedClients: (scope: string, subjectUid: string) => readonly ["mcp", "admitted-clients", string, string];
|
|
1291
|
+
readonly forwarding: (orgUid: string) => readonly ["mcp", "audit-forwarding", string];
|
|
1292
|
+
readonly auditSettings: (orgUid: string) => readonly ["mcp", "audit-settings", string];
|
|
1293
|
+
readonly organizationTeams: (orgUid: string) => readonly ["mcp", "organization-teams", string];
|
|
1294
|
+
readonly trace: (taskUid: string) => readonly ["mcp", "tasks", string, "trace"];
|
|
1295
|
+
readonly traceById: (traceId: string) => readonly ["mcp", "traces", string];
|
|
1296
|
+
readonly logs: (taskUid: string) => readonly ["mcp", "tasks", string, "logs"];
|
|
1297
|
+
readonly metrics: (filters?: object) => readonly ["mcp", "metrics", object];
|
|
1298
|
+
readonly operations: () => readonly ["mcp", "operations"];
|
|
1299
|
+
readonly workers: () => readonly ["mcp", "operations", "workers"];
|
|
1300
|
+
readonly workflows: () => readonly ["mcp", "operations", "workflows"];
|
|
1301
|
+
readonly gatewayVersion: () => readonly ["mcp", "version"];
|
|
1302
|
+
readonly orgOverview: (orgUid: string, filters?: object) => readonly ["mcp", "organizations", string, "overview", object];
|
|
1303
|
+
readonly orgUsage: (orgUid: string, filters?: object) => readonly ["mcp", "organizations", string, "usage", object];
|
|
1304
|
+
};
|
|
957
1305
|
readonly auth: {
|
|
958
1306
|
readonly me: () => readonly ["auth", "me"];
|
|
959
1307
|
readonly whoami: () => readonly ["auth", "whoami"];
|
|
@@ -1019,18 +1367,19 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
1019
1367
|
readonly bySpace: (spaceId: string) => readonly ["documents", "space", string];
|
|
1020
1368
|
readonly model: (documentId: string) => readonly ["documents", "detail", string, "model"];
|
|
1021
1369
|
};
|
|
1370
|
+
readonly decks: {
|
|
1371
|
+
readonly all: () => readonly ["decks"];
|
|
1372
|
+
readonly details: () => readonly ["decks", "detail"];
|
|
1373
|
+
readonly detail: (id: string) => readonly ["decks", "detail", string];
|
|
1374
|
+
readonly bySpace: (spaceId: string) => readonly ["decks", "space", string];
|
|
1375
|
+
readonly model: (deckId: string) => readonly ["decks", "detail", string, "model"];
|
|
1376
|
+
};
|
|
1022
1377
|
readonly cells: {
|
|
1023
1378
|
readonly all: () => readonly ["cells"];
|
|
1024
1379
|
readonly details: () => readonly ["cells", "detail"];
|
|
1025
1380
|
readonly detail: (id: string) => readonly ["cells", "detail", string];
|
|
1026
1381
|
readonly bySpace: (spaceId: string) => readonly ["cells", "space", string];
|
|
1027
1382
|
};
|
|
1028
|
-
readonly datasets: {
|
|
1029
|
-
readonly all: () => readonly ["datasets"];
|
|
1030
|
-
readonly details: () => readonly ["datasets", "detail"];
|
|
1031
|
-
readonly detail: (id: string) => readonly ["datasets", "detail", string];
|
|
1032
|
-
readonly bySpace: (spaceId: string) => readonly ["datasets", "space", string];
|
|
1033
|
-
};
|
|
1034
1383
|
readonly lessons: {
|
|
1035
1384
|
readonly all: () => readonly ["lessons"];
|
|
1036
1385
|
readonly details: () => readonly ["lessons", "detail"];
|
|
@@ -1057,16 +1406,6 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
1057
1406
|
readonly detail: (id: string) => readonly ["environments", "detail", string];
|
|
1058
1407
|
readonly bySpace: (spaceId: string) => readonly ["environments", "space", string];
|
|
1059
1408
|
};
|
|
1060
|
-
readonly pages: {
|
|
1061
|
-
readonly all: () => readonly ["pages"];
|
|
1062
|
-
readonly details: () => readonly ["pages", "detail"];
|
|
1063
|
-
readonly detail: (id: string) => readonly ["pages", "detail", string];
|
|
1064
|
-
};
|
|
1065
|
-
readonly datasources: {
|
|
1066
|
-
readonly all: () => readonly ["datasources"];
|
|
1067
|
-
readonly details: () => readonly ["datasources", "detail"];
|
|
1068
|
-
readonly detail: (id: string) => readonly ["datasources", "detail", string];
|
|
1069
|
-
};
|
|
1070
1409
|
readonly secrets: {
|
|
1071
1410
|
readonly all: () => readonly ["secrets"];
|
|
1072
1411
|
readonly details: () => readonly ["secrets", "detail"];
|
|
@@ -1115,8 +1454,14 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
1115
1454
|
readonly items: {
|
|
1116
1455
|
readonly all: () => readonly ["items"];
|
|
1117
1456
|
readonly public: () => readonly ["items", "public"];
|
|
1457
|
+
readonly publicItem: (uid: string) => readonly ["items", "public", string];
|
|
1118
1458
|
readonly bySpace: (spaceId: string) => readonly ["items", "space", string];
|
|
1119
1459
|
readonly search: (opts: ISearchOpts) => readonly ["items", "search", ISearchOpts];
|
|
1460
|
+
readonly featured: () => readonly ["items", "featured"];
|
|
1461
|
+
readonly orbits: () => readonly ["items", "orbits"];
|
|
1462
|
+
readonly orbiters: (uid: string) => readonly ["items", "orbiters", string];
|
|
1463
|
+
readonly derivations: (uid: string) => readonly ["items", "derivations", string];
|
|
1464
|
+
readonly byOwner: (handle: string) => readonly ["items", "owner", string];
|
|
1120
1465
|
};
|
|
1121
1466
|
readonly layout: {
|
|
1122
1467
|
readonly byAccount: (accountHandle: string, spaceHandle?: string) => readonly ["layout", string, string] | readonly ["layout", string];
|
|
@@ -1157,5 +1502,8 @@ export declare const useCache: ({ loginRoute }?: CacheProps) => {
|
|
|
1157
1502
|
documentUploadLoading: boolean;
|
|
1158
1503
|
documentUploadProgress: number;
|
|
1159
1504
|
resetDocumentUpload: () => void;
|
|
1505
|
+
deckUploadLoading: boolean;
|
|
1506
|
+
deckUploadProgress: number;
|
|
1507
|
+
resetDeckUpload: () => void;
|
|
1160
1508
|
};
|
|
1161
1509
|
export default useCache;
|