ydb-embedded-ui 6.35.0 → 6.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
  2. package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
  3. package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
  4. package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
  5. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  6. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  7. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  8. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  9. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  10. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  11. package/dist/components/nodesColumns/columns.js +1 -1
  12. package/dist/components/nodesColumns/columns.js.map +1 -1
  13. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  14. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  15. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  16. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  17. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  18. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  19. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  20. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  21. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  22. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  23. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  24. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  25. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  26. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  27. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  28. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  29. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  30. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  31. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  32. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  33. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  34. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  35. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  36. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  37. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  38. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  39. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  40. package/dist/containers/Tenant/Query/Query.js +1 -1
  41. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  42. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +8 -9
  43. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  44. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  45. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  46. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  47. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +2 -2
  48. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  49. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  50. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  51. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  52. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +2 -3
  53. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  54. package/dist/containers/UserSettings/i18n/en.json +2 -2
  55. package/dist/containers/Versions/groupNodes.js +1 -1
  56. package/dist/containers/Versions/groupNodes.js.map +1 -1
  57. package/dist/services/api.js +1 -0
  58. package/dist/services/api.js.map +1 -1
  59. package/dist/store/configureStore.d.ts +4 -4
  60. package/dist/store/configureStore.js +1 -1
  61. package/dist/store/configureStore.js.map +1 -1
  62. package/dist/store/defaultStore.d.ts +2 -2
  63. package/dist/store/reducers/cancelQuery.js +2 -2
  64. package/dist/store/reducers/cancelQuery.js.map +1 -1
  65. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -8
  66. package/dist/store/reducers/cluster/cluster.d.ts +6 -6
  67. package/dist/store/reducers/cluster/utils.js +2 -2
  68. package/dist/store/reducers/cluster/utils.js.map +1 -1
  69. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  70. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  71. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +20 -20
  72. package/dist/store/reducers/index.d.ts +3 -3
  73. package/dist/store/reducers/index.js +2 -2
  74. package/dist/store/reducers/index.js.map +1 -1
  75. package/dist/store/reducers/node/selectors.d.ts +1 -1
  76. package/dist/store/reducers/nodesList.d.ts +1 -1
  77. package/dist/store/reducers/preview.js +2 -2
  78. package/dist/store/reducers/preview.js.map +1 -1
  79. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  80. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  81. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  82. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  83. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  84. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  85. package/dist/store/reducers/query/query.d.ts +55 -0
  86. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  87. package/dist/store/reducers/query/query.js.map +1 -0
  88. package/dist/store/reducers/query/types.d.ts +57 -0
  89. package/dist/store/reducers/query/types.js.map +1 -0
  90. package/dist/store/reducers/query/utils.d.ts +7 -0
  91. package/dist/store/reducers/query/utils.js +21 -0
  92. package/dist/store/reducers/query/utils.js.map +1 -0
  93. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  94. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  95. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  96. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  97. package/dist/store/reducers/tablets.d.ts +5 -5
  98. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  99. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  100. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  101. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  102. package/dist/store/reducers/tenants/selectors.d.ts +9 -9
  103. package/dist/store/reducers/topic.d.ts +15 -15
  104. package/dist/store/reducers/trace.js +1 -1
  105. package/dist/store/reducers/trace.js.map +1 -1
  106. package/dist/types/api/tenant.d.ts +2 -1
  107. package/dist/types/api/tenant.js.map +1 -1
  108. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  109. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  110. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  111. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +1 -1
  112. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  113. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  114. package/dist/utils/query.d.ts +1 -2
  115. package/dist/utils/query.js +5 -10
  116. package/dist/utils/query.js.map +1 -1
  117. package/dist/utils/query.test.js +20 -34
  118. package/dist/utils/query.test.js.map +1 -1
  119. package/package.json +1 -1
  120. package/dist/store/reducers/executeQuery.d.ts +0 -54
  121. package/dist/store/reducers/executeQuery.js.map +0 -1
  122. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  123. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  124. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  125. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  126. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  127. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  128. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  129. package/dist/types/store/executeQuery.d.ts +0 -42
  130. package/dist/types/store/executeQuery.js +0 -6
  131. package/dist/types/store/executeQuery.js.map +0 -1
  132. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareQueryData.js","sourceRoot":"","sources":["../../../../src/store/reducers/query/prepareQueryData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,WAAW,EAAE,qBAAqB,EAAC,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAC,qBAAqB,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AAIlF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC3B,EAAE,EAAE,KAAK;CACZ,CAAC;AAEF,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;AAErE,MAAM,UAAU,gBAAgB,CAC5B,QAAkD;IAElD,MAAM,MAAM,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,EAAC,IAAI,EAAE,OAAO,EAAC,GAAG,MAAM,CAAC;IAE/B,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAC,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAE5E,IAAI,6BAA6B,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QAC7D,iDAAiD;QACjD,OAAO;YACH,GAAG,MAAM;YACT,YAAY,EAAE;gBACV,QAAQ,EAAE,OAAO;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;aACxB;SACJ,CAAC;IACN,CAAC;IAED,IAAI,KAAK,GAAW,EAAE,CAAC;IACvB,IAAI,KAAK,GAAqC,EAAE,CAAC;IAEjD,IAAI,IAAI,EAAE,CAAC;QACP,MAAM,YAAY,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QACvC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;QAC3B,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;IAC/B,CAAC;IACD,IAAI,sBAAsB,CAAC;IAC3B,IAAI,cAAc,EAAE,CAAC;QACjB,sBAAsB,GAAG,qBAAqB,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,OAAO;QACH,GAAG,MAAM;QACT,YAAY,EAAE;YACV,KAAK;YACL,KAAK;YACL,MAAM;YACN,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,OAAO;SACpB;QACD,cAAc,EAAE,EAAC,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,cAAc,EAAC;KAC3E,CAAC;AACN,CAAC"}
