ydb-embedded-ui 6.12.0 → 6.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +9 -5
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +5 -3
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +8 -7
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +1 -1
- package/dist/components/CriticalActionDialog/i18n/en.json +1 -0
- package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
- package/dist/components/Errors/PageError/PageError.d.ts +11 -0
- package/dist/components/Errors/PageError/PageError.js +19 -0
- package/dist/components/Errors/i18n/en.json +2 -1
- package/dist/components/Errors/i18n/index.d.ts +1 -1
- package/dist/components/Errors/i18n/ru.json +2 -1
- package/dist/components/Fullscreen/Fullscreen.d.ts +1 -1
- package/dist/components/Fullscreen/Fullscreen.js +34 -27
- package/dist/components/Fullscreen/Fullscreen.scss +16 -8
- package/dist/components/Graph/Graph.d.ts +13 -0
- package/dist/components/Graph/Graph.js +41 -0
- package/dist/components/LabelWithPopover/LabelWithPopover.d.ts +4 -1
- package/dist/components/LabelWithPopover/LabelWithPopover.js +1 -1
- package/dist/components/Loader/Loader.d.ts +2 -1
- package/dist/components/Loader/Loader.js +6 -1
- package/dist/components/LoaderWrapper/LoaderWrapper.d.ts +10 -0
- package/dist/components/LoaderWrapper/LoaderWrapper.js +8 -0
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/PDiskInfo/PDiskInfo.d.ts +2 -2
- package/dist/components/PDiskInfo/PDiskInfo.js +9 -6
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/ProgressViewer/ProgressViewer.js +3 -0
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +13 -3
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.scss +4 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.d.ts +7 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.js +8 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.scss +8 -0
- package/dist/components/QuerySettingsDescription/index.d.ts +1 -0
- package/dist/components/QuerySettingsDescription/index.js +1 -0
- package/dist/components/VDisk/VDisk.js +3 -4
- package/dist/components/VDiskInfo/VDiskInfo.d.ts +2 -2
- package/dist/components/VDiskInfo/VDiskInfo.js +4 -2
- package/dist/containers/App/Content.js +15 -19
- package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +4 -4
- package/dist/containers/Authentication/Authentication.js +8 -10
- package/dist/containers/Authentication/utils.d.ts +8 -0
- package/dist/containers/Authentication/utils.js +15 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +6 -6
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Heatmap/Heatmap.js +5 -4
- package/dist/containers/Node/Node.js +5 -7
- package/dist/containers/Node/Node.scss +4 -0
- package/dist/containers/Node/NodeStructure/NodeStructure.js +4 -4
- package/dist/containers/Node/NodeStructure/NodeStructure.scss +4 -0
- package/dist/containers/Node/NodeStructure/Pdisk.js +2 -2
- package/dist/containers/Nodes/Nodes.js +6 -8
- package/dist/containers/Nodes/getNodesColumns.js +6 -21
- package/dist/containers/PDiskPage/PDiskPage.js +19 -8
- package/dist/containers/PDiskPage/i18n/en.json +1 -0
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PDisk/PDisk.js +3 -4
- package/dist/containers/Storage/Storage.js +4 -6
- package/dist/containers/Tablet/Tablet.js +2 -2
- package/dist/containers/Tablet/TabletControls/TabletControls.js +2 -1
- package/dist/containers/Tablets/Tablets.js +3 -5
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +2 -5
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -13
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss +1 -0
- package/dist/containers/Tenant/Diagnostics/Network/Network.js +8 -11
- package/dist/containers/Tenant/Diagnostics/Network/Network.scss +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.d.ts +1 -2
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +3 -5
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +3 -4
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -4
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +3 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +4 -3
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +4 -3
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +56 -20
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +10 -6
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +7 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.js +4 -0
- package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +18 -0
- package/dist/containers/Tenant/Query/ExecuteResult/utils.js +36 -0
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +23 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +56 -111
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +1 -30
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.js +18 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.scss +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.scss +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/MetricsCell.d.ts +6 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/MetricsCell.js +11 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationCell.d.ts +13 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationCell.js +48 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationParams.d.ts +6 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationParams.js +66 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +100 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +128 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +59 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.d.ts +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.js +11 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.scss +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.js +4 -0
- package/dist/containers/Tenant/Query/Preview/Preview.js +2 -3
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -19
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.js +1 -1
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.scss +11 -0
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +91 -95
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.d.ts +4 -6
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +18 -49
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.d.ts +2 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +5 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +42 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.d.ts +5 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +19 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +56 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.d.ts +2 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.js +12 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.scss +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +20 -23
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +123 -7
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +32 -10
- package/dist/containers/Tenant/Query/i18n/en.json +3 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +6 -6
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +5 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +2 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +13 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +1 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +3 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -0
- package/dist/containers/Tenant/Tenant.js +4 -8
- package/dist/containers/Tenant/utils/schemaActions.d.ts +2 -2
- package/dist/containers/Tenant/utils/schemaActions.js +2 -2
- package/dist/containers/Tenants/Tenants.js +4 -7
- package/dist/containers/UserSettings/i18n/en.json +3 -5
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +2 -3
- package/dist/containers/UserSettings/settings.js +17 -23
- package/dist/containers/VDiskPage/VDiskPage.js +27 -13
- package/dist/containers/VDiskPage/i18n/en.json +1 -0
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +21 -8
- package/dist/services/api.js +29 -42
- package/dist/services/settings.d.ts +11 -4
- package/dist/services/settings.js +7 -6
- package/dist/store/configureStore.d.ts +7 -7
- package/dist/store/defaultStore.d.ts +3 -3
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +37 -24
- package/dist/store/reducers/authentication/authentication.js +77 -57
- package/dist/store/reducers/authentication/types.d.ts +0 -8
- package/dist/store/reducers/capabilities/capabilities.d.ts +106 -0
- package/dist/store/reducers/capabilities/capabilities.js +22 -0
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +13 -0
- package/dist/store/reducers/cluster/cluster.d.ts +2 -2
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +7 -14
- package/dist/store/reducers/executeQuery.js +19 -14
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +5 -4
- package/dist/store/reducers/explainQuery/explainQuery.js +14 -4
- package/dist/store/reducers/explainQuery/types.d.ts +13 -1
- package/dist/store/reducers/explainQuery/utils.js +7 -2
- 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 +6 -6
- 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/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 +3 -3
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schema/schema.js +10 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/tablet.d.ts +3 -3
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tabletsFilters.d.ts +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +31 -30
- package/dist/store/reducers/tenants/selectors.js +8 -2
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/styles/mixins.scss +2 -0
- package/dist/types/api/capabilities.d.ts +7 -0
- package/dist/types/api/capabilities.js +1 -0
- package/dist/types/api/modifyDisk.d.ts +8 -0
- package/dist/types/api/modifyDisk.js +1 -0
- package/dist/types/api/query.d.ts +39 -3
- package/dist/types/api/query.js +9 -1
- package/dist/types/api/schema/shared.d.ts +8 -0
- package/dist/types/store/query.d.ts +7 -0
- package/dist/utils/__test__/prepareQueryExplain.test.d.ts +1 -0
- package/dist/utils/__test__/prepareQueryExplain.test.js +115 -0
- package/dist/utils/constants.d.ts +13 -4
- package/dist/utils/constants.js +15 -4
- package/dist/utils/dataFormatters/dataFormatters.d.ts +0 -1
- package/dist/utils/dataFormatters/dataFormatters.js +1 -4
- package/dist/utils/hooks/index.d.ts +2 -1
- package/dist/utils/hooks/index.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +10 -0
- package/dist/utils/hooks/useChangedQuerySettings.js +46 -0
- package/dist/utils/hooks/useDelayed.d.ts +1 -0
- package/dist/utils/hooks/useDelayed.js +13 -0
- package/dist/utils/hooks/useEventHandler.d.ts +6 -0
- package/dist/utils/hooks/useEventHandler.js +17 -0
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +2 -0
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +5 -0
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +8 -0
- package/dist/utils/hooks/useQueryExecutionSettings.js +15 -0
- package/dist/utils/prepareQueryExplain.d.ts +3 -1
- package/dist/utils/prepareQueryExplain.js +54 -2
- package/dist/utils/query.js +1 -0
- package/dist/utils/query.test.js +3 -0
- package/dist/utils/utils.d.ts +8 -7
- package/dist/utils/utils.js +23 -11
- package/package.json +4 -2
- package/dist/containers/Tenant/Query/ExplainResult/utils.d.ts +0 -2
- package/dist/containers/Tenant/Query/ExplainResult/utils.js +0 -4
- package/dist/store/utils.d.ts +0 -23
- package/dist/store/utils.js +0 -49
- package/dist/types/api/restartPDisk.d.ts +0 -4
- package/dist/utils/hooks/useQueryModes.d.ts +0 -2
- package/dist/utils/hooks/useQueryModes.js +0 -5
- /package/dist/{types/api/restartPDisk.js → containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.js} +0 -0
@@ -2,10 +2,10 @@ import type { RootState } from '../defaultStore';
|
|
2
2
|
export declare const topicApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
3
3
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
4
4
|
path?: string;
|
5
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
6
|
-
}, "api", "All" | "PDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
7
7
|
export declare const selectConsumersNames: ((state: {
|
8
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
8
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
9
9
|
singleClusterMode: boolean;
|
10
10
|
cluster: import("./cluster/types").ClusterState;
|
11
11
|
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", "api">;
|
40
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
41
41
|
singleClusterMode: boolean;
|
42
42
|
cluster: import("./cluster/types").ClusterState;
|
43
43
|
tenant: import("./tenant/types").TenantState;
|
@@ -62,7 +62,7 @@ export declare const selectConsumersNames: ((state: {
|
|
62
62
|
resetResultsCount: () => void;
|
63
63
|
} & {
|
64
64
|
resultFunc: (resultFuncArgs_0: {
|
65
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
65
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
66
66
|
singleClusterMode: boolean;
|
67
67
|
cluster: import("./cluster/types").ClusterState;
|
68
68
|
tenant: import("./tenant/types").TenantState;
|
@@ -84,12 +84,12 @@ export declare const selectConsumersNames: ((state: {
|
|
84
84
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
85
85
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
86
86
|
path?: string;
|
87
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
88
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
87
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
88
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
89
89
|
path?: string;
|
90
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
|
90
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", 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", "api">;
|
92
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
93
93
|
singleClusterMode: boolean;
|
94
94
|
cluster: import("./cluster/types").ClusterState;
|
95
95
|
tenant: import("./tenant/types").TenantState;
|
@@ -111,17 +111,17 @@ export declare const selectConsumersNames: ((state: {
|
|
111
111
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
112
112
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
113
113
|
path?: string;
|
114
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
115
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
114
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
115
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
116
116
|
path?: string;
|
117
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
117
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
118
118
|
clearCache: () => void;
|
119
119
|
resultsCount: () => number;
|
120
120
|
resetResultsCount: () => void;
|
121
121
|
};
|
122
122
|
lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
|
123
123
|
dependencies: [(state: RootState) => {
|
124
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
124
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
125
125
|
singleClusterMode: boolean;
|
126
126
|
cluster: import("./cluster/types").ClusterState;
|
127
127
|
tenant: import("./tenant/types").TenantState;
|
@@ -143,10 +143,10 @@ export declare const selectConsumersNames: ((state: {
|
|
143
143
|
}, (_state: RootState, path?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
|
144
144
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
145
145
|
path?: string;
|
146
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
147
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
146
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
147
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
148
148
|
path?: string;
|
149
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
149
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
150
150
|
recomputations: () => number;
|
151
151
|
resetRecomputations: () => void;
|
152
152
|
dependencyRecomputations: () => number;
|
@@ -164,7 +164,7 @@ export declare const selectConsumersNames: ((state: {
|
|
164
164
|
memoize: typeof import("reselect").weakMapMemoize;
|
165
165
|
};
|
166
166
|
export declare const selectPreparedTopicStats: ((state: {
|
167
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
167
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
168
168
|
singleClusterMode: boolean;
|
169
169
|
cluster: import("./cluster/types").ClusterState;
|
170
170
|
tenant: import("./tenant/types").TenantState;
|
@@ -216,7 +216,7 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
216
216
|
writeSpeed: import("../../utils/bytesParsers").ProcessSpeedStats;
|
217
217
|
} | undefined;
|
218
218
|
dependencies: [((state: {
|
219
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
219
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
220
220
|
singleClusterMode: boolean;
|
221
221
|
cluster: import("./cluster/types").ClusterState;
|
222
222
|
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", "api">;
|
244
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
245
245
|
singleClusterMode: boolean;
|
246
246
|
cluster: import("./cluster/types").ClusterState;
|
247
247
|
tenant: import("./tenant/types").TenantState;
|
@@ -263,12 +263,12 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
263
263
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
264
264
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
265
265
|
path?: string;
|
266
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
267
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
266
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
267
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
268
268
|
path?: string;
|
269
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined;
|
269
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined;
|
270
270
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
271
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
271
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
272
272
|
singleClusterMode: boolean;
|
273
273
|
cluster: import("./cluster/types").ClusterState;
|
274
274
|
tenant: import("./tenant/types").TenantState;
|
@@ -290,17 +290,17 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
290
290
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
291
291
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
292
292
|
path?: string;
|
293
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
294
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
293
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
294
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
295
295
|
path?: string;
|
296
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined) & {
|
296
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined) & {
|
297
297
|
clearCache: () => void;
|
298
298
|
resultsCount: () => number;
|
299
299
|
resetResultsCount: () => void;
|
300
300
|
};
|
301
301
|
lastResult: () => import("../../types/api/topic").TopicStats | undefined;
|
302
302
|
dependencies: [(state: RootState) => {
|
303
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
303
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
304
304
|
singleClusterMode: boolean;
|
305
305
|
cluster: import("./cluster/types").ClusterState;
|
306
306
|
tenant: import("./tenant/types").TenantState;
|
@@ -322,10 +322,10 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
322
322
|
}, (_state: RootState, path?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
|
323
323
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
324
324
|
path?: string;
|
325
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
326
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
325
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
326
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
327
327
|
path?: string;
|
328
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
328
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
329
329
|
recomputations: () => number;
|
330
330
|
resetRecomputations: () => void;
|
331
331
|
dependencyRecomputations: () => number;
|
@@ -343,7 +343,7 @@ export declare const selectPreparedTopicStats: ((state: {
|
|
343
343
|
memoize: typeof import("reselect").weakMapMemoize;
|
344
344
|
};
|
345
345
|
export declare const selectPreparedConsumersData: ((state: {
|
346
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
346
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
347
347
|
singleClusterMode: boolean;
|
348
348
|
cluster: import("./cluster/types").ClusterState;
|
349
349
|
tenant: import("./tenant/types").TenantState;
|
@@ -399,7 +399,7 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
399
399
|
readIdleTime: number;
|
400
400
|
}[] | undefined;
|
401
401
|
dependencies: [((state: {
|
402
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
402
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
403
403
|
singleClusterMode: boolean;
|
404
404
|
cluster: import("./cluster/types").ClusterState;
|
405
405
|
tenant: import("./tenant/types").TenantState;
|
@@ -424,7 +424,7 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
424
424
|
resetResultsCount: () => void;
|
425
425
|
} & {
|
426
426
|
resultFunc: (resultFuncArgs_0: {
|
427
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
427
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
428
428
|
singleClusterMode: boolean;
|
429
429
|
cluster: import("./cluster/types").ClusterState;
|
430
430
|
tenant: import("./tenant/types").TenantState;
|
@@ -446,12 +446,12 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
446
446
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
447
447
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
448
448
|
path?: string;
|
449
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
450
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
449
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
450
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
451
451
|
path?: string;
|
452
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
|
452
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
|
453
453
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
454
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
454
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
455
455
|
singleClusterMode: boolean;
|
456
456
|
cluster: import("./cluster/types").ClusterState;
|
457
457
|
tenant: import("./tenant/types").TenantState;
|
@@ -473,17 +473,17 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
473
473
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
474
474
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
475
475
|
path?: string;
|
476
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
477
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
476
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
477
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
478
478
|
path?: string;
|
479
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
479
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
|
480
480
|
clearCache: () => void;
|
481
481
|
resultsCount: () => number;
|
482
482
|
resetResultsCount: () => void;
|
483
483
|
};
|
484
484
|
lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
|
485
485
|
dependencies: [(state: RootState) => {
|
486
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData", "api">;
|
486
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
487
487
|
singleClusterMode: boolean;
|
488
488
|
cluster: import("./cluster/types").ClusterState;
|
489
489
|
tenant: import("./tenant/types").TenantState;
|
@@ -505,10 +505,10 @@ export declare const selectPreparedConsumersData: ((state: {
|
|
505
505
|
}, (_state: RootState, path?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
|
506
506
|
getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
|
507
507
|
path?: string;
|
508
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
509
|
-
}, "All" | "PDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
508
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
|
509
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
510
510
|
path?: string;
|
511
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
511
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
|
512
512
|
recomputations: () => number;
|
513
513
|
resetRecomputations: () => void;
|
514
514
|
dependencyRecomputations: () => number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
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<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData", {
|
2
|
+
getVDiskData: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", {
|
3
3
|
vDiskData: import("./types").VDiskData;
|
4
4
|
groupData: Partial<import("../storage/types").PreparedStorageGroup> | undefined;
|
5
5
|
} | undefined, "api">;
|
6
|
-
}, "api", "All" | "PDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -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", import("../../../types/api/query").ColumnType[] | undefined, "api">;
|
6
|
-
}, "api", "All" | "PDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/query").ColumnType[] | undefined, "api">;
|
6
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
package/dist/styles/mixins.scss
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { IsolationLevel, StatisticsMode } from '../store/query';
|
1
2
|
interface Position {
|
2
3
|
row?: number;
|
3
4
|
column?: number;
|
@@ -115,27 +116,46 @@ interface PlanNodeOperator {
|
|
115
116
|
Table?: string;
|
116
117
|
Iterator?: string;
|
117
118
|
}
|
118
|
-
|
119
|
+
interface CommonPlanNode {
|
119
120
|
PlanNodeId?: number;
|
120
121
|
'Node Type'?: string;
|
121
|
-
|
122
|
+
PlanNodeType?: string;
|
123
|
+
}
|
124
|
+
export interface PlanNode extends CommonPlanNode {
|
122
125
|
Operators?: PlanNodeOperator[];
|
123
126
|
Tables?: string[];
|
124
|
-
|
127
|
+
Plans?: PlanNode[];
|
125
128
|
Stats?: PlanNodeStats;
|
126
129
|
'CTE Name'?: string;
|
127
130
|
'Subplan Name'?: string;
|
128
131
|
'Parent Relationship'?: string;
|
129
132
|
}
|
133
|
+
export interface SimlifiedPlanOperatorOtherParams {
|
134
|
+
[key: string]: string | number | string[] | Record<string, unknown> | undefined;
|
135
|
+
}
|
136
|
+
interface SimlifiedPlanOperator extends SimlifiedPlanOperatorOtherParams {
|
137
|
+
'E-Rows'?: string;
|
138
|
+
'A-Rows'?: number;
|
139
|
+
'A-Cpu'?: number;
|
140
|
+
Name: string;
|
141
|
+
'E-Size'?: string;
|
142
|
+
'E-Cost'?: string;
|
143
|
+
}
|
144
|
+
export interface SimplifiedNode extends CommonPlanNode {
|
145
|
+
Plans?: SimplifiedNode[];
|
146
|
+
Operators?: [SimlifiedPlanOperator];
|
147
|
+
}
|
130
148
|
export interface ScriptPlan {
|
131
149
|
queries?: {
|
132
150
|
Plan?: PlanNode;
|
151
|
+
SimplifiedPlan?: SimplifiedNode;
|
133
152
|
tables?: PlanTable[];
|
134
153
|
}[];
|
135
154
|
meta: PlanMeta;
|
136
155
|
}
|
137
156
|
export interface QueryPlan {
|
138
157
|
Plan?: PlanNode;
|
158
|
+
SimplifiedPlan?: SimplifiedNode;
|
139
159
|
tables?: PlanTable[];
|
140
160
|
meta: PlanMeta;
|
141
161
|
}
|
@@ -148,6 +168,22 @@ export interface ColumnType {
|
|
148
168
|
name: string;
|
149
169
|
type: string;
|
150
170
|
}
|
171
|
+
export declare const TracingLevelNumber: {
|
172
|
+
off: number;
|
173
|
+
toplevel: number;
|
174
|
+
basic: number;
|
175
|
+
detailed: number;
|
176
|
+
diagnostic: number;
|
177
|
+
trace: number;
|
178
|
+
};
|
179
|
+
/** undefined = 'none' */
|
180
|
+
export type Stats = StatisticsMode;
|
181
|
+
/** undefined = '60000' */
|
182
|
+
export type Timeout = number;
|
183
|
+
/** undefined = 'serializable-read-write' */
|
184
|
+
export type TransactionMode = IsolationLevel;
|
185
|
+
/** undefined = '15' */
|
186
|
+
export type TracingLevel = number;
|
151
187
|
/** undefined = 'classic' */
|
152
188
|
export type Schemas = 'classic' | 'modern' | 'ydb' | 'multi' | undefined;
|
153
189
|
/** undefined = 'execute' */
|
package/dist/types/api/query.js
CHANGED
@@ -1 +1,9 @@
|
|
1
|
-
|
1
|
+
import { TRACING_LEVELS } from '../../utils/query';
|
2
|
+
export const TracingLevelNumber = {
|
3
|
+
[TRACING_LEVELS.off]: 0,
|
4
|
+
[TRACING_LEVELS.toplevel]: 4,
|
5
|
+
[TRACING_LEVELS.basic]: 9,
|
6
|
+
[TRACING_LEVELS.detailed]: 13,
|
7
|
+
[TRACING_LEVELS.diagnostic]: 14,
|
8
|
+
[TRACING_LEVELS.trace]: 15,
|
9
|
+
};
|
@@ -21,6 +21,14 @@ export interface TColumnDescription {
|
|
21
21
|
FamilyName?: string;
|
22
22
|
/** Path to sequence for default values */
|
23
23
|
DefaultFromSequence?: string;
|
24
|
+
DefaultFromLiteral?: {
|
25
|
+
type: {
|
26
|
+
type_id: string;
|
27
|
+
};
|
28
|
+
value: {
|
29
|
+
text_value: string;
|
30
|
+
};
|
31
|
+
};
|
24
32
|
NotNull?: boolean;
|
25
33
|
}
|
26
34
|
export declare enum EColumnCodec {
|
@@ -18,6 +18,13 @@ export interface QueryRequestParams {
|
|
18
18
|
database: string;
|
19
19
|
query: string;
|
20
20
|
}
|
21
|
+
export interface QuerySettings {
|
22
|
+
queryMode: QueryMode;
|
23
|
+
isolationLevel: IsolationLevel;
|
24
|
+
timeout?: string;
|
25
|
+
statisticsMode?: StatisticsMode;
|
26
|
+
tracingLevel?: TracingLevel;
|
27
|
+
}
|
21
28
|
export type QueryErrorResponse = IResponseError<QueryErrorResponseData>;
|
22
29
|
export type QueryError = NetworkError | QueryErrorResponse;
|
23
30
|
export type QueryAction = ValueOf<typeof QUERY_ACTIONS>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,115 @@
|
|
1
|
+
import { prepareSimplifiedPlan } from '../prepareQueryExplain';
|
2
|
+
describe('prepareSimplifiedPlan', () => {
|
3
|
+
test('should handle empty input', () => {
|
4
|
+
const plans = [];
|
5
|
+
const result = prepareSimplifiedPlan(plans);
|
6
|
+
expect(result).toEqual([]);
|
7
|
+
});
|
8
|
+
test('should handle single node without children', () => {
|
9
|
+
const plans = [
|
10
|
+
{
|
11
|
+
Operators: [
|
12
|
+
{
|
13
|
+
['A-Cpu']: 10,
|
14
|
+
['A-Rows']: 100,
|
15
|
+
['E-Cost']: '20',
|
16
|
+
['E-Rows']: '200',
|
17
|
+
['E-Size']: '50',
|
18
|
+
['Name']: 'TestNode',
|
19
|
+
testParams: { foo: 'bar' },
|
20
|
+
},
|
21
|
+
],
|
22
|
+
},
|
23
|
+
];
|
24
|
+
const expected = [
|
25
|
+
{
|
26
|
+
name: 'TestNode',
|
27
|
+
operationParams: { testParams: { foo: 'bar' } },
|
28
|
+
aCpu: 10,
|
29
|
+
aRows: 100,
|
30
|
+
eCost: '20',
|
31
|
+
eRows: '200',
|
32
|
+
eSize: '50',
|
33
|
+
children: [],
|
34
|
+
},
|
35
|
+
];
|
36
|
+
const result = prepareSimplifiedPlan(plans);
|
37
|
+
expect(result).toEqual(expected);
|
38
|
+
});
|
39
|
+
test('should handle nested nodes', () => {
|
40
|
+
const plans = [
|
41
|
+
{
|
42
|
+
Operators: [
|
43
|
+
{
|
44
|
+
['A-Cpu']: 10,
|
45
|
+
['A-Rows']: 100,
|
46
|
+
['E-Cost']: '20',
|
47
|
+
['E-Rows']: '200',
|
48
|
+
['E-Size']: '50',
|
49
|
+
['Name']: 'RootNode',
|
50
|
+
testParams: { foo: 'bar' },
|
51
|
+
},
|
52
|
+
],
|
53
|
+
Plans: [
|
54
|
+
{
|
55
|
+
Operators: [
|
56
|
+
{
|
57
|
+
['A-Cpu']: 5,
|
58
|
+
['A-Rows']: 50,
|
59
|
+
['E-Cost']: '10',
|
60
|
+
['E-Rows']: '100',
|
61
|
+
['E-Size']: '25',
|
62
|
+
['Name']: 'ChildNode',
|
63
|
+
testParams: { foo: 'bar' },
|
64
|
+
},
|
65
|
+
],
|
66
|
+
},
|
67
|
+
],
|
68
|
+
},
|
69
|
+
];
|
70
|
+
const expected = [
|
71
|
+
{
|
72
|
+
name: 'RootNode',
|
73
|
+
operationParams: { testParams: { foo: 'bar' } },
|
74
|
+
aCpu: 10,
|
75
|
+
aRows: 100,
|
76
|
+
eCost: '20',
|
77
|
+
eRows: '200',
|
78
|
+
eSize: '50',
|
79
|
+
children: [
|
80
|
+
{
|
81
|
+
name: 'ChildNode',
|
82
|
+
operationParams: { testParams: { foo: 'bar' } },
|
83
|
+
aCpu: 5,
|
84
|
+
aRows: 50,
|
85
|
+
eCost: '10',
|
86
|
+
eRows: '100',
|
87
|
+
eSize: '25',
|
88
|
+
children: [],
|
89
|
+
},
|
90
|
+
],
|
91
|
+
},
|
92
|
+
];
|
93
|
+
const result = prepareSimplifiedPlan(plans);
|
94
|
+
expect(result).toEqual(expected);
|
95
|
+
});
|
96
|
+
test('should handle nodes without operators', () => {
|
97
|
+
const plans = [
|
98
|
+
{
|
99
|
+
PlanNodeId: 0,
|
100
|
+
'Node Type': 'Query',
|
101
|
+
PlanNodeType: 'Query',
|
102
|
+
Plans: [
|
103
|
+
{
|
104
|
+
PlanNodeId: 1,
|
105
|
+
'Node Type': 'TableScan',
|
106
|
+
PlanNodeType: 'TableScan',
|
107
|
+
},
|
108
|
+
],
|
109
|
+
},
|
110
|
+
];
|
111
|
+
const expected = [];
|
112
|
+
const result = prepareSimplifiedPlan(plans);
|
113
|
+
expect(result).toEqual(expected);
|
114
|
+
});
|
115
|
+
});
|
@@ -8,6 +8,7 @@ export declare const TERABYTE = 1000000000000;
|
|
8
8
|
export declare const MINUTE_IN_SECONDS = 60;
|
9
9
|
export declare const HOUR_IN_SECONDS: number;
|
10
10
|
export declare const DAY_IN_SECONDS: number;
|
11
|
+
export declare const WEEK_IN_SECONDS: number;
|
11
12
|
export declare const MS_IN_NANOSECONDS = 1000000;
|
12
13
|
export declare const TABLET_COLORS: {
|
13
14
|
Created: string;
|
@@ -94,16 +95,24 @@ export declare const TENANT_OVERVIEW_TABLES_SETTINGS: {
|
|
94
95
|
readonly stripedRows?: boolean;
|
95
96
|
readonly headerMod?: "multiline" | "pre";
|
96
97
|
};
|
97
|
-
export declare const
|
98
|
+
export declare const DEFAULT_QUERY_SETTINGS: {
|
99
|
+
queryMode: "script";
|
100
|
+
isolationLevel: "serializable-read-write";
|
101
|
+
timeout: string;
|
102
|
+
statisticsMode: "none";
|
103
|
+
tracingLevel: "detailed";
|
104
|
+
};
|
105
|
+
export declare const QUERY_EXECUTION_SETTINGS_KEY = "queryExecutionSettings";
|
106
|
+
export declare const LAST_QUERY_EXECUTION_SETTINGS_KEY = "last_query_execution_settings";
|
107
|
+
export declare const QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY = "querySettingsBannerLastClosed";
|
98
108
|
export declare const LAST_USED_QUERY_ACTION_KEY = "last_used_query_action";
|
99
109
|
export declare const PARTITIONS_HIDDEN_COLUMNS_KEY = "partitionsHiddenColumns";
|
100
110
|
export declare const TENANT_INITIAL_PAGE_KEY = "saved_tenant_initial_tab";
|
101
111
|
export declare const USE_PAGINATED_TABLES_KEY = "useBackendParamsForTables";
|
112
|
+
export declare const SHOW_DOMAIN_DATABASE_KEY = "showDomainDatabase";
|
102
113
|
export declare const QUERY_USE_MULTI_SCHEMA_KEY = "queryUseMultiSchema";
|
103
114
|
export declare const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = "useClusterBalancerAsBacked";
|
104
115
|
export declare const ENABLE_AUTOCOMPLETE = "enableAutocomplete";
|
105
116
|
export declare const AUTOCOMPLETE_ON_ENTER = "autocompleteOnEnter";
|
106
117
|
export declare const IS_HOTKEYS_HELP_HIDDEN_KEY = "isHotKeysHelpHidden";
|
107
|
-
export declare const
|
108
|
-
export declare const USE_DIRECTORY_OPERATIONS = "useDirectoryOperations";
|
109
|
-
export declare const QUERY_SETTINGS = "query_settings";
|
118
|
+
export declare const ENABLE_TRACING_LEVEL_KEY = "enableTracingLevel";
|