ydb-embedded-ui 6.17.2 → 6.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/decommission.svg +6 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
- package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
- package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
- package/dist/components/CriticalActionDialog/utils.js +4 -0
- package/dist/components/CriticalActionDialog/utils.js.map +1 -0
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
- package/dist/components/GroupInfo/GroupInfo.js +3 -3
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
- package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/en.json +0 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +16 -14
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.js +12 -4
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +14 -10
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +14 -6
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
- package/dist/components/VDisk/VDisk.d.ts +6 -3
- package/dist/components/VDisk/VDisk.js +6 -4
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
- package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.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/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/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +19 -14
- 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 +33 -15
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
- package/dist/containers/PDiskPage/i18n/en.json +16 -2
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
- package/dist/containers/Storage/Disks/Disks.js +37 -0
- package/dist/containers/Storage/Disks/Disks.js.map +1 -0
- package/dist/containers/Storage/Disks/Disks.scss +46 -0
- package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
- package/dist/containers/Storage/PDisk/PDisk.js +14 -7
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
- package/dist/containers/Storage/PaginatedStorage.js +1 -4
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +11 -13
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +11 -7
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
- package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +47 -40
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
- 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/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Storage/utils/index.js +3 -4
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +13 -11
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
- package/dist/containers/Tablet/i18n/en.json +6 -3
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.js +1 -1
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/en.json +2 -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 +22 -5
- 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/Diagnostics/TopShards/TopShards.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- 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 +8 -6
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -6
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +28 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -2
- 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/Query/utils/__test__/replaceParams.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
- 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 +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +12 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js +37 -17
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/i18n/en.json +2 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +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 +27 -11
- package/dist/services/api.js +110 -21
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
- package/dist/services/parsers/parseMetaCluster.js +20 -1
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +1 -0
- package/dist/services/settings.js +2 -1
- 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 +36 -3
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +1 -0
- package/dist/store/reducers/cluster/utils.js +7 -0
- 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 +36 -1
- 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/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 -3
- package/dist/store/reducers/nodes/nodes.js +1 -2
- package/dist/store/reducers/nodes/nodes.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 +7 -0
- package/dist/store/reducers/trace.js +18 -0
- package/dist/store/reducers/trace.js.map +1 -0
- 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/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +3 -0
- package/dist/types/api/compute.d.ts +1 -4
- package/dist/types/api/compute.js +1 -5
- package/dist/types/api/compute.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 +5 -1
- package/dist/types/api/modifyDisk.d.ts +1 -0
- package/dist/types/api/pdisk.d.ts +2 -2
- package/dist/types/api/query.d.ts +7 -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 +17 -0
- package/dist/types/api/trace.js +8 -0
- package/dist/types/api/trace.js.map +1 -0
- 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/types/store/query.d.ts +1 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +5 -2
- package/dist/utils/disks/helpers.js +12 -2
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +10 -5
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/hooks/useDelayed.d.ts +1 -1
- package/dist/utils/hooks/useDelayed.js +6 -1
- package/dist/utils/hooks/useDelayed.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.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/query.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/package.json +1 -6
- package/dist/components/CriticalActionDialog/index.d.ts +0 -1
- package/dist/components/CriticalActionDialog/index.js +0 -2
- package/dist/components/CriticalActionDialog/index.js.map +0 -1
- 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/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
- 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.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/{store/reducers/tenantOverview/topStorageGroups → containers/Storage/StorageGroups/columns}/types.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,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M,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAChD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,cAAc,CAAC,MAA2C,EAAE,cAA4B;IAC7F,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB;IACpD,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,eAAe,EAAE,CAAC;QAClB,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
|
@@ -39,6 +39,7 @@
|
|
39
39
|
"action.previous-query": "Previous query in history",
|
40
40
|
"action.next-query": "Next query in history",
|
41
41
|
"action.save-query": "Save query",
|
42
|
+
"action.stop": "Stop",
|
42
43
|
"filter.text.placeholder": "Search by query text...",
|
43
44
|
"gear.tooltip": "Query execution settings have been changed for ",
|
44
45
|
"banner.query-settings.message": "Query results are displayed for ",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "action.stop" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { replaceParams } from '../replaceParams'; // Adjust the import path as needed
|
2
|
+
describe('replaceParams for example.com requests', () => {
|
3
|
+
test('replaces single parameter in URL path', () => {
|
4
|
+
const template = 'https://example.com/users/${userId}';
|
5
|
+
const params = { userId: '12345' };
|
6
|
+
expect(replaceParams(template, params)).toBe('https://example.com/users/12345');
|
7
|
+
});
|
8
|
+
test('replaces multiple parameters in URL path and query', () => {
|
9
|
+
const template = 'https://example.com/api/${version}/search?q=${query}&limit=${limit}';
|
10
|
+
const params = { version: 'v1', query: 'nodejs', limit: '10' };
|
11
|
+
expect(replaceParams(template, params)).toBe('https://example.com/api/v1/search?q=nodejs&limit=10');
|
12
|
+
});
|
13
|
+
test('handles missing parameters in complex URL', () => {
|
14
|
+
const template = 'https://example.com/${resource}/${id}?filter=${filter}&sort=${sort}';
|
15
|
+
const params = { resource: 'products', id: '987', sort: 'desc' };
|
16
|
+
expect(replaceParams(template, params)).toBe('https://example.com/products/987?filter=${filter}&sort=desc');
|
17
|
+
});
|
18
|
+
test('handles empty params object', () => {
|
19
|
+
const template = 'https://example.com/static/${path}/${file}';
|
20
|
+
const params = {};
|
21
|
+
expect(replaceParams(template, params)).toBe('https://example.com/static/${path}/${file}');
|
22
|
+
});
|
23
|
+
test('handles template with no parameters', () => {
|
24
|
+
const template = 'https://example.com/about';
|
25
|
+
const params = { unused: 'parameter' };
|
26
|
+
expect(replaceParams(template, params)).toBe('https://example.com/about');
|
27
|
+
});
|
28
|
+
test('handles empty template string', () => {
|
29
|
+
const template = '';
|
30
|
+
const params = { key: 'value' };
|
31
|
+
expect(replaceParams(template, params)).toBe('');
|
32
|
+
});
|
33
|
+
test('handles complex nested parameters in URL structure', () => {
|
34
|
+
const template = 'https://example.com/${service}/${version}/${resource}?id=${id}&type=${type}';
|
35
|
+
const params = {
|
36
|
+
service: 'api',
|
37
|
+
version: 'v2',
|
38
|
+
resource: 'users',
|
39
|
+
id: '12345',
|
40
|
+
type: 'admin',
|
41
|
+
};
|
42
|
+
expect(replaceParams(template, params)).toBe('https://example.com/api/v2/users?id=12345&type=admin');
|
43
|
+
});
|
44
|
+
test('handles URL-encoded parameters', () => {
|
45
|
+
const template = 'https://example.com/search?q=${query}';
|
46
|
+
const params = { query: encodeURIComponent('Hello World!') };
|
47
|
+
expect(replaceParams(template, params)).toBe('https://example.com/search?q=Hello%20World!');
|
48
|
+
});
|
49
|
+
});
|
50
|
+
//# sourceMappingURL=replaceParams.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"replaceParams.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/utils/__test__/replaceParams.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC,CAAC,mCAAmC;AAEnF,QAAQ,CAAC,wCAAwC,EAAE,GAAG,EAAE;IACpD,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,QAAQ,GAAG,qCAAqC,CAAC;QACvD,MAAM,MAAM,GAAG,EAAC,MAAM,EAAE,OAAO,EAAC,CAAC;QACjC,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IACpF,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,oDAAoD,EAAE,GAAG,EAAE;QAC5D,MAAM,QAAQ,GAAG,qEAAqE,CAAC;QACvF,MAAM,MAAM,GAAG,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;QAC7D,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,M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AAM,QAAQ,GACV,6EAA6E,CAAC;QAClF,MAAM,MAAM,GAAG;YACX,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;SAChB,CAAC;QACF,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CACxC,sDAAsD,CACzD,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACxC,MAAM,QAAQ,GAAG,uCAAuC,CAAC;QACzD,MAAM,MAAM,GAAG,EAAC,KAAK,EAAE,kBAAkB,CAAC,cAAc,CAAC,EAAC,CAAC;QAC3D,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function replaceParams(template: string, params: Record<string, string>): string;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
// Takes a template string and an object of parameters, and replaces placeholders in the template with corresponding values
|
2
|
+
// from the parameters object.
|
3
|
+
export function replaceParams(template, params) {
|
4
|
+
return template.replace(/\${(\w+)}/g, (_, key) => params[key] || _);
|
5
|
+
}
|
6
|
+
//# sourceMappingURL=replaceParams.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"replaceParams.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/replaceParams.ts"],"names":[],"mappings":"AAAA,2HAA2H;AAC3H,8BAA8B;AAC9B,MAAM,UAAU,aAAa,CAAC,QAAgB,EAAE,MAA8B;IAC1E,OAAO,QAAQ,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AACxE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,OAAO,iBAAiB,IAAI;
|
1
|
+
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,OAAO,iBAAiB,IAAI;qCACK,CAAC;AACtC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,mBA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O,eAAe,IAAI,KAAK,CAAC;AACpC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,IAAY,EAAE,EAAE;IACzD,OAAO,4BAA4B,IAAI,KAAK,CAAC;AACjD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAAY,EAAE,EAAE;IAC1D,OAAO,6BAA6B,IAAI,mDAAmD,CAAC;AAChG,CAAC,CAAC"}
|
@@ -22,6 +22,8 @@
|
|
22
22
|
"settings.invertedDisks.title": "Inverted disks space indicators",
|
23
23
|
"settings.useNodesEndpoint.title": "Break the Nodes tab in Diagnostics",
|
24
24
|
"settings.useNodesEndpoint.description": "Use /viewer/json/nodes endpoint for Nodes tab in diagnostics. It could return incorrect data on versions before 24-1",
|
25
|
+
"settings.useAdvancedStorage.title": "Use advanced storage",
|
26
|
+
"settings.useAdvancedStorage.description": "Display additional data in Storage table",
|
25
27
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
26
28
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
27
29
|
"settings.showDomainDatabase.title": "Show domain database",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.useAdvancedStorage.title" | "settings.useAdvancedStorage.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -17,6 +17,7 @@ export declare const languageSetting: SettingProps;
|
|
17
17
|
export declare const binaryDataInPlainTextDisplay: SettingProps;
|
18
18
|
export declare const invertedDisksSetting: SettingProps;
|
19
19
|
export declare const useNodesEndpointSetting: SettingProps;
|
20
|
+
export declare const useAdvancedStorageSetting: SettingProps;
|
20
21
|
export declare const usePaginatedTables: SettingProps;
|
21
22
|
export declare const showDomainDatabase: SettingProps;
|
22
23
|
export declare const queryUseMultiSchemaSetting: SettingProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
2
2
|
import { createNextState } from '@reduxjs/toolkit';
|
3
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
3
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
4
4
|
import { Lang, defaultLang } from '../../utils/i18n';
|
5
5
|
import i18n from './i18n';
|
6
6
|
import packageJson from '../../../package.json';
|
@@ -57,6 +57,11 @@ export const useNodesEndpointSetting = {
|
|
57
57
|
title: i18n('settings.useNodesEndpoint.title'),
|
58
58
|
description: i18n('settings.useNodesEndpoint.description'),
|
59
59
|
};
|
60
|
+
export const useAdvancedStorageSetting = {
|
61
|
+
settingKey: USE_ADVANCED_STORAGE_KEY,
|
62
|
+
title: i18n('settings.useAdvancedStorage.title'),
|
63
|
+
description: i18n('settings.useAdvancedStorage.description'),
|
64
|
+
};
|
60
65
|
export const usePaginatedTables = {
|
61
66
|
settingKey: USE_PAGINATED_TABLES_KEY,
|
62
67
|
title: i18n('settings.usePaginatedTables.title'),
|
@@ -104,7 +109,12 @@ export const appearanceSection = {
|
|
104
109
|
export const experimentsSection = {
|
105
110
|
id: 'experimentsSection',
|
106
111
|
title: i18n('section.experiments'),
|
107
|
-
settings: [
|
112
|
+
settings: [
|
113
|
+
useNodesEndpointSetting,
|
114
|
+
useAdvancedStorageSetting,
|
115
|
+
usePaginatedTables,
|
116
|
+
queryUseMultiSchemaSetting,
|
117
|
+
],
|
108
118
|
};
|
109
119
|
export const devSettingsSection = {
|
110
120
|
id: 'devSettingsSection',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAGnD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAiBhD,MAAM,YAAY,GAAG;IACjB;QACI,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,IAAI,CAAC,8BAA8B,CAAC;KAChD;IACD;QACI,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,IAAI,CAAC,6BAA6B,CAAC;KAC/C;IACD;QACI,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,IAAI,CAAC,4BAA4B,CAAC;KAC9C;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAiB;IACtC,UAAU,EAAE,SAAS;IACrB,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC;IACnC,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,eAAe,GAAG;IACpB;QACI,KAAK,EAAE,IAAI,CAAC,EAAE;QACd,OAAO,EAAE,IAAI,CAAC,kCAAkC,CAAC;KACpD;IACD;Q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C;IAET,MAAM,QAAQ,GAA0B,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1F,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type { PreparedStorageGroup } from '../../store/reducers/storage/types';
|
2
1
|
import './VDiskPage.scss';
|
3
2
|
export declare function VDiskPage(): import("react/jsx-runtime").JSX.Element;
|
4
|
-
export declare function VDiskGroup({
|
5
|
-
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
3
|
+
export declare function VDiskGroup({ groupId }: {
|
4
|
+
groupId: string | number;
|
5
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
@@ -12,18 +12,22 @@ import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoView
|
|
12
12
|
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
13
13
|
import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
|
14
14
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
15
|
+
import { api } from '../../store/reducers/api';
|
15
16
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
17
|
+
import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../store/reducers/capabilities/hooks';
|
16
18
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
17
|
-
import {
|
19
|
+
import { storageApi } from '../../store/reducers/storage/storage';
|
18
20
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
19
21
|
import { valueIsDefined } from '../../utils';
|
20
22
|
import { cn } from '../../utils/cn';
|
21
23
|
import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
22
24
|
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
23
|
-
import { getSeverityColor } from '../../utils/disks/helpers';
|
25
|
+
import { getSeverityColor, getVDiskSlotBasedId } from '../../utils/disks/helpers';
|
24
26
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
25
|
-
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY
|
27
|
+
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../Storage/StorageGroups/columns/getStorageGroupsColumns';
|
28
|
+
import { useGetDiskStorageColumns } from '../Storage/StorageGroups/columns/hooks';
|
26
29
|
import { vDiskPageKeyset } from './i18n';
|
30
|
+
import { prepareVDiskGroupResponse } from './utils';
|
27
31
|
import './VDiskPage.scss';
|
28
32
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
29
33
|
export function VDiskPage() {
|
@@ -41,11 +45,10 @@ export function VDiskPage() {
|
|
41
45
|
const params = valueIsDefined(nodeId) && valueIsDefined(pDiskId) && valueIsDefined(vDiskSlotId)
|
42
46
|
? { nodeId, pDiskId, vDiskSlotId }
|
43
47
|
: skipToken;
|
44
|
-
const { currentData, isFetching,
|
48
|
+
const { currentData: vDiskData = {}, isFetching, error, } = vDiskApi.useGetVDiskDataQuery(params, {
|
45
49
|
pollingInterval: autoRefreshInterval,
|
46
50
|
});
|
47
|
-
const loading = isFetching &&
|
48
|
-
const { vDiskData = {}, groupData } = currentData || {};
|
51
|
+
const loading = isFetching && vDiskData === undefined;
|
49
52
|
const { NodeHost, NodeId, NodeType, NodeDC, PDiskId, PDiskType, Severity, VDiskId } = vDiskData;
|
50
53
|
const { GroupID, GroupGeneration, Ring, Domain, VDisk } = VDiskId || {};
|
51
54
|
const vDiskIdParamsDefined = valueIsDefined(GroupID) &&
|
@@ -76,8 +79,14 @@ export function VDiskPage() {
|
|
76
79
|
}
|
77
80
|
return undefined;
|
78
81
|
};
|
79
|
-
const handleAfterEvictVDisk =
|
80
|
-
|
82
|
+
const handleAfterEvictVDisk = () => {
|
83
|
+
dispatch(api.util.invalidateTags([
|
84
|
+
{
|
85
|
+
type: 'VDiskData',
|
86
|
+
id: getVDiskSlotBasedId(nodeId || 0, pDiskId || 0, vDiskSlotId || 0),
|
87
|
+
},
|
88
|
+
'StorageData',
|
89
|
+
]));
|
81
90
|
};
|
82
91
|
const renderHelmet = () => {
|
83
92
|
const vDiskPagePart = vDiskSlotId
|
@@ -99,14 +108,14 @@ export function VDiskPage() {
|
|
99
108
|
return (_jsx(EntityPageTitle, { className: vDiskPageCn('title'), entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: stringifyVdiskId(vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.VDiskId) }));
|
100
109
|
};
|
101
110
|
const renderControls = () => {
|
102
|
-
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal",
|
111
|
+
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal", dialogHeader: vDiskPageKeyset('evict-vdisk-dialog-header'), dialogText: vDiskPageKeyset('evict-vdisk-dialog-text'), retryButtonText: vDiskPageKeyset('force-evict-vdisk-button'), withPopover: true, popoverContent: vDiskPageKeyset('evict-vdisk-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowsOppositeToDots }), vDiskPageKeyset('evict-vdisk-button')] }) }));
|
103
112
|
};
|
104
113
|
const renderInfo = () => {
|
105
114
|
return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
|
106
115
|
};
|
107
116
|
const renderGroupInfo = () => {
|
108
|
-
if (
|
109
|
-
return
|
117
|
+
if (valueIsDefined(GroupID)) {
|
118
|
+
return _jsx(VDiskGroup, { groupId: GroupID });
|
110
119
|
}
|
111
120
|
return null;
|
112
121
|
};
|
@@ -118,11 +127,22 @@ export function VDiskPage() {
|
|
118
127
|
};
|
119
128
|
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
120
129
|
}
|
121
|
-
export function VDiskGroup({
|
122
|
-
const
|
123
|
-
const
|
124
|
-
|
125
|
-
},
|
126
|
-
|
130
|
+
export function VDiskGroup({ groupId }) {
|
131
|
+
const capabilitiesLoaded = useCapabilitiesLoaded();
|
132
|
+
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
|
133
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
134
|
+
const { currentData } = storageApi.useGetStorageGroupsInfoQuery({ groupId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
|
135
|
+
pollingInterval: autoRefreshInterval,
|
136
|
+
skip: !capabilitiesLoaded,
|
137
|
+
});
|
138
|
+
const preparedGroups = React.useMemo(() => {
|
139
|
+
const group = prepareVDiskGroupResponse(currentData, groupId);
|
140
|
+
return group ? [group] : undefined;
|
141
|
+
}, [currentData, groupId]);
|
142
|
+
const vDiskStorageColumns = useGetDiskStorageColumns();
|
143
|
+
if (!preparedGroups) {
|
144
|
+
return null;
|
145
|
+
}
|
146
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: vDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS })] }));
|
127
147
|
}
|
128
148
|
//# sourceMappingURL=VDiskPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI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EvD,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,cAAK,SAAS,EAAE,WAAW,CAAC,aAAa,CAAC,YAAG,eAAe,CAAC,OAAO,CAAC,GAAO,EAC5E,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,sBAAsB,GAClC,IACW,CACpB,CAAC;AACN,CAAC"}
|
@@ -6,6 +6,7 @@
|
|
6
6
|
"group": "Group",
|
7
7
|
"evict-vdisk-button": "Evict VDisk",
|
8
8
|
"force-evict-vdisk-button": "Evict anyway",
|
9
|
-
"evict-vdisk-dialog": "VDisk
|
9
|
+
"evict-vdisk-dialog-header": "Evict VDisk",
|
10
|
+
"evict-vdisk-dialog-text": "VDisk will be evicted. Do you want to proceed?",
|
10
11
|
"evict-vdisk-not-allowed": "You don't have enough rights to evict VDisk"
|
11
12
|
}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const vDiskPageKeyset: (key: "node" | "group" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
export declare const vDiskPageKeyset: (key: "node" | "group" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog-header" | "evict-vdisk-dialog-text" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export function prepareVDiskGroupResponse(data, groupId) {
|
2
|
+
var _a;
|
3
|
+
return (_a = data === null || data === void 0 ? void 0 : data.groups) === null || _a === void 0 ? void 0 : _a.find((group) => {
|
4
|
+
return Number(group.GroupId) === Number(groupId);
|
5
|
+
});
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/utils.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,yBAAyB,CACrC,IAA8B,EAC9B,OAAyB;;IAEzB,OAAO,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,0CAAE,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;QAChC,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/lib.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export { App as SingleClusterApp, AppSlots } from './containers/App';
|
2
2
|
export { AppWithClusters as MultiClusterApp } from './containers/AppWithClusters/AppWithClusters';
|
3
3
|
export { ErrorBoundaryInner as ErrorBoundary, ErrorBoundaryFallback, } from './components/ErrorBoundary/ErrorBoundary';
|
4
|
+
export { AsideNavigation } from './containers/AsideNavigation/AsideNavigation';
|
4
5
|
export { configureStore, rootReducer } from './store';
|
5
6
|
export { default as appRoutes } from './routes';
|
6
7
|
export { createApi, YdbEmbeddedAPI, YdbWebVersionAPI } from './services/api';
|
package/dist/lib.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export { App as SingleClusterApp, AppSlots } from './containers/App';
|
2
2
|
export { AppWithClusters as MultiClusterApp } from './containers/AppWithClusters/AppWithClusters';
|
3
3
|
export { ErrorBoundaryInner as ErrorBoundary, ErrorBoundaryFallback, } from './components/ErrorBoundary/ErrorBoundary';
|
4
|
+
export { AsideNavigation } from './containers/AsideNavigation/AsideNavigation';
|
4
5
|
export { configureStore, rootReducer } from './store';
|
5
6
|
export { default as appRoutes } from './routes';
|
6
7
|
export { createApi, YdbEmbeddedAPI, YdbWebVersionAPI } from './services/api';
|
package/dist/lib.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,IAAI,gBAAgB,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAC,eAAe,IAAI,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACH,kBAAkB,IAAI,aAAa,EACnC,qBAAqB,GACxB,MAAM,0CAA0C,CAAC;
|
1
|
+
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,IAAI,gBAAgB,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAC,eAAe,IAAI,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACH,kBAAkB,IAAI,aAAa,EACnC,qBAAqB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAE7E,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AACpD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAC,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEpF,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,iBAAiB,EAAE,wBAAwB,EAAC,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AACzD,OAAO,EAAC,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAC,EAAE,EAAC,MAAM,YAAY,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,mBAAmB,CAAC"}
|
package/dist/services/api.d.ts
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
import AxiosWrapper from '@gravity-ui/axios-wrapper';
|
2
2
|
import type { AxiosWrapperOptions } from '@gravity-ui/axios-wrapper';
|
3
3
|
import type { ComputeApiRequestParams, NodesApiRequestParams } from '../store/reducers/nodes/types';
|
4
|
-
import type { StorageApiRequestParams } from '../store/reducers/storage/types';
|
5
4
|
import type { TMetaInfo } from '../types/api/acl';
|
6
5
|
import type { TQueryAutocomplete } from '../types/api/autocomplete';
|
7
6
|
import type { CapabilitiesResponse } from '../types/api/capabilities';
|
8
7
|
import type { TClusterInfo } from '../types/api/cluster';
|
9
8
|
import type { TComputeInfo } from '../types/api/compute';
|
10
9
|
import type { DescribeConsumerResult } from '../types/api/consumer';
|
10
|
+
import type { FeatureFlagConfigs } from '../types/api/featureFlags';
|
11
11
|
import type { HealthCheckAPIResponse } from '../types/api/healthcheck';
|
12
12
|
import type { JsonHotKeysResponse } from '../types/api/hotkeys';
|
13
|
-
import type { MetaClusters } from '../types/api/meta';
|
13
|
+
import type { MetaBaseClusterInfo, MetaClusters } from '../types/api/meta';
|
14
14
|
import type { ModifyDiskResponse } from '../types/api/modifyDisk';
|
15
15
|
import type { TNetInfo } from '../types/api/netInfo';
|
16
16
|
import type { TNodesInfo } from '../types/api/nodes';
|
17
17
|
import type { TEvNodesInfo } from '../types/api/nodesList';
|
18
|
-
import type { TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
18
|
+
import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
19
19
|
import type { Actions, ErrorResponse, QueryAPIResponse, Schemas, Stats, Timeout, TracingLevel } from '../types/api/query';
|
20
20
|
import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/render';
|
21
21
|
import type { TEvDescribeSchemeResult } from '../types/api/schema';
|
22
|
-
import type { TStorageInfo } from '../types/api/storage';
|
22
|
+
import type { GroupsRequestParams, StorageGroupsResponse, StorageRequestParams, TStorageInfo } from '../types/api/storage';
|
23
23
|
import type { TEvSystemStateResponse } from '../types/api/systemState';
|
24
24
|
import type { TDomainKey, TEvTabletStateResponse, TTabletHiveResponse, UnmergedTEvTabletStateResponse } from '../types/api/tablet';
|
25
25
|
import type { TTenantInfo, TTenants } from '../types/api/tenant';
|
@@ -28,7 +28,7 @@ import type { TEvVDiskStateResponse } from '../types/api/vdisk';
|
|
28
28
|
import type { TUserToken } from '../types/api/whoami';
|
29
29
|
import type { QuerySyntax, TransactionMode } from '../types/store/query';
|
30
30
|
import type { Nullable } from '../utils/typecheckers';
|
31
|
-
type AxiosOptions = {
|
31
|
+
export type AxiosOptions = {
|
32
32
|
concurrentId?: string;
|
33
33
|
signal?: AbortSignal;
|
34
34
|
withRetries?: boolean;
|
@@ -37,8 +37,10 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
37
37
|
DEFAULT_RETRIES_COUNT: number;
|
38
38
|
constructor(options?: AxiosWrapperOptions);
|
39
39
|
getPath(path: string): string;
|
40
|
+
prepareArrayRequestParam(arr: (string | number)[]): string;
|
40
41
|
getClusterCapabilities(): Promise<CapabilitiesResponse>;
|
41
42
|
getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TClusterInfo>;
|
43
|
+
getClusterConfig(database?: string, { concurrentId, signal }?: AxiosOptions): Promise<FeatureFlagConfigs>;
|
42
44
|
getNodeInfo(id?: string | number, { concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
|
43
45
|
getTenants(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
|
44
46
|
getTenantInfo({ path, database }: {
|
@@ -48,7 +50,8 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
48
50
|
getNodes({ visibleEntities, type, tablets, sortOrder, sortValue, ...params }: NodesApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TNodesInfo>;
|
49
51
|
/** @deprecated use getNodes instead */
|
50
52
|
getCompute({ sortOrder, sortValue, ...params }: ComputeApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TComputeInfo>;
|
51
|
-
getStorageInfo({ tenant, database,
|
53
|
+
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }: StorageRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
54
|
+
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, ...params }: GroupsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<StorageGroupsResponse>;
|
52
55
|
getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }: {
|
53
56
|
nodeId: string | number;
|
54
57
|
pDiskId: string | number;
|
@@ -126,6 +129,9 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
126
129
|
database: string;
|
127
130
|
enableSampling: boolean;
|
128
131
|
}, { concurrentId, signal }?: AxiosOptions): Promise<JsonHotKeysResponse>;
|
132
|
+
checkTrace({ url }: {
|
133
|
+
url: string;
|
134
|
+
}, { concurrentId, signal }?: AxiosOptions): Promise<any>;
|
129
135
|
getHealthcheckInfo({ database, maxLevel }: {
|
130
136
|
database: string;
|
131
137
|
maxLevel?: number;
|
@@ -143,6 +149,12 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
143
149
|
pDiskId: number | string;
|
144
150
|
force?: boolean;
|
145
151
|
}): Promise<ModifyDiskResponse>;
|
152
|
+
changePDiskStatus({ nodeId, pDiskId, force, decommissionStatus, }: {
|
153
|
+
nodeId: number | string;
|
154
|
+
pDiskId: number | string;
|
155
|
+
force?: boolean;
|
156
|
+
decommissionStatus?: EDecommitStatus;
|
157
|
+
}): Promise<ModifyDiskResponse>;
|
146
158
|
killTablet(id: string): Promise<string>;
|
147
159
|
stopTablet(id: string, hiveId: string): Promise<string>;
|
148
160
|
resumeTablet(id: string, hiveId: string): Promise<string>;
|
@@ -164,9 +176,6 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
164
176
|
limit?: number;
|
165
177
|
table?: string[];
|
166
178
|
}): Promise<TQueryAutocomplete>;
|
167
|
-
getClustersList(_?: never, { signal }?: {
|
168
|
-
signal?: AbortSignal;
|
169
|
-
}): Promise<MetaClusters>;
|
170
179
|
createSchemaDirectory({ database, path }: {
|
171
180
|
database: string;
|
172
181
|
path: string;
|
@@ -175,13 +184,20 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
175
184
|
}): Promise<{
|
176
185
|
test: string;
|
177
186
|
}>;
|
187
|
+
getClustersList(_?: never, __?: {
|
188
|
+
signal?: AbortSignal;
|
189
|
+
}): Promise<MetaClusters>;
|
190
|
+
getClusterBaseInfo(_clusterName: string, _opts?: AxiosOptions): Promise<MetaBaseClusterInfo>;
|
178
191
|
}
|
179
192
|
export declare class YdbWebVersionAPI extends YdbEmbeddedAPI {
|
193
|
+
getClustersList(_?: never, { signal }?: {
|
194
|
+
signal?: AbortSignal;
|
195
|
+
}): Promise<MetaClusters>;
|
180
196
|
getClusterInfo(clusterName: string, { signal }?: AxiosOptions): Promise<TClusterInfo>;
|
181
|
-
getTenants(clusterName: string, {
|
197
|
+
getTenants(clusterName: string, { signal }?: AxiosOptions): Promise<TTenantInfo>;
|
198
|
+
getClusterBaseInfo(clusterName: string, { concurrentId, signal }?: AxiosOptions): Promise<MetaBaseClusterInfo>;
|
182
199
|
}
|
183
200
|
export declare function createApi({ webVersion, withCredentials }?: {
|
184
201
|
webVersion?: boolean | undefined;
|
185
202
|
withCredentials?: boolean | undefined;
|
186
203
|
}): YdbEmbeddedAPI;
|
187
|
-
export {};
|