@@ -0,0 +1,55 @@
1
+ import type { QueryAction, QueryRequestParams, QuerySettings } from '../../../types/store/query';
2
+ import type { QueryResult, QueryState } from './types';
3
+ declare const _default: import("redux").Reducer<QueryState>;
4
+ export default _default;
5
+ export declare const changeUserInput: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
6
+ input: string;
7
+ }, "query/changeUserInput">, setQueryTraceReady: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"query/setQueryTraceReady">, setQueryResult: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<QueryResult | undefined, "query/setQueryResult">, saveQueryToHistory: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
8
+ queryText: string;
9
+ queryId: string;
10
+ }, "query/saveQueryToHistory">, updateQueryInHistory: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
11
+ queryId: string;
12
+ stats: QueryStats;
13
+ }, "query/updateQueryInHistory">, goToPreviousQuery: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"query/goToPreviousQuery">, goToNextQuery: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"query/goToNextQuery">, setTenantPath: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "query/setTenantPath">, setQueryHistoryFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "query/setQueryHistoryFilter">;
14
+ export declare const selectQueriesHistoryFilter: import("reselect").Selector<{
15
+ query: QueryState;
16
+ }, string, []> & {
17
+ unwrapped: (state: QueryState) => string;
18
+ }, selectQueriesHistoryCurrentIndex: import("reselect").Selector<{
19
+ query: QueryState;
20
+ }, number, []> & {
21
+ unwrapped: (state: QueryState) => number;
22
+ }, selectQueriesHistory: import("reselect").Selector<{
23
+ query: QueryState;
24
+ }, import("./types").QueryInHistory[], []> & {
25
+ unwrapped: (state: QueryState) => import("./types").QueryInHistory[];
26
+ }, selectTenantPath: import("reselect").Selector<{
27
+ query: QueryState;
28
+ }, string | undefined, []> & {
29
+ unwrapped: (state: QueryState) => string | undefined;
30
+ }, selectResult: import("reselect").Selector<{
31
+ query: QueryState;
32
+ }, (QueryResult & {
33
+ isTraceReady?: boolean;
34
+ }) | undefined, []> & {
35
+ unwrapped: (state: QueryState) => (QueryResult & {
36
+ isTraceReady?: boolean;
37
+ }) | undefined;
38
+ }, selectUserInput: import("reselect").Selector<{
39
+ query: QueryState;
40
+ }, string, []> & {
41
+ unwrapped: (state: QueryState) => string;
42
+ };
43
+ interface SendQueryParams extends QueryRequestParams {
44
+ actionType?: QueryAction;
45
+ queryId: string;
46
+ querySettings?: Partial<QuerySettings>;
47
+ enableTracingLevel?: boolean;
48
+ }
49
+ interface QueryStats {
50
+ durationUs?: string | number;
51
+ endTime?: string | number;
52
+ }
53
+ export declare const queryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
54
+ useSendQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", null, "api">;
55
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1,11 +1,12 @@
1
1
  import { createSlice } from '@reduxjs/toolkit';
