ydb-embedded-ui 6.34.0 → 6.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) 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/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  7. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  8. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  9. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  10. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  11. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  12. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  15. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  16. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  17. package/dist/components/nodesColumns/columns.d.ts +28 -2
  18. package/dist/components/nodesColumns/columns.js +83 -5
  19. package/dist/components/nodesColumns/columns.js.map +1 -1
  20. package/dist/components/nodesColumns/constants.d.ts +12 -0
  21. package/dist/components/nodesColumns/constants.js +36 -0
  22. package/dist/components/nodesColumns/constants.js.map +1 -1
  23. package/dist/components/nodesColumns/i18n/en.json +11 -1
  24. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  25. package/dist/components/nodesColumns/utils.d.ts +2 -0
  26. package/dist/components/nodesColumns/utils.js +11 -0
  27. package/dist/components/nodesColumns/utils.js.map +1 -0
  28. package/dist/containers/Nodes/Nodes.js +2 -2
  29. package/dist/containers/Nodes/Nodes.js.map +1 -1
  30. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  31. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  32. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  33. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  34. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  35. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  36. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  37. package/dist/containers/Nodes/columns/constants.js +8 -8
  38. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  39. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  40. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  41. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  42. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  45. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  46. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  47. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  48. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  49. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  50. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  51. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  52. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  53. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  54. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  55. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  56. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  57. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  58. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  59. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  61. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  62. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  63. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  64. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  66. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  68. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  69. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  70. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  71. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  72. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  73. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  75. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  76. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  77. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  78. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  79. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  80. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  81. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  82. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  86. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  87. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  88. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  89. package/dist/containers/Tenant/Query/Query.js +1 -1
  90. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +25 -12
  92. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  93. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  94. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  95. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  96. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  97. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  98. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  99. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  100. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  101. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  102. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  103. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  104. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  105. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  106. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  107. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  108. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  109. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  110. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  111. package/dist/containers/UserSettings/i18n/en.json +3 -2
  112. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  113. package/dist/containers/UserSettings/settings.d.ts +1 -0
  114. package/dist/containers/UserSettings/settings.js +6 -2
  115. package/dist/containers/UserSettings/settings.js.map +1 -1
  116. package/dist/containers/Versions/groupNodes.js +1 -1
  117. package/dist/containers/Versions/groupNodes.js.map +1 -1
  118. package/dist/services/api.js +1 -0
  119. package/dist/services/api.js.map +1 -1
  120. package/dist/services/settings.d.ts +1 -0
  121. package/dist/services/settings.js +2 -1
  122. package/dist/services/settings.js.map +1 -1
  123. package/dist/store/configureStore.d.ts +16 -8
  124. package/dist/store/configureStore.js +1 -1
  125. package/dist/store/configureStore.js.map +1 -1
  126. package/dist/store/defaultStore.d.ts +8 -4
  127. package/dist/store/reducers/cancelQuery.js +2 -2
  128. package/dist/store/reducers/cancelQuery.js.map +1 -1
  129. package/dist/store/reducers/capabilities/capabilities.d.ts +32 -16
  130. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  131. package/dist/store/reducers/capabilities/hooks.js +3 -0
  132. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  133. package/dist/store/reducers/cluster/cluster.d.ts +24 -12
  134. package/dist/store/reducers/cluster/utils.js +2 -2
  135. package/dist/store/reducers/cluster/utils.js.map +1 -1
  136. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  137. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  138. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +80 -40
  139. package/dist/store/reducers/index.d.ts +12 -6
  140. package/dist/store/reducers/index.js +2 -2
  141. package/dist/store/reducers/index.js.map +1 -1
  142. package/dist/store/reducers/node/selectors.d.ts +4 -2
  143. package/dist/store/reducers/nodes/types.d.ts +13 -0
  144. package/dist/store/reducers/nodes/utils.js +3 -3
  145. package/dist/store/reducers/nodes/utils.js.map +1 -1
  146. package/dist/store/reducers/nodesList.d.ts +4 -2
  147. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  148. package/dist/store/reducers/partitions/partitions.js +1 -3
  149. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  150. package/dist/store/reducers/partitions/types.d.ts +0 -3
  151. package/dist/store/reducers/preview.js +2 -2
  152. package/dist/store/reducers/preview.js.map +1 -1
  153. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  154. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  155. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  156. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  157. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  158. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  159. package/dist/store/reducers/query/query.d.ts +55 -0
  160. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  161. package/dist/store/reducers/query/query.js.map +1 -0
  162. package/dist/store/reducers/query/types.d.ts +57 -0
  163. package/dist/store/reducers/query/types.js.map +1 -0
  164. package/dist/store/reducers/query/utils.d.ts +7 -0
  165. package/dist/store/reducers/query/utils.js +21 -0
  166. package/dist/store/reducers/query/utils.js.map +1 -0
  167. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  168. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  169. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  170. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  171. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  172. package/dist/store/reducers/tablets.d.ts +20 -10
  173. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  174. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  175. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  176. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  177. package/dist/store/reducers/tenants/selectors.d.ts +36 -18
  178. package/dist/store/reducers/topic.d.ts +60 -30
  179. package/dist/store/reducers/trace.js +1 -1
  180. package/dist/store/reducers/trace.js.map +1 -1
  181. package/dist/types/api/nodes.d.ts +56 -0
  182. package/dist/types/api/nodes.js.map +1 -1
  183. package/dist/types/api/tenant.d.ts +2 -1
  184. package/dist/types/api/tenant.js.map +1 -1
  185. package/dist/utils/constants.d.ts +1 -0
  186. package/dist/utils/constants.js +1 -0
  187. package/dist/utils/constants.js.map +1 -1
  188. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  189. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  190. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  191. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  192. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  193. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  194. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +13 -9
  195. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  196. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  197. package/dist/utils/monaco/insertSnippet.js +8 -0
  198. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  199. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  200. package/dist/utils/query.d.ts +1 -2
  201. package/dist/utils/query.js +5 -10
  202. package/dist/utils/query.js.map +1 -1
  203. package/dist/utils/query.test.js +20 -34
  204. package/dist/utils/query.test.js.map +1 -1
  205. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  206. package/dist/utils/timeParsers/parsers.js +3 -2
  207. package/dist/utils/timeParsers/parsers.js.map +1 -1
  208. package/package.json +2 -2
  209. package/dist/store/reducers/executeQuery.d.ts +0 -54
  210. package/dist/store/reducers/executeQuery.js.map +0 -1
  211. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  212. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  213. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  214. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  215. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  216. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  217. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  218. package/dist/types/store/executeQuery.d.ts +0 -42
  219. package/dist/types/store/executeQuery.js +0 -6
  220. package/dist/types/store/executeQuery.js.map +0 -1
  221. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -20,8 +20,10 @@ export declare const selectIssuesTreesRoots: ((state: {
20
20
  showPreview: boolean;
21
21
  };
22
22
  tenants: import("../tenants/types").TenantsState;
23
- partitions: import("../partitions/types").PartitionsState;
24
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
23
+ partitions: {
24
+ selectedConsumer?: string;
25
+ };
26
+ query: import("../query/types").QueryState;
25
27
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
26
28
  settings: import("../settings/types").SettingsState;
27
29
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -56,8 +58,10 @@ export declare const selectIssuesTreesRoots: ((state: {
56
58
  showPreview: boolean;
57
59
  };
58
60
  tenants: import("../tenants/types").TenantsState;
59
- partitions: import("../partitions/types").PartitionsState;
60
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
61
+ partitions: {
62
+ selectedConsumer?: string;
63
+ };
64
+ query: import("../query/types").QueryState;
61
65
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
62
66
  settings: import("../settings/types").SettingsState;
63
67
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -85,8 +89,10 @@ export declare const selectIssuesTreesRoots: ((state: {
85
89
  showPreview: boolean;
86
90
  };
87
91
  tenants: import("../tenants/types").TenantsState;
88
- partitions: import("../partitions/types").PartitionsState;
89
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
92
+ partitions: {
93
+ selectedConsumer?: string;
94
+ };
95
+ query: import("../query/types").QueryState;
90
96
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
91
97
  settings: import("../settings/types").SettingsState;
92
98
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -118,8 +124,10 @@ export declare const selectIssuesTreesRoots: ((state: {
118
124
  showPreview: boolean;
119
125
  };
120
126
  tenants: import("../tenants/types").TenantsState;
121
- partitions: import("../partitions/types").PartitionsState;
122
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
127
+ partitions: {
128
+ selectedConsumer?: string;
129
+ };
130
+ query: import("../query/types").QueryState;
123
131
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
124
132
  settings: import("../settings/types").SettingsState;
125
133
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -156,8 +164,10 @@ export declare const selectIssuesTreesRoots: ((state: {
156
164
  showPreview: boolean;
157
165
  };
158
166
  tenants: import("../tenants/types").TenantsState;
159
- partitions: import("../partitions/types").PartitionsState;
160
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
167
+ partitions: {
168
+ selectedConsumer?: string;
169
+ };
170
+ query: import("../query/types").QueryState;
161
171
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
162
172
  settings: import("../settings/types").SettingsState;
163
173
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -205,8 +215,10 @@ export declare const selectIssuesTrees: ((state: {
205
215
  showPreview: boolean;
206
216
  };
207
217
  tenants: import("../tenants/types").TenantsState;
208
- partitions: import("../partitions/types").PartitionsState;
209
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
218
+ partitions: {
219
+ selectedConsumer?: string;
220
+ };
221
+ query: import("../query/types").QueryState;
210
222
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
211
223
  settings: import("../settings/types").SettingsState;
212
224
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -241,8 +253,10 @@ export declare const selectIssuesTrees: ((state: {
241
253
  showPreview: boolean;
242
254
  };
243
255
  tenants: import("../tenants/types").TenantsState;
244
- partitions: import("../partitions/types").PartitionsState;
245
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
256
+ partitions: {
257
+ selectedConsumer?: string;
258
+ };
259
+ query: import("../query/types").QueryState;
246
260
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
247
261
  settings: import("../settings/types").SettingsState;
248
262
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -270,8 +284,10 @@ export declare const selectIssuesTrees: ((state: {
270
284
  showPreview: boolean;
271
285
  };
272
286
  tenants: import("../tenants/types").TenantsState;
273
- partitions: import("../partitions/types").PartitionsState;
274
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
287
+ partitions: {
288
+ selectedConsumer?: string;
289
+ };
290
+ query: import("../query/types").QueryState;
275
291
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
276
292
  settings: import("../settings/types").SettingsState;
277
293
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -303,8 +319,10 @@ export declare const selectIssuesTrees: ((state: {
303
319
  showPreview: boolean;
304
320
  };
305
321
  tenants: import("../tenants/types").TenantsState;
306
- partitions: import("../partitions/types").PartitionsState;
307
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
322
+ partitions: {
323
+ selectedConsumer?: string;
324
+ };
325
+ query: import("../query/types").QueryState;
308
326
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
309
327
  settings: import("../settings/types").SettingsState;
310
328
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -341,8 +359,10 @@ export declare const selectIssuesTrees: ((state: {
341
359
  showPreview: boolean;
342
360
  };
343
361
  tenants: import("../tenants/types").TenantsState;
344
- partitions: import("../partitions/types").PartitionsState;
345
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
362
+ partitions: {
363
+ selectedConsumer?: string;
364
+ };
365
+ query: import("../query/types").QueryState;
346
366
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
347
367
  settings: import("../settings/types").SettingsState;
348
368
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -381,8 +401,10 @@ export declare const selectIssuesTrees: ((state: {
381
401
  showPreview: boolean;
382
402
  };
383
403
  tenants: import("../tenants/types").TenantsState;
384
- partitions: import("../partitions/types").PartitionsState;
385
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
404
+ partitions: {
405
+ selectedConsumer?: string;
406
+ };
407
+ query: import("../query/types").QueryState;
386
408
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
387
409
  settings: import("../settings/types").SettingsState;
388
410
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -417,8 +439,10 @@ export declare const selectIssuesTrees: ((state: {
417
439
  showPreview: boolean;
418
440
  };
419
441
  tenants: import("../tenants/types").TenantsState;
420
- partitions: import("../partitions/types").PartitionsState;
421
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
442
+ partitions: {
443
+ selectedConsumer?: string;
444
+ };
445
+ query: import("../query/types").QueryState;
422
446
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
423
447
  settings: import("../settings/types").SettingsState;
424
448
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -446,8 +470,10 @@ export declare const selectIssuesTrees: ((state: {
446
470
  showPreview: boolean;
447
471
  };
448
472
  tenants: import("../tenants/types").TenantsState;
449
- partitions: import("../partitions/types").PartitionsState;
450
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
473
+ partitions: {
474
+ selectedConsumer?: string;
475
+ };
476
+ query: import("../query/types").QueryState;
451
477
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
452
478
  settings: import("../settings/types").SettingsState;
453
479
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -479,8 +505,10 @@ export declare const selectIssuesTrees: ((state: {
479
505
  showPreview: boolean;
480
506
  };
481
507
  tenants: import("../tenants/types").TenantsState;
482
- partitions: import("../partitions/types").PartitionsState;
483
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
508
+ partitions: {
509
+ selectedConsumer?: string;
510
+ };
511
+ query: import("../query/types").QueryState;
484
512
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
485
513
  settings: import("../settings/types").SettingsState;
486
514
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -517,8 +545,10 @@ export declare const selectIssuesTrees: ((state: {
517
545
  showPreview: boolean;
518
546
  };
519
547
  tenants: import("../tenants/types").TenantsState;
520
- partitions: import("../partitions/types").PartitionsState;
521
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
548
+ partitions: {
549
+ selectedConsumer?: string;
550
+ };
551
+ query: import("../query/types").QueryState;
522
552
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
523
553
  settings: import("../settings/types").SettingsState;
524
554
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -574,8 +604,10 @@ export declare const selectIssuesStatistics: ((state: {
574
604
  showPreview: boolean;
575
605
  };
576
606
  tenants: import("../tenants/types").TenantsState;
577
- partitions: import("../partitions/types").PartitionsState;
578
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
607
+ partitions: {
608
+ selectedConsumer?: string;
609
+ };
610
+ query: import("../query/types").QueryState;
579
611
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
580
612
  settings: import("../settings/types").SettingsState;
581
613
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -610,8 +642,10 @@ export declare const selectIssuesStatistics: ((state: {
610
642
  showPreview: boolean;
611
643
  };
612
644
  tenants: import("../tenants/types").TenantsState;
613
- partitions: import("../partitions/types").PartitionsState;
614
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
645
+ partitions: {
646
+ selectedConsumer?: string;
647
+ };
648
+ query: import("../query/types").QueryState;
615
649
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
616
650
  settings: import("../settings/types").SettingsState;
617
651
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -639,8 +673,10 @@ export declare const selectIssuesStatistics: ((state: {
639
673
  showPreview: boolean;
640
674
  };
641
675
  tenants: import("../tenants/types").TenantsState;
642
- partitions: import("../partitions/types").PartitionsState;
643
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
676
+ partitions: {
677
+ selectedConsumer?: string;
678
+ };
679
+ query: import("../query/types").QueryState;
644
680
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
645
681
  settings: import("../settings/types").SettingsState;
646
682
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -672,8 +708,10 @@ export declare const selectIssuesStatistics: ((state: {
672
708
  showPreview: boolean;
673
709
  };
674
710
  tenants: import("../tenants/types").TenantsState;
675
- partitions: import("../partitions/types").PartitionsState;
676
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
711
+ partitions: {
712
+ selectedConsumer?: string;
713
+ };
714
+ query: import("../query/types").QueryState;
677
715
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
678
716
  settings: import("../settings/types").SettingsState;
679
717
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -710,8 +748,10 @@ export declare const selectIssuesStatistics: ((state: {
710
748
  showPreview: boolean;
711
749
  };
712
750
  tenants: import("../tenants/types").TenantsState;
713
- partitions: import("../partitions/types").PartitionsState;
714
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
751
+ partitions: {
752
+ selectedConsumer?: string;
753
+ };
754
+ query: import("../query/types").QueryState;
715
755
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
716
756
  settings: import("../settings/types").SettingsState;
717
757
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -12,8 +12,10 @@ export declare const rootReducer: {
12
12
  showPreview: boolean;
13
13
  }>;
14
14
  tenants: import("redux").Reducer<import("./tenants/types").TenantsState>;
15
- partitions: import("redux").Reducer<import("./partitions/types").PartitionsState>;
16
- executeQuery: import("redux").Reducer<import("../../types/store/executeQuery").ExecuteQueryState>;
15
+ partitions: import("redux").Reducer<{
16
+ selectedConsumer?: string;
17
+ }>;
18
+ query: import("redux").Reducer<import("./query/types").QueryState>;
17
19
  heatmap: import("redux").Reducer<import("../../types/store/heatmap").IHeatmapState>;
18
20
  settings: import("redux").Reducer<import("./settings/types").SettingsState>;
19
21
  executeTopQueries: import("redux").Reducer<import("./executeTopQueries/types").TopQueriesFilters>;
@@ -41,8 +43,10 @@ declare const combinedReducer: import("redux").Reducer<{
41
43
  showPreview: boolean;
42
44
  };
43
45
  tenants: import("./tenants/types").TenantsState;
44
- partitions: import("./partitions/types").PartitionsState;
45
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
46
+ partitions: {
47
+ selectedConsumer?: string;
48
+ };
49
+ query: import("./query/types").QueryState;
46
50
  heatmap: import("../../types/store/heatmap").IHeatmapState;
47
51
  settings: import("./settings/types").SettingsState;
48
52
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -73,8 +77,10 @@ declare const combinedReducer: import("redux").Reducer<{
73
77
  showPreview: boolean;
74
78
  } | undefined;
75
79
  tenants: import("./tenants/types").TenantsState | undefined;
76
- partitions: import("./partitions/types").PartitionsState | undefined;
77
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState | undefined;
80
+ partitions: {
81
+ selectedConsumer?: string;
82
+ } | undefined;
83
+ query: import("./query/types").QueryState | undefined;
78
84
  heatmap: import("../../types/store/heatmap").IHeatmapState | undefined;
79
85
  settings: import("./settings/types").SettingsState | undefined;
80
86
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters | undefined;
@@ -3,12 +3,12 @@ import { api } from './api';
3
3
  import authentication from './authentication/authentication';
4
4
  import cluster from './cluster/cluster';
5
5
  import clusters from './clusters/clusters';
6
- import executeQuery from './executeQuery';
7
6
  import executeTopQueries from './executeTopQueries/executeTopQueries';
8
7
  import fullscreen from './fullscreen';
9
8
  import header from './header/header';
10
9
  import heatmap from './heatmap';
11
10
  import partitions from './partitions/partitions';
11
+ import query from './query/query';
12
12
  import queryActions from './queryActions/queryActions';
13
13
  import schema from './schema/schema';
14
14
  import settings from './settings/settings';
@@ -26,7 +26,7 @@ export const rootReducer = {
26
26
  schema,
27
27
  tenants,
28
28
  partitions,
29
- executeQuery,
29
+ query,
30
30
  heatmap,
31
31
  settings,
32
32
  executeTopQueries,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/reducers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,MAAM,MAAM,iBAAiB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iB,CAAC;AACrC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO;IAC9B,iBAAiB;IACjB,OAAO;IACP,MAAM;IACN,OAAO;IACP,MAAM;IACN,OAAO;IACP,UAAU;IACV,KAAK;IACL,OAAO;IACP,QAAQ;IACR,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,MAAM;IACN,YAAY;IACZ,UAAU;IACV,QAAQ;CACX,CAAC;AAEF,MAAM,eAAe,GAAG,eAAe,CAAC;IACpC,GAAG,WAAW;CACjB,CAAC,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -13,8 +13,10 @@ export declare const selectNodeStructure: ((state: {
13
13
  showPreview: boolean;
14
14
  };
15
15
  tenants: import("../tenants/types").TenantsState;
16
- partitions: import("../partitions/types").PartitionsState;
17
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
16
+ partitions: {
17
+ selectedConsumer?: string;
18
+ };
19
+ query: import("../query/types").QueryState;
18
20
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
19
21
  settings: import("../settings/types").SettingsState;
20
22
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
@@ -22,6 +22,19 @@ export interface NodesPreparedEntity extends PreparedNodeSystemState {
22
22
  Tablets?: TFullTabletStateInfo[];
23
23
  Endpoints?: TEndpoint[];
24
24
  TotalSessions?: number;
25
+ Connections?: number;
26
+ ConnectStatus?: EFlag;
27
+ ReceiveThroughput?: string;
28
+ SendThroughput?: string;
29
+ NetworkUtilization?: number;
30
+ NetworkUtilizationMin?: number;
31
+ NetworkUtilizationMax?: number;
32
+ ClockSkewUs?: string;
33
+ ClockSkewMinUs?: string;
34
+ ClockSkewMaxUs?: string;
35
+ PingTimeUs?: string;
36
+ PingTimeMinUs?: string;
37
+ PingTimeMaxUs?: string;
25
38
  }
26
39
  export interface NodesSortParams {
27
40
  sortOrder: OrderType | undefined;
@@ -4,10 +4,10 @@ export const prepareNodesData = (data) => {
4
4
  var _a;
5
5
  const rawNodes = data.Nodes || [];
6
6
  const preparedNodes = rawNodes.map((node) => {
7
+ const { SystemState, ...restNodeParams } = node;
7
8
  return {
8
- ...prepareNodeSystemState(node.SystemState),
9
- Tablets: node.Tablets,
10
- NodeId: node.NodeId,
9
+ ...restNodeParams,
10
+ ...prepareNodeSystemState(SystemState),
11
11
  };
12
12
  });
13
13
  const preparedGroups = (_a = data.NodeGroups) === null || _a === void 0 ? void 0 : _a.map(({ GroupName, NodeCount }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAgB,EAAwB,EAAE;;IACvE,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IAElC,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxC,OAAO;YACH,GAAG,sBAAsB,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3C,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;SACtB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,GAAG,CAAC,CAAC,EAAC,SAAS,EAAE,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,IAAI,CAAC,UAAU,0CAAE,GAAG,CAAC,CAAC,EAAC,SAAS,EAAE,SAAS,EAAC,EAAE,EAAE;QACnE,IAAI,SAAS,IAAI,SAAS,EAAE,CAAC;YACzB,OAAO;gBACH,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC;aAC3B,CAAC;QACN,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC,EAAE,MAAM,CAAC,CAAC,KAAK,EAAuB,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAE1D,OAAO;QACH,KAAK,EAAE,aAAa;QACpB,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,aAAa,CAAC,MAAM;QAC3D,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KACtC,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC"}
@@ -15,8 +15,10 @@ export declare const selectNodeHostsMap: ((state: {
15
15
  showPreview: boolean;
16
16
  };
17
17
  tenants: import("./tenants/types").TenantsState;
18
- partitions: import("./partitions/types").PartitionsState;
19
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
18
+ partitions: {
19
+ selectedConsumer?: string;
20
+ };
21
+ query: import("./query/types").QueryState;
20
22
  heatmap: import("../../types/store/heatmap").IHeatmapState;
21
23
  settings: import("./settings/types").SettingsState;
22
24
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -1,6 +1,7 @@
1
- import type { PartitionsState } from './types';
2
- export declare const setSelectedConsumer: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "partitions/setSelectedConsumer">;
3
- declare const _default: import("redux").Reducer<PartitionsState>;
1
+ export declare const setSelectedConsumer: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "partitions/setSelectedConsumer">;
2
+ declare const _default: import("redux").Reducer<{
3
+ selectedConsumer?: string;
4
+ }>;
4
5
  export default _default;
5
6
  export declare const partitionsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
6
7
  getPartitions: import("@reduxjs/toolkit/query").QueryDefinition<{
@@ -1,9 +1,7 @@
1
1
  import { createSlice } from '@reduxjs/toolkit';
2
2
  import { api } from '../api';
3
3
  import { prepareConsumerPartitions, prepareTopicPartitions } from './utils';
4
- const initialState = {
5
- selectedConsumer: '',
6
- };
4
+ const initialState = {};
7
5
  const slice = createSlice({
8
6
  name: 'partitions',
9
7
  initialState,
@@ -1 +1 @@
1
- {"version":3,"file":"partitions.js","sourceRoot":"","sources":["../../../../src/store/reducers/partitions/partitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,yBAAyB,EAAE,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1E,MAAM,YAAY,GAAoB;IAClC,gBAAgB,EAAE,EAAE;CACvB,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,YAAY;IAClB,YAAY;IACZ,QAAQ,EAAE;QACN,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YAC1D,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC;QAC5C,CAAC;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAC,mBAAmB,EAAC,GAAG,KAAK,CAAC,OAAO,CAAC;AACnD,eAAe,KAAK,CAAC,OAAO,CAAC;AAE7B,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAC,eAAe,CAAC;IAC7C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AC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;wBACvE,MAAM,aAAa,GAAG,QAAQ,CAAC,UAAU,CAAC;wBAC1C,MAAM,IAAI,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;wBACnD,OAAO,EAAC,IAAI,EAAC,CAAC;oBAClB,CAAC;gBACL,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -19,6 +19,3 @@ export interface PreparedPartitionData {
19
19
  partitionNodeId: number;
20
20
  connectionNodeId?: number;
21
21
  }
22
- export interface PartitionsState {
23
- selectedConsumer: string;
24
- }
@@ -1,4 +1,4 @@
1
- import { isQueryErrorResponse, parseQueryAPIExecuteResponse } from '../../utils/query';
1
+ import { isQueryErrorResponse, parseQueryAPIResponse } from '../../utils/query';
2
2
  import { api } from './api';
3
3
  export const previewApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
@@ -9,7 +9,7 @@ export const previewApi = api.injectEndpoints({
9
9
  if (isQueryErrorResponse(response)) {
10
10
  return { error: response };
11
11
  }
12
- return { data: parseQueryAPIExecuteResponse(response) };
12
+ return { data: parseQueryAPIResponse(response) };
13
13
  }
14
14
  catch (error) {
15
15
  return { error: error || new Error('Unauthorized') };
@@ -1 +1 @@
1
- {"version":3,"file":"preview.js","sourceRoot":"","sources":["../../../src/store/reducers/preview.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AAErF,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAQ1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,C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AAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACpE,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAC,EACzB,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,EAAE,aAAa,CAAC;SACvC,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { getActionAndSyntaxFromQueryMode } from '../utils';
2
+ describe('getActionAndSyntaxFromQueryMode', () => {
3
+ it('Correctly prepares execute action', () => {
4
+ const { action, syntax } = getActionAndSyntaxFromQueryMode('execute', 'script');
5
+ expect(action).toBe('execute-script');
6
+ expect(syntax).toBe('yql_v1');
7
+ });
8
+ it('Correctly prepares execute action with pg syntax', () => {
9
+ const { action, syntax } = getActionAndSyntaxFromQueryMode('execute', 'pg');
10
+ expect(action).toBe('execute-query');
11
+ expect(syntax).toBe('pg');
12
+ });
13
+ it('Correctly prepares explain action', () => {
14
+ const { action, syntax } = getActionAndSyntaxFromQueryMode('explain', 'script');
15
+ expect(action).toBe('explain-script');
16
+ expect(syntax).toBe('yql_v1');
17
+ });
18
+ it('Correctly prepares explain action with pg syntax', () => {
19
+ const { action, syntax } = getActionAndSyntaxFromQueryMode('explain', 'pg');
20
+ expect(action).toBe('explain-query');
21
+ expect(syntax).toBe('pg');
22
+ });
23
+ });
24
+ //# sourceMappingURL=utils.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../../../../../src/store/reducers/query/__test__/utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,+BAA+B,EAAC,MAAM,UAAU,CAAC;AAEzD,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC7C,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;QACzC,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,+BAA+B,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC9E,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE;QACxD,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,+BAA+B,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1E,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;QACzC,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,+BAA+B,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC9E,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE;QACxD,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,+BAA+B,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1E,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ExecuteResponse, ExplainResponse } from '../../../types/api/query';
2
+ import type { PreparedQueryData } from './types';
3
+ export declare const explainVersions: {
4
+ v2: string;
5
+ };
6
+ export declare function prepareQueryData(response: ExplainResponse | ExecuteResponse | null): PreparedQueryData;
@@ -1,23 +1,24 @@
1
1
  import { preparePlan, prepareSimplifiedPlan } from '../../../utils/prepareQueryExplain';
2
- import { parseQueryAPIExplainResponse, parseQueryExplainPlan } from '../../../utils/query';
2
+ import { parseQueryAPIResponse, parseQueryExplainPlan } from '../../../utils/query';
3
3
  export const explainVersions = {
4
4
  v2: '0.2',
5
5
  };
6
6
  const supportedExplainQueryVersions = Object.values(explainVersions);
7
- export const prepareExplainResponse = (response) => {
8
- const { plan: rawPlan, ast } = parseQueryAPIExplainResponse(response);
7
+ export function prepareQueryData(response) {
8
+ const result = parseQueryAPIResponse(response);
9
+ const { plan: rawPlan } = result;
9
10
  if (!rawPlan) {
10
- return { ast };
11
+ return result;
11
12
  }
12
13
  const { tables, meta, Plan, SimplifiedPlan } = parseQueryExplainPlan(rawPlan);
13
14
  if (supportedExplainQueryVersions.indexOf(meta.version) === -1) {
14
15
  // Do not prepare plan for not supported versions
15
16
  return {
16
- plan: {
17
+ ...result,
18
+ preparedPlan: {
17
19
  pristine: rawPlan,
18
20
  version: meta.version,
19
21
  },
20
- ast,
21
22
  };
22
23
  }
23
24
  let links = [];
@@ -32,7 +33,8 @@ export const prepareExplainResponse = (response) => {
32
33
  preparedSimplifiedPlan = prepareSimplifiedPlan([SimplifiedPlan]);
33
34
  }
34
35
  return {
35
- plan: {
36
+ ...result,
37
+ preparedPlan: {
36
38
  links,
37
39
  nodes,
38
40
  tables,
@@ -40,7 +42,6 @@ export const prepareExplainResponse = (response) => {
40
42
  pristine: rawPlan,
41
43
  },
42
44
  simplifiedPlan: { plan: preparedSimplifiedPlan, pristine: SimplifiedPlan },
43
- ast,
44
45
  };
45
- };
46
- //# sourceMappingURL=utils.js.map
46
+ }
47
+ //# sourceMappingURL=prepareQueryData.js.map
@@ -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>;