ydb-embedded-ui 6.18.0 → 6.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +11 -3
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/i18n/en.json +2 -1
- package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +7 -36
- package/dist/components/GroupInfo/GroupInfo.js +3 -3
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +4 -0
- package/dist/components/PaginatedTable/TableChunk.js +5 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +1 -1
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -4
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/Tag/Tag.d.ts +2 -1
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tags/Tags.d.ts +2 -1
- package/dist/components/Tags/Tags.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
- package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
- package/dist/containers/AppWithClusters/useClusterData.js +8 -8
- package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/AsideNavigation/Navigation.js +4 -1
- package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +5 -13
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +1 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -112
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -14
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +7 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +43 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +11 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.d.ts +8 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js +8 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +16 -0
- package/dist/containers/Cluster/ClusterInfo/shared.d.ts +1 -0
- package/dist/containers/Cluster/ClusterInfo/shared.js +3 -0
- package/dist/containers/Cluster/ClusterInfo/shared.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/utils.d.ts +12 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js +145 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
- package/dist/containers/Cluster/i18n/en.json +7 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Cluster/i18n/index.js +1 -2
- package/dist/containers/Cluster/i18n/index.js.map +1 -1
- package/dist/containers/Header/Header.js +3 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Node/Node.js +1 -5
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +5 -4
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
- package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +3 -13
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +16 -7
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskPage.js +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +9 -9
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +7 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +7 -20
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
- package/dist/containers/Storage/utils/index.js +3 -4
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +21 -4
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +7 -7
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -12
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +9 -24
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +0 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
- package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/Query.js +14 -2
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +1 -0
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- 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 -12
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js +33 -10
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/utils.d.ts +2 -0
- package/dist/containers/VDiskPage/utils.js +7 -0
- package/dist/containers/VDiskPage/utils.js.map +1 -0
- package/dist/lib.d.ts +1 -0
- package/dist/lib.js +1 -0
- package/dist/lib.js.map +1 -1
- package/dist/services/api.d.ts +20 -16
- package/dist/services/api.js +62 -21
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
- package/dist/services/parsers/parseMetaCluster.js +17 -31
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +0 -1
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +4 -4
- package/dist/store/defaultStore.d.ts +2 -2
- package/dist/store/getUrlData.js +9 -6
- package/dist/store/getUrlData.js.map +1 -1
- 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/cancelQuery.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +8 -1
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +230 -2
- package/dist/store/reducers/cluster/cluster.js +45 -3
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +4 -1
- package/dist/store/reducers/cluster/utils.js +16 -3
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- 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 +8 -4
- package/dist/store/reducers/executeQuery.js +35 -2
- 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 -3
- package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/types.d.ts +1 -0
- package/dist/store/reducers/explainQuery/utils.d.ts +1 -1
- package/dist/store/reducers/explainQuery/utils.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +3 -3
- 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 -1
- package/dist/store/reducers/nodes/nodes.d.ts +3 -4
- package/dist/store/reducers/nodes/nodes.js +1 -17
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +1 -6
- package/dist/store/reducers/nodes/utils.d.ts +1 -4
- package/dist/store/reducers/nodes/utils.js +1 -41
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -3
- 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 +2 -3
- package/dist/store/reducers/pdisk/pdisk.js +1 -21
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.d.ts +0 -3
- package/dist/store/reducers/pdisk/utils.js +0 -22
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- 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/requestStorageData.d.ts +5 -0
- package/dist/store/reducers/storage/requestStorageData.js +12 -0
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
- package/dist/store/reducers/storage/selectors.js +1 -1
- package/dist/store/reducers/storage/storage.d.ts +6 -4
- package/dist/store/reducers/storage/storage.js +6 -6
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +11 -23
- package/dist/store/reducers/storage/utils.d.ts +3 -2
- package/dist/store/reducers/storage/utils.js +52 -26
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +1 -1
- package/dist/store/reducers/tablet.d.ts +7 -7
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tenant/constants.d.ts +1 -0
- package/dist/store/reducers/tenant/constants.js +1 -0
- package/dist/store/reducers/tenant/constants.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +5 -2
- package/dist/store/reducers/tenant/tenant.js +12 -0
- package/dist/store/reducers/tenant/tenant.js.map +1 -1
- 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/tenants/selectors.d.ts +27 -27
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/trace.d.ts +4 -5
- package/dist/store/reducers/trace.js +5 -8
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/store/reducers/vdisk/utils.d.ts +0 -2
- package/dist/store/reducers/vdisk/utils.js +0 -10
- package/dist/store/reducers/vdisk/utils.js.map +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
- package/dist/store/reducers/vdisk/vdisk.js +17 -32
- package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
- package/dist/styles/mixins.scss +45 -0
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +31 -1
- package/dist/types/api/cluster.js +3 -1
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/types/api/featureFlags.d.ts +13 -0
- package/dist/types/api/featureFlags.js +2 -0
- package/dist/types/api/featureFlags.js.map +1 -0
- package/dist/types/api/meta.d.ts +6 -4
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/storage.d.ts +132 -6
- package/dist/types/api/storage.js +1 -5
- package/dist/types/api/storage.js.map +1 -1
- package/dist/types/api/trace.d.ts +16 -6
- package/dist/types/api/trace.js +7 -1
- package/dist/types/api/trace.js.map +1 -1
- package/dist/types/api/vdisk.d.ts +1 -1
- package/dist/types/store/executeQuery.d.ts +25 -3
- package/dist/types/store/executeQuery.js +5 -1
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -1
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +4 -1
- package/dist/utils/disks/helpers.js +7 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
- package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
- package/dist/utils/nodes.d.ts +1 -2
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/storage.d.ts +2 -21
- package/dist/utils/storage.js +14 -19
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.js +3 -2
- package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
- package/package.json +2 -6
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
- package/dist/containers/Cluster/i18n/ru.json +0 -16
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +0 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
- package/dist/types/api/compute.d.ts +0 -60
- package/dist/types/api/compute.js +0 -6
- package/dist/types/api/compute.js.map +0 -1
@@ -1,8 +1,9 @@
|
|
1
1
|
import type { TNodesInfo } from '../../../types/api/nodes';
|
2
|
-
import type { TStorageGroupInfo, TStorageGroupInfoV2, TStorageInfo, TStoragePoolInfo } from '../../../types/api/storage';
|
2
|
+
import type { StorageGroupsResponse, TStorageGroupInfo, TStorageGroupInfoV2, TStorageInfo, TStoragePoolInfo } from '../../../types/api/storage';
|
3
3
|
import type { PreparedStorageGroup, PreparedStorageResponse } from './types';
|
4
4
|
export declare const prepareStorageGroupData: (group: TStorageGroupInfo, pool: TStoragePoolInfo) => PreparedStorageGroup;
|
5
5
|
export declare const prepareStorageGroupDataV2: (group: TStorageGroupInfoV2) => PreparedStorageGroup;
|
6
6
|
export declare const prepareStorageGroups: (StorageGroups?: TStorageGroupInfoV2[], StoragePools?: TStoragePoolInfo[]) => PreparedStorageGroup[];
|
7
7
|
export declare const prepareStorageNodesResponse: (data: TNodesInfo) => PreparedStorageResponse;
|
8
|
-
export declare const
|
8
|
+
export declare const prepareStorageResponse: (data: TStorageInfo) => PreparedStorageResponse;
|
9
|
+
export declare function prepareGroupsResponse(data: StorageGroupsResponse): PreparedStorageResponse;
|
@@ -1,20 +1,15 @@
|
|
1
|
-
import { EFlag } from '../../../types/api/enums';
|
2
1
|
import { TPDiskState } from '../../../types/api/pdisk';
|
3
2
|
import { EVDiskState } from '../../../types/api/vdisk';
|
3
|
+
import { getColorSeverity, getSeverityColor } from '../../../utils/disks/helpers';
|
4
4
|
import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepareDisks';
|
5
5
|
import { prepareNodeSystemState } from '../../../utils/nodes';
|
6
6
|
import { getUsage } from '../../../utils/storage';
|
7
|
-
// ==== Constants ====
|
8
|
-
// Do not count Grey and Blue statuses in used space severity calculations
|
9
|
-
const FLAGS_POINTS = {
|
10
|
-
[EFlag.Grey]: 0,
|
11
|
-
[EFlag.Blue]: 0,
|
12
|
-
[EFlag.Green]: 1,
|
13
|
-
[EFlag.Yellow]: 100,
|
14
|
-
[EFlag.Orange]: 10000,
|
15
|
-
[EFlag.Red]: 1000000,
|
16
|
-
};
|
17
7
|
// ==== Prepare groups ====
|
8
|
+
function getGroupDiskSpaceStatus(group) {
|
9
|
+
const { DiskSpace, VDisks = [] } = group;
|
10
|
+
return (DiskSpace ||
|
11
|
+
getSeverityColor(Math.max(...VDisks.map((disk) => getColorSeverity(disk.DiskSpace)))));
|
12
|
+
}
|
18
13
|
const prepareVDisk = (vDisk, poolName) => {
|
19
14
|
var _a;
|
20
15
|
const preparedVDisk = prepareVDiskData(vDisk);
|
@@ -31,7 +26,6 @@ const prepareVDisk = (vDisk, poolName) => {
|
|
31
26
|
export const prepareStorageGroupData = (group, pool) => {
|
32
27
|
var _a;
|
33
28
|
let missing = 0;
|
34
|
-
let usedSpaceFlag = 0;
|
35
29
|
let usedSpaceBytes = 0;
|
36
30
|
let limitSizeBytes = 0;
|
37
31
|
let readSpeedBytesPerSec = 0;
|
@@ -40,14 +34,11 @@ export const prepareStorageGroupData = (group, pool) => {
|
|
40
34
|
const { Name: poolName, MediaType: poolMediaType } = pool;
|
41
35
|
if (group.VDisks) {
|
42
36
|
for (const vDisk of group.VDisks) {
|
43
|
-
const { Replicated, VDiskState, AvailableSize, AllocatedSize, PDisk,
|
37
|
+
const { Replicated, VDiskState, AvailableSize, AllocatedSize, PDisk, ReadThroughput, WriteThroughput, } = vDisk;
|
44
38
|
const { Type: PDiskType, State: PDiskState, AvailableSize: PDiskAvailableSize, } = preparePDiskData(PDisk);
|
45
39
|
if (!Replicated || PDiskState !== TPDiskState.Normal || VDiskState !== EVDiskState.OK) {
|
46
40
|
missing += 1;
|
47
41
|
}
|
48
|
-
if (DiskSpace) {
|
49
|
-
usedSpaceFlag += FLAGS_POINTS[DiskSpace];
|
50
|
-
}
|
51
42
|
const available = Number(AvailableSize !== null && AvailableSize !== void 0 ? AvailableSize : PDiskAvailableSize) || 0;
|
52
43
|
const allocated = Number(AllocatedSize) || 0;
|
53
44
|
usedSpaceBytes += allocated;
|
@@ -59,8 +50,10 @@ export const prepareStorageGroupData = (group, pool) => {
|
|
59
50
|
}
|
60
51
|
const vDisks = (_a = group.VDisks) === null || _a === void 0 ? void 0 : _a.map((vdisk) => prepareVDisk(vdisk, poolName));
|
61
52
|
const usage = getUsage({ Used: usedSpaceBytes, Limit: limitSizeBytes }, 5);
|
53
|
+
const diskSpaceStatus = getGroupDiskSpaceStatus(group);
|
62
54
|
return {
|
63
55
|
...group,
|
56
|
+
GroupId: group.GroupID,
|
64
57
|
VDisks: vDisks,
|
65
58
|
Usage: usage,
|
66
59
|
Read: readSpeedBytesPerSec,
|
@@ -69,24 +62,19 @@ export const prepareStorageGroupData = (group, pool) => {
|
|
69
62
|
Used: usedSpaceBytes,
|
70
63
|
Limit: limitSizeBytes,
|
71
64
|
Degraded: missing,
|
72
|
-
UsedSpaceFlag: usedSpaceFlag,
|
73
65
|
MediaType: poolMediaType || mediaType || undefined,
|
66
|
+
DiskSpace: diskSpaceStatus,
|
74
67
|
};
|
75
68
|
};
|
76
69
|
export const prepareStorageGroupDataV2 = (group) => {
|
77
|
-
const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, } = group;
|
78
|
-
const UsedSpaceFlag = VDisks.reduce((acc, { DiskSpace }) => {
|
79
|
-
if (DiskSpace && DiskSpace !== EFlag.Grey) {
|
80
|
-
return acc + FLAGS_POINTS[DiskSpace];
|
81
|
-
}
|
82
|
-
return acc;
|
83
|
-
}, 0);
|
70
|
+
const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, } = group;
|
84
71
|
const vDisks = VDisks.map((vdisk) => prepareVDisk(vdisk, PoolName));
|
85
72
|
const usage = Math.floor(Number(Usage) * 100);
|
73
|
+
const diskSpaceStatus = getGroupDiskSpaceStatus(group);
|
86
74
|
return {
|
87
75
|
...group,
|
88
|
-
UsedSpaceFlag,
|
89
76
|
PoolName,
|
77
|
+
GroupId: GroupID,
|
90
78
|
MediaType: MediaType || Kind,
|
91
79
|
VDisks: vDisks,
|
92
80
|
Usage: usage,
|
@@ -95,6 +83,7 @@ export const prepareStorageGroupDataV2 = (group) => {
|
|
95
83
|
Used: Number(Used),
|
96
84
|
Limit: Number(Limit),
|
97
85
|
Degraded: Number(Degraded),
|
86
|
+
DiskSpace: diskSpaceStatus,
|
98
87
|
};
|
99
88
|
};
|
100
89
|
export const prepareStorageGroups = (StorageGroups, StoragePools) => {
|
@@ -148,7 +137,7 @@ export const prepareStorageNodesResponse = (data) => {
|
|
148
137
|
found: Number(FoundNodes),
|
149
138
|
};
|
150
139
|
};
|
151
|
-
export const
|
140
|
+
export const prepareStorageResponse = (data) => {
|
152
141
|
const { StoragePools, StorageGroups, TotalGroups, FoundGroups } = data;
|
153
142
|
const preparedGroups = prepareStorageGroups(StorageGroups, StoragePools);
|
154
143
|
return {
|
@@ -157,4 +146,41 @@ export const prepareStorageGroupsResponse = (data) => {
|
|
157
146
|
found: Number(FoundGroups),
|
158
147
|
};
|
159
148
|
};
|
149
|
+
export function prepareGroupsResponse(data) {
|
150
|
+
const { FoundGroups, TotalGroups, StorageGroups = [] } = data;
|
151
|
+
const preparedGroups = StorageGroups.map((group) => {
|
152
|
+
const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [] } = group;
|
153
|
+
const vDisks = VDisks.map((disk) => {
|
154
|
+
var _a;
|
155
|
+
const whiteboardVDisk = disk.Whiteboard;
|
156
|
+
const whiteboardPDisk = (_a = disk.PDisk) === null || _a === void 0 ? void 0 : _a.Whiteboard;
|
157
|
+
const NodeId = disk.NodeId;
|
158
|
+
const PDiskId = whiteboardPDisk === null || whiteboardPDisk === void 0 ? void 0 : whiteboardPDisk.PDiskId;
|
159
|
+
const whiteboardVDiskData = {
|
160
|
+
...whiteboardVDisk,
|
161
|
+
PDiskId,
|
162
|
+
NodeId,
|
163
|
+
PDisk: { ...whiteboardPDisk, NodeId },
|
164
|
+
};
|
165
|
+
return prepareVDiskData(whiteboardVDiskData);
|
166
|
+
});
|
167
|
+
const diskSpaceStatus = getGroupDiskSpaceStatus(group);
|
168
|
+
return {
|
169
|
+
...group,
|
170
|
+
Usage: Math.floor(Number(Usage)) || 0,
|
171
|
+
Read: Number(Read),
|
172
|
+
Write: Number(Write),
|
173
|
+
Used: Number(Used),
|
174
|
+
Limit: Number(Limit),
|
175
|
+
Degraded: Number(MissingDisks),
|
176
|
+
VDisks: vDisks,
|
177
|
+
DiskSpace: diskSpaceStatus,
|
178
|
+
};
|
179
|
+
});
|
180
|
+
return {
|
181
|
+
groups: preparedGroups,
|
182
|
+
total: Number(TotalGroups) || preparedGroups.length,
|
183
|
+
found: Number(FoundGroups),
|
184
|
+
};
|
185
|
+
}
|
160
186
|
//# sourceMappingURL=utils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/utils.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AASrD,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAIhD,2BAA2B;AAE3B,SAAS,uBAAuB,CAAC,KAAkD;IAC/E,MAAM,EAAC,SAAS,EAAE,MAAM,GAAG,EAAE,EAAC,GAAG,KAAK,CAAC;IAEvC,OAAO,CACH,SAAS;QACT,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CACxF,CAAC;AACN,CAAC;AAED,MAAM,YAAY,GAAG,CAAC,KAAsB,EA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AI,EAAE,EAAE;;YAC/B,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC;YACxC,MAAM,eAAe,GAAG,MAAA,IAAI,CAAC,KAAK,0CAAE,UAAU,CAAC;YAE/C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC3B,MAAM,OAAO,GAAG,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,OAAO,CAAC;YAEzC,MAAM,mBAAmB,GAAG;gBACxB,GAAG,eAAe;gBAClB,OAAO;gBACP,MAAM;gBACN,KAAK,EAAE,EAAC,GAAG,eAAe,EAAE,MAAM,EAAC;aACtC,CAAC;YAEF,OAAO,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;QACjD,CAAC,CAAC,CAAC;QAEH,MAAM,eAAe,GAAG,uBAAuB,CAAC,KAAK,CAAC,CAAC;QAEvD,OAAO;YACH,GAAG,KAAK;YAER,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;YACrC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;YACpB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC;YAE9B,MAAM,EAAE,MAAM;YAEd,SAAS,EAAE,eAAe;SAC7B,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,cAAc,CAAC,MAAM;QACnD,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;KAC7B,CAAC;AACN,CAAC"}
|
@@ -10,5 +10,5 @@ interface PaginatedTableParams<T, F> {
|
|
10
10
|
}
|
11
11
|
export declare const tableDataApi: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
12
12
|
fetchTableChunk: import("@reduxjs/toolkit/query").QueryDefinition<PaginatedTableParams<unknown, unknown>, BaseQueryFn, string, PaginatedTableData<unknown>, string>;
|
13
|
-
}, "api", "All" | "PDiskData" | "
|
13
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
14
14
|
export {};
|
@@ -5,27 +5,27 @@ export declare const tabletApi: import("@reduxjs/toolkit/query").Api<import("@re
|
|
5
5
|
id: string;
|
6
6
|
database?: string;
|
7
7
|
nodeId?: string;
|
8
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
|
9
9
|
id: string | undefined;
|
10
10
|
data: import("../../types/api/tablet").TTabletStateInfo;
|
11
11
|
history: ITabletPreparedHistoryItem[];
|
12
12
|
} | undefined, "api">;
|
13
13
|
getTabletDescribe: import("@reduxjs/toolkit/query").QueryDefinition<{
|
14
14
|
tenantId: TDomainKey;
|
15
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
15
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", string | undefined, "api">;
|
16
16
|
getAdvancedTableInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
17
17
|
id: string;
|
18
18
|
hiveId: string;
|
19
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
19
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TTabletHiveResponse | null | undefined, "api">;
|
20
20
|
killTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
|
21
21
|
id: string;
|
22
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
22
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", string | undefined, "api">;
|
23
23
|
stopTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
|
24
24
|
id: string;
|
25
25
|
hiveId: string;
|
26
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
26
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", string | undefined, "api">;
|
27
27
|
resumeTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
|
28
28
|
id: string;
|
29
29
|
hiveId: string;
|
30
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
31
|
-
}, "api", "All" | "PDiskData" | "
|
30
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", string | undefined, "api">;
|
31
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -2,10 +2,10 @@ import type { TTabletStateInfo } from '../../types/api/tablet';
|
|
2
2
|
import type { TabletsApiRequestParams } from '../../types/store/tablets';
|
3
3
|
import type { RootState } from '../defaultStore';
|
4
4
|
export declare const tabletsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
5
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
6
|
-
}, "api", "All" | "PDiskData" | "
|
5
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
7
7
|
export declare const selectGetTabletsInfo: ((state: {
|
8
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
8
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
9
9
|
singleClusterMode: boolean;
|
10
10
|
cluster: import("./cluster/types").ClusterState;
|
11
11
|
tenant: import("./tenant/types").TenantState;
|
@@ -29,7 +29,7 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
29
29
|
resetResultsCount: () => void;
|
30
30
|
} & {
|
31
31
|
resultFunc: (resultFuncArgs_0: {
|
32
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
32
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
33
33
|
singleClusterMode: boolean;
|
34
34
|
cluster: import("./cluster/types").ClusterState;
|
35
35
|
tenant: import("./tenant/types").TenantState;
|
@@ -48,10 +48,10 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
48
48
|
fullscreen: boolean;
|
49
49
|
clusters: import("./clusters/types").ClustersFilters;
|
50
50
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
51
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
52
|
-
}, "All" | "PDiskData" | "
|
51
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
52
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
|
53
53
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
54
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
54
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
55
55
|
singleClusterMode: boolean;
|
56
56
|
cluster: import("./cluster/types").ClusterState;
|
57
57
|
tenant: import("./tenant/types").TenantState;
|
@@ -70,15 +70,15 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
70
70
|
fullscreen: boolean;
|
71
71
|
clusters: import("./clusters/types").ClustersFilters;
|
72
72
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
73
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
74
|
-
}, "All" | "PDiskData" | "
|
73
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
74
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
|
75
75
|
clearCache: () => void;
|
76
76
|
resultsCount: () => number;
|
77
77
|
resetResultsCount: () => void;
|
78
78
|
};
|
79
79
|
lastResult: () => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
|
80
80
|
dependencies: [(state: RootState) => {
|
81
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
81
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
82
82
|
singleClusterMode: boolean;
|
83
83
|
cluster: import("./cluster/types").ClusterState;
|
84
84
|
tenant: import("./tenant/types").TenantState;
|
@@ -97,8 +97,8 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
97
97
|
fullscreen: boolean;
|
98
98
|
clusters: import("./clusters/types").ClustersFilters;
|
99
99
|
}, (_state: RootState, params: TabletsApiRequestParams) => (state: import("@reduxjs/toolkit/query").RootState<{
|
100
|
-
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
101
|
-
}, "All" | "PDiskData" | "
|
100
|
+
getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
|
101
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
|
102
102
|
recomputations: () => number;
|
103
103
|
resetRecomputations: () => void;
|
104
104
|
dependencyRecomputations: () => number;
|
@@ -108,7 +108,7 @@ export declare const selectGetTabletsInfo: ((state: {
|
|
108
108
|
memoize: typeof import("reselect").weakMapMemoize;
|
109
109
|
};
|
110
110
|
export declare const selectTabletsWithFqdn: ((state: {
|
111
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
111
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
112
112
|
singleClusterMode: boolean;
|
113
113
|
cluster: import("./cluster/types").ClusterState;
|
114
114
|
tenant: import("./tenant/types").TenantState;
|
@@ -22,6 +22,7 @@ export declare const TENANT_DIAGNOSTICS_TABS_IDS: {
|
|
22
22
|
readonly graph: "graph";
|
23
23
|
readonly consumers: "consumers";
|
24
24
|
readonly partitions: "partitions";
|
25
|
+
readonly configs: "configs";
|
25
26
|
};
|
26
27
|
export declare const TENANT_SUMMARY_TABS_IDS: {
|
27
28
|
readonly overview: "overview";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenant/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenant/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACV,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CACpB,CAAC"}
|
@@ -5,5 +5,8 @@ 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" | "
|
9
|
-
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/tenant").TTenant | null | undefined, "api">;
|
9
|
+
getClusterConfig: import("@reduxjs/toolkit/query").QueryDefinition<{
|
10
|
+
database: string;
|
11
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/featureFlags").FeatureFlagConfig[] | undefined, "api">;
|
12
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -47,6 +47,18 @@ export const tenantApi = api.injectEndpoints({
|
|
47
47
|
},
|
48
48
|
providesTags: ['All'],
|
49
49
|
}),
|
50
|
+
getClusterConfig: builder.query({
|
51
|
+
queryFn: async ({ database }, { signal }) => {
|
52
|
+
try {
|
53
|
+
const res = await window.api.getClusterConfig(database, { signal });
|
54
|
+
const db = res.Databases[0];
|
55
|
+
return { data: db.FeatureFlags };
|
56
|
+
}
|
57
|
+
catch (error) {
|
58
|
+
return { error };
|
59
|
+
}
|
60
|
+
},
|
61
|
+
}),
|
50
62
|
}),
|
51
63
|
overrideExisting: 'throw',
|
52
64
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tenant.js","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Aa,EAAE,OAAO,CAAC,KAAK,CAAC;YACzB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAiB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;;gBAChD,IAAI,CAAC;oBACD,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAC,IAAI,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBACpE,OAAO,EAAC,IAAI,EAAE,MAAA,MAAA,UAAU,CAAC,UAAU,0CAAG,CAAC,CAAC,mCAAI,IAAI,EAAC,CAAC;gBACtD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;QACF,gBAAgB,EAAE,OAAO,CAAC,KAAK,CAAC;YAC5B,OAAO,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAqB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACxD,IAAI,CAAC;oBACD,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAClE,MAAM,EAAE,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;oBAE5B,OAAO,EAAC,IAAI,EAAE,EAAE,CAAC,YAAY,EAAC,CAAC;gBACnC,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -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" | "
|
5
|
-
}, "api", "All" | "PDiskData" | "
|
4
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "
|
4
|
-
}, "api", "All" | "PDiskData" | "
|
3
|
+
getTopNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../nodes/types").NodesPreparedEntity[] | undefined, "api">;
|
4
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "
|
6
|
-
}, "api", "All" | "PDiskData" | "
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../../types/store/query").IQueryResult | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|