2
- import { settingsManager } from '../../services/settings';
3
- import { TracingLevelNumber } from '../../types/api/query';
4
- import { ResultType } from '../../types/store/executeQuery';
5
- import { QUERIES_HISTORY_KEY } from '../../utils/constants';
6
- import { QUERY_SYNTAX, isQueryErrorResponse, parseQueryAPIExecuteResponse } from '../../utils/query';
7
- import { isNumeric } from '../../utils/utils';
8
- import { api } from './api';
2
+ import { settingsManager } from '../../../services/settings';
3
+ import { TracingLevelNumber } from '../../../types/api/query';
4
+ import { QUERIES_HISTORY_KEY } from '../../../utils/constants';
5
+ import { isQueryErrorResponse } from '../../../utils/query';
6
+ import { isNumeric } from '../../../utils/utils';
7
+ import { api } from '../api';
8
+ import { prepareQueryData } from './prepareQueryData';
9
+ import { getActionAndSyntaxFromQueryMode, getQueryInHistory } from './utils';
9
10
  const MAXIMUM_QUERIES_IN_HISTORY = 20;
10
11
  const queriesHistoryInitial = settingsManager.readUserSettingsValue(QUERIES_HISTORY_KEY, []);
11
12
  const sliceLimit = queriesHistoryInitial.length - MAXIMUM_QUERIES_IN_HISTORY;
@@ -22,7 +23,7 @@ const initialState = {
22
23
  },
23
24
  };
