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
package/dist/services/api.d.ts
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
import AxiosWrapper from '@gravity-ui/axios-wrapper';
|
2
2
|
import type { AxiosWrapperOptions } from '@gravity-ui/axios-wrapper';
|
3
|
-
import type {
|
4
|
-
import type { StorageApiRequestParams } from '../store/reducers/storage/types';
|
3
|
+
import type { NodesApiRequestParams } from '../store/reducers/nodes/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
|
-
import type { TComputeInfo } from '../types/api/compute';
|
10
8
|
import type { DescribeConsumerResult } from '../types/api/consumer';
|
9
|
+
import type { FeatureFlagConfigs } from '../types/api/featureFlags';
|
11
10
|
import type { HealthCheckAPIResponse } from '../types/api/healthcheck';
|
12
11
|
import type { JsonHotKeysResponse } from '../types/api/hotkeys';
|
13
|
-
import type { MetaClusters } from '../types/api/meta';
|
12
|
+
import type { MetaBaseClusterInfo, MetaClusters } from '../types/api/meta';
|
14
13
|
import type { ModifyDiskResponse } from '../types/api/modifyDisk';
|
15
14
|
import type { TNetInfo } from '../types/api/netInfo';
|
16
15
|
import type { TNodesInfo } from '../types/api/nodes';
|
@@ -19,7 +18,7 @@ import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from
|
|
19
18
|
import type { Actions, ErrorResponse, QueryAPIResponse, Schemas, Stats, Timeout, TracingLevel } from '../types/api/query';
|
20
19
|
import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/render';
|
21
20
|
import type { TEvDescribeSchemeResult } from '../types/api/schema';
|
22
|
-
import type { TStorageInfo } from '../types/api/storage';
|
21
|
+
import type { GroupsRequestParams, StorageGroupsResponse, StorageRequestParams, TStorageInfo } from '../types/api/storage';
|
23
22
|
import type { TEvSystemStateResponse } from '../types/api/systemState';
|
24
23
|
import type { TDomainKey, TEvTabletStateResponse, TTabletHiveResponse, UnmergedTEvTabletStateResponse } from '../types/api/tablet';
|
25
24
|
import type { TTenantInfo, TTenants } from '../types/api/tenant';
|
@@ -28,7 +27,7 @@ import type { TEvVDiskStateResponse } from '../types/api/vdisk';
|
|
28
27
|
import type { TUserToken } from '../types/api/whoami';
|
29
28
|
import type { QuerySyntax, TransactionMode } from '../types/store/query';
|
30
29
|
import type { Nullable } from '../utils/typecheckers';
|
31
|
-
type AxiosOptions = {
|
30
|
+
export type AxiosOptions = {
|
32
31
|
concurrentId?: string;
|
33
32
|
signal?: AbortSignal;
|
34
33
|
withRetries?: boolean;
|
@@ -37,8 +36,10 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
37
36
|
DEFAULT_RETRIES_COUNT: number;
|
38
37
|
constructor(options?: AxiosWrapperOptions);
|
39
38
|
getPath(path: string): string;
|
39
|
+
prepareArrayRequestParam(arr: (string | number)[]): string;
|
40
40
|
getClusterCapabilities(): Promise<CapabilitiesResponse>;
|
41
41
|
getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TClusterInfo>;
|
42
|
+
getClusterConfig(database?: string, { concurrentId, signal }?: AxiosOptions): Promise<FeatureFlagConfigs>;
|
42
43
|
getNodeInfo(id?: string | number, { concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
|
43
44
|
getTenants(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
|
44
45
|
getTenantInfo({ path, database }: {
|
@@ -46,9 +47,8 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
46
47
|
database?: string;
|
47
48
|
}, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
|
48
49
|
getNodes({ visibleEntities, type, tablets, sortOrder, sortValue, ...params }: NodesApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TNodesInfo>;
|
49
|
-
|
50
|
-
|
51
|
-
getStorageInfo({ tenant, database, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }: StorageApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
50
|
+
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }: StorageRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
51
|
+
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, ...params }: GroupsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<StorageGroupsResponse>;
|
52
52
|
getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }: {
|
53
53
|
nodeId: string | number;
|
54
54
|
pDiskId: string | number;
|
@@ -120,7 +120,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
120
120
|
transaction_mode?: TransactionMode;
|
121
121
|
timeout?: Timeout;
|
122
122
|
query_id?: string;
|
123
|
-
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action, Schema
|
123
|
+
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action, Schema> | null>;
|
124
124
|
getHotKeys({ path, database, enableSampling }: {
|
125
125
|
path: string;
|
126
126
|
database: string;
|
@@ -173,9 +173,6 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
173
173
|
limit?: number;
|
174
174
|
table?: string[];
|
175
175
|
}): Promise<TQueryAutocomplete>;
|
176
|
-
getClustersList(_?: never, { signal }?: {
|
177
|
-
signal?: AbortSignal;
|
178
|
-
}): Promise<MetaClusters>;
|
179
176
|
createSchemaDirectory({ database, path }: {
|
180
177
|
database: string;
|
181
178
|
path: string;
|
@@ -184,13 +181,20 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
184
181
|
}): Promise<{
|
185
182
|
test: string;
|
186
183
|
}>;
|
184
|
+
getClustersList(_?: never, __?: {
|
185
|
+
signal?: AbortSignal;
|
186
|
+
}): Promise<MetaClusters>;
|
187
|
+
getClusterBaseInfo(_clusterName: string, _opts?: AxiosOptions): Promise<MetaBaseClusterInfo>;
|
187
188
|
}
|
188
189
|
export declare class YdbWebVersionAPI extends YdbEmbeddedAPI {
|
189
|
-
|
190
|
-
|
190
|
+
getClustersList(_?: never, { signal }?: {
|
191
|
+
signal?: AbortSignal;
|
192
|
+
}): Promise<MetaClusters>;
|
193
|
+
getClusterInfo(clusterName: string, { signal }?: AxiosOptions): Promise<import("../types/api/cluster").TClusterInfoV1 | import("../types/api/cluster").TClusterInfoV2>;
|
194
|
+
getTenants(clusterName: string, { signal }?: AxiosOptions): Promise<TTenantInfo>;
|
195
|
+
getClusterBaseInfo(clusterName: string, { concurrentId, signal }?: AxiosOptions): Promise<MetaBaseClusterInfo>;
|
191
196
|
}
|
192
197
|
export declare function createApi({ webVersion, withCredentials }?: {
|
193
198
|
webVersion?: boolean | undefined;
|
194
199
|
withCredentials?: boolean | undefined;
|
195
200
|
}): YdbEmbeddedAPI;
|
196
|
-
export {};
|
package/dist/services/api.js
CHANGED
@@ -3,12 +3,13 @@ import axiosRetry from 'axios-retry';
|
|
3
3
|
import { backend as BACKEND, metaBackend as META_BACKEND } from '../store';
|
4
4
|
import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEV_ENABLE_TRACING_FOR_ALL_REQUESTS, SECOND_IN_MS, } from '../utils/constants';
|
5
5
|
import { prepareSortValue } from '../utils/filters';
|
6
|
+
import { isAxiosError } from '../utils/response';
|
6
7
|
import { parseMetaCluster } from './parsers/parseMetaCluster';
|
7
8
|
import { parseMetaTenants } from './parsers/parseMetaTenants';
|
8
9
|
import { settingsManager } from './settings';
|
9
|
-
// Overall timeout 53~71 s depending on server response time
|
10
10
|
const TRACE_CHECK_TIMEOUT = 2 * SECOND_IN_MS;
|
11
|
-
const
|
11
|
+
const TRACE_API_ERROR_TIMEOUT = 10 * SECOND_IN_MS;
|
12
|
+
const MAX_TRACE_CHECK_RETRIES = 30;
|
12
13
|
export class YdbEmbeddedAPI extends AxiosWrapper {
|
13
14
|
constructor(options) {
|
14
15
|
super(options);
|
@@ -56,6 +57,9 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
56
57
|
getPath(path) {
|
57
58
|
return `${BACKEND !== null && BACKEND !== void 0 ? BACKEND : ''}${path}`;
|
58
59
|
}
|
60
|
+
prepareArrayRequestParam(arr) {
|
61
|
+
return arr.join(',');
|
62
|
+
}
|
59
63
|
getClusterCapabilities() {
|
60
64
|
return this.get(this.getPath('/viewer/capabilities'), {}, {});
|
61
65
|
}
|
@@ -65,6 +69,11 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
65
69
|
tablets: true,
|
66
70
|
}, { concurrentId: concurrentId || `getClusterInfo`, requestConfig: { signal } });
|
67
71
|
}
|
72
|
+
getClusterConfig(database, { concurrentId, signal } = {}) {
|
73
|
+
return this.get(this.getPath('/viewer/feature_flags'), {
|
74
|
+
database,
|
75
|
+
}, { concurrentId, requestConfig: { signal } });
|
76
|
+
}
|
68
77
|
getNodeInfo(id, { concurrentId, signal } = {}) {
|
69
78
|
return this.get(this.getPath('/viewer/json/sysinfo?enums=true'), {
|
70
79
|
node_id: id,
|
@@ -96,23 +105,37 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
96
105
|
// TODO: remove after remove tenant param
|
97
106
|
database: params.database || params.tenant,
|
98
107
|
tenant: params.tenant || params.database,
|
108
|
+
node_id: params.node_id,
|
99
109
|
}, { concurrentId, requestConfig: { signal } });
|
100
110
|
}
|
101
|
-
|
102
|
-
getCompute({ sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
|
103
|
-
const sort = prepareSortValue(sortValue, sortOrder);
|
104
|
-
return this.get(this.getPath('/viewer/json/compute?enums=true'), { sort, ...params }, { concurrentId, requestConfig: { signal } });
|
105
|
-
}
|
106
|
-
getStorageInfo({ tenant, database, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
|
107
|
-
const sort = prepareSortValue(sortValue, sortOrder);
|
111
|
+
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }, { concurrentId, signal } = {}) {
|
108
112
|
return this.get(this.getPath(`/viewer/json/storage?enums=true`), {
|
109
113
|
database: database || tenant,
|
110
114
|
tenant: tenant || database,
|
111
115
|
node_id: nodeId,
|
112
|
-
pool: poolName,
|
113
116
|
group_id: groupId,
|
114
|
-
|
115
|
-
|
117
|
+
pdisk_id: pDiskId,
|
118
|
+
...params,
|
119
|
+
}, { concurrentId, requestConfig: { signal } });
|
120
|
+
}
|
121
|
+
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired = 'all', ...params }, { concurrentId, signal } = {}) {
|
122
|
+
const preparedNodeId = Array.isArray(nodeId)
|
123
|
+
? this.prepareArrayRequestParam(nodeId)
|
124
|
+
: nodeId;
|
125
|
+
const preparedPDiskId = Array.isArray(pDiskId)
|
126
|
+
? this.prepareArrayRequestParam(pDiskId)
|
127
|
+
: pDiskId;
|
128
|
+
const preparedGroupId = Array.isArray(groupId)
|
129
|
+
? this.prepareArrayRequestParam(groupId)
|
130
|
+
: groupId;
|
131
|
+
const preparedFieldsRequired = Array.isArray(fieldsRequired)
|
132
|
+
? this.prepareArrayRequestParam(fieldsRequired)
|
133
|
+
: fieldsRequired;
|
134
|
+
return this.get(this.getPath('/storage/groups'), {
|
135
|
+
node_id: preparedNodeId,
|
136
|
+
pdisk_id: preparedPDiskId,
|
137
|
+
group_id: preparedGroupId,
|
138
|
+
fields_required: preparedFieldsRequired,
|
116
139
|
...params,
|
117
140
|
}, { concurrentId, requestConfig: { signal } });
|
118
141
|
}
|
@@ -288,7 +311,15 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
288
311
|
timeout: TRACE_CHECK_TIMEOUT,
|
289
312
|
'axios-retry': {
|
290
313
|
retries: MAX_TRACE_CHECK_RETRIES,
|
291
|
-
retryDelay:
|
314
|
+
retryDelay: (_, error) => {
|
315
|
+
var _a;
|
316
|
+
const isTracingError = isAxiosError(error) &&
|
317
|
+
(((_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.status) === 404 || error.code === 'ERR_NETWORK');
|
318
|
+
if (isTracingError) {
|
319
|
+
return TRACE_CHECK_TIMEOUT;
|
320
|
+
}
|
321
|
+
return TRACE_API_ERROR_TIMEOUT;
|
322
|
+
},
|
292
323
|
shouldResetTimeout: true,
|
293
324
|
retryCondition: () => true,
|
294
325
|
},
|
@@ -379,12 +410,6 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
379
410
|
const tablesParam = table === null || table === void 0 ? void 0 : table.join(',');
|
380
411
|
return this.get(this.getPath('/viewer/json/autocomplete'), { ...rest, table: tablesParam }, { concurrentId: 'sql-autocomplete' });
|
381
412
|
}
|
382
|
-
// used if not single cluster mode
|
383
|
-
getClustersList(_, { signal } = {}) {
|
384
|
-
return this.get(`${META_BACKEND || ''}/meta/clusters`, null, {
|
385
|
-
requestConfig: { signal },
|
386
|
-
});
|
387
|
-
}
|
388
413
|
createSchemaDirectory({ database, path }, { signal } = {}) {
|
389
414
|
return this.post(this.getPath('/scheme/directory'), {}, {
|
390
415
|
database,
|
@@ -393,17 +418,33 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
393
418
|
requestConfig: { signal },
|
394
419
|
});
|
395
420
|
}
|
421
|
+
getClustersList(_, __ = {}) {
|
422
|
+
throw new Error('Method is not implemented.');
|
423
|
+
}
|
424
|
+
getClusterBaseInfo(_clusterName, _opts = {}) {
|
425
|
+
throw new Error('Method is not implemented.');
|
426
|
+
}
|
396
427
|
}
|
397
428
|
export class YdbWebVersionAPI extends YdbEmbeddedAPI {
|
429
|
+
getClustersList(_, { signal } = {}) {
|
430
|
+
return this.get(`${META_BACKEND || ''}/meta/clusters`, null, {
|
431
|
+
requestConfig: { signal },
|
432
|
+
});
|
433
|
+
}
|
398
434
|
getClusterInfo(clusterName, { signal } = {}) {
|
399
435
|
return this.get(`${META_BACKEND || ''}/meta/cluster`, {
|
400
436
|
name: clusterName,
|
401
437
|
}, { concurrentId: `getCluster${clusterName}`, requestConfig: { signal } }).then(parseMetaCluster);
|
402
438
|
}
|
403
|
-
getTenants(clusterName, {
|
439
|
+
getTenants(clusterName, { signal } = {}) {
|
404
440
|
return this.get(`${META_BACKEND || ''}/meta/cp_databases`, {
|
405
441
|
cluster_name: clusterName,
|
406
|
-
}, {
|
442
|
+
}, { requestConfig: { signal } }).then(parseMetaTenants);
|
443
|
+
}
|
444
|
+
getClusterBaseInfo(clusterName, { concurrentId, signal } = {}) {
|
445
|
+
return this.get(`${META_BACKEND || ''}/meta/db_clusters`, {
|
446
|
+
name: clusterName,
|
447
|
+
}, { concurrentId, requestConfig: { signal } }).then((data) => data[0]);
|
407
448
|
}
|
408
449
|
}
|
409
450
|
export function createApi({ webVersion = false, withCredentials = false } = {}) {
|
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAyCzE,OAAO,EACH,iCAAiC,EACjC,mCAAmC,EACnC,YAAY,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,4DAA4D;AAC5D,MAAM,mBAAmB,GAAG,CAAC,GAAG,YAAY,CAAC;AAC7C,MAAM,uBAAuB,GAAG,CAAC,CAAC;AAQlC,MAAM,OAAO,cAAe,SAAQ,YAAY;IAG5C,YAAY,OAA6B;QACrC,KAAK,CAAC,OAAO,CAAC,CAAC;QAHnB,0BAAqB,GAAG,CAAC,CAAC;QAKtB,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB;YACnC,UAAU,EAAE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,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
|
@@ -1,3 +1,17 @@
|
|
1
1
|
import type { TClusterInfo } from '../../types/api/cluster';
|
2
2
|
import type { MetaCluster } from '../../types/api/meta';
|
3
3
|
export declare const parseMetaCluster: (data: MetaCluster) => TClusterInfo;
|
4
|
+
export declare function parseTraceFields({ traceCheck, traceView, }: {
|
5
|
+
traceCheck?: string;
|
6
|
+
traceView?: string;
|
7
|
+
}): {
|
8
|
+
traceCheck: {
|
9
|
+
url: string;
|
10
|
+
} | undefined;
|
11
|
+
traceView: {
|
12
|
+
url: string;
|
13
|
+
} | undefined;
|
14
|
+
} | {
|
15
|
+
traceCheck?: undefined;
|
16
|
+
traceView?: undefined;
|
17
|
+
};
|
@@ -1,37 +1,11 @@
|
|
1
|
-
|
2
|
-
return Boolean(obj instanceof Object && obj.url);
|
3
|
-
}
|
4
|
-
function isTraceView(obj) {
|
5
|
-
return Boolean(obj instanceof Object && obj.url);
|
6
|
-
}
|
1
|
+
import { traceCheckSchema, traceViewSchema } from '../../types/api/trace';
|
7
2
|
export const parseMetaCluster = (data) => {
|
8
3
|
const { cluster = {} } = data;
|
9
4
|
const { cluster: generalClusterInfo, balancer, solomon, trace_check: traceCheck, trace_view: traceView, } = cluster;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
const parsedTraceCheck = JSON.parse(traceCheck);
|
15
|
-
if (isTraceCheck(parsedTraceCheck)) {
|
16
|
-
TraceCheck = parsedTraceCheck;
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
console.error('Parsed traceCheck does not match TTraceCheck structure');
|
20
|
-
}
|
21
|
-
}
|
22
|
-
if (traceView) {
|
23
|
-
const parsedTraceView = JSON.parse(traceView);
|
24
|
-
if (isTraceView(parsedTraceView)) {
|
25
|
-
TraceView = parsedTraceView;
|
26
|
-
}
|
27
|
-
else {
|
28
|
-
console.error('Parsed traceView does not match TTraceView structure');
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
catch (e) {
|
33
|
-
console.error('Error parsing JSON:', e);
|
34
|
-
}
|
5
|
+
const { traceCheck: TraceCheck, traceView: TraceView } = parseTraceFields({
|
6
|
+
traceCheck,
|
7
|
+
traceView,
|
8
|
+
});
|
35
9
|
return {
|
36
10
|
...generalClusterInfo,
|
37
11
|
Name: cluster.title || (generalClusterInfo === null || generalClusterInfo === void 0 ? void 0 : generalClusterInfo.Name),
|
@@ -41,4 +15,16 @@ export const parseMetaCluster = (data) => {
|
|
41
15
|
TraceView,
|
42
16
|
};
|
43
17
|
};
|
18
|
+
export function parseTraceFields({ traceCheck, traceView, }) {
|
19
|
+
try {
|
20
|
+
return {
|
21
|
+
traceCheck: traceCheck ? traceCheckSchema.parse(JSON.parse(traceCheck)) : undefined,
|
22
|
+
traceView: traceView ? traceViewSchema.parse(JSON.parse(traceView)) : undefined,
|
23
|
+
};
|
24
|
+
}
|
25
|
+
catch (e) {
|
26
|
+
console.error('Error parsing trace fields:', e);
|
27
|
+
}
|
28
|
+
return {};
|
29
|
+
}
|
44
30
|
//# sourceMappingURL=parseMetaCluster.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseMetaCluster.js","sourceRoot":"","sources":["../../../src/services/parsers/parseMetaCluster.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"parseMetaCluster.js","sourceRoot":"","sources":["../../../src/services/parsers/parseMetaCluster.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAExE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAiB,EAAgB,EAAE;IAChE,MAAM,EAAC,OAAO,GAAG,EAAE,EAAC,GAAG,IAAI,CAAC;IAE5B,MAAM,EACF,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EACR,OAAO,EACP,WAAW,EAAE,UAAU,EACvB,UAAU,EAAE,SAAS,GACxB,GAAG,OAAO,CAAC;IAEZ,MAAM,EAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAC,GAAG,gBAAgB,CAAC;QACpE,UAAU;QACV,SAAS;KACZ,CAAC,CAAC;IAEH,OAAO;QACH,GAAG,kBAAkB;QACrB,IAAI,EAAE,OAAO,CAAC,KAAK,KAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,IAAI,CAAA;QAE/C,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,OAAO;QAChB,UAAU;QACV,SAAS;KACZ,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,EAC7B,UAAU,EACV,SAAS,GAIZ;IACG,IAAI,CAAC;QACD,OAAO;YACH,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YACnF,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;SAClF,CAAC;IACN,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
|
@@ -4,7 +4,6 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
4
4
|
readonly theme: "system";
|
5
5
|
readonly language: undefined;
|
6
6
|
readonly invertedDisks: false;
|
7
|
-
readonly useNodesEndpointInDiagnostics: true;
|
8
7
|
readonly use_advanced_storage: false;
|
9
8
|
readonly queryUseMultiSchema: true;
|
10
9
|
readonly binaryDataInPlainTextDisplay: true;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
|
2
|
-
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY,
|
2
|
+
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
3
3
|
import { QUERY_ACTIONS } from '../utils/query';
|
4
4
|
import { parseJson } from '../utils/utils';
|
5
5
|
/** User settings keys and their default values */
|
@@ -7,7 +7,6 @@ export const DEFAULT_USER_SETTINGS = {
|
|
7
7
|
[THEME_KEY]: 'system',
|
8
8
|
[LANGUAGE_KEY]: undefined,
|
9
9
|
[INVERTED_DISKS_KEY]: false,
|
10
|
-
[USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY]: true,
|
11
10
|
[USE_ADVANCED_STORAGE_KEY]: false,
|
12
11
|
[QUERY_USE_MULTI_SCHEMA_KEY]: true,
|
13
12
|
[BINARY_DATA_IN_PLAIN_TEXT_DISPLAY]: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,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
6
6
|
export declare const metaBackend: string | undefined;
|
7
7
|
export declare function configureStore({ aRootReducer, singleClusterMode, api, }?: {
|
8
8
|
aRootReducer?: Reducer<{
|
9
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
9
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
10
10
|
singleClusterMode: boolean;
|
11
11
|
cluster: import("./reducers/cluster/types").ClusterState;
|
12
12
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -36,7 +36,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
36
36
|
} | {
|
37
37
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
38
38
|
} | Action<string>, Partial<{
|
39
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
39
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api"> | undefined;
|
40
40
|
singleClusterMode: boolean | undefined;
|
41
41
|
cluster: import("./reducers/cluster/types").ClusterState | undefined;
|
42
42
|
tenant: import("./reducers/tenant/types").TenantState | undefined;
|
@@ -60,7 +60,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
60
60
|
}): {
|
61
61
|
history: History<unknown>;
|
62
62
|
store: import("@reduxjs/toolkit").EnhancedStore<{
|
63
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
63
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
64
64
|
singleClusterMode: boolean;
|
65
65
|
cluster: import("./reducers/cluster/types").ClusterState;
|
66
66
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -91,7 +91,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
91
91
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
92
92
|
} | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
93
93
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
94
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
94
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
95
95
|
singleClusterMode: boolean;
|
96
96
|
cluster: import("./reducers/cluster/types").ClusterState;
|
97
97
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
2
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
2
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
3
3
|
singleClusterMode: boolean;
|
4
4
|
cluster: import("./reducers/cluster/types").ClusterState;
|
5
5
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -30,7 +30,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
30
30
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
31
31
|
} | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
32
32
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
33
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
33
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
34
34
|
singleClusterMode: boolean;
|
35
35
|
cluster: import("./reducers/cluster/types").ClusterState;
|
36
36
|
tenant: import("./reducers/tenant/types").TenantState;
|
package/dist/store/getUrlData.js
CHANGED
@@ -1,18 +1,21 @@
|
|
1
|
-
import url from 'url';
|
2
1
|
export const getUrlData = ({ href, singleClusterMode, customBackend, }) => {
|
2
|
+
var _a, _b, _c;
|
3
3
|
if (!singleClusterMode) {
|
4
|
-
const
|
4
|
+
const urlSearchParams = new URL(href).searchParams;
|
5
|
+
const backend = (_a = urlSearchParams.get('backend')) !== null && _a !== void 0 ? _a : undefined;
|
6
|
+
const clusterName = (_b = urlSearchParams.get('clusterName')) !== null && _b !== void 0 ? _b : undefined;
|
5
7
|
return {
|
6
8
|
basename: '/',
|
7
|
-
backend
|
8
|
-
clusterName
|
9
|
+
backend,
|
10
|
+
clusterName,
|
9
11
|
};
|
10
12
|
}
|
11
13
|
else if (customBackend) {
|
12
|
-
const
|
14
|
+
const urlSearchParams = new URL(href).searchParams;
|
15
|
+
const backend = (_c = urlSearchParams.get('backend')) !== null && _c !== void 0 ? _c : undefined;
|
13
16
|
return {
|
14
17
|
basename: '/',
|
15
|
-
backend: backend ?
|
18
|
+
backend: backend ? backend : customBackend,
|
16
19
|
};
|
17
20
|
}
|
18
21
|
else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getUrlData.js","sourceRoot":"","sources":["../../src/store/getUrlData.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"getUrlData.js","sourceRoot":"","sources":["../../src/store/getUrlData.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACvB,IAAI,EACJ,iBAAiB,EACjB,aAAa,GAKhB,EAAE,EAAE;;IACD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACrB,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC;QACnD,MAAM,OAAO,GAAG,MAAA,eAAe,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;QAC5D,MAAM,WAAW,GAAG,MAAA,eAAe,CAAC,GAAG,CAAC,aAAa,CAAC,mCAAI,SAAS,CAAC;QACpE,OAAO;YACH,QAAQ,EAAE,GAAG;YACb,OAAO;YACP,WAAW;SACd,CAAC;IACN,CAAC;SAAM,IAAI,aAAa,EAAE,CAAC;QACvB,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC;QACnD,MAAM,OAAO,GAAG,MAAA,eAAe,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;QAC5D,OAAO;YACH,QAAQ,EAAE,GAAG;YACb,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa;SAC7C,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;QAChF,MAAM,cAAc,GAAG,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtE,MAAM,QAAQ,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAE1E,OAAO;YACH,QAAQ;YACR,OAAO,EAAE,cAAc,IAAI,EAAE;SAChC,CAAC;IACN,CAAC;AACL,CAAC,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { BaseQueryFn } from '@reduxjs/toolkit/query';
|
2
|
-
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "
|
2
|
+
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
3
|
export declare const _NEVER: unique symbol;
|
@@ -7,7 +7,7 @@ export const api = createApi({
|
|
7
7
|
*/
|
8
8
|
endpoints: () => ({}),
|
9
9
|
invalidationBehavior: 'immediately',
|
10
|
-
tagTypes: ['All', 'PDiskData', '
|
10
|
+
tagTypes: ['All', 'PDiskData', 'PreviewData', 'StorageData', 'Tablet', 'UserData', 'VDiskData'],
|
11
11
|
});
|
12
12
|
export const _NEVER = Symbol();
|
13
13
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,CAAC;CAClG,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC;AAG/B;;;;;GAKG;AACH,SAAS,aAAa;IAClB,OAAO;QACH,MAAM,IAAI,KAAK,CACX,+FAA+F,CAClG,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
|
@@ -29,10 +29,10 @@ export declare const selectIsUserAllowedToMakeChanges: import("reselect").Select
|
|
29
29
|
unwrapped: (state: AuthenticationState) => string | undefined;
|
30
30
|
};
|
31
31
|
export declare const authenticationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
32
|
-
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
32
|
+
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", TUserToken | undefined, "api">;
|
33
33
|
authenticate: import("@reduxjs/toolkit/query").MutationDefinition<{
|
34
34
|
user: string;
|
35
35
|
password: string;
|
36
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
37
|
-
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
38
|
-
}, "api", "All" | "PDiskData" | "
|
36
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
37
|
+
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
38
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,6 +3,6 @@ interface SendQueryParams extends Omit<QueryRequestParams, 'query'> {
|
|
3
3
|
queryId: string;
|
4
4
|
}
|
5
5
|
export declare const cancelQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
6
|
-
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
7
|
-
}, "api", "All" | "PDiskData" | "
|
6
|
+
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", IQueryResult, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
8
|
export {};
|