ydb-embedded-ui 6.15.1 → 6.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
- package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
- package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
- package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
- package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +6 -0
- package/dist/components/EmptyState/EmptyState.js +6 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
- package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
- package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
- package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
- package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
- package/dist/components/InfoViewer/InfoViewer.js +0 -1
- package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
- package/dist/components/InfoViewer/index.d.ts +1 -1
- package/dist/components/InfoViewer/index.js +1 -1
- package/dist/components/InfoViewer/index.js.map +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
- package/dist/components/PageMeta/PageMeta.d.ts +2 -1
- package/dist/components/PageMeta/PageMeta.js +9 -4
- package/dist/components/PageMeta/PageMeta.js.map +1 -1
- package/dist/components/PageMeta/PageMeta.scss +9 -6
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
- package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +8 -0
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
- package/dist/components/PaginatedTable/TableChunk.js +53 -22
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +1 -1
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +1 -1
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +8 -1
- package/dist/components/Skeleton/Skeleton.d.ts +6 -0
- package/dist/components/Skeleton/Skeleton.js +11 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Tablet/Tablet.js +2 -2
- package/dist/components/Tablet/Tablet.js.map +1 -1
- package/dist/components/TabletState/TabletState.d.ts +6 -0
- package/dist/components/TabletState/TabletState.js +7 -0
- package/dist/components/TabletState/TabletState.js.map +1 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
- package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
- package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
- package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
- package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
- package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
- package/dist/containers/App/Content.js +1 -7
- package/dist/containers/App/Content.js.map +1 -1
- package/dist/containers/App/appSlots.d.ts +0 -6
- package/dist/containers/App/appSlots.js +0 -1
- package/dist/containers/App/appSlots.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +13 -22
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +14 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Header/Header.js +6 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +26 -30
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
- package/dist/containers/Node/Node.js +12 -6
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.d.ts +2 -1
- package/dist/containers/Node/NodePages.js +2 -2
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.d.ts +2 -1
- package/dist/containers/Nodes/Nodes.js +3 -2
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
- package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
- package/dist/containers/Nodes/PaginatedNodes.js +7 -18
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodes.d.ts +3 -6
- package/dist/containers/Nodes/getNodes.js +19 -2
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
- package/dist/containers/Nodes/getNodesColumns.js +9 -9
- package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +4 -5
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
- package/dist/containers/Storage/PaginatedStorage.js +3 -3
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +2 -2
- package/dist/containers/Storage/Storage.js +4 -4
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +8 -20
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.js +118 -54
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/Tablet.scss +4 -81
- package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
- package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
- package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
- package/dist/containers/Tablet/i18n/en.json +5 -1
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablet/utils.d.ts +1 -0
- package/dist/containers/Tablet/utils.js +4 -0
- package/dist/containers/Tablet/utils.js.map +1 -0
- package/dist/containers/Tablets/Tablets.d.ts +2 -1
- package/dist/containers/Tablets/Tablets.js +100 -90
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Acl/Acl.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -3
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
- package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
- package/dist/containers/Tenant/Info/View/View.js +3 -5
- package/dist/containers/Tenant/Info/View/View.js.map +1 -1
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/Query.js +2 -14
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +3 -21
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +13 -23
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +2 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
- package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +2 -2
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -3
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -10
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
- package/dist/containers/VDiskPage/VDiskPage.js +17 -14
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +9 -4
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
- package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
- package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
- package/dist/containers/Versions/Versions.js +3 -2
- package/dist/containers/Versions/Versions.js.map +1 -1
- package/dist/containers/Versions/groupNodes.d.ts +4 -4
- package/dist/containers/Versions/groupNodes.js.map +1 -1
- package/dist/containers/Versions/types.d.ts +2 -2
- package/dist/routes.d.ts +1 -0
- package/dist/routes.js +3 -0
- package/dist/routes.js.map +1 -1
- package/dist/services/api.d.ts +19 -12
- package/dist/services/api.js +45 -15
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -2
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +6 -10
- package/dist/store/defaultStore.d.ts +3 -5
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +2 -2
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +18 -4
- package/dist/store/reducers/executeQuery.js +50 -5
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
- package/dist/store/reducers/header/types.d.ts +7 -7
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/heatmap.js +2 -2
- package/dist/store/reducers/heatmap.js.map +1 -1
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +5 -8
- package/dist/store/reducers/index.js +0 -2
- package/dist/store/reducers/index.js.map +1 -1
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -2
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/types.d.ts +17 -1
- package/dist/store/reducers/nodes/utils.js +6 -0
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -4
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/storage/types.d.ts +15 -0
- package/dist/store/reducers/storage/types.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +14 -0
- package/dist/store/reducers/tableData.js +25 -0
- package/dist/store/reducers/tableData.js.map +1 -0
- package/dist/store/reducers/tablet.d.ts +20 -3
- package/dist/store/reducers/tablet.js +82 -13
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +15 -23
- package/dist/store/reducers/tablets.js +2 -20
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +30 -40
- package/dist/store/reducers/tenants/selectors.js +9 -8
- package/dist/store/reducers/tenants/selectors.js.map +1 -1
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -59
- package/dist/store/reducers/vdisk/types.d.ts +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +3 -3
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/store/state-url-mapping.d.ts +0 -8
- package/dist/store/state-url-mapping.js +0 -8
- package/dist/store/state-url-mapping.js.map +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/nodes.d.ts +5 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/schema/shared.d.ts +1 -3
- package/dist/types/api/schema/shared.js.map +1 -1
- package/dist/types/api/schema/table.d.ts +2 -0
- package/dist/types/api/schema/table.js.map +1 -1
- package/dist/types/api/tablet.d.ts +22 -0
- package/dist/types/store/executeQuery.d.ts +5 -2
- package/dist/types/store/heatmap.d.ts +0 -1
- package/dist/types/store/tablets.d.ts +2 -1
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +2 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
- package/dist/utils/dataFormatters/dataFormatters.js +5 -0
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/developerUI/developerUI.d.ts +1 -1
- package/dist/utils/developerUI/developerUI.js +3 -2
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
- package/package.json +2 -1
- package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
- package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
- package/dist/components/PaginatedTable/reducer.d.ts +0 -43
- package/dist/components/PaginatedTable/reducer.js +0 -104
- package/dist/components/PaginatedTable/reducer.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
- package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
- package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
- package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
- package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
- package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
- package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
- package/dist/containers/TabletsFilters/i18n/en.json +0 -3
- package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
- package/dist/containers/TabletsFilters/i18n/index.js +0 -6
- package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
- package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
- package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
- package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
- package/dist/store/reducers/tabletsFilters.d.ts +0 -45
- package/dist/store/reducers/tabletsFilters.js +0 -20
- package/dist/store/reducers/tabletsFilters.js.map +0 -1
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -6,12 +6,11 @@ export declare const customBackend: string | undefined;
|
|
6
6
|
export declare const metaBackend: string | undefined;
|
7
7
|
export declare function configureStore({ aRootReducer, singleClusterMode, api, }?: {
|
8
8
|
aRootReducer?: Reducer<{
|
9
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
9
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
10
10
|
singleClusterMode: boolean;
|
11
11
|
cluster: import("./reducers/cluster/types").ClusterState;
|
12
12
|
tenant: import("./reducers/tenant/types").TenantState;
|
13
13
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
14
|
-
tablets: import("../types/store/tablets").TabletsState;
|
15
14
|
schema: import("./reducers/schema/types").SchemaState;
|
16
15
|
tenants: import("./reducers/tenants/types").TenantsState;
|
17
16
|
partitions: import("./reducers/partitions/types").PartitionsState;
|
@@ -31,18 +30,17 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
31
30
|
} | import("../types/store/executeQuery").ExecuteQueryAction | {
|
32
31
|
readonly type: "header/SET_HEADER_BREADCRUMBS";
|
33
32
|
readonly page: import("./reducers/header/types").Page;
|
34
|
-
readonly options: {} | import("./reducers/header/types").
|
33
|
+
readonly options: {} | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
|
35
34
|
} | {
|
36
35
|
readonly type: "ENABLE_FULLSCREEN_MODE";
|
37
36
|
} | {
|
38
37
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
39
38
|
} | Action<string>, Partial<{
|
40
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api"> | undefined;
|
39
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api"> | undefined;
|
41
40
|
singleClusterMode: boolean | undefined;
|
42
41
|
cluster: import("./reducers/cluster/types").ClusterState | undefined;
|
43
42
|
tenant: import("./reducers/tenant/types").TenantState | undefined;
|
44
43
|
tooltip: never;
|
45
|
-
tablets: import("../types/store/tablets").TabletsState | undefined;
|
46
44
|
schema: never;
|
47
45
|
tenants: import("./reducers/tenants/types").TenantsState | undefined;
|
48
46
|
partitions: import("./reducers/partitions/types").PartitionsState | undefined;
|
@@ -62,12 +60,11 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
62
60
|
}): {
|
63
61
|
history: History<unknown>;
|
64
62
|
store: import("@reduxjs/toolkit").EnhancedStore<{
|
65
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
63
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
66
64
|
singleClusterMode: boolean;
|
67
65
|
cluster: import("./reducers/cluster/types").ClusterState;
|
68
66
|
tenant: import("./reducers/tenant/types").TenantState;
|
69
67
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
70
|
-
tablets: import("../types/store/tablets").TabletsState;
|
71
68
|
schema: import("./reducers/schema/types").SchemaState;
|
72
69
|
tenants: import("./reducers/tenants/types").TenantsState;
|
73
70
|
partitions: import("./reducers/partitions/types").PartitionsState;
|
@@ -87,19 +84,18 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
87
84
|
} | import("../types/store/executeQuery").ExecuteQueryAction | {
|
88
85
|
readonly type: "header/SET_HEADER_BREADCRUMBS";
|
89
86
|
readonly page: import("./reducers/header/types").Page;
|
90
|
-
readonly options: {} | import("./reducers/header/types").
|
87
|
+
readonly options: {} | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
|
91
88
|
} | {
|
92
89
|
readonly type: "ENABLE_FULLSCREEN_MODE";
|
93
90
|
} | {
|
94
91
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
95
92
|
} | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
96
93
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
97
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
94
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
98
95
|
singleClusterMode: boolean;
|
99
96
|
cluster: import("./reducers/cluster/types").ClusterState;
|
100
97
|
tenant: import("./reducers/tenant/types").TenantState;
|
101
98
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
102
|
-
tablets: import("../types/store/tablets").TabletsState;
|
103
99
|
schema: import("./reducers/schema/types").SchemaState;
|
104
100
|
tenants: import("./reducers/tenants/types").TenantsState;
|
105
101
|
partitions: import("./reducers/partitions/types").PartitionsState;
|
@@ -1,10 +1,9 @@
|
|
1
1
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
2
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
2
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
3
3
|
singleClusterMode: boolean;
|
4
4
|
cluster: import("./reducers/cluster/types").ClusterState;
|
5
5
|
tenant: import("./reducers/tenant/types").TenantState;
|
6
6
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
7
|
-
tablets: import("../types/store/tablets").TabletsState;
|
8
7
|
schema: import("./reducers/schema/types").SchemaState;
|
9
8
|
tenants: import("./reducers/tenants/types").TenantsState;
|
10
9
|
partitions: import("./reducers/partitions/types").PartitionsState;
|
@@ -24,19 +23,18 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
24
23
|
} | import("../types/store/executeQuery").ExecuteQueryAction | {
|
25
24
|
readonly type: "header/SET_HEADER_BREADCRUMBS";
|
26
25
|
readonly page: import("./reducers/header/types").Page;
|
27
|
-
readonly options: {} | import("./reducers/header/types").
|
26
|
+
readonly options: {} | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
|
28
27
|
} | {
|
29
28
|
readonly type: "ENABLE_FULLSCREEN_MODE";
|
30
29
|
} | {
|
31
30
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
32
31
|
} | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
33
32
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
34
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
33
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
35
34
|
singleClusterMode: boolean;
|
36
35
|
cluster: import("./reducers/cluster/types").ClusterState;
|
37
36
|
tenant: import("./reducers/tenant/types").TenantState;
|
38
37
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
39
|
-
tablets: import("../types/store/tablets").TabletsState;
|
40
38
|
schema: import("./reducers/schema/types").SchemaState;
|
41
39
|
tenants: import("./reducers/tenants/types").TenantsState;
|
42
40
|
partitions: import("./reducers/partitions/types").PartitionsState;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { BaseQueryFn } from '@reduxjs/toolkit/query';
|
2
|
-
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
2
|
+
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
3
|
export declare const _NEVER: unique symbol;
|
@@ -7,7 +7,7 @@ export const api = createApi({
|
|
7
7
|
*/
|
8
8
|
endpoints: () => ({}),
|
9
9
|
invalidationBehavior: 'immediately',
|
10
|
-
tagTypes: ['All', 'PDiskData', 'UserData', 'PreviewData'],
|
10
|
+
tagTypes: ['All', 'PDiskData', 'UserData', 'PreviewData', 'Tablet'],
|
11
11
|
});
|
12
12
|
export const _NEVER = Symbol();
|
13
13
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,CAAC;
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,CAAC;CACtE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC;AAG/B;;;;;GAKG;AACH,SAAS,aAAa;IAClB,OAAO;QACH,MAAM,IAAI,KAAK,CACX,+FAA+F,CAClG,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
|
@@ -29,10 +29,10 @@ export declare const selectIsUserAllowedToMakeChanges: import("reselect").Select
|
|
29
29
|
unwrapped: (state: AuthenticationState) => string | undefined;
|
30
30
|
};
|
31
31
|
export declare const authenticationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
32
|
-
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", TUserToken | undefined, "api">;
|
32
|
+
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", TUserToken | undefined, "api">;
|
33
33
|
authenticate: import("@reduxjs/toolkit/query").MutationDefinition<{
|
34
34
|
user: string;
|
35
35
|
password: string;
|
36
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
|
37
|
-
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
|
38
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
36
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", any, "api">;
|
37
|
+
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", any, "api">;
|
38
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,6 +3,6 @@ interface SendQueryParams extends Omit<QueryRequestParams, 'query'> {
|
|
3
3
|
queryId: string;
|
4
4
|
}
|
5
5
|
export declare const cancelQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
6
|
-
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IQueryResult, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
8
|
export {};
|
@@ -1,15 +1,14 @@
|
|
1
1
|
import type { Capability } from '../../../types/api/capabilities';
|
2
2
|
import type { RootState } from '../../defaultStore';
|
3
3
|
export declare const capabilitiesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, {
|
4
|
-
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
5
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
4
|
+
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
6
|
export declare const selectCapabilityVersion: ((state: {
|
7
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
7
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
8
8
|
singleClusterMode: boolean;
|
9
9
|
cluster: import("../cluster/types").ClusterState;
|
10
10
|
tenant: import("../tenant/types").TenantState;
|
11
11
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
12
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
13
12
|
schema: import("../schema/types").SchemaState;
|
14
13
|
tenants: import("../tenants/types").TenantsState;
|
15
14
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -29,12 +28,11 @@ export declare const selectCapabilityVersion: ((state: {
|
|
29
28
|
resetResultsCount: () => void;
|
30
29
|
} & {
|
31
30
|
resultFunc: (resultFuncArgs_0: {
|
32
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
31
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
33
32
|
singleClusterMode: boolean;
|
34
33
|
cluster: import("../cluster/types").ClusterState;
|
35
34
|
tenant: import("../tenant/types").TenantState;
|
36
35
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
37
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
38
36
|
schema: import("../schema/types").SchemaState;
|
39
37
|
tenants: import("../tenants/types").TenantsState;
|
40
38
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -50,12 +48,11 @@ export declare const selectCapabilityVersion: ((state: {
|
|
50
48
|
clusters: import("../clusters/types").ClustersFilters;
|
51
49
|
}, resultFuncArgs_1: Capability) => number | undefined;
|
52
50
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
53
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
51
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
54
52
|
singleClusterMode: boolean;
|
55
53
|
cluster: import("../cluster/types").ClusterState;
|
56
54
|
tenant: import("../tenant/types").TenantState;
|
57
55
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
58
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
59
56
|
schema: import("../schema/types").SchemaState;
|
60
57
|
tenants: import("../tenants/types").TenantsState;
|
61
58
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -76,12 +73,11 @@ export declare const selectCapabilityVersion: ((state: {
|
|
76
73
|
};
|
77
74
|
lastResult: () => number | undefined;
|
78
75
|
dependencies: [(state: RootState) => {
|
79
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
76
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
80
77
|
singleClusterMode: boolean;
|
81
78
|
cluster: import("../cluster/types").ClusterState;
|
82
79
|
tenant: import("../tenant/types").TenantState;
|
83
80
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
84
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
85
81
|
schema: import("../schema/types").SchemaState;
|
86
82
|
tenants: import("../tenants/types").TenantsState;
|
87
83
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -11,4 +11,7 @@ export const useDiskPagesAvailable = () => {
|
|
11
11
|
// It's enough to check only pdisk handler
|
12
12
|
return useGetFeatureVersion('/pdisk/info') > 0;
|
13
13
|
};
|
14
|
+
export const useTracingLevelOptionAvailable = () => {
|
15
|
+
return useGetFeatureVersion('/viewer/query') > 2;
|
16
|
+
};
|
14
17
|
//# sourceMappingURL=hooks.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAEvD,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,iFAAiF;IACjF,0CAA0C;IAC1C,OAAO,oBAAoB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAEvD,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,iFAAiF;IACjF,0CAA0C;IAC1C,OAAO,oBAAoB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC,CAAC"}
|
@@ -5,8 +5,8 @@ export declare function updateDefaultClusterTab(tab: string): (dispatch: Dispatc
|
|
5
5
|
declare const _default: import("redux").Reducer<ClusterState>;
|
6
6
|
export default _default;
|
7
7
|
export declare const clusterApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
8
|
-
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
|
8
|
+
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
|
9
9
|
clusterData: TClusterInfo;
|
10
10
|
groupsStats?: ClusterGroupsStats;
|
11
11
|
}, "api">;
|
12
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
12
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,5 +3,5 @@ declare const _default: import("redux").Reducer<ClustersFilters>;
|
|
3
3
|
export default _default;
|
4
4
|
export declare const changeClustersFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ClustersFilters>, "clusters/changeClustersFilters">;
|
5
5
|
export declare const clustersApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
6
|
-
getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,5 +3,5 @@ export declare const describeApi: import("@reduxjs/toolkit/query").Api<import("@
|
|
3
3
|
getDescribe: import("@reduxjs/toolkit/query").QueryDefinition<{
|
4
4
|
paths: string[];
|
5
5
|
database: string;
|
6
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IDescribeData | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IDescribeData | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -9,12 +9,26 @@ interface SendQueryParams extends QueryRequestParams {
|
|
9
9
|
schema?: Schemas;
|
10
10
|
enableTracingLevel?: boolean;
|
11
11
|
}
|
12
|
+
interface QueryStats {
|
13
|
+
durationUs?: string | number;
|
14
|
+
endTime?: string | number;
|
15
|
+
}
|
12
16
|
export declare const executeQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
13
|
-
executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
|
14
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
15
|
-
export declare const saveQueryToHistory: (queryText: string) => {
|
17
|
+
executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IQueryResult, "api">;
|
18
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
19
|
+
export declare const saveQueryToHistory: (queryText: string, queryId: string) => {
|
16
20
|
readonly type: "query/SAVE_QUERY_TO_HISTORY";
|
17
|
-
readonly data:
|
21
|
+
readonly data: {
|
22
|
+
readonly queryText: string;
|
23
|
+
readonly queryId: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
export declare function updateQueryInHistory(stats: QueryStats, queryId: string): {
|
27
|
+
readonly type: "query/UPDATE_QUERY_IN_HISTORY";
|
28
|
+
readonly data: {
|
29
|
+
readonly queryId: string;
|
30
|
+
readonly stats: QueryStats;
|
31
|
+
};
|
18
32
|
};
|
19
33
|
export declare const goToPreviousQuery: () => {
|
20
34
|
readonly type: "query/GO_TO_PREVIOUS_QUERY";
|
@@ -7,6 +7,7 @@ import { api } from './api';
|
|
7
7
|
const MAXIMUM_QUERIES_IN_HISTORY = 20;
|
8
8
|
const CHANGE_USER_INPUT = 'query/CHANGE_USER_INPUT';
|
9
9
|
const SAVE_QUERY_TO_HISTORY = 'query/SAVE_QUERY_TO_HISTORY';
|
10
|
+
const UPDATE_QUERY_IN_HISTORY = 'query/UPDATE_QUERY_IN_HISTORY';
|
10
11
|
const SET_QUERY_HISTORY_FILTER = 'query/SET_QUERY_HISTORY_FILTER';
|
11
12
|
const GO_TO_PREVIOUS_QUERY = 'query/GO_TO_PREVIOUS_QUERY';
|
12
13
|
const GO_TO_NEXT_QUERY = 'query/GO_TO_NEXT_QUERY';
|
@@ -35,8 +36,8 @@ const executeQuery = (state = initialState, action) => {
|
|
35
36
|
};
|
36
37
|
}
|
37
38
|
case SAVE_QUERY_TO_HISTORY: {
|
38
|
-
const queryText = action.data;
|
39
|
-
const newQueries = [...state.history.queries, { queryText }].slice(state.history.queries.length >= MAXIMUM_QUERIES_IN_HISTORY ? 1 : 0);
|
39
|
+
const { queryText, queryId } = action.data;
|
40
|
+
const newQueries = [...state.history.queries, { queryText, queryId }].slice(state.history.queries.length >= MAXIMUM_QUERIES_IN_HISTORY ? 1 : 0);
|
40
41
|
settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
|
41
42
|
const currentIndex = newQueries.length - 1;
|
42
43
|
return {
|
@@ -47,6 +48,31 @@ const executeQuery = (state = initialState, action) => {
|
|
47
48
|
},
|
48
49
|
};
|
49
50
|
}
|
51
|
+
case UPDATE_QUERY_IN_HISTORY: {
|
52
|
+
const { queryId, stats } = action.data;
|
53
|
+
if (!stats) {
|
54
|
+
return state;
|
55
|
+
}
|
56
|
+
const index = state.history.queries.findIndex((item) => item.queryId === queryId);
|
57
|
+
if (index === -1) {
|
58
|
+
return state;
|
59
|
+
}
|
60
|
+
const newQueries = [...state.history.queries];
|
61
|
+
const { durationUs, endTime } = stats;
|
62
|
+
newQueries.splice(index, 1, {
|
63
|
+
...state.history.queries[index],
|
64
|
+
durationUs,
|
65
|
+
endTime,
|
66
|
+
});
|
67
|
+
settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
|
68
|
+
return {
|
69
|
+
...state,
|
70
|
+
history: {
|
71
|
+
...state.history,
|
72
|
+
queries: newQueries,
|
73
|
+
},
|
74
|
+
};
|
75
|
+
}
|
50
76
|
case GO_TO_PREVIOUS_QUERY: {
|
51
77
|
const currentIndex = state.history.currentIndex;
|
52
78
|
if (currentIndex <= 0) {
|
@@ -102,7 +128,7 @@ const executeQuery = (state = initialState, action) => {
|
|
102
128
|
export const executeQueryApi = api.injectEndpoints({
|
103
129
|
endpoints: (build) => ({
|
104
130
|
executeQuery: build.mutation({
|
105
|
-
queryFn: async ({ query, database, querySettings = {}, schema = 'modern', enableTracingLevel, queryId, }, { signal }) => {
|
131
|
+
queryFn: async ({ query, database, querySettings = {}, schema = 'modern', enableTracingLevel, queryId, }, { signal, dispatch }) => {
|
106
132
|
let action = 'execute';
|
107
133
|
let syntax = QUERY_SYNTAX.yql;
|
108
134
|
if (querySettings.queryMode === 'pg') {
|
@@ -113,6 +139,7 @@ export const executeQueryApi = api.injectEndpoints({
|
|
113
139
|
action = `execute-${querySettings.queryMode}`;
|
114
140
|
}
|
115
141
|
try {
|
142
|
+
const timeStart = Date.now();
|
116
143
|
const response = await window.api.sendQuery({
|
117
144
|
schema,
|
118
145
|
query,
|
@@ -133,6 +160,18 @@ export const executeQueryApi = api.injectEndpoints({
|
|
133
160
|
return { error: response };
|
134
161
|
}
|
135
162
|
const data = parseQueryAPIExecuteResponse(response);
|
163
|
+
const queryStats = {};
|
164
|
+
if (data.stats) {
|
165
|
+
const { DurationUs, Executions: [{ FinishTimeMs }] = [{}] } = data.stats;
|
166
|
+
queryStats.durationUs = DurationUs;
|
167
|
+
queryStats.endTime = FinishTimeMs;
|
168
|
+
}
|
169
|
+
else {
|
170
|
+
const now = Date.now();
|
171
|
+
queryStats.durationUs = (now - timeStart) * 1000;
|
172
|
+
queryStats.endTime = now;
|
173
|
+
}
|
174
|
+
dispatch(updateQueryInHistory(queryStats, queryId));
|
136
175
|
return { data };
|
137
176
|
}
|
138
177
|
catch (error) {
|
@@ -143,12 +182,18 @@ export const executeQueryApi = api.injectEndpoints({
|
|
143
182
|
}),
|
144
183
|
overrideExisting: 'throw',
|
145
184
|
});
|
146
|
-
export const saveQueryToHistory = (queryText) => {
|
185
|
+
export const saveQueryToHistory = (queryText, queryId) => {
|
147
186
|
return {
|
148
187
|
type: SAVE_QUERY_TO_HISTORY,
|
149
|
-
data: queryText,
|
188
|
+
data: { queryText, queryId },
|
150
189
|
};
|
151
190
|
};
|
191
|
+
export function updateQueryInHistory(stats, queryId) {
|
192
|
+
return {
|
193
|
+
type: UPDATE_QUERY_IN_HISTORY,
|
194
|
+
data: { queryId, stats },
|
195
|
+
};
|
196
|
+
}
|
152
197
|
export const goToPreviousQuery = () => {
|
153
198
|
return {
|
154
199
|
type: GO_TO_PREVIOUS_QUERY,
|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,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClG,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,QAAiC;IACxD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,EAAE;IACpD,OAAO;QACH,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,EAAC,MAAM,EAAC;KACR,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -6,5 +6,5 @@ export declare const topQueriesApi: import("@reduxjs/toolkit/query").Api<import(
|
|
6
6
|
getTopQueries: import("@reduxjs/toolkit/query").QueryDefinition<{
|
7
7
|
database: string;
|
8
8
|
filters?: TopQueriesFilters;
|
9
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/store/query").IQueryResult | undefined, "api">;
|
10
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../types/store/query").IQueryResult | undefined, "api">;
|
10
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -6,6 +6,6 @@ interface ExplainQueryParams extends QueryRequestParams {
|
|
6
6
|
enableTracingLevel?: boolean;
|
7
7
|
}
|
8
8
|
export declare const explainQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
9
|
-
explainQuery: import("@reduxjs/toolkit/query").MutationDefinition<ExplainQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedExplainResponse, "api">;
|
10
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
explainQuery: import("@reduxjs/toolkit/query").MutationDefinition<ExplainQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedExplainResponse, "api">;
|
10
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
11
11
|
export {};
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import type { ClusterTab } from '../../../containers/Cluster/utils';
|
2
|
+
import type { NodeTab } from '../../../containers/Node/NodePages';
|
2
3
|
import type { EType } from '../../../types/api/tablet';
|
3
4
|
import type { setHeaderBreadcrumbs } from './header';
|
4
|
-
export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | '
|
5
|
+
export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | 'tablet' | undefined;
|
5
6
|
export interface ClusterBreadcrumbsOptions {
|
6
7
|
clusterName?: string;
|
7
8
|
clusterTab?: ClusterTab;
|
@@ -11,6 +12,8 @@ export interface TenantBreadcrumbsOptions extends ClusterBreadcrumbsOptions {
|
|
11
12
|
}
|
12
13
|
export interface NodeBreadcrumbsOptions extends TenantBreadcrumbsOptions {
|
13
14
|
nodeId?: string | number;
|
15
|
+
nodeActiveTab?: NodeTab;
|
16
|
+
nodeRole?: 'Storage' | 'Compute';
|
14
17
|
}
|
15
18
|
export interface PDiskBreadcrumbsOptions extends Omit<NodeBreadcrumbsOptions, 'tenantName'> {
|
16
19
|
pDiskId?: string | number;
|
@@ -18,15 +21,12 @@ export interface PDiskBreadcrumbsOptions extends Omit<NodeBreadcrumbsOptions, 't
|
|
18
21
|
export interface VDiskBreadcrumbsOptions extends PDiskBreadcrumbsOptions {
|
19
22
|
vDiskSlotId?: string | number;
|
20
23
|
}
|
21
|
-
export interface
|
22
|
-
nodeIds?: string[] | number[];
|
23
|
-
}
|
24
|
-
export interface TabletBreadcrumbsOptions extends TabletsBreadcrumbsOptions {
|
24
|
+
export interface TabletBreadcrumbsOptions extends NodeBreadcrumbsOptions {
|
25
25
|
tabletId?: string;
|
26
26
|
tabletType?: EType;
|
27
27
|
}
|
28
|
-
export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions |
|
29
|
-
export type PageBreadcrumbsOptions<T extends Page = undefined> = T extends 'cluster' ? ClusterBreadcrumbsOptions : T extends 'tenant' ? TenantBreadcrumbsOptions : T extends 'node' ? NodeBreadcrumbsOptions : T extends '
|
28
|
+
export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions | TabletBreadcrumbsOptions;
|
29
|
+
export type PageBreadcrumbsOptions<T extends Page = undefined> = T extends 'cluster' ? ClusterBreadcrumbsOptions : T extends 'tenant' ? TenantBreadcrumbsOptions : T extends 'node' ? NodeBreadcrumbsOptions : T extends 'tablet' ? TabletBreadcrumbsOptions : {};
|
30
30
|
export interface HeaderState {
|
31
31
|
page?: Page;
|
32
32
|
pageBreadcrumbsOptions: BreadcrumbsOptions;
|