24
25
  const slice = createSlice({
25
- name: 'executeQuery',
26
+ name: 'query',
26
27
  initialState,
27
28
  reducers: {
28
29
  changeUserInput: (state, action) => {
@@ -111,21 +112,13 @@ const slice = createSlice({
111
112
  export default slice.reducer;
112
113
  export const { changeUserInput, setQueryTraceReady, setQueryResult, saveQueryToHistory, updateQueryInHistory, goToPreviousQuery, goToNextQuery, setTenantPath, setQueryHistoryFilter, } = slice.actions;
113
114
  export const { selectQueriesHistoryFilter, selectQueriesHistoryCurrentIndex, selectQueriesHistory, selectTenantPath, selectResult, selectUserInput, } = slice.selectors;
114
- export const executeQueryApi = api.injectEndpoints({
115
+ export const queryApi = api.injectEndpoints({
115
116
  endpoints: (build) => ({
116
- executeQuery: build.mutation({
117
- queryFn: async ({ query, database, querySettings = {}, enableTracingLevel, queryId }, { signal, dispatch }) => {
117
+ useSendQuery: build.mutation({
118
+ queryFn: async ({ actionType = 'execute', query, database, querySettings = {}, enableTracingLevel, queryId, }, { signal, dispatch }) => {
118
119
  var _a;
119
- let action = 'execute';
120
- let syntax = QUERY_SYNTAX.yql;
121
- dispatch(setQueryResult({ type: ResultType.EXECUTE, queryId, isLoading: true }));
122
- if (querySettings.queryMode === 'pg') {
123
- action = 'execute-query';
124
- syntax = QUERY_SYNTAX.pg;
125
- }
126
- else if (querySettings.queryMode) {
127
- action = `execute-${querySettings.queryMode}`;
128
- }
120
+ dispatch(setQueryResult({ type: actionType, queryId, isLoading: true }));
121
+ const { action, syntax } = getActionAndSyntaxFromQueryMode(actionType, querySettings === null || querySettings === void 0 ? void 0 : querySettings.queryMode);
129
122
  try {
130
123
  const timeStart = Date.now();
131
124
  const response = await window.api.sendQuery({
@@ -150,29 +143,31 @@ export const executeQueryApi = api.injectEndpoints({
150
143
  }, { signal });
151
144
  if (isQueryErrorResponse(response)) {
152
145
  dispatch(setQueryResult({
153
- type: ResultType.EXECUTE,
146
+ type: actionType,
154
147
  error: response,
155
148
  isLoading: false,
156
149
  queryId,
157
150
  }));
158
151
  return { error: response };
159
152
  }
160
- const data = parseQueryAPIExecuteResponse(response);
153
+ const data = prepareQueryData(response);
161
154
  data.traceId = (_a = response === null || response === void 0 ? void 0 : response._meta) === null || _a === void 0 ? void 0 : _a.traceId;
162
- const queryStats = {};
163
- if (data.stats) {
164
- const { DurationUs, Executions: [{ FinishTimeMs }] = [{}] } = data.stats;
165
- queryStats.durationUs = DurationUs;
166
- queryStats.endTime = FinishTimeMs;
167
- }
168
- else {
169
- const now = Date.now();
170
- queryStats.durationUs = (now - timeStart) * 1000;
171
- queryStats.endTime = now;
155
+ if (actionType === 'execute') {
156
+ const queryStats = {};
157
+ if (data.stats) {
158
+ const { DurationUs, Executions: [{ FinishTimeMs }] = [{}] } = data.stats;
159
+ queryStats.durationUs = DurationUs;
160
+ queryStats.endTime = FinishTimeMs;
161
+ }
162
+ else {
163
+ const now = Date.now();
164
+ queryStats.durationUs = (now - timeStart) * 1000;
165
+ queryStats.endTime = now;
166
+ }
167
+ dispatch(updateQueryInHistory({ stats: queryStats, queryId }));
172
168
  }
173
- dispatch(updateQueryInHistory({ stats: queryStats, queryId }));
174
169
  dispatch(setQueryResult({
175
- type: ResultType.EXECUTE,
170
+ type: actionType,
176
171
  data,
177
172
  isLoading: false,
178
173
  queryId,
@@ -181,7 +176,7 @@ export const executeQueryApi = api.injectEndpoints({
181
176
  }
182
177
  catch (error) {
183
178
  dispatch(setQueryResult({
184
- type: ResultType.EXECUTE,
179
+ type: actionType,
185
180
  error,
186
181
  isLoading: false,
187
182
  queryId,
@@ -193,12 +188,4 @@ export const executeQueryApi = api.injectEndpoints({
193
188
  }),
194
189
  overrideExisting: 'throw',
195
190
  });
196
- function getQueryInHistory(rawQuery) {
197
- if (typeof rawQuery === 'string') {
198
- return {
199
- queryText: rawQuery,
200
- };
201
- }
202
- return rawQuery;
203
- }
204
- //# sourceMappingURL=executeQuery.js.map
191
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/store/reducers/query/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAC,+BAA+B,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAE3E,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,qBAAqB,GAAG,eAAe,CAAC,qBAAqB,CAC/D,mBAAmB,EACnB,EAAE,CACO,CAAC;AAEd,MAAM,UAAU,GAAG,qBAAqB,CAAC,MAAM,GAAG,0BAA0B,CAAC;AAE7E,MAAM,YAAY,GAAe;IAC7B,KAAK,EAAE,EAAE;IACT,OAAO,EAAE;QACL,OAAO,EAAE,qBAAqB;aACzB,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;aACtC,GAAG,CAAC,iBAAiB,CAAC;QAC3B,YAAY,EACR,qBAAqB,CAAC,MAAM,GAAG,0BAA0B;YACrD,CAAC,CAAC,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ExplainPlanNodeData, GraphNode, Link } from '@gravity-ui/paranoid';
2
+ import type { PlanTable, QueryPlan, ScriptPlan, SimlifiedPlanOperatorOtherParams, SimplifiedNode } from '../../../types/api/query';
3
+ import type { IQueryResult, QueryAction } from '../../../types/store/query';
4
+ export interface QueryInHistory {
5
+ queryId?: string;
6
+ queryText: string;
7
+ syntax?: string;
8
+ endTime?: string | number;
9
+ durationUs?: string | number;
10
+ }
11
+ export interface PreparedPlan {
12
+ links?: Link[];
13
+ nodes?: GraphNode<ExplainPlanNodeData>[];
14
+ tables?: PlanTable[];
15
+ version?: string;
16
+ pristine?: QueryPlan | ScriptPlan;
17
+ DurationUs?: string | number;
18
+ }
19
+ export interface SimplifiedPlan {
20
+ plan?: SimplifiedPlanItem[];
21
+ pristine?: SimplifiedNode;
22
+ }
23
+ export interface SimplifiedPlanItem {
24
+ parentId?: string;
25
+ name: string;
26
+ operationParams: SimlifiedPlanOperatorOtherParams;
27
+ aCpu?: number;
28
+ aRows?: number;
29
+ eCost?: string;
30
+ eRows?: string;
31
+ eSize?: string;
32
+ children?: SimplifiedPlanItem[];
33
+ }
34
+ export interface PreparedQueryData extends IQueryResult {
35
+ preparedPlan?: PreparedPlan;
36
+ simplifiedPlan?: SimplifiedPlan;
37
+ }
38
+ export interface QueryResult {
39
+ type: QueryAction;
40
+ data?: PreparedQueryData;
41
+ error?: unknown;
42
+ isTraceReady?: true;
43
+ queryId: string;
44
+ isLoading: boolean;
45
+ }
46
+ export interface QueryState {
47
+ input: string;
48
+ result?: QueryResult & {
49
+ isTraceReady?: boolean;
50
+ };
51
+ history: {
52
+ queries: QueryInHistory[];
53
+ currentIndex: number;
54
+ filter?: string;
55
+ };
56
+ tenantPath?: string;
57
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/query/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { QueryAction, QueryMode, QuerySyntax } from '../../../types/store/query';
2
+ import type { QueryInHistory } from './types';
3
+ export declare function getActionAndSyntaxFromQueryMode(baseAction?: QueryAction, queryMode?: QueryMode): {
4
+ action: "execute" | "explain" | "execute-scan" | "execute-script" | "execute-data" | "execute-query" | "explain-scan" | "explain-script" | "explain-data" | "explain-query";
5
+ syntax: QuerySyntax;
6
+ };
7
+ export declare function getQueryInHistory(rawQuery: string | QueryInHistory): QueryInHistory;
@@ -0,0 +1,21 @@
1
+ export function getActionAndSyntaxFromQueryMode(baseAction = 'execute', queryMode = 'query') {
2
+ let action = baseAction;
3
+ let syntax = 'yql_v1';
4
+ if (queryMode === 'pg') {
5
+ action = `${baseAction}-query`;
6
+ syntax = 'pg';
7
+ }
8
+ else if (queryMode) {
9
+ action = `${baseAction}-${queryMode}`;
10
+ }
11
+ return { action, syntax };
12
+ }
13
+ export function getQueryInHistory(rawQuery) {
14
+ if (typeof rawQuery === 'string') {
15
+ return {
16
+ queryText: rawQuery,
17
+ };
18
+ }
19
+ return rawQuery;
20
+ }
21
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/query/utils.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,+BAA+B,CAC3C,aAA0B,SAAS,EACnC,YAAuB,OAAO;IAE9B,IAAI,MAAM,GAAY,UAAU,CAAC;IACjC,IAAI,MAAM,GAAgB,QAAQ,CAAC;IAEnC,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;QACrB,MAAM,GAAG,GAAG,UAAU,QAAQ,CAAC;QAC/B,MAAM,GAAG,IAAI,CAAC;IAClB,CAAC;SAAM,IAAI,SAAS,EAAE,CAAC;QACnB,MAAM,GAAG,GAAG,UAAU,IAAI,SAAS,EAAE,CAAC;IAC1C,CAAC;IAED,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,CAAC;AAC5B,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAiC;IAC/D,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC"}
@@ -46,7 +46,7 @@ export function saveQuery(queryName) {
46
46
  var _a;
47
47
  const state = getState();
48
48
  const savedQueries = (_a = getSettingValue(state, SAVED_QUERIES_KEY)) !== null && _a !== void 0 ? _a : [];
49
- const queryBody = state.executeQuery.input;
49
+ const queryBody = state.query.input;
50
50
  if (queryName === null) {
51
51
  return;
52
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queryActions.js","sourceRoot":"","sources":["../../../../src/store/reducers/queryActions/queryActions.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAItE,MAAM,YAAY,GAAsB;IACpC,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,MAAM;IACnB,kBAAkB,EAAE,EAAE;CACzB,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,cAAc;IACpB,YAAY;IACZ,QAAQ,EAAE;QACN,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YACzD,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;QACrC,CAAC;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE;YAC5B,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;QAC3B,CAAC;QACD,cAAc,EAAE,CAAC,KAAK,EAAE,MAAmC,EAAE,EAAE;YAC3D,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;QACD,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YAC5D,KAAK,CAAC,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AAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAC5D,CAAC;QACF,QAAQ,CAAC,eAAe,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,CAAC;IAClE,CAAC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,SAAwB;IAC9C,OAAO,SAAS,cAAc,CAAC,QAAqB,EAAE,QAAkB;;QACpE,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;QACzB,MAAM,YAAY,GAAG,MAAC,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAkB,mCAAI,EAAE,CAAC;QACvF,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;QACpC,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;YACrB,OAAO;QACX,CAAC;QACD,MAAM,gBAAgB,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC;QAE3C,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAC/B,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAC5D,CAAC;QAEF,IAAI,KAAK,EAAE,CAAC;YACR,KAAK,CAAC,IAAI,GAAG,SAAS,CAAC;QAC3B,CAAC;aAAM,CAAC;YACJ,gBAAgB,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAC,CAAC,CAAC;QAC9D,CAAC;QAED,QAAQ,CAAC,eAAe,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,CAAC;IACnE,CAAC,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { dateTimeParse, isLikeRelative } from '@gravity-ui/date-utils';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
- import { isQueryErrorResponse, parseQueryAPIExecuteResponse } from '../../../utils/query';
3
+ import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
4
4
  import { api } from '../api';
5
5
  import { EShardsWorkloadMode } from './types';
6
6
  const initialState = {};
@@ -102,7 +102,7 @@ export const shardApi = api.injectEndpoints({
102
102
  if (isQueryErrorResponse(response)) {
103
103
  return { error: response };
104
104
  }
105
- const data = parseQueryAPIExecuteResponse(response);
105
+ const data = parseQueryAPIResponse(response);
106
106
  return { data };
107
107
  }
108
108
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"shardsWorkload.js","sourceRoot":"","sources":["../../../../src/store/reducers/shardsWorkload/shardsWorkload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,MAAM,YAAY,GAA0B,EAAE,CAAC;AAO/C,SAAS,eAAe,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAY;IACjD,OAAO,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAAC,OAA+B;;IACzD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,MAAM,EAAE,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAC,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAA,CAAC,0CAAE,OAAO,EAAE,CAAC;IACxE,MAAM,IAAI,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAA,CAAC,0CAAE,OAAO,EAAE,CAAC;I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ACJ,OAAO,EACP,SAAS,EACT,QAAQ,CACX;wBACX,QAAQ;wBACR,MAAM,EAAE,WAAW;qBACtB,EACD;wBACI,MAAM;wBACN,WAAW,EAAE,IAAI;qBACpB,CACJ,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAC7C,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,KAAK,CAAC;YACrB,YAAY,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE;;gBAC3B,IAAI,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,MAAK,WAAW,EAAE,CAAC;oBAC5C,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,IACI,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,CAAC;oBACzC,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,EAAE,CAAC,EACzC,CAAC;oBACC,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,KAAK,CAAC;YACjB,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -20,7 +20,7 @@ export declare const selectGetTabletsInfo: ((state: {
20
20
  partitions: {
21
21
  selectedConsumer?: string;
22
22
  };
23
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
23
+ query: import("./query/types").QueryState;
24
24
  heatmap: import("../../types/store/heatmap").IHeatmapState;
25
25
  settings: import("./settings/types").SettingsState;
26
26
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -51,7 +51,7 @@ export declare const selectGetTabletsInfo: ((state: {
51
51
  partitions: {
52
52
  selectedConsumer?: string;
53
53
  };
54
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
54
+ query: import("./query/types").QueryState;
55
55
  heatmap: import("../../types/store/heatmap").IHeatmapState;
56
56
  settings: import("./settings/types").SettingsState;
57
57
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -80,7 +80,7 @@ export declare const selectGetTabletsInfo: ((state: {
80
80
  partitions: {
81
81
  selectedConsumer?: string;
82
82
  };
83
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
83
+ query: import("./query/types").QueryState;
84
84
  heatmap: import("../../types/store/heatmap").IHeatmapState;
85
85
  settings: import("./settings/types").SettingsState;
86
86
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -114,7 +114,7 @@ export declare const selectGetTabletsInfo: ((state: {
114
114
  partitions: {
115
115
  selectedConsumer?: string;
116
116
  };
117
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
117
+ query: import("./query/types").QueryState;
118
118
  heatmap: import("../../types/store/heatmap").IHeatmapState;
119
119
  settings: import("./settings/types").SettingsState;
120
120
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -151,7 +151,7 @@ export declare const selectTabletsWithFqdn: ((state: {
151
151
  partitions: {
152
152
  selectedConsumer?: string;
153
153
  };
154
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
154
+ query: import("./query/types").QueryState;
155
155
  heatmap: import("../../types/store/heatmap").IHeatmapState;
156
156
  settings: import("./settings/types").SettingsState;
157
157
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -1,5 +1,5 @@
1
1
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
2
- import { isQueryErrorResponse, parseQueryAPIExecuteResponse } from '../../../../utils/query';
2
+ import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../../utils/query';
3
3
  import { api } from '../../api';
4
4
  const getQueryText = (path) => {
5
5
  return `
@@ -24,7 +24,7 @@ export const topTablesApi = api.injectEndpoints({
24
24
  if (isQueryErrorResponse(response)) {
25
25
  return { error: response };
26
26
  }
27
- return { data: parseQueryAPIExecuteResponse(response) };
27
+ return { data: parseQueryAPIResponse(response) };
28
28
  }
29
29
  catch (error) {
30
30
  return { error: error || 'Unauthorized' };
@@ -1 +1 @@
1
- {"version":3,"file":"executeTopTables.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;IAClC,OAAO;;;SAGF,IAAI;;;YAGD,4BAA4B;CACvC,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAiB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC;wBACzB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,4BAA4B,CAAC,QAAQ,CAAC,EAAC,CAAC;gBAC1D,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,cAAc,EAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"executeTopTables.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;IAClC,OAAO;;;SAGF,IAAI;;;YAGD,4BAA4B;CACvC,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAiB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC;wBACzB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAC,CAAC;gBACnD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,cAAc,EAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
2
- import { isQueryErrorResponse, parseQueryAPIExecuteResponse } from '../../../../utils/query';
2
+ import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../../utils/query';
3
3
  import { api } from '../../api';
4
4
  function createShardQuery(path, tenantName) {
5
5
  const pathSelect = tenantName
@@ -30,7 +30,7 @@ export const topShardsApi = api.injectEndpoints({
30
30
  if (isQueryErrorResponse(response)) {
31
31
  return { error: response };
32
32
  }
33
- return { data: parseQueryAPIExecuteResponse(response) };
33
+ return { data: parseQueryAPIResponse(response) };
34
34
  }
35
35
  catch (error) {
36
36
  return { error: error || new Error('Unauthorized') };
@@ -1 +1 @@
1
- {"version":3,"file":"tenantOverviewTopShards.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,SAAS,gBAAg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C"}
1
+ {"version":3,"file":"tenantOverviewTopShards.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,SAAS,gBAAgB,CAAC,IAAY,EAAE,UAAmB;IACvD,MAAM,UAAU,GAAG,UAAU;QACzB,CAAC,CAAC,wCAAwC,UAAU,CAAC,MAAM,oBAAoB;QAC/E,CAAC,CAAC,MAAM,CAAC;IAEb,OAAO;MACL,UAAU;;;;;YAKJ,IAAI;oBACI,IAAI;;QAEhB,4BAA4B,EAAE,CAAC;AACvC,CAAC;AAED,MAAM,WAAW,GAAG,cAAc,CAAC;AAEnC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAE,IAAI,GAAG,EAAE,EAAoC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAClF,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC;wBACvC,QAAQ;wBACR,MAAM,EAAE,WAAW;qBACtB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAC,CAAC;gBACnD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,IAAI,KAAK,CAAC,cAAc,CAAC,EAAC,CAAC;gBACvD,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -17,7 +17,7 @@ export declare const selectTenants: ((state: {
17
17
  partitions: {
18
18
  selectedConsumer?: string;
19
19
  };
20
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
20
+ query: import("../query/types").QueryState;
21
21
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
22
22
  settings: import("../settings/types").SettingsState;
23
23
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -48,7 +48,7 @@ export declare const selectTenants: ((state: {
48
48
  partitions: {
49
49
  selectedConsumer?: string;
50
50
  };
51
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
51
+ query: import("../query/types").QueryState;
52
52
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
53
53
  settings: import("../settings/types").SettingsState;
54
54
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -81,7 +81,7 @@ export declare const selectTenants: ((state: {
81
81
  partitions: {
82
82
  selectedConsumer?: string;
83
83
  };
84
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
84
+ query: import("../query/types").QueryState;
85
85
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
86
86
  settings: import("../settings/types").SettingsState;
87
87
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -119,7 +119,7 @@ export declare const selectTenants: ((state: {
119
119
  partitions: {
120
120
  selectedConsumer?: string;
121
121
  };
122
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
122
+ query: import("../query/types").QueryState;
123
123
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
124
124
  settings: import("../settings/types").SettingsState;
125
125
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -161,7 +161,7 @@ export declare const selectFilteredTenants: ((state: {
161
161
  partitions: {
162
162
  selectedConsumer?: string;
163
163
  };
164
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
164
+ query: import("../query/types").QueryState;
165
165
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
166
166
  settings: import("../settings/types").SettingsState;
167
167
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -201,7 +201,7 @@ export declare const selectFilteredTenants: ((state: {
201
201
  partitions: {
202
202
  selectedConsumer?: string;
203
203
  };
204
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
204
+ query: import("../query/types").QueryState;
205
205
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
206
206
  settings: import("../settings/types").SettingsState;
207
207
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -232,7 +232,7 @@ export declare const selectFilteredTenants: ((state: {
232
232
  partitions: {
233
233
  selectedConsumer?: string;
234
234
  };
235
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
235
+ query: import("../query/types").QueryState;
236
236
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
237
237
  settings: import("../settings/types").SettingsState;
238
238
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -265,7 +265,7 @@ export declare const selectFilteredTenants: ((state: {
265
265
  partitions: {
266
266
  selectedConsumer?: string;
267
267
  };
268
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
268
+ query: import("../query/types").QueryState;
269
269
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
270
270
  settings: import("../settings/types").SettingsState;
271
271
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -303,7 +303,7 @@ export declare const selectFilteredTenants: ((state: {
303
303
  partitions: {
304
304
  selectedConsumer?: string;
305
305
  };
306
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
306
+ query: import("../query/types").QueryState;
307
307
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
308
308
  settings: import("../settings/types").SettingsState;
309
309
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;