ydb-embedded-ui 6.18.0 → 6.19.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/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/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/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/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 +17 -10
- package/dist/services/api.js +62 -16
- 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/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 +34 -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 +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/types/api/capabilities.d.ts +1 -1
- 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 +4 -2
- 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/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/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/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/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
@@ -3,10 +3,10 @@ export declare const topicApi: import("@reduxjs/toolkit/query").Api<import("@red
|
|
3
3
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
4
4
|
path: string;
|
5
5
|
database: string;
|
6
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
7
|
-
}, "api", "All" | "PDiskData" | "
|
6
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "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 declare const selectConsumersNames: ((state: {
|
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("./cluster/types").ClusterState;
|
12
12
|
tenant: import("./tenant/types").TenantState;
|
@@ -37,7 +37,7 @@ export declare const selectConsumersNames: ((state: {
|
|
37
37
|
};
|
38
38
|
lastResult: () => string[] | undefined;
|
39
39
|
dependencies: [((state: {
|
40
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
40
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
41
41
|
singleClusterMode: boolean;
|
42
42
|
cluster: import("./cluster/types").ClusterState;
|
43
43
|
tenant: import("./tenant/types").TenantState;
|
@@ -61,7 +61,7 @@ export declare const selectConsumersNames: ((state: {
|
|
61
61
|
resetResultsCount: () => void;
|
62
62
|
} & {
|
63
63
|
resultFunc: (resultFuncArgs_0: {
|
64
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
64
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
65
65
|
singleClusterMode: boolean;
|
66
66
|
cluster: import("./cluster/types").ClusterState;
|
67
67
|
tenant: import("./tenant/types").TenantState;
|
@@ -83,13 +83,13 @@ export declare const selectConsumersNames: ((state: {
|
|
83
83
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
84
84
|
path: string;
|
85
85
|
database: string;
|
86
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
87
|
-
}, "All" | "PDiskData" | "
|
86
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
87
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
88
88
|
path: string;
|
89
89
|
database: string;
|
90
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
90
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
|
91
91
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
92
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
92
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
93
93
|
singleClusterMode: boolean;
|
94
94
|
cluster: import("./cluster/types").ClusterState;
|
95
95
|
tenant: import("./tenant/types").TenantState;
|
@@ -111,18 +111,18 @@ export declare const selectConsumersNames: ((state: {
|
|
111
111
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
112
112
|
path: string;
|
113
113
|
database: string;
|
114
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
115
|
-
}, "All" | "PDiskData" | "
|
114
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
115
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
116
116
|
path: string;
|
117
117
|
database: string;
|
118
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
118
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
119
119
|
clearCache: () => void;
|
120
120
|
resultsCount: () => number;
|
121
121
|
resetResultsCount: () => void;
|
122
122
|
};
|
123
123
|
lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
|
124
124
|
dependencies: [(state: RootState) => {
|
125
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
125
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
126
126
|
singleClusterMode: boolean;
|
127
127
|
cluster: import("./cluster/types").ClusterState;
|
128
128
|
tenant: import("./tenant/types").TenantState;
|
@@ -144,11 +144,11 @@ export declare const selectConsumersNames: ((state: {
|
|
144
144
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
145
145
|
path: string;
|
146
146
|
database: string;
|
147
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
148
|
-
}, "All" | "PDiskData" | "
|
147
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
148
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
149
149
|
path: string;
|
150
150
|
database: string;
|
151
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
151
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
152
152
|
recomputations: () => number;
|
153
153
|
resetRecomputations: () => void;
|
154
154
|
dependencyRecomputations: () => number;
|
@@ -166,7 +166,7 @@ export declare const selectConsumersNames: ((state: {
|
|
166
166
|
memoize: typeof import("reselect").weakMapMemoize;
|
167
167
|
};
|
168
168
|
export declare const selectPreparedTopicStats: ((state: {
|
169
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
169
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
170
170
|
singleClusterMode: boolean;
|
171
171
|
cluster: import("./cluster/types").ClusterState;
|
172
172
|
tenant: import("./tenant/types").TenantState;
|
@@ -217,7 +217,7 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
217
217
|
writeSpeed: import("../../utils/bytesParsers").ProcessSpeedStats;
|
218
218
|
} | undefined;
|
219
219
|
dependencies: [((state: {
|
220
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
220
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
221
221
|
singleClusterMode: boolean;
|
222
222
|
cluster: import("./cluster/types").ClusterState;
|
223
223
|
tenant: import("./tenant/types").TenantState;
|
@@ -241,7 +241,7 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
241
241
|
resetResultsCount: () => void;
|
242
242
|
} & {
|
243
243
|
resultFunc: (resultFuncArgs_0: {
|
244
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
244
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
245
245
|
singleClusterMode: boolean;
|
246
246
|
cluster: import("./cluster/types").ClusterState;
|
247
247
|
tenant: import("./tenant/types").TenantState;
|
@@ -263,13 +263,13 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
263
263
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
264
264
|
path: string;
|
265
265
|
database: string;
|
266
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
267
|
-
}, "All" | "PDiskData" | "
|
266
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
267
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
268
268
|
path: string;
|
269
269
|
database: string;
|
270
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
270
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined;
|
271
271
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
272
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
272
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
273
273
|
singleClusterMode: boolean;
|
274
274
|
cluster: import("./cluster/types").ClusterState;
|
275
275
|
tenant: import("./tenant/types").TenantState;
|
@@ -291,18 +291,18 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
291
291
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
292
292
|
path: string;
|
293
293
|
database: string;
|
294
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
295
|
-
}, "All" | "PDiskData" | "
|
294
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
295
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
296
296
|
path: string;
|
297
297
|
database: string;
|
298
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
298
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined) & {
|
299
299
|
clearCache: () => void;
|
300
300
|
resultsCount: () => number;
|
301
301
|
resetResultsCount: () => void;
|
302
302
|
};
|
303
303
|
lastResult: () => import("../../types/api/topic").TopicStats | undefined;
|
304
304
|
dependencies: [(state: RootState) => {
|
305
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
305
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
306
306
|
singleClusterMode: boolean;
|
307
307
|
cluster: import("./cluster/types").ClusterState;
|
308
308
|
tenant: import("./tenant/types").TenantState;
|
@@ -324,11 +324,11 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
324
324
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
325
325
|
path: string;
|
326
326
|
database: string;
|
327
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
328
|
-
}, "All" | "PDiskData" | "
|
327
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
328
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
329
329
|
path: string;
|
330
330
|
database: string;
|
331
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
331
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
332
332
|
recomputations: () => number;
|
333
333
|
resetRecomputations: () => void;
|
334
334
|
dependencyRecomputations: () => number;
|
@@ -346,7 +346,7 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
346
346
|
memoize: typeof import("reselect").weakMapMemoize;
|
347
347
|
};
|
348
348
|
export declare const selectPreparedConsumersData: ((state: {
|
349
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
349
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
350
350
|
singleClusterMode: boolean;
|
351
351
|
cluster: import("./cluster/types").ClusterState;
|
352
352
|
tenant: import("./tenant/types").TenantState;
|
@@ -401,7 +401,7 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
401
401
|
readIdleTime: number;
|
402
402
|
}[] | undefined;
|
403
403
|
dependencies: [((state: {
|
404
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
404
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
405
405
|
singleClusterMode: boolean;
|
406
406
|
cluster: import("./cluster/types").ClusterState;
|
407
407
|
tenant: import("./tenant/types").TenantState;
|
@@ -425,7 +425,7 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
425
425
|
resetResultsCount: () => void;
|
426
426
|
} & {
|
427
427
|
resultFunc: (resultFuncArgs_0: {
|
428
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
428
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
429
429
|
singleClusterMode: boolean;
|
430
430
|
cluster: import("./cluster/types").ClusterState;
|
431
431
|
tenant: import("./tenant/types").TenantState;
|
@@ -447,13 +447,13 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
447
447
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
448
448
|
path: string;
|
449
449
|
database: string;
|
450
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
451
|
-
}, "All" | "PDiskData" | "
|
450
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
451
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
452
452
|
path: string;
|
453
453
|
database: string;
|
454
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
454
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
|
455
455
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
456
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
456
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
457
457
|
singleClusterMode: boolean;
|
458
458
|
cluster: import("./cluster/types").ClusterState;
|
459
459
|
tenant: import("./tenant/types").TenantState;
|
@@ -475,18 +475,18 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
475
475
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
476
476
|
path: string;
|
477
477
|
database: string;
|
478
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
479
|
-
}, "All" | "PDiskData" | "
|
478
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
479
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
480
480
|
path: string;
|
481
481
|
database: string;
|
482
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
482
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
483
483
|
clearCache: () => void;
|
484
484
|
resultsCount: () => number;
|
485
485
|
resetResultsCount: () => void;
|
486
486
|
};
|
487
487
|
lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
|
488
488
|
dependencies: [(state: RootState) => {
|
489
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "
|
489
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
490
490
|
singleClusterMode: boolean;
|
491
491
|
cluster: import("./cluster/types").ClusterState;
|
492
492
|
tenant: import("./tenant/types").TenantState;
|
@@ -508,11 +508,11 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
508
508
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
509
509
|
path: string;
|
510
510
|
database: string;
|
511
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
512
|
-
}, "All" | "PDiskData" | "
|
511
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
512
|
+
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
513
513
|
path: string;
|
514
514
|
database: string;
|
515
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
515
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
516
516
|
recomputations: () => number;
|
517
517
|
resetRecomputations: () => void;
|
518
518
|
dependencyRecomputations: () => number;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import type { BaseQueryFn } from '@reduxjs/toolkit/query';
|
2
1
|
interface CheckTraceParams {
|
3
|
-
url
|
2
|
+
url: string;
|
4
3
|
}
|
5
|
-
export declare const traceApi: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
6
|
-
checkTrace: import("@reduxjs/toolkit/query").QueryDefinition<CheckTraceParams, BaseQueryFn,
|
7
|
-
}, "api", "All" | "PDiskData" | "
|
4
|
+
export declare const traceApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
5
|
+
checkTrace: import("@reduxjs/toolkit/query").QueryDefinition<CheckTraceParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
7
|
export {};
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { api } from './api';
|
2
|
-
|
3
|
-
|
2
|
+
export const traceApi = api.injectEndpoints({
|
3
|
+
endpoints: (build) => ({
|
4
4
|
checkTrace: build.query({
|
5
5
|
queryFn: async ({ url }, { signal }) => {
|
6
6
|
try {
|
7
|
-
if (!url) {
|
8
|
-
throw new Error('no tracecheck url provided');
|
9
|
-
}
|
10
7
|
const response = await window.api.checkTrace({ url }, { signal });
|
11
8
|
return { data: response };
|
12
9
|
}
|
@@ -15,7 +12,7 @@ function endpoints(build) {
|
|
15
12
|
}
|
16
13
|
},
|
17
14
|
}),
|
18
|
-
}
|
19
|
-
|
20
|
-
|
15
|
+
}),
|
16
|
+
overrideExisting: 'throw',
|
17
|
+
});
|
21
18
|
//# sourceMappingURL=trace.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAM1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACjD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC9D,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type { TEvPDiskStateResponse } from '../../../types/api/pdisk';
|
2
|
-
import type { TStorageInfo } from '../../../types/api/storage';
|
3
2
|
import type { TEvSystemStateResponse } from '../../../types/api/systemState';
|
4
3
|
import type { TEvVDiskStateResponse } from '../../../types/api/vdisk';
|
5
4
|
import type { VDiskData } from './types';
|
@@ -8,4 +7,3 @@ export declare function prepareVDiskDataResponse([vDiskResponse, pDiskResponse,
|
|
8
7
|
TEvPDiskStateResponse,
|
9
8
|
TEvSystemStateResponse
|
10
9
|
]): VDiskData;
|
11
|
-
export declare function prepareVDiskGroupResponse(data: TStorageInfo, poolName: string, groupId: number): import("../storage/types").PreparedStorageGroup | undefined;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepareDisks';
|
2
2
|
import { prepareNodeSystemState } from '../../../utils/nodes';
|
3
|
-
import { prepareStorageGroupData } from '../storage/utils';
|
4
3
|
export function prepareVDiskDataResponse([vDiskResponse, pDiskResponse, nodeResponse]) {
|
5
4
|
var _a, _b, _c, _d, _e, _f, _g;
|
6
5
|
const rawVDisk = (_a = vDiskResponse.VDiskStateInfo) === null || _a === void 0 ? void 0 : _a[0];
|
@@ -25,13 +24,4 @@ export function prepareVDiskDataResponse([vDiskResponse, pDiskResponse, nodeResp
|
|
25
24
|
PDiskType,
|
26
25
|
};
|
27
26
|
}
|
28
|
-
export function prepareVDiskGroupResponse(data, poolName, groupId) {
|
29
|
-
var _a, _b;
|
30
|
-
const rawPoolData = (_a = data.StoragePools) === null || _a === void 0 ? void 0 : _a.find((pool) => pool.Name === poolName);
|
31
|
-
const rawGroupData = (_b = rawPoolData === null || rawPoolData === void 0 ? void 0 : rawPoolData.Groups) === null || _b === void 0 ? void 0 : _b.find((group) => group.GroupID === groupId);
|
32
|
-
if (rawGroupData && rawPoolData) {
|
33
|
-
return prepareStorageGroupData(rawGroupData, rawPoolData);
|
34
|
-
}
|
35
|
-
return undefined;
|
36
|
-
}
|
37
27
|
//# sourceMappingURL=utils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/utils.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,UAAU,wBAAwB,CAAC,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,CAInF;;IACG,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,OAAO,GAAG,MAAA,YAAY,CAAC,eAAe,0CAAG,CAAC,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,MAAA,MAAA,aAAa,CAAC,MAAM,mCAAI,aAAa,CAAC,MAAM,mCAAI,YAAY,CAAC,MAAM,CAAC;IACnF,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAA,YAAY,CAAC,KAAK,0CAAG,CAAC,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IAE/B,MAAM,OAAO,GAAG,MAAA,aAAa,CAAC,OAAO,mCAAI,aAAa,CAAC,OAAO,CAAC;IAC/D,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC;IAErC,OAAO;QACH,GAAG,aAAa;QAEhB,MAAM;QACN,QAAQ;QACR,QAAQ;QACR,MAAM;QAEN,OAAO;QACP,SAAS;KACZ,CAAC;AACN,CAAC"}
|
@@ -1,6 +1,9 @@
|
|
1
|
+
interface VDiskDataRequestParams {
|
2
|
+
nodeId: number | string;
|
3
|
+
pDiskId: number | string;
|
4
|
+
vDiskSlotId: number | string;
|
5
|
+
}
|
1
6
|
export declare const vDiskApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
2
|
-
getVDiskData: import("@reduxjs/toolkit/query").QueryDefinition<
|
3
|
-
|
4
|
-
|
5
|
-
} | undefined, "api">;
|
6
|
-
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
7
|
+
getVDiskData: import("@reduxjs/toolkit/query").QueryDefinition<VDiskDataRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").VDiskData | undefined, "api">;
|
8
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
export {};
|
@@ -1,47 +1,32 @@
|
|
1
|
-
import {
|
2
|
-
import { valueIsDefined } from '../../../utils';
|
1
|
+
import { getVDiskSlotBasedId } from '../../../utils/disks/helpers';
|
3
2
|
import { api } from '../api';
|
4
|
-
import { prepareVDiskDataResponse
|
3
|
+
import { prepareVDiskDataResponse } from './utils';
|
5
4
|
export const vDiskApi = api.injectEndpoints({
|
6
5
|
endpoints: (build) => ({
|
7
6
|
getVDiskData: build.query({
|
8
|
-
queryFn: async ({ nodeId, pDiskId, vDiskSlotId }) => {
|
7
|
+
queryFn: async ({ nodeId, pDiskId, vDiskSlotId }, { signal }) => {
|
9
8
|
try {
|
10
|
-
const
|
11
|
-
nodeId,
|
12
|
-
pDiskId,
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
const response = await Promise.all([
|
10
|
+
window.api.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
|
11
|
+
window.api.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
|
12
|
+
window.api.getNodeInfo(nodeId, { signal }),
|
13
|
+
]);
|
14
|
+
const data = prepareVDiskDataResponse(response);
|
15
|
+
return { data };
|
16
16
|
}
|
17
17
|
catch (error) {
|
18
18
|
return { error };
|
19
19
|
}
|
20
20
|
},
|
21
|
-
providesTags: [
|
21
|
+
providesTags: (_result, _error, arg) => [
|
22
|
+
'All',
|
23
|
+
{
|
24
|
+
type: 'VDiskData',
|
25
|
+
id: getVDiskSlotBasedId(arg.nodeId, arg.pDiskId, arg.vDiskSlotId),
|
26
|
+
},
|
27
|
+
],
|
22
28
|
}),
|
23
29
|
}),
|
24
30
|
overrideExisting: 'throw',
|
25
31
|
});
|
26
|
-
async function requestVDiskData({ nodeId, pDiskId, vDiskSlotId }, { signal } = {}) {
|
27
|
-
const vDiskDataResponse = await Promise.all([
|
28
|
-
window.api.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
|
29
|
-
window.api.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
|
30
|
-
window.api.getNodeInfo(nodeId, { signal }),
|
31
|
-
]);
|
32
|
-
const vDiskData = prepareVDiskDataResponse(vDiskDataResponse);
|
33
|
-
const { StoragePoolName, VDiskId = {} } = vDiskData;
|
34
|
-
const { GroupID } = VDiskId;
|
35
|
-
let groupData;
|
36
|
-
if (valueIsDefined(StoragePoolName) && valueIsDefined(GroupID)) {
|
37
|
-
const groupResponse = await window.api.getStorageInfo({
|
38
|
-
nodeId,
|
39
|
-
poolName: StoragePoolName,
|
40
|
-
groupId: GroupID,
|
41
|
-
version: EVersion.v1,
|
42
|
-
}, { signal });
|
43
|
-
groupData = prepareVDiskGroupResponse(groupResponse, StoragePoolName, GroupID);
|
44
|
-
}
|
45
|
-
return { vDiskData, groupData };
|
46
|
-
}
|
47
32
|
//# sourceMappingURL=vdisk.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/vdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"vdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/vdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,wBAAwB,EAAC,MAAM,SAAS,CAAC;AAQjD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC;YACtB,OAAO,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAyB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChF,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC/B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBACjE,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,EAAC,MAAM,EAAE,OAAO,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBAClE,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC;qBAC3C,CAAC,CAAC;oBACH,MAAM,IAAI,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;oBAChD,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC;gBACpC,KAAK;gBACL;oBACI,IAAI,EAAE,WAAW;oBACjB,EAAE,EAAE,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC;iBACpE;aACJ;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -2,5 +2,5 @@ export declare const viewSchemaApi: import("@reduxjs/toolkit/query").Api<import(
|
|
2
2
|
getViewSchema: import("@reduxjs/toolkit/query").QueryDefinition<{
|
3
3
|
database: string;
|
4
4
|
path: string;
|
5
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "
|
6
|
-
}, "api", "All" | "PDiskData" | "
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/query").ColumnType[] | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -4,4 +4,4 @@
|
|
4
4
|
export interface CapabilitiesResponse {
|
5
5
|
Capabilities: Record<Partial<Capability>, number>;
|
6
6
|
}
|
7
|
-
export type Capability = '/pdisk/info' | '/scheme/directory' | '/viewer/query';
|
7
|
+
export type Capability = '/pdisk/info' | '/scheme/directory' | '/storage/groups' | '/viewer/query';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../../src/types/api/compute.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../../src/types/api/compute.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface FeatureFlagConfig {
|
2
|
+
Name: string;
|
3
|
+
Current?: boolean;
|
4
|
+
Default?: boolean;
|
5
|
+
}
|
6
|
+
interface ConfigDb {
|
7
|
+
Name: string;
|
8
|
+
FeatureFlags: FeatureFlagConfig[];
|
9
|
+
}
|
10
|
+
export interface FeatureFlagConfigs {
|
11
|
+
Databases: ConfigDb[];
|
12
|
+
}
|
13
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"featureFlags.js","sourceRoot":"","sources":["../../../src/types/api/featureFlags.ts"],"names":[],"mappings":""}
|
package/dist/types/api/meta.d.ts
CHANGED
@@ -17,7 +17,7 @@ export interface MetaExtendedClusterInfo extends MetaGeneralClusterInfo {
|
|
17
17
|
hosts?: Record<string, number>;
|
18
18
|
versions?: MetaClusterVersion[];
|
19
19
|
}
|
20
|
-
export interface
|
20
|
+
export interface MetaBaseClusterInfo {
|
21
21
|
owner?: string;
|
22
22
|
location?: string;
|
23
23
|
image?: string;
|
@@ -33,10 +33,12 @@ export interface MetaGeneralClusterInfo {
|
|
33
33
|
description?: string;
|
34
34
|
balancer?: string;
|
35
35
|
service?: string;
|
36
|
-
cluster?: MetaViewerClusterInfo;
|
37
36
|
trace_view?: string;
|
38
37
|
trace_check?: string;
|
39
38
|
}
|
39
|
+
export interface MetaGeneralClusterInfo extends MetaBaseClusterInfo {
|
40
|
+
cluster?: MetaViewerClusterInfo;
|
41
|
+
}
|
40
42
|
export interface MetaViewerClusterInfo extends TClusterInfo {
|
41
43
|
error?: string;
|
42
44
|
}
|
@@ -113,7 +113,7 @@ export interface TPDiskInfo {
|
|
113
113
|
Category?: string;
|
114
114
|
DecommitStatus?: EDecommitStatus;
|
115
115
|
}
|
116
|
-
type EDriveStatus = 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'BROKEN' | 'FAULTY' | 'TO_BE_REMOVED';
|
116
|
+
export type EDriveStatus = 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'BROKEN' | 'FAULTY' | 'TO_BE_REMOVED';
|
117
117
|
export type EDecommitStatus = 'DECOMMIT_UNSET' | 'DECOMMIT_NONE' | 'DECOMMIT_PENDING' | 'DECOMMIT_IMMINENT' | 'DECOMMIT_REJECTED';
|
118
118
|
type EPDiskType = 'ROT' | 'SSD' | 'NVME' | 'UNKNOWN_TYPE';
|
119
119
|
export {};
|