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
@@ -1,19 +1,15 @@
|
|
1
|
-
import type {
|
2
|
-
import type { TabletsApiRequestParams
|
1
|
+
import type { TTabletStateInfo } from '../../types/api/tablet';
|
2
|
+
import type { TabletsApiRequestParams } from '../../types/store/tablets';
|
3
3
|
import type { RootState } from '../defaultStore';
|
4
|
-
export declare const setStateFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<ETabletState[], "tablets/setStateFilter">, setTypeFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<EType[], "tablets/setTypeFilter">;
|
5
|
-
declare const _default: import("redux").Reducer<TabletsState>;
|
6
|
-
export default _default;
|
7
4
|
export declare const tabletsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
8
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
9
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
5
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
10
7
|
export declare const selectGetTabletsInfo: ((state: {
|
11
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
8
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
12
9
|
singleClusterMode: boolean;
|
13
10
|
cluster: import("./cluster/types").ClusterState;
|
14
11
|
tenant: import("./tenant/types").TenantState;
|
15
12
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
16
|
-
tablets: TabletsState;
|
17
13
|
schema: import("./schema/types").SchemaState;
|
18
14
|
tenants: import("./tenants/types").TenantsState;
|
19
15
|
partitions: import("./partitions/types").PartitionsState;
|
@@ -33,12 +29,11 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
33
29
|
resetResultsCount: () => void;
|
34
30
|
} & {
|
35
31
|
resultFunc: (resultFuncArgs_0: {
|
36
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
32
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
37
33
|
singleClusterMode: boolean;
|
38
34
|
cluster: import("./cluster/types").ClusterState;
|
39
35
|
tenant: import("./tenant/types").TenantState;
|
40
36
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
41
|
-
tablets: TabletsState;
|
42
37
|
schema: import("./schema/types").SchemaState;
|
43
38
|
tenants: import("./tenants/types").TenantsState;
|
44
39
|
partitions: import("./partitions/types").PartitionsState;
|
@@ -53,15 +48,14 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
53
48
|
fullscreen: boolean;
|
54
49
|
clusters: import("./clusters/types").ClustersFilters;
|
55
50
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
56
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
57
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
|
51
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
52
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
|
58
53
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
59
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
54
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
60
55
|
singleClusterMode: boolean;
|
61
56
|
cluster: import("./cluster/types").ClusterState;
|
62
57
|
tenant: import("./tenant/types").TenantState;
|
63
58
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
64
|
-
tablets: TabletsState;
|
65
59
|
schema: import("./schema/types").SchemaState;
|
66
60
|
tenants: import("./tenants/types").TenantsState;
|
67
61
|
partitions: import("./partitions/types").PartitionsState;
|
@@ -76,20 +70,19 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
76
70
|
fullscreen: boolean;
|
77
71
|
clusters: import("./clusters/types").ClustersFilters;
|
78
72
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
79
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
80
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
|
73
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
74
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
|
81
75
|
clearCache: () => void;
|
82
76
|
resultsCount: () => number;
|
83
77
|
resetResultsCount: () => void;
|
84
78
|
};
|
85
79
|
lastResult: () => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
|
86
80
|
dependencies: [(state: RootState) => {
|
87
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
81
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
88
82
|
singleClusterMode: boolean;
|
89
83
|
cluster: import("./cluster/types").ClusterState;
|
90
84
|
tenant: import("./tenant/types").TenantState;
|
91
85
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
92
|
-
tablets: TabletsState;
|
93
86
|
schema: import("./schema/types").SchemaState;
|
94
87
|
tenants: import("./tenants/types").TenantsState;
|
95
88
|
partitions: import("./partitions/types").PartitionsState;
|
@@ -104,8 +97,8 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
104
97
|
fullscreen: boolean;
|
105
98
|
clusters: import("./clusters/types").ClustersFilters;
|
106
99
|
}, (_state: RootState, params: TabletsApiRequestParams) => (state: import("@reduxjs/toolkit/query").RootState<{
|
107
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
108
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
|
100
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
101
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
|
109
102
|
recomputations: () => number;
|
110
103
|
resetRecomputations: () => void;
|
111
104
|
dependencyRecomputations: () => number;
|
@@ -115,12 +108,11 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
115
108
|
memoize: typeof import("reselect").weakMapMemoize;
|
116
109
|
};
|
117
110
|
export declare const selectTabletsWithFqdn: ((state: {
|
118
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
111
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
119
112
|
singleClusterMode: boolean;
|
120
113
|
cluster: import("./cluster/types").ClusterState;
|
121
114
|
tenant: import("./tenant/types").TenantState;
|
122
115
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
123
|
-
tablets: TabletsState;
|
124
116
|
schema: import("./schema/types").SchemaState;
|
125
117
|
tenants: import("./tenants/types").TenantsState;
|
126
118
|
partitions: import("./partitions/types").PartitionsState;
|
@@ -1,25 +1,7 @@
|
|
1
|
-
import { createSelector,
|
1
|
+
import { createSelector, lruMemoize } from '@reduxjs/toolkit';
|
2
2
|
import isEqual from 'lodash/isEqual';
|
3
3
|
import { api } from './api';
|
4
4
|
import { selectNodesMap } from './nodesList';
|
5
|
-
const initialState = {
|
6
|
-
stateFilter: [],
|
7
|
-
typeFilter: [],
|
8
|
-
};
|
9
|
-
const slice = createSlice({
|
10
|
-
name: 'tablets',
|
11
|
-
initialState,
|
12
|
-
reducers: {
|
13
|
-
setStateFilter: (state, action) => {
|
14
|
-
state.stateFilter = action.payload;
|
15
|
-
},
|
16
|
-
setTypeFilter: (state, action) => {
|
17
|
-
state.typeFilter = action.payload;
|
18
|
-
},
|
19
|
-
},
|
20
|
-
});
|
21
|
-
export const { setStateFilter, setTypeFilter } = slice.actions;
|
22
|
-
export default slice.reducer;
|
23
5
|
export const tabletsApi = api.injectEndpoints({
|
24
6
|
endpoints: (build) => ({
|
25
7
|
getTabletsInfo: build.query({
|
@@ -32,7 +14,7 @@ export const tabletsApi = api.injectEndpoints({
|
|
32
14
|
return { error };
|
33
15
|
}
|
34
16
|
},
|
35
|
-
providesTags: ['All'],
|
17
|
+
providesTags: ['All', { type: 'Tablet', id: 'LIST' }],
|
36
18
|
}),
|
37
19
|
}),
|
38
20
|
overrideExisting: 'throw',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tablets.js","sourceRoot":"","sources":["../../../src/store/reducers/tablets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,
|
1
|
+
{"version":3,"file":"tablets.js","sourceRoot":"","sources":["../../../src/store/reducers/tablets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAMrC,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,MAA+B,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACzD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC/D,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAC,CAAC;SACtD,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,cAAc,CACzC,CAAC,MAA+B,EAAE,EAAE,CAAC,MAAM,EAC3C,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,EAC9D;IACI,WAAW,EAAE,UAAU;IACvB,kBAAkB,EAAE,EAAC,aAAa,EAAE,OAAO,EAAC;CAC/C,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAC9C,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,EAC3B,CAAC,MAAiB,EAAE,MAA+B,EAAE,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,EACtF,CAAC,KAAK,EAAE,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,IAAI,CAC9D,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,cAAc,CAC/C,CAAC,KAAgB,EAAE,MAA+B,EAAE,EAAE,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1F,CAAC,KAAgB,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3C,CAAC,IAAI,EAAE,QAAQ,EAA0C,EAAE;IACvD,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,CAAA,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QACvC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACnF,OAAO,EAAC,GAAG,MAAM,EAAE,IAAI,EAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC,CACJ,CAAC"}
|
@@ -5,5 +5,5 @@ export declare const setTenantPage: import("@reduxjs/toolkit").ActionCreatorWith
|
|
5
5
|
export declare const tenantApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
6
6
|
getTenantInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
7
7
|
path: string;
|
8
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/api/tenant").TTenant | null | undefined, "api">;
|
9
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../types/api/tenant").TTenant | null | undefined, "api">;
|
9
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const topTablesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, {
|
2
2
|
getTopTables: import("@reduxjs/toolkit/query").QueryDefinition<{
|
3
3
|
path: string;
|
4
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
5
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
4
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { NodesApiRequestParams } from '../../nodes/types';
|
2
2
|
export declare const topNodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, {
|
3
|
-
getTopNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../nodes/types").NodesPreparedEntity[] | undefined, "api">;
|
4
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
|
+
getTopNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../nodes/types").NodesPreparedEntity[] | undefined, "api">;
|
4
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -2,5 +2,5 @@ export declare const topShardsApi: import("@reduxjs/toolkit/query").Api<import("
|
|
2
2
|
getTopShards: import("@reduxjs/toolkit/query").QueryDefinition<{
|
3
3
|
database: string;
|
4
4
|
path?: string;
|
5
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
6
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { StorageApiRequestParams } from '../../storage/types';
|
2
2
|
export declare const topStorageGroupsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, {
|
3
|
-
getTopStorageGroups: import("@reduxjs/toolkit/query").QueryDefinition<StorageApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../storage/types").PreparedStorageGroup[] | undefined, "api">;
|
4
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
|
+
getTopStorageGroups: import("@reduxjs/toolkit/query").QueryDefinition<StorageApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../storage/types").PreparedStorageGroup[] | undefined, "api">;
|
4
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -2,12 +2,11 @@ import type { RootState } from '../..';
|
|
2
2
|
import type { ProblemFilterValue } from '../settings/types';
|
3
3
|
import type { PreparedTenant, TenantsStateSlice } from './types';
|
4
4
|
export declare const selectTenants: ((state: {
|
5
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
5
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
6
6
|
singleClusterMode: boolean;
|
7
7
|
cluster: import("../cluster/types").ClusterState;
|
8
8
|
tenant: import("../tenant/types").TenantState;
|
9
9
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
10
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
11
10
|
schema: import("../schema/types").SchemaState;
|
12
11
|
tenants: import("./types").TenantsState;
|
13
12
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -27,12 +26,11 @@ export declare const selectTenants: ((state: {
|
|
27
26
|
resetResultsCount: () => void;
|
28
27
|
} & {
|
29
28
|
resultFunc: (resultFuncArgs_0: {
|
30
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
29
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
31
30
|
singleClusterMode: boolean;
|
32
31
|
cluster: import("../cluster/types").ClusterState;
|
33
32
|
tenant: import("../tenant/types").TenantState;
|
34
33
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
35
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
36
34
|
schema: import("../schema/types").SchemaState;
|
37
35
|
tenants: import("./types").TenantsState;
|
38
36
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -49,17 +47,16 @@ export declare const selectTenants: ((state: {
|
|
49
47
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
50
48
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
51
49
|
clusterName?: string;
|
52
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
53
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
50
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
51
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
54
52
|
clusterName?: string;
|
55
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
53
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, resultFuncArgs_2: any) => PreparedTenant[];
|
56
54
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
57
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
55
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
58
56
|
singleClusterMode: boolean;
|
59
57
|
cluster: import("../cluster/types").ClusterState;
|
60
58
|
tenant: import("../tenant/types").TenantState;
|
61
59
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
62
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
63
60
|
schema: import("../schema/types").SchemaState;
|
64
61
|
tenants: import("./types").TenantsState;
|
65
62
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -76,22 +73,21 @@ export declare const selectTenants: ((state: {
|
|
76
73
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
77
74
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
78
75
|
clusterName?: string;
|
79
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
80
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
76
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
77
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
81
78
|
clusterName?: string;
|
82
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
79
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, resultFuncArgs_2: any) => PreparedTenant[]) & {
|
83
80
|
clearCache: () => void;
|
84
81
|
resultsCount: () => number;
|
85
82
|
resetResultsCount: () => void;
|
86
83
|
};
|
87
84
|
lastResult: () => PreparedTenant[];
|
88
85
|
dependencies: [(state: RootState) => {
|
89
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
86
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
90
87
|
singleClusterMode: boolean;
|
91
88
|
cluster: import("../cluster/types").ClusterState;
|
92
89
|
tenant: import("../tenant/types").TenantState;
|
93
90
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
94
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
95
91
|
schema: import("../schema/types").SchemaState;
|
96
92
|
tenants: import("./types").TenantsState;
|
97
93
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -108,10 +104,10 @@ export declare const selectTenants: ((state: {
|
|
108
104
|
}, (_state: RootState, clusterName: string | undefined) => (state: import("@reduxjs/toolkit/query").RootState<{
|
109
105
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
110
106
|
clusterName?: string;
|
111
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
112
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
107
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
108
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
113
109
|
clusterName?: string;
|
114
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
110
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, (state: RootState) => unknown];
|
115
111
|
recomputations: () => number;
|
116
112
|
resetRecomputations: () => void;
|
117
113
|
dependencyRecomputations: () => number;
|
@@ -121,14 +117,12 @@ export declare const selectTenants: ((state: {
|
|
121
117
|
memoize: typeof import("reselect").weakMapMemoize;
|
122
118
|
};
|
123
119
|
export declare const selectTenantsSearchValue: (state: TenantsStateSlice) => string;
|
124
|
-
export declare const selectShowDomainDatabase: (state: RootState) => unknown;
|
125
120
|
export declare const selectFilteredTenants: ((state: {
|
126
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
121
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
127
122
|
singleClusterMode: boolean;
|
128
123
|
cluster: import("../cluster/types").ClusterState;
|
129
124
|
tenant: import("../tenant/types").TenantState;
|
130
125
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
131
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
132
126
|
schema: import("../schema/types").SchemaState;
|
133
127
|
tenants: import("./types").TenantsState;
|
134
128
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -149,20 +143,19 @@ export declare const selectFilteredTenants: ((state: {
|
|
149
143
|
resultsCount: () => number;
|
150
144
|
resetResultsCount: () => void;
|
151
145
|
} & {
|
152
|
-
resultFunc: (resultFuncArgs_0: PreparedTenant[], resultFuncArgs_1: ProblemFilterValue, resultFuncArgs_2: string
|
153
|
-
memoizedResultFunc: ((resultFuncArgs_0: PreparedTenant[], resultFuncArgs_1: ProblemFilterValue, resultFuncArgs_2: string
|
146
|
+
resultFunc: (resultFuncArgs_0: PreparedTenant[], resultFuncArgs_1: ProblemFilterValue, resultFuncArgs_2: string) => PreparedTenant[];
|
147
|
+
memoizedResultFunc: ((resultFuncArgs_0: PreparedTenant[], resultFuncArgs_1: ProblemFilterValue, resultFuncArgs_2: string) => PreparedTenant[]) & {
|
154
148
|
clearCache: () => void;
|
155
149
|
resultsCount: () => number;
|
156
150
|
resetResultsCount: () => void;
|
157
151
|
};
|
158
152
|
lastResult: () => PreparedTenant[];
|
159
153
|
dependencies: [((state: {
|
160
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
154
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
161
155
|
singleClusterMode: boolean;
|
162
156
|
cluster: import("../cluster/types").ClusterState;
|
163
157
|
tenant: import("../tenant/types").TenantState;
|
164
158
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
165
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
166
159
|
schema: import("../schema/types").SchemaState;
|
167
160
|
tenants: import("./types").TenantsState;
|
168
161
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -182,12 +175,11 @@ export declare const selectFilteredTenants: ((state: {
|
|
182
175
|
resetResultsCount: () => void;
|
183
176
|
} & {
|
184
177
|
resultFunc: (resultFuncArgs_0: {
|
185
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
178
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
186
179
|
singleClusterMode: boolean;
|
187
180
|
cluster: import("../cluster/types").ClusterState;
|
188
181
|
tenant: import("../tenant/types").TenantState;
|
189
182
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
190
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
191
183
|
schema: import("../schema/types").SchemaState;
|
192
184
|
tenants: import("./types").TenantsState;
|
193
185
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -204,17 +196,16 @@ export declare const selectFilteredTenants: ((state: {
|
|
204
196
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
205
197
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
206
198
|
clusterName?: string;
|
207
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
208
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
199
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
200
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
209
201
|
clusterName?: string;
|
210
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
202
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, resultFuncArgs_2: any) => PreparedTenant[];
|
211
203
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
212
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
204
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
213
205
|
singleClusterMode: boolean;
|
214
206
|
cluster: import("../cluster/types").ClusterState;
|
215
207
|
tenant: import("../tenant/types").TenantState;
|
216
208
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
217
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
218
209
|
schema: import("../schema/types").SchemaState;
|
219
210
|
tenants: import("./types").TenantsState;
|
220
211
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -231,22 +222,21 @@ export declare const selectFilteredTenants: ((state: {
|
|
231
222
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
232
223
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
233
224
|
clusterName?: string;
|
234
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
235
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
225
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
226
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
236
227
|
clusterName?: string;
|
237
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
228
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, resultFuncArgs_2: any) => PreparedTenant[]) & {
|
238
229
|
clearCache: () => void;
|
239
230
|
resultsCount: () => number;
|
240
231
|
resetResultsCount: () => void;
|
241
232
|
};
|
242
233
|
lastResult: () => PreparedTenant[];
|
243
234
|
dependencies: [(state: RootState) => {
|
244
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
235
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
|
245
236
|
singleClusterMode: boolean;
|
246
237
|
cluster: import("../cluster/types").ClusterState;
|
247
238
|
tenant: import("../tenant/types").TenantState;
|
248
239
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
249
|
-
tablets: import("../../../types/store/tablets").TabletsState;
|
250
240
|
schema: import("../schema/types").SchemaState;
|
251
241
|
tenants: import("./types").TenantsState;
|
252
242
|
partitions: import("../partitions/types").PartitionsState;
|
@@ -263,10 +253,10 @@ export declare const selectFilteredTenants: ((state: {
|
|
263
253
|
}, (_state: RootState, clusterName: string | undefined) => (state: import("@reduxjs/toolkit/query").RootState<{
|
264
254
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
265
255
|
clusterName?: string;
|
266
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
267
|
-
}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
256
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
257
|
+
}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
268
258
|
clusterName?: string;
|
269
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api"
|
259
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">>, (state: RootState) => unknown];
|
270
260
|
recomputations: () => number;
|
271
261
|
resetRecomputations: () => void;
|
272
262
|
dependencyRecomputations: () => number;
|
@@ -278,7 +268,7 @@ export declare const selectFilteredTenants: ((state: {
|
|
278
268
|
settings: import("../settings/types").SettingsState;
|
279
269
|
}, ProblemFilterValue, []> & {
|
280
270
|
unwrapped: (state: import("../settings/types").SettingsState) => ProblemFilterValue;
|
281
|
-
}, (state: TenantsStateSlice) => string
|
271
|
+
}, (state: TenantsStateSlice) => string];
|
282
272
|
recomputations: () => number;
|
283
273
|
resetRecomputations: () => void;
|
284
274
|
dependencyRecomputations: () => number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createSelector } from '@reduxjs/toolkit';
|
2
2
|
import escapeRegExp from 'lodash/escapeRegExp';
|
3
|
-
import { SHOW_DOMAIN_DATABASE_KEY } from '../../../lib';
|
4
3
|
import { EFlag } from '../../../types/api/enums';
|
4
|
+
import { SHOW_DOMAIN_DATABASE_KEY } from '../../../utils/constants';
|
5
5
|
import { ProblemFilterValues, getSettingValue, selectProblemFilter } from '../settings/settings';
|
6
6
|
import { tenantsApi } from './tenants';
|
7
7
|
// ==== Filters ====
|
@@ -21,17 +21,18 @@ const filteredTenantsBySearch = (tenants, searchQuery) => {
|
|
21
21
|
};
|
22
22
|
// ==== Simple selectors ====
|
23
23
|
const createGetTenantsInfoSelector = createSelector((clusterName) => clusterName, (clusterName) => tenantsApi.endpoints.getTenantsInfo.select({ clusterName }));
|
24
|
-
export const selectTenants = createSelector((state) => state, (_state, clusterName) => createGetTenantsInfoSelector(clusterName), (state
|
24
|
+
export const selectTenants = createSelector((state) => state, (_state, clusterName) => createGetTenantsInfoSelector(clusterName), (state) => getSettingValue(state, SHOW_DOMAIN_DATABASE_KEY), (state, selectTenantsInfo, showDomainDatabase) => {
|
25
|
+
var _a;
|
26
|
+
const result = (_a = selectTenantsInfo(state).data) !== null && _a !== void 0 ? _a : [];
|
27
|
+
return !showDomainDatabase && result.length > 1
|
28
|
+
? result.filter((item) => item.Type !== 'Domain')
|
29
|
+
: result;
|
30
|
+
});
|
25
31
|
export const selectTenantsSearchValue = (state) => state.tenants.searchValue;
|
26
|
-
export const selectShowDomainDatabase = (state) => getSettingValue(state, SHOW_DOMAIN_DATABASE_KEY);
|
27
32
|
// ==== Complex selectors ====
|
28
|
-
export const selectFilteredTenants = createSelector([selectTenants, selectProblemFilter, selectTenantsSearchValue
|
33
|
+
export const selectFilteredTenants = createSelector([selectTenants, selectProblemFilter, selectTenantsSearchValue], (tenants, problemFilter, searchQuery) => {
|
29
34
|
let result = filterTenantsByProblems(tenants, problemFilter);
|
30
35
|
result = filteredTenantsBySearch(result, searchQuery);
|
31
|
-
result =
|
32
|
-
!showDomainDatabase && result.length > 1
|
33
|
-
? result.filter((item) => item.Type !== 'Domain')
|
34
|
-
: result;
|
35
36
|
return result;
|
36
37
|
});
|
37
38
|
//# sourceMappingURL=selectors.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenants/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAG/C,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenants/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAG/C,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,wBAAwB,EAAC,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAG/F,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AAGrC,oBAAoB;AAEpB,MAAM,uBAAuB,GAAG,CAAC,OAAyB,EAAE,aAAiC,EAAE,EAAE;IAC7F,IAAI,aAAa,KAAK,mBAAmB,CAAC,GAAG,EAAE,CAAC;QAC5C,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE;QAC7B,OAAO,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,KAAK,KAAK,CAAC,KAAK,CAAC;IAC5D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,OAAyB,EAAE,WAAmB,EAAE,EAAE;IAC/E,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;QAC3B,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,CAAC;QACtD,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,6BAA6B;AAC7B,MAAM,4BAA4B,GAAG,cAAc,CAC/C,CAAC,WAA+B,EAAE,EAAE,CAAC,WAAW,EAChD,CAAC,WAAW,EAAE,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,CAAC,CAC7E,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CACvC,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,EAC3B,CAAC,MAAiB,EAAE,WAA+B,EAAE,EAAE,CACnD,4BAA4B,CAAC,WAAW,CAAC,EAC7C,CAAC,KAAgB,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,EAAE,wBAAwB,CAAC,EACtE,CAAC,KAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,EAAE;;IACxD,MAAM,MAAM,GAAG,MAAA,iBAAiB,CAAC,KAAK,CAAC,CAAC,IAAI,mCAAI,EAAE,CAAC;IAEnD,OAAO,CAAC,kBAAkB,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC;QAC3C,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;QACjD,CAAC,CAAC,MAAM,CAAC;AACjB,CAAC,CACJ,CAAC;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAAwB,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC;AAEhG,8BAA8B;AAE9B,MAAM,CAAC,MAAM,qBAAqB,GAAG,cAAc,CAC/C,CAAC,aAAa,EAAE,mBAAmB,EAAE,wBAAwB,CAAC,EAC9D,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE;IACpC,IAAI,MAAM,GAAG,uBAAuB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC7D,MAAM,GAAG,uBAAuB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAEtD,OAAO,MAAM,CAAC;AAClB,CAAC,CACJ,CAAC"}
|
@@ -5,5 +5,5 @@ export default _default;
|
|
5
5
|
export declare const tenantsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
6
6
|
getTenantsInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
7
7
|
clusterName?: string;
|
8
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedTenant[] | undefined, "api">;
|
9
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedTenant[] | undefined, "api">;
|
9
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|