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
@@ -21,7 +21,7 @@ export declare const selectConsumersNames: ((state: {
21
21
  partitions: {
22
22
  selectedConsumer?: string;
23
23
  };
24
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
24
+ query: import("./query/types").QueryState;
25
25
  heatmap: import("../../types/store/heatmap").IHeatmapState;
26
26
  settings: import("./settings/types").SettingsState;
27
27
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -59,7 +59,7 @@ export declare const selectConsumersNames: ((state: {
59
59
  partitions: {
60
60
  selectedConsumer?: string;
61
61
  };
62
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
62
+ query: import("./query/types").QueryState;
63
63
  heatmap: import("../../types/store/heatmap").IHeatmapState;
64
64
  settings: import("./settings/types").SettingsState;
65
65
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -90,7 +90,7 @@ export declare const selectConsumersNames: ((state: {
90
90
  partitions: {
91
91
  selectedConsumer?: string;
92
92
  };
93
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
93
+ query: import("./query/types").QueryState;
94
94
  heatmap: import("../../types/store/heatmap").IHeatmapState;
95
95
  settings: import("./settings/types").SettingsState;
96
96
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -125,7 +125,7 @@ export declare const selectConsumersNames: ((state: {
125
125
  partitions: {
126
126
  selectedConsumer?: string;
127
127
  };
128
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
128
+ query: import("./query/types").QueryState;
129
129
  heatmap: import("../../types/store/heatmap").IHeatmapState;
130
130
  settings: import("./settings/types").SettingsState;
131
131
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -165,7 +165,7 @@ export declare const selectConsumersNames: ((state: {
165
165
  partitions: {
166
166
  selectedConsumer?: string;
167
167
  };
168
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
168
+ query: import("./query/types").QueryState;
169
169
  heatmap: import("../../types/store/heatmap").IHeatmapState;
170
170
  settings: import("./settings/types").SettingsState;
171
171
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -216,7 +216,7 @@ export declare const selectPreparedTopicStats: ((state: {
216
216
  partitions: {
217
217
  selectedConsumer?: string;
218
218
  };
219
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
219
+ query: import("./query/types").QueryState;
220
220
  heatmap: import("../../types/store/heatmap").IHeatmapState;
221
221
  settings: import("./settings/types").SettingsState;
222
222
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -274,7 +274,7 @@ export declare const selectPreparedTopicStats: ((state: {
274
274
  partitions: {
275
275
  selectedConsumer?: string;
276
276
  };
277
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
277
+ query: import("./query/types").QueryState;
278
278
  heatmap: import("../../types/store/heatmap").IHeatmapState;
279
279
  settings: import("./settings/types").SettingsState;
280
280
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -305,7 +305,7 @@ export declare const selectPreparedTopicStats: ((state: {
305
305
  partitions: {
306
306
  selectedConsumer?: string;
307
307
  };
308
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
308
+ query: import("./query/types").QueryState;
309
309
  heatmap: import("../../types/store/heatmap").IHeatmapState;
310
310
  settings: import("./settings/types").SettingsState;
311
311
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -340,7 +340,7 @@ export declare const selectPreparedTopicStats: ((state: {
340
340
  partitions: {
341
341
  selectedConsumer?: string;
342
342
  };
343
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
343
+ query: import("./query/types").QueryState;
344
344
  heatmap: import("../../types/store/heatmap").IHeatmapState;
345
345
  settings: import("./settings/types").SettingsState;
346
346
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -380,7 +380,7 @@ export declare const selectPreparedTopicStats: ((state: {
380
380
  partitions: {
381
381
  selectedConsumer?: string;
382
382
  };
383
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
383
+ query: import("./query/types").QueryState;
384
384
  heatmap: import("../../types/store/heatmap").IHeatmapState;
385
385
  settings: import("./settings/types").SettingsState;
386
386
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -431,7 +431,7 @@ export declare const selectPreparedConsumersData: ((state: {
431
431
  partitions: {
432
432
  selectedConsumer?: string;
433
433
  };
434
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
434
+ query: import("./query/types").QueryState;
435
435
  heatmap: import("../../types/store/heatmap").IHeatmapState;
436
436
  settings: import("./settings/types").SettingsState;
437
437
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -493,7 +493,7 @@ export declare const selectPreparedConsumersData: ((state: {
493
493
  partitions: {
494
494
  selectedConsumer?: string;
495
495
  };
496
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
496
+ query: import("./query/types").QueryState;
497
497
  heatmap: import("../../types/store/heatmap").IHeatmapState;
498
498
  settings: import("./settings/types").SettingsState;
499
499
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -524,7 +524,7 @@ export declare const selectPreparedConsumersData: ((state: {
524
524
  partitions: {
525
525
  selectedConsumer?: string;
526
526
  };
527
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
527
+ query: import("./query/types").QueryState;
528
528
  heatmap: import("../../types/store/heatmap").IHeatmapState;
529
529
  settings: import("./settings/types").SettingsState;
530
530
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -559,7 +559,7 @@ export declare const selectPreparedConsumersData: ((state: {
559
559
  partitions: {
560
560
  selectedConsumer?: string;
561
561
  };
562
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
562
+ query: import("./query/types").QueryState;
563
563
  heatmap: import("../../types/store/heatmap").IHeatmapState;
564
564
  settings: import("./settings/types").SettingsState;
565
565
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -599,7 +599,7 @@ export declare const selectPreparedConsumersData: ((state: {
599
599
  partitions: {
600
600
  selectedConsumer?: string;
601
601
  };
602
- executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
602
+ query: import("./query/types").QueryState;
603
603
  heatmap: import("../../types/store/heatmap").IHeatmapState;
604
604
  settings: import("./settings/types").SettingsState;
605
605
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
@@ -1,5 +1,5 @@
1
1
  import { api } from './api';
2
- import { setQueryTraceReady } from './executeQuery';
2
+ import { setQueryTraceReady } from './query/query';
3
3
  export const traceApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
5
5
  checkTrace: build.query({
@@ -1 +1 @@
1
- {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MA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G,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAE9D,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;oBAC/B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { EFlag } from './enums';
2
- import type { TPoolStats, TSystemStateInfo } from './nodes';
2
+ import type { TMemoryStats, TPoolStats, TSystemStateInfo } from './nodes';
3
3
  import type { TTabletStateInfo } from './tablet';
4
4
  /**
5
5
  * endpoint: /viewer/json/tenants
@@ -47,6 +47,7 @@ export interface TTenant {
47
47
  MemoryUsed?: string;
48
48
  /** uint64 */
49
49
  MemoryLimit?: string;
50
+ MemoryStats?: TMemoryStats;
50
51
  /** double */
51
52
  CoresUsed?: number;
52
53
  /** uint64 */
@@ -1 +1 @@
1
- {"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../src/types/api/tenant.ts"],"names":[],"mappings":"AAoIA,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IACb,gDAAyC,CAAA;IACzC,8BAAuB,CAAA;IACvB,4BAAqB,CAAA;IACrB,8BAAuB,CAAA;IACvB,gDAAyC,CAAA;IACzC,oCAA6B,CAAA;AACjC,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AAED,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC5B,uFAAiE,CAAA;IACjE,uFAAiE,CAAA;IACjE,uFAAiE,CAAA;IACjE,yFAAmE,CAAA;IACnE,uFAAiE,CAAA;AACrE,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAuBD,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACb,sBAAa,CAAA;IACb,oBAAW,CAAA;IACX,oBAAW,CAAA;AACf,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB"}
1
+ {"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../src/types/api/tenant.ts"],"names":[],"mappings":"AAqIA,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IACb,gDAAyC,CAAA;IACzC,8BAAuB,CAAA;IACvB,4BAAqB,CAAA;IACrB,8BAAuB,CAAA;IACvB,gDAAyC,CAAA;IACzC,oCAA6B,CAAA;AACjC,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AAED,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC5B,uFAAiE,CAAA;IACjE,uFAAiE,CAAA;IACjE,uFAAiE,CAAA;IACjE,yFAAmE,CAAA;IACnE,uFAAiE,CAAA;AACrE,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAuBD,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACb,sBAAa,CAAA;IACb,oBAAW,CAAA;IACX,oBAAW,CAAA;AACf,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB"}
@@ -1,3 +1,4 @@
1
+ import type { QuerySettings } from '../../types/store/query';
1
2
  export declare const useQueryExecutionSettings: () => readonly [{
2
3
  queryMode: "scan" | "script" | "data" | "query" | "pg";
3
4
  transactionMode: "serializable-read-write" | "stale-read-only" | "online-read-only" | "snapshot-read-only" | "implicit";
@@ -5,11 +6,4 @@ export declare const useQueryExecutionSettings: () => readonly [{
5
6
  tracingLevel: "basic" | "off" | "toplevel" | "detailed" | "diagnostic" | "trace";
6
7
  timeout?: number | undefined;
7
8
  limitRows?: number | undefined;
8
- }, (value: {
9
- queryMode: "scan" | "script" | "data" | "query" | "pg";
10
- transactionMode: "serializable-read-write" | "stale-read-only" | "online-read-only" | "snapshot-read-only" | "implicit";
11
- statisticsMode: "none" | "basic" | "full" | "profile";
12
- tracingLevel: "basic" | "off" | "toplevel" | "detailed" | "diagnostic" | "trace";
13
- timeout?: number | undefined;
14
- limitRows?: number | undefined;
15
- }) => void];
9
+ }, (settings: QuerySettings) => void];
@@ -1,17 +1,28 @@
1
+ import React from 'react';
1
2
  import { useTracingLevelOptionAvailable } from '../../store/reducers/capabilities/hooks';
2
- import { QUERY_EXECUTION_SETTINGS_KEY } from '../constants';
3
- import { DEFAULT_QUERY_SETTINGS, querySettingsRestoreSchema } from '../query';
3
+ import { QUERY_EXECUTION_SETTINGS_KEY, USE_SHOW_PLAN_SVG_KEY } from '../constants';
4
+ import { DEFAULT_QUERY_SETTINGS, STATISTICS_MODES, querySettingsRestoreSchema } from '../query';
4
5
  import { useSetting } from './useSetting';
5
6
  export const useQueryExecutionSettings = () => {
6
7
  const enableTracingLevel = useTracingLevelOptionAvailable();
7
8
  const [storageSettings, setSettings] = useSetting(QUERY_EXECUTION_SETTINGS_KEY);
8
9
  const validatedSettings = querySettingsRestoreSchema.parse(storageSettings);
10
+ const [useShowPlanToSvg] = useSetting(USE_SHOW_PLAN_SVG_KEY);
11
+ const setQueryExecutionSettings = React.useCallback((settings) => {
12
+ setSettings({
13
+ ...settings,
14
+ statisticsMode: useShowPlanToSvg
15
+ ? validatedSettings.statisticsMode
16
+ : settings.statisticsMode,
17
+ });
18
+ }, [setSettings, useShowPlanToSvg, validatedSettings.statisticsMode]);
9
19
  const settings = {
10
20
  ...validatedSettings,
21
+ statisticsMode: useShowPlanToSvg ? STATISTICS_MODES.full : validatedSettings.statisticsMode,
11
22
  tracingLevel: enableTracingLevel
12
23
  ? validatedSettings.tracingLevel
13
24
  : DEFAULT_QUERY_SETTINGS.tracingLevel,
14
25
  };
15
- return [settings, setSettings];
26
+ return [settings, setQueryExecutionSettings];
16
27
  };
17
28
  //# sourceMappingURL=useQueryExecutionSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,sBAAsB,EAAE,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAE5E,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,kBAAkB,GAAG,8BAA8B,EAAE,CAAC;IAC5D,MAAM,CAAC,eAAe,EAAE,WAAW,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAE/F,MAAM,iBAAiB,GAAG,0BAA0B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAE5E,MAAM,QAAQ,GAAkB;QAC5B,GAAG,iBAAiB;QACpB,YAAY,EAAE,kBAAkB;YAC5B,CAAC,CAAC,iBAAiB,CAAC,YAAY;YAChC,CAAC,CAAC,sBAAsB,CAAC,YAAY;KAC5C,CAAC;IAEF,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAU,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,4BAA4B,EAAE,qBAAqB,EAAC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAE,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAE9F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,kBAAkB,GAAG,8BAA8B,EAAE,CAAC;IAC5D,MAAM,CAAC,eAAe,EAAE,WAAW,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAE/F,MAAM,iBAAiB,GAAG,0BAA0B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5E,MAAM,CAAC,gBAAgB,CAAC,GAAG,UAAU,CAAU,qBAAqB,CAAC,CAAC;IAEtE,MAAM,yBAAyB,GAAG,KAAK,CAAC,WAAW,CAC/C,CAAC,QAAuB,EAAE,EAAE;QACxB,WAAW,CAAC;YACR,GAAG,QAAQ;YACX,cAAc,EAAE,gBAAgB;gBAC5B,CAAC,CAAC,iBAAiB,CAAC,cAAc;gBAClC,CAAC,CAAC,QAAQ,CAAC,cAAc;SAChC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,cAAc,CAAC,CACpE,CAAC;IAEF,MAAM,QAAQ,GAAkB;QAC5B,GAAG,iBAAiB;QACpB,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,cAAc;QAC3F,YAAY,EAAE,kBAAkB;YAC5B,CAAC,CAAC,iBAAiB,CAAC,YAAY;YAChC,CAAC,CAAC,sBAAsB,CAAC,YAAY;KAC5C,CAAC;IAEF,OAAO,CAAC,QAAQ,EAAE,yBAAyB,CAAU,CAAC;AAC1D,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import NiceModal from '@ebay/nice-modal-react';
4
4
  import { useTypedSelector } from '..';
5
5
  import { CONFIRMATION_DIALOG } from '../../../components/ConfirmationDialog/ConfirmationDialog';
6
6
  import { SaveQueryButton } from '../../../containers/Tenant/Query/SaveQuery/SaveQuery';
7
- import { selectUserInput } from '../../../store/reducers/executeQuery';
7
+ import { selectUserInput } from '../../../store/reducers/query/query';
8
8
  import i18n from './i18n';
9
9
  function ExtendedSaveQueryButton() {
10
10
  const modal = NiceModal.useModal(CONFIRMATION_DIALOG);
@@ -1 +1 @@
1
- {"version":3,"file":"useChangeInputWithConfirmation.js","sourceRoot":"","sources":["../../../../src/utils/hooks/withConfirmation/useChangeInputWithConfirmation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,IAAI,CAAC;AACpC,OAAO,EAAC,mBAAmB,EAAC,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAC,eAAe,EAAC,MAAM,sDAAsD,CAAC;AACrF,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAErE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,SAAS,uBAAuB;IAC5B,MAAM,KAAK,GAAG,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAEtD,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACtC,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,KAAK,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACZ,MAAM,sBAAsB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QAClD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpB,UAAU,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;IACxB,MAAM,qBAAqB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACjD,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACrB,UAAU,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;IAExB,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAC7B,GAAG,EAAE,CAAC,CAAC;QACH,SAAS,EAAE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,CAAC;IACD,OAAO,wBAAwB,CAAC;AACpC,CAAC"}
1
+ {"version":3,"file":"useChangeInputWithConfirmation.js","sourceRoot":"","sources":["../../../../src/utils/hooks/withConfirmation/useChangeInputWithConfirmation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,IAAI,CAAC;AACpC,OAAO,EAAC,mBAAmB,EAAC,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAC,eAAe,EAAC,MAAM,sDAAsD,CAAC;AACrF,OAAO,EAAC,eAAe,EAAC,MAAM,qCAAqC,CAAC;AAEpE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,SAAS,uBAAuB;IAC5B,MAAM,KAAK,GAAG,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAEtD,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACtC,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,KAAK,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACZ,MAAM,sBAAsB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QAClD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpB,UAAU,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;IACxB,MAAM,qBAAqB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACjD,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACrB,UAAU,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;IAExB,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAC7B,GAAG,EAAE,CAAC,CAAC;QACH,SAAS,EAAE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,CAAC;IACD,OAAO,wBAAwB,CAAC;AACpC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ExplainPlanNodeData, GraphNode, Link } from '@gravity-ui/paranoid';
2
- import type { SimplifiedPlanItem } from '../store/reducers/explainQuery/types';
2
+ import type { SimplifiedPlanItem } from '../store/reducers/query/types';
3
3
  import type { PlanNode, SimplifiedNode } from '../types/api/query';
4
4
  export declare function preparePlan(plan: PlanNode): {
5
5
  nodes: GraphNode<ExplainPlanNodeData>[];
@@ -46,8 +46,7 @@ type UnsupportedQueryResponseFormat = Array<unknown> | string | null | undefined
46
46
  result: string | Record<string, unknown>;
47
47
  };
48
48
  export declare function isQueryErrorResponse(data: unknown): data is ErrorResponse;
49
- export declare const parseQueryAPIExecuteResponse: (data: ExecuteResponse | UnsupportedQueryResponseFormat) => IQueryResult;
50
- export declare const parseQueryAPIExplainResponse: (data: ExplainResponse | UnsupportedQueryResponseFormat) => IQueryResult;
49
+ export declare function parseQueryAPIResponse(data: ExecuteResponse | ExplainResponse | UnsupportedQueryResponseFormat): IQueryResult;
51
50
  export declare const parseQueryExplainPlan: (plan: ScriptPlan | QueryPlan) => QueryPlan;
52
51
  export declare const prepareQueryResponse: (data?: KeyValueRow[]) => KeyValueRow[];
53
52
  export declare const parseQueryError: (error: unknown) => ErrorResponse | string | undefined;
@@ -134,8 +134,9 @@ const parseExecuteResponse = (data) => {
134
134
  ...restData,
135
135
  };
136
136
  };
137
- const isSupportedType = (response) => Boolean(response &&
137
+ const isSupportedExecuteResponse = (response) => Boolean(response &&
138
138
  !Array.isArray(response) &&
139
+ 'result' in response &&
139
140
  Array.isArray(response.result) &&
140
141
  typeof response.result[0] === 'object' &&
141
142
  'rows' in response.result[0] &&
@@ -151,21 +152,15 @@ export function isQueryErrorResponse(data) {
151
152
  }
152
153
  // Although schema is set in request, if schema is not supported default schema for the version will be used
153
154
  // So we should additionally parse response
154
- export const parseQueryAPIExecuteResponse = (data) => {
155
+ export function parseQueryAPIResponse(data) {
155
156
  if (isUnsupportedType(data)) {
156
157
  return {};
157
158
  }
158
- if (isSupportedType(data)) {
159
+ if (isSupportedExecuteResponse(data)) {
159
160
  return parseExecuteResponse(data);
160
161
  }
161
162
  return data;
162
- };
163
- export const parseQueryAPIExplainResponse = (data) => {
164
- if (isUnsupportedType(data)) {
165
- return {};
166
- }
167
- return data;
168
- };
163
+ }
169
164
  const isExplainScriptPlan = (plan) => Boolean(plan && 'queries' in plan);
170
165
  export const parseQueryExplainPlan = (plan) => {
171
166
  if (isExplainScriptPlan(plan)) {
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAmBjC,OAAO,EAAC,eAAe,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,YAAY,EAAE,yBAAyB;IACvC,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,UAAU;CACd,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAoC;IACrE,CAAC,iBAAiB,CAAC,YAAY,CAAC,EAAE,cAAc;IAChD,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,iBAAiB;IAC9C,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,kBAAkB;IAChD,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,oBAAoB;IAClD,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,UAAU;CAClC,CAAC;AAEX,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACZ,CAAC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,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAChF;IACD,SAAS,EAAE,CAAC,CAAC,UAAU,CACnB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EACvC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,sBAAsB,CAAC,SAAS,CAAC,CACzF;IACD,SAAS,EAAE,eAAe,CAAC,KAAK,CAAC,sBAAsB,CAAC,SAAS,CAAC;IAClE,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,sBAAsB,CAAC,eAAe,CAAC;IACpF,cAAc,EAAE,oBAAoB,CAAC,KAAK,CAAC,sBAAsB,CAAC,cAAc,CAAC;IACjF,YAAY,EAAE,kBAAkB,CAAC,KAAK,CAAC,sBAAsB,CAAC,YAAY,CAAC;CAC9E,CAAC;KACD,KAAK,CAAC,sBAAsB,CAAC,CAAC"}
@@ -1,28 +1,28 @@
1
- import { parseQueryAPIExecuteResponse, parseQueryAPIExplainResponse, parseQueryExplainPlan, } from './query';
1
+ import { parseQueryAPIResponse, parseQueryExplainPlan } from './query';
2
2
  describe('API utils', () => {
3
3
  describe('json/viewer/query', () => {
4
- describe('parseQueryAPIExecuteResponse', () => {
4
+ describe('parseQueryAPIResponse', () => {
5
5
  describe('should handle responses with incorrect format', () => {
6
6
  it('should handle null response', () => {
7
- expect(parseQueryAPIExecuteResponse(null)).toEqual({});
7
+ expect(parseQueryAPIResponse(null)).toEqual({});
8
8
  });
9
9
  it('should handle undefined response', () => {
10
- expect(parseQueryAPIExecuteResponse(undefined)).toEqual({});
10
+ expect(parseQueryAPIResponse(undefined)).toEqual({});
11
11
  });
12
12
  it('should handle string response', () => {
13
- expect(parseQueryAPIExecuteResponse('foo')).toEqual({});
13
+ expect(parseQueryAPIResponse('foo')).toEqual({});
14
14
  });
15
15
  it('should handle array response', () => {
16
- expect(parseQueryAPIExecuteResponse([{ foo: 'bar' }])).toEqual({});
16
+ expect(parseQueryAPIResponse([{ foo: 'bar' }])).toEqual({});
17
17
  });
18
18
  it('should handle json string in the result field', () => {
19
19
  const json = { foo: 'bar' };
20
20
  const response = { result: JSON.stringify(json) };
21
- expect(parseQueryAPIExecuteResponse(response)).toEqual({});
21
+ expect(parseQueryAPIResponse(response)).toEqual({});
22
22
  });
23
23
  it('should handle object with request plan in the result field', () => {
24
24
  const response = { result: { queries: 'some queries' } };
25
- expect(parseQueryAPIExecuteResponse(response)).toEqual({});
25
+ expect(parseQueryAPIResponse(response)).toEqual({});
26
26
  });
27
27
  });
28
28
  describe('should correctly parse data', () => {
@@ -30,7 +30,7 @@ describe('API utils', () => {
30
30
  var _a, _b;
31
31
  const stats = { metric: 'good' };
32
32
  const response = { stats };
33
- const actual = parseQueryAPIExecuteResponse(response);
33
+ const actual = parseQueryAPIResponse(response);
34
34
  expect((_b = (_a = actual.resultSets) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result).toBeUndefined();
35
35
  expect(actual.columns).toBeUndefined();
36
36
  expect(actual.stats).toEqual(response.stats);
@@ -85,7 +85,7 @@ describe('API utils', () => {
85
85
  ],
86
86
  stats: { DurationUs: '1000' },
87
87
  };
88
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
88
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
89
89
  });
90
90
  it('should handle empty result array', () => {
91
91
  const input = {
@@ -96,7 +96,7 @@ describe('API utils', () => {
96
96
  result: [],
97
97
  stats: { DurationUs: '1000' },
98
98
  };
99
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
99
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
100
100
  });
101
101
  it('should handle result with columns but no rows', () => {
102
102
  const input = {
@@ -119,13 +119,13 @@ describe('API utils', () => {
119
119
  ],
120
120
  stats: { DurationUs: '1000' },
121
121
  };
122
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
122
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
123
123
  });
124
124
  it('should return empty object for unsupported format', () => {
125
125
  const input = {
126
126
  result: 'unsupported',
127
127
  };
128
- expect(parseQueryAPIExecuteResponse(input)).toEqual({});
128
+ expect(parseQueryAPIResponse(input)).toEqual({});
129
129
  });
130
130
  it('should handle multiple result sets', () => {
131
131
  const input = {
@@ -175,7 +175,7 @@ describe('API utils', () => {
175
175
  ],
176
176
  stats: { DurationUs: '1500' },
177
177
  };
178
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
178
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
179
179
  });
180
180
  it('should handle null values in rows', () => {
181
181
  const input = {
@@ -218,7 +218,7 @@ describe('API utils', () => {
218
218
  ],
219
219
  stats: { DurationUs: '1000' },
220
220
  };
221
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
221
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
222
222
  });
223
223
  it('should handle truncated results', () => {
224
224
  var _a;
@@ -232,7 +232,7 @@ describe('API utils', () => {
232
232
  ],
233
233
  stats: { DurationUs: '1000' },
234
234
  };
235
- const result = parseQueryAPIExecuteResponse(input);
235
+ const result = parseQueryAPIResponse(input);
236
236
  expect((_a = result.resultSets) === null || _a === void 0 ? void 0 : _a[0].truncated).toBe(true);
237
237
  });
238
238
  it('should handle empty columns and rows', () => {
@@ -256,31 +256,17 @@ describe('API utils', () => {
256
256
  ],
257
257
  stats: { DurationUs: '1000' },
258
258
  };
259
- expect(parseQueryAPIExecuteResponse(input)).toEqual(expected);
259
+ expect(parseQueryAPIResponse(input)).toEqual(expected);
260
260
  });
261
261
  });
262
- });
263
- describe('parseQueryAPIExplainResponse', () => {
264
- describe('should handle responses with incorrect format', () => {
265
- it('should handle null response', () => {
266
- expect(parseQueryAPIExecuteResponse(null)).toEqual({});
267
- });
268
- it('should handle undefined response', () => {
269
- expect(parseQueryAPIExecuteResponse(undefined)).toEqual({});
270
- });
271
- it('should handle object with plan in the result field', () => {
272
- const response = { result: { foo: 'bar' } };
273
- expect(parseQueryAPIExecuteResponse(response)).toEqual({});
274
- });
275
- });
276
- describe('should correctly parse data', () => {
262
+ describe('should correctly parse plans', () => {
277
263
  it('should parse explain-scan', () => {
278
264
  const plan = {};
279
265
  const tables = [];
280
266
  const meta = { version: '0.2', type: 'script' };
281
267
  const ast = 'ast';
282
268
  const response = { plan: { Plan: plan, tables, meta }, ast };
283
- expect(parseQueryAPIExplainResponse(response)).toBe(response);
269
+ expect(parseQueryAPIResponse(response)).toBe(response);
284
270
  });
285
271
  it('should parse explain-script', () => {
286
272
  const plan = {};
@@ -289,7 +275,7 @@ describe('API utils', () => {
289
275
  const response = {
290
276
  plan: { queries: [{ Plan: plan, tables }], meta },
291
277
  };
292
- expect(parseQueryAPIExplainResponse(response)).toBe(response);
278
+ expect(parseQueryAPIResponse(response)).toBe(response);
293
279
  });
294
280
  });
295
281
  });
@@ -1 +1 @@
1
- {"version":3,"file":"query.test.js","sourceRoot":"","sources":["../../src/utils/query.test.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,4BAA4B,EAC5B,4BAA4B,EAC5B,qBAAqB,GACxB,MAAM,SAAS,CAAC;AAEjB,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACvB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC/B,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;YAC1C,QAAQ,CAAC,+CAA+C,EAAE,GAAG,EAAE;gBAC3D,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;oBACnC,MAAM,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAC3D,CAAC,CAAC,CAAC;gBACH,EAAE,CAAC,kCAAkC,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ACvC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC1C,CAAC,CAAC,CAAC;YACH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;gBACvC,MAAM,IAAI,GAAa,EAAE,CAAC;gBAC1B,MAAM,MAAM,GAAgB,EAAE,CAAC;gBAC/B,MAAM,IAAI,GAAa,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAExD,MAAM,OAAO,GAAG;oBACZ,IAAI,EAAE,IAAI;oBACV,MAAM,EAAE,MAAM;oBACd,IAAI,EAAE,IAAI;iBACb,CAAC;gBACF,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;gBAClD,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACxC,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.35.0",
3
+ "version": "6.36.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1,54 +0,0 @@
1
- import type { ExecuteQueryState, QueryInHistory, QueryResult } from '../../types/store/executeQuery';
2
- import type { QueryRequestParams, QuerySettings } from '../../types/store/query';
3
- declare const _default: import("redux").Reducer<ExecuteQueryState>;
4
- export default _default;
5
- export declare const changeUserInput: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
6
- input: string;
7
- }, "executeQuery/changeUserInput">, setQueryTraceReady: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"executeQuery/setQueryTraceReady">, setQueryResult: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<QueryResult | undefined, "executeQuery/setQueryResult">, saveQueryToHistory: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
8
- queryText: string;
9
- queryId: string;
10
- }, "executeQuery/saveQueryToHistory">, updateQueryInHistory: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
11
- queryId: string;
12
- stats: QueryStats;
13
- }, "executeQuery/updateQueryInHistory">, goToPreviousQuery: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"executeQuery/goToPreviousQuery">, goToNextQuery: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"executeQuery/goToNextQuery">, setTenantPath: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "executeQuery/setTenantPath">, setQueryHistoryFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "executeQuery/setQueryHistoryFilter">;
14
- export declare const selectQueriesHistoryFilter: import("reselect").Selector<{
15
- executeQuery: ExecuteQueryState;
16
- }, string, []> & {
17
- unwrapped: (state: ExecuteQueryState) => string;
18
- }, selectQueriesHistoryCurrentIndex: import("reselect").Selector<{
19
- executeQuery: ExecuteQueryState;
20
- }, number, []> & {
21
- unwrapped: (state: ExecuteQueryState) => number;
22
- }, selectQueriesHistory: import("reselect").Selector<{
23
- executeQuery: ExecuteQueryState;
24
- }, QueryInHistory[], []> & {
25
- unwrapped: (state: ExecuteQueryState) => QueryInHistory[];
26
- }, selectTenantPath: import("reselect").Selector<{
27
- executeQuery: ExecuteQueryState;
28
- }, string | undefined, []> & {
29
- unwrapped: (state: ExecuteQueryState) => string | undefined;
30
- }, selectResult: import("reselect").Selector<{
31
- executeQuery: ExecuteQueryState;
32
- }, (QueryResult & {
33
- isTraceReady?: boolean;
34
- }) | undefined, []> & {
35
- unwrapped: (state: ExecuteQueryState) => (QueryResult & {
36
- isTraceReady?: boolean;
37
- }) | undefined;
38
- }, selectUserInput: import("reselect").Selector<{
39
- executeQuery: ExecuteQueryState;
40
- }, string, []> & {
41
- unwrapped: (state: ExecuteQueryState) => string;
42
- };
43
- interface SendQueryParams extends QueryRequestParams {
44
- queryId: string;
45
- querySettings?: Partial<QuerySettings>;
46
- enableTracingLevel?: boolean;
47
- }
48
- interface QueryStats {
49
- durationUs?: string | number;
50
- endTime?: string | number;
51
- }
52
- export declare const executeQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
53
- executeQuery: 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">;
54
- }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;