ydb-embedded-ui 6.33.0 → 6.34.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +21 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +31 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.scss +6 -0
- package/dist/components/ConfirmationDialog/i18n/en.json +3 -0
- package/dist/components/ConfirmationDialog/i18n/index.d.ts +1 -0
- package/dist/components/ConfirmationDialog/i18n/index.js +5 -0
- package/dist/components/ConfirmationDialog/i18n/index.js.map +1 -0
- package/dist/components/EntityStatus/EntityStatus.js +1 -1
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.d.ts +14 -0
- package/dist/components/MemoryViewer/MemoryViewer.js +84 -0
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -0
- package/dist/components/MemoryViewer/MemoryViewer.scss +104 -0
- package/dist/components/MemoryViewer/i18n/en.json +11 -0
- package/dist/components/MemoryViewer/i18n/index.d.ts +2 -0
- package/dist/components/MemoryViewer/i18n/index.js +5 -0
- package/dist/components/MemoryViewer/i18n/index.js.map +1 -0
- package/dist/components/MemoryViewer/utils.d.ts +10 -0
- package/dist/components/MemoryViewer/utils.js +71 -0
- package/dist/components/MemoryViewer/utils.js.map +1 -0
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/nodesColumns/columns.d.ts +4 -7
- package/dist/components/nodesColumns/columns.js +9 -17
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/constants.d.ts +4 -5
- package/dist/components/nodesColumns/constants.js +78 -11
- package/dist/components/nodesColumns/constants.js.map +1 -1
- package/dist/components/nodesColumns/i18n/en.json +8 -5
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/containers/App/App.d.ts +1 -1
- package/dist/containers/App/Providers.js +2 -1
- package/dist/containers/App/Providers.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +2 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Nodes/columns/columns.js +2 -2
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.js +2 -2
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +4 -5
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -7
- package/dist/containers/Storage/StorageGroups/columns/constants.js +54 -10
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +3 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +2 -3
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -2
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +4 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/utils/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +5 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -2
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js +40 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +8 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +3 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -27
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +32 -51
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +9 -3
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +23 -12
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +8 -3
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +2 -3
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -0
- package/dist/containers/Tenant/utils/schemaActions.js +59 -40
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +1 -1
- package/dist/containers/UserSettings/i18n/en.json +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +7 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/services/api.d.ts +4 -0
- package/dist/services/api.js +11 -0
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -0
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +25 -11
- package/dist/store/defaultStore.d.ts +12 -5
- package/dist/store/reducers/capabilities/capabilities.d.ts +48 -8
- package/dist/store/reducers/cluster/cluster.d.ts +36 -6
- package/dist/store/reducers/executeQuery.d.ts +41 -51
- package/dist/store/reducers/executeQuery.js +64 -160
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +120 -20
- package/dist/store/reducers/index.d.ts +19 -10
- package/dist/store/reducers/node/selectors.d.ts +6 -1
- package/dist/store/reducers/nodes/utils.d.ts +1 -1
- package/dist/store/reducers/nodesList.d.ts +6 -1
- package/dist/store/reducers/planToSvg.d.ts +8 -0
- package/dist/store/reducers/planToSvg.js +21 -0
- package/dist/store/reducers/planToSvg.js.map +1 -0
- package/dist/store/reducers/queryActions/queryActions.d.ts +0 -27
- package/dist/store/reducers/queryActions/queryActions.js +1 -1
- package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
- package/dist/store/reducers/schema/schema.d.ts +22 -7
- package/dist/store/reducers/schema/schema.js +16 -20
- package/dist/store/reducers/schema/schema.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +30 -5
- package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
- package/dist/store/reducers/tenants/selectors.d.ts +54 -9
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/store/reducers/topic.d.ts +90 -15
- package/dist/store/reducers/trace.d.ts +1 -1
- package/dist/store/reducers/trace.js +1 -1
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/types/api/nodes.d.ts +18 -4
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/store/executeQuery.d.ts +3 -6
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/hooks/withConfirmation/i18n/en.json +4 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.d.ts +2 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js +5 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js.map +1 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.d.ts +3 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +53 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -0
- package/dist/utils/nodes.d.ts +1 -4
- package/dist/utils/nodes.js +0 -36
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +1 -1
- package/dist/utils/storage.d.ts +1 -3
- package/dist/utils/storage.js +0 -17
- package/dist/utils/storage.js.map +1 -1
- package/package.json +2 -1
@@ -11,7 +11,12 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
11
11
|
cluster: import("../cluster/types").ClusterState;
|
12
12
|
tenant: import("../tenant/types").TenantState;
|
13
13
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
14
|
-
schema:
|
14
|
+
schema: {
|
15
|
+
loading: boolean;
|
16
|
+
data: {};
|
17
|
+
currentSchemaPath: undefined;
|
18
|
+
showPreview: boolean;
|
19
|
+
};
|
15
20
|
tenants: import("../tenants/types").TenantsState;
|
16
21
|
partitions: import("../partitions/types").PartitionsState;
|
17
22
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -101,7 +106,12 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
101
106
|
cluster: import("../cluster/types").ClusterState;
|
102
107
|
tenant: import("../tenant/types").TenantState;
|
103
108
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
104
|
-
schema:
|
109
|
+
schema: {
|
110
|
+
loading: boolean;
|
111
|
+
data: {};
|
112
|
+
currentSchemaPath: undefined;
|
113
|
+
showPreview: boolean;
|
114
|
+
};
|
105
115
|
tenants: import("../tenants/types").TenantsState;
|
106
116
|
partitions: import("../partitions/types").PartitionsState;
|
107
117
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -193,7 +203,12 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
193
203
|
cluster: import("../cluster/types").ClusterState;
|
194
204
|
tenant: import("../tenant/types").TenantState;
|
195
205
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
196
|
-
schema:
|
206
|
+
schema: {
|
207
|
+
loading: boolean;
|
208
|
+
data: {};
|
209
|
+
currentSchemaPath: undefined;
|
210
|
+
showPreview: boolean;
|
211
|
+
};
|
197
212
|
tenants: import("../tenants/types").TenantsState;
|
198
213
|
partitions: import("../partitions/types").PartitionsState;
|
199
214
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -356,7 +371,12 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
356
371
|
cluster: import("../cluster/types").ClusterState;
|
357
372
|
tenant: import("../tenant/types").TenantState;
|
358
373
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
359
|
-
schema:
|
374
|
+
schema: {
|
375
|
+
loading: boolean;
|
376
|
+
data: {};
|
377
|
+
currentSchemaPath: undefined;
|
378
|
+
showPreview: boolean;
|
379
|
+
};
|
360
380
|
tenants: import("../tenants/types").TenantsState;
|
361
381
|
partitions: import("../partitions/types").PartitionsState;
|
362
382
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -390,7 +410,12 @@ export declare const selectCapabilityVersion: ((state: {
|
|
390
410
|
cluster: import("../cluster/types").ClusterState;
|
391
411
|
tenant: import("../tenant/types").TenantState;
|
392
412
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
393
|
-
schema:
|
413
|
+
schema: {
|
414
|
+
loading: boolean;
|
415
|
+
data: {};
|
416
|
+
currentSchemaPath: undefined;
|
417
|
+
showPreview: boolean;
|
418
|
+
};
|
394
419
|
tenants: import("../tenants/types").TenantsState;
|
395
420
|
partitions: import("../partitions/types").PartitionsState;
|
396
421
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -414,7 +439,12 @@ export declare const selectCapabilityVersion: ((state: {
|
|
414
439
|
cluster: import("../cluster/types").ClusterState;
|
415
440
|
tenant: import("../tenant/types").TenantState;
|
416
441
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
417
|
-
schema:
|
442
|
+
schema: {
|
443
|
+
loading: boolean;
|
444
|
+
data: {};
|
445
|
+
currentSchemaPath: undefined;
|
446
|
+
showPreview: boolean;
|
447
|
+
};
|
418
448
|
tenants: import("../tenants/types").TenantsState;
|
419
449
|
partitions: import("../partitions/types").PartitionsState;
|
420
450
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -434,7 +464,12 @@ export declare const selectCapabilityVersion: ((state: {
|
|
434
464
|
cluster: import("../cluster/types").ClusterState;
|
435
465
|
tenant: import("../tenant/types").TenantState;
|
436
466
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
437
|
-
schema:
|
467
|
+
schema: {
|
468
|
+
loading: boolean;
|
469
|
+
data: {};
|
470
|
+
currentSchemaPath: undefined;
|
471
|
+
showPreview: boolean;
|
472
|
+
};
|
438
473
|
tenants: import("../tenants/types").TenantsState;
|
439
474
|
partitions: import("../partitions/types").PartitionsState;
|
440
475
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -459,7 +494,12 @@ export declare const selectCapabilityVersion: ((state: {
|
|
459
494
|
cluster: import("../cluster/types").ClusterState;
|
460
495
|
tenant: import("../tenant/types").TenantState;
|
461
496
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
462
|
-
schema:
|
497
|
+
schema: {
|
498
|
+
loading: boolean;
|
499
|
+
data: {};
|
500
|
+
currentSchemaPath: undefined;
|
501
|
+
showPreview: boolean;
|
502
|
+
};
|
463
503
|
tenants: import("../tenants/types").TenantsState;
|
464
504
|
partitions: import("../partitions/types").PartitionsState;
|
465
505
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -60,7 +60,12 @@ export declare const selectClusterInfo: ((state: {
|
|
60
60
|
cluster: ClusterState;
|
61
61
|
tenant: import("../tenant/types").TenantState;
|
62
62
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
63
|
-
schema:
|
63
|
+
schema: {
|
64
|
+
loading: boolean;
|
65
|
+
data: {};
|
66
|
+
currentSchemaPath: undefined;
|
67
|
+
showPreview: boolean;
|
68
|
+
};
|
64
69
|
tenants: import("../tenants/types").TenantsState;
|
65
70
|
partitions: import("../partitions/types").PartitionsState;
|
66
71
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -87,7 +92,12 @@ export declare const selectClusterInfo: ((state: {
|
|
87
92
|
cluster: ClusterState;
|
88
93
|
tenant: import("../tenant/types").TenantState;
|
89
94
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
90
|
-
schema:
|
95
|
+
schema: {
|
96
|
+
loading: boolean;
|
97
|
+
data: {};
|
98
|
+
currentSchemaPath: undefined;
|
99
|
+
showPreview: boolean;
|
100
|
+
};
|
91
101
|
tenants: import("../tenants/types").TenantsState;
|
92
102
|
partitions: import("../partitions/types").PartitionsState;
|
93
103
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -119,7 +129,12 @@ export declare const selectClusterInfo: ((state: {
|
|
119
129
|
cluster: ClusterState;
|
120
130
|
tenant: import("../tenant/types").TenantState;
|
121
131
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
122
|
-
schema:
|
132
|
+
schema: {
|
133
|
+
loading: boolean;
|
134
|
+
data: {};
|
135
|
+
currentSchemaPath: undefined;
|
136
|
+
showPreview: boolean;
|
137
|
+
};
|
123
138
|
tenants: import("../tenants/types").TenantsState;
|
124
139
|
partitions: import("../partitions/types").PartitionsState;
|
125
140
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -159,7 +174,12 @@ export declare const selectClusterInfo: ((state: {
|
|
159
174
|
cluster: ClusterState;
|
160
175
|
tenant: import("../tenant/types").TenantState;
|
161
176
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
162
|
-
schema:
|
177
|
+
schema: {
|
178
|
+
loading: boolean;
|
179
|
+
data: {};
|
180
|
+
currentSchemaPath: undefined;
|
181
|
+
showPreview: boolean;
|
182
|
+
};
|
163
183
|
tenants: import("../tenants/types").TenantsState;
|
164
184
|
partitions: import("../partitions/types").PartitionsState;
|
165
185
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -196,7 +216,12 @@ export declare const selectClusterTitle: ((state: {
|
|
196
216
|
cluster: ClusterState;
|
197
217
|
tenant: import("../tenant/types").TenantState;
|
198
218
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
199
|
-
schema:
|
219
|
+
schema: {
|
220
|
+
loading: boolean;
|
221
|
+
data: {};
|
222
|
+
currentSchemaPath: undefined;
|
223
|
+
showPreview: boolean;
|
224
|
+
};
|
200
225
|
tenants: import("../tenants/types").TenantsState;
|
201
226
|
partitions: import("../partitions/types").PartitionsState;
|
202
227
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -245,7 +270,12 @@ export declare const selectClusterTabletsWithFqdn: ((state: {
|
|
245
270
|
cluster: ClusterState;
|
246
271
|
tenant: import("../tenant/types").TenantState;
|
247
272
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
248
|
-
schema:
|
273
|
+
schema: {
|
274
|
+
loading: boolean;
|
275
|
+
data: {};
|
276
|
+
currentSchemaPath: undefined;
|
277
|
+
showPreview: boolean;
|
278
|
+
};
|
249
279
|
tenants: import("../tenants/types").TenantsState;
|
250
280
|
partitions: import("../partitions/types").PartitionsState;
|
251
281
|
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
@@ -1,7 +1,45 @@
|
|
1
|
-
import type {
|
2
|
-
import type { ExecuteQueryAction, ExecuteQueryState, ExecuteQueryStateSlice, QueryInHistory, QueryResult } from '../../types/store/executeQuery';
|
1
|
+
import type { ExecuteQueryState, QueryInHistory, QueryResult } from '../../types/store/executeQuery';
|
3
2
|
import type { QueryRequestParams, QuerySettings } from '../../types/store/query';
|
4
|
-
declare const
|
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
|
+
};
|
5
43
|
interface SendQueryParams extends QueryRequestParams {
|
6
44
|
queryId: string;
|
7
45
|
querySettings?: Partial<QuerySettings>;
|
@@ -14,51 +52,3 @@ interface QueryStats {
|
|
14
52
|
export declare const executeQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
15
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">;
|
16
54
|
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
17
|
-
export declare const saveQueryToHistory: (queryText: string, queryId: string) => {
|
18
|
-
readonly type: "query/SAVE_QUERY_TO_HISTORY";
|
19
|
-
readonly data: {
|
20
|
-
readonly queryText: string;
|
21
|
-
readonly queryId: string;
|
22
|
-
};
|
23
|
-
};
|
24
|
-
export declare function updateQueryInHistory(stats: QueryStats, queryId: string): {
|
25
|
-
readonly type: "query/UPDATE_QUERY_IN_HISTORY";
|
26
|
-
readonly data: {
|
27
|
-
readonly queryId: string;
|
28
|
-
readonly stats: QueryStats;
|
29
|
-
};
|
30
|
-
};
|
31
|
-
export declare function setQueryResult(data?: QueryResult): {
|
32
|
-
readonly type: "query/SET_QUERY_RESULT";
|
33
|
-
readonly data: QueryResult | undefined;
|
34
|
-
};
|
35
|
-
export declare function setQueryTraceReady(): {
|
36
|
-
readonly type: "query/SET_QUERY_TRACE_READY";
|
37
|
-
};
|
38
|
-
export declare const goToPreviousQuery: () => {
|
39
|
-
readonly type: "query/GO_TO_PREVIOUS_QUERY";
|
40
|
-
};
|
41
|
-
export declare const goToNextQuery: () => {
|
42
|
-
readonly type: "query/GO_TO_NEXT_QUERY";
|
43
|
-
};
|
44
|
-
export declare const changeUserInput: ({ input }: {
|
45
|
-
input: string;
|
46
|
-
}) => {
|
47
|
-
readonly type: "query/CHANGE_USER_INPUT";
|
48
|
-
readonly data: {
|
49
|
-
readonly input: string;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
export declare const setTenantPath: (value: string) => {
|
53
|
-
readonly type: "query/SET_TENANT_PATH";
|
54
|
-
readonly data: string;
|
55
|
-
};
|
56
|
-
export declare const selectQueriesHistoryFilter: (state: ExecuteQueryStateSlice) => string;
|
57
|
-
export declare const selectQueriesHistory: (state: ExecuteQueryStateSlice) => QueryInHistory[];
|
58
|
-
export declare const setQueryHistoryFilter: (filter: string) => {
|
59
|
-
readonly type: "query/SET_QUERY_HISTORY_FILTER";
|
60
|
-
readonly data: {
|
61
|
-
readonly filter: string;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
export default executeQuery;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { createSlice } from '@reduxjs/toolkit';
|
1
2
|
import { settingsManager } from '../../services/settings';
|
2
3
|
import { TracingLevelNumber } from '../../types/api/query';
|
3
4
|
import { ResultType } from '../../types/store/executeQuery';
|
@@ -6,19 +7,9 @@ import { QUERY_SYNTAX, isQueryErrorResponse, parseQueryAPIExecuteResponse } from
|
|
6
7
|
import { isNumeric } from '../../utils/utils';
|
7
8
|
import { api } from './api';
|
8
9
|
const MAXIMUM_QUERIES_IN_HISTORY = 20;
|
9
|
-
const CHANGE_USER_INPUT = 'query/CHANGE_USER_INPUT';
|
10
|
-
const SET_QUERY_RESULT = 'query/SET_QUERY_RESULT';
|
11
|
-
const SET_QUERY_TRACE_READY = 'query/SET_QUERY_TRACE_READY';
|
12
|
-
const SAVE_QUERY_TO_HISTORY = 'query/SAVE_QUERY_TO_HISTORY';
|
13
|
-
const UPDATE_QUERY_IN_HISTORY = 'query/UPDATE_QUERY_IN_HISTORY';
|
14
|
-
const SET_QUERY_HISTORY_FILTER = 'query/SET_QUERY_HISTORY_FILTER';
|
15
|
-
const GO_TO_PREVIOUS_QUERY = 'query/GO_TO_PREVIOUS_QUERY';
|
16
|
-
const GO_TO_NEXT_QUERY = 'query/GO_TO_NEXT_QUERY';
|
17
|
-
const SET_TENANT_PATH = 'query/SET_TENANT_PATH';
|
18
10
|
const queriesHistoryInitial = settingsManager.readUserSettingsValue(QUERIES_HISTORY_KEY, []);
|
19
11
|
const sliceLimit = queriesHistoryInitial.length - MAXIMUM_QUERIES_IN_HISTORY;
|
20
12
|
const initialState = {
|
21
|
-
loading: false,
|
22
13
|
input: '',
|
23
14
|
history: {
|
24
15
|
queries: queriesHistoryInitial
|
@@ -30,53 +21,39 @@ const initialState = {
|
|
30
21
|
filter: '',
|
31
22
|
},
|
32
23
|
};
|
33
|
-
const
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
case SET_QUERY_TRACE_READY: {
|
24
|
+
const slice = createSlice({
|
25
|
+
name: 'executeQuery',
|
26
|
+
initialState,
|
27
|
+
reducers: {
|
28
|
+
changeUserInput: (state, action) => {
|
29
|
+
state.input = action.payload.input;
|
30
|
+
},
|
31
|
+
setQueryTraceReady: (state) => {
|
42
32
|
if (state.result) {
|
43
|
-
|
44
|
-
...state,
|
45
|
-
result: {
|
46
|
-
...state.result,
|
47
|
-
isTraceReady: true,
|
48
|
-
},
|
49
|
-
};
|
33
|
+
state.result.isTraceReady = true;
|
50
34
|
}
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
};
|
58
|
-
}
|
59
|
-
case SAVE_QUERY_TO_HISTORY: {
|
60
|
-
const { queryText, queryId } = action.data;
|
35
|
+
},
|
36
|
+
setQueryResult: (state, action) => {
|
37
|
+
state.result = action.payload;
|
38
|
+
},
|
39
|
+
saveQueryToHistory: (state, action) => {
|
40
|
+
const { queryText, queryId } = action.payload;
|
61
41
|
const newQueries = [...state.history.queries, { queryText, queryId }].slice(state.history.queries.length >= MAXIMUM_QUERIES_IN_HISTORY ? 1 : 0);
|
62
42
|
settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
|
63
43
|
const currentIndex = newQueries.length - 1;
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
queries: newQueries,
|
68
|
-
currentIndex,
|
69
|
-
},
|
44
|
+
state.history = {
|
45
|
+
queries: newQueries,
|
46
|
+
currentIndex,
|
70
47
|
};
|
71
|
-
}
|
72
|
-
|
73
|
-
const { queryId, stats } = action.
|
48
|
+
},
|
49
|
+
updateQueryInHistory: (state, action) => {
|
50
|
+
const { queryId, stats } = action.payload;
|
74
51
|
if (!stats) {
|
75
|
-
return
|
52
|
+
return;
|
76
53
|
}
|
77
54
|
const index = state.history.queries.findIndex((item) => item.queryId === queryId);
|
78
55
|
if (index === -1) {
|
79
|
-
return
|
56
|
+
return;
|
80
57
|
}
|
81
58
|
const newQueries = [...state.history.queries];
|
82
59
|
const { durationUs, endTime } = stats;
|
@@ -86,66 +63,54 @@ const executeQuery = (state = initialState, action) => {
|
|
86
63
|
endTime,
|
87
64
|
});
|
88
65
|
settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
...state.history,
|
93
|
-
queries: newQueries,
|
94
|
-
},
|
95
|
-
};
|
96
|
-
}
|
97
|
-
case GO_TO_PREVIOUS_QUERY: {
|
66
|
+
state.history.queries = newQueries;
|
67
|
+
},
|
68
|
+
goToPreviousQuery: (state) => {
|
98
69
|
const currentIndex = state.history.currentIndex;
|
99
70
|
if (currentIndex <= 0) {
|
100
|
-
return
|
71
|
+
return;
|
101
72
|
}
|
102
73
|
const newCurrentIndex = currentIndex - 1;
|
103
74
|
const query = state.history.queries[newCurrentIndex];
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
currentIndex: newCurrentIndex,
|
109
|
-
},
|
110
|
-
input: query.queryText,
|
111
|
-
};
|
112
|
-
}
|
113
|
-
case GO_TO_NEXT_QUERY: {
|
114
|
-
const lastIndexInHistory = state.history.queries.length - 1;
|
75
|
+
state.input = query.queryText;
|
76
|
+
state.history.currentIndex = newCurrentIndex;
|
77
|
+
},
|
78
|
+
goToNextQuery: (state) => {
|
115
79
|
const currentIndex = state.history.currentIndex;
|
116
|
-
if (currentIndex >=
|
117
|
-
return
|
80
|
+
if (currentIndex >= state.history.queries.length - 1) {
|
81
|
+
return;
|
118
82
|
}
|
119
83
|
const newCurrentIndex = currentIndex + 1;
|
120
84
|
const query = state.history.queries[newCurrentIndex];
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
}
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
}
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
};
|
85
|
+
state.input = query.queryText;
|
86
|
+
state.history.currentIndex = newCurrentIndex;
|
87
|
+
},
|
88
|
+
setTenantPath: (state, action) => {
|
89
|
+
state.tenantPath = action.payload;
|
90
|
+
},
|
91
|
+
setQueryHistoryFilter: (state, action) => {
|
92
|
+
state.history.filter = action.payload;
|
93
|
+
},
|
94
|
+
},
|
95
|
+
selectors: {
|
96
|
+
selectQueriesHistoryFilter: (state) => state.history.filter || '',
|
97
|
+
selectTenantPath: (state) => state.tenantPath,
|
98
|
+
selectResult: (state) => state.result,
|
99
|
+
selectQueriesHistory: (state) => {
|
100
|
+
var _a;
|
101
|
+
const items = state.history.queries;
|
102
|
+
const filter = (_a = state.history.filter) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
103
|
+
return filter
|
104
|
+
? items.filter((item) => item.queryText.toLowerCase().includes(filter))
|
105
|
+
: items;
|
106
|
+
},
|
107
|
+
selectUserInput: (state) => state.input,
|
108
|
+
selectQueriesHistoryCurrentIndex: (state) => { var _a; return (_a = state.history) === null || _a === void 0 ? void 0 : _a.currentIndex; },
|
109
|
+
},
|
110
|
+
});
|
111
|
+
export default slice.reducer;
|
112
|
+
export const { changeUserInput, setQueryTraceReady, setQueryResult, saveQueryToHistory, updateQueryInHistory, goToPreviousQuery, goToNextQuery, setTenantPath, setQueryHistoryFilter, } = slice.actions;
|
113
|
+
export const { selectQueriesHistoryFilter, selectQueriesHistoryCurrentIndex, selectQueriesHistory, selectTenantPath, selectResult, selectUserInput, } = slice.selectors;
|
149
114
|
export const executeQueryApi = api.injectEndpoints({
|
150
115
|
endpoints: (build) => ({
|
151
116
|
executeQuery: build.mutation({
|
@@ -205,7 +170,7 @@ export const executeQueryApi = api.injectEndpoints({
|
|
205
170
|
queryStats.durationUs = (now - timeStart) * 1000;
|
206
171
|
queryStats.endTime = now;
|
207
172
|
}
|
208
|
-
dispatch(updateQueryInHistory(queryStats, queryId));
|
173
|
+
dispatch(updateQueryInHistory({ stats: queryStats, queryId }));
|
209
174
|
dispatch(setQueryResult({
|
210
175
|
type: ResultType.EXECUTE,
|
211
176
|
data,
|
@@ -228,60 +193,6 @@ export const executeQueryApi = api.injectEndpoints({
|
|
228
193
|
}),
|
229
194
|
overrideExisting: 'throw',
|
230
195
|
});
|
231
|
-
export const saveQueryToHistory = (queryText, queryId) => {
|
232
|
-
return {
|
233
|
-
type: SAVE_QUERY_TO_HISTORY,
|
234
|
-
data: { queryText, queryId },
|
235
|
-
};
|
236
|
-
};
|
237
|
-
export function updateQueryInHistory(stats, queryId) {
|
238
|
-
return {
|
239
|
-
type: UPDATE_QUERY_IN_HISTORY,
|
240
|
-
data: { queryId, stats },
|
241
|
-
};
|
242
|
-
}
|
243
|
-
export function setQueryResult(data) {
|
244
|
-
return {
|
245
|
-
type: SET_QUERY_RESULT,
|
246
|
-
data,
|
247
|
-
};
|
248
|
-
}
|
249
|
-
export function setQueryTraceReady() {
|
250
|
-
return {
|
251
|
-
type: SET_QUERY_TRACE_READY,
|
252
|
-
};
|
253
|
-
}
|
254
|
-
export const goToPreviousQuery = () => {
|
255
|
-
return {
|
256
|
-
type: GO_TO_PREVIOUS_QUERY,
|
257
|
-
};
|
258
|
-
};
|
259
|
-
export const goToNextQuery = () => {
|
260
|
-
return {
|
261
|
-
type: GO_TO_NEXT_QUERY,
|
262
|
-
};
|
263
|
-
};
|
264
|
-
export const changeUserInput = ({ input }) => {
|
265
|
-
return {
|
266
|
-
type: CHANGE_USER_INPUT,
|
267
|
-
data: { input },
|
268
|
-
};
|
269
|
-
};
|
270
|
-
export const setTenantPath = (value) => {
|
271
|
-
return {
|
272
|
-
type: SET_TENANT_PATH,
|
273
|
-
data: value,
|
274
|
-
};
|
275
|
-
};
|
276
|
-
export const selectQueriesHistoryFilter = (state) => {
|
277
|
-
return state.executeQuery.history.filter || '';
|
278
|
-
};
|
279
|
-
export const selectQueriesHistory = (state) => {
|
280
|
-
var _a;
|
281
|
-
const items = state.executeQuery.history.queries;
|
282
|
-
const filter = (_a = state.executeQuery.history.filter) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
283
|
-
return filter ? items.filter((item) => item.queryText.toLowerCase().includes(filter)) : items;
|
284
|
-
};
|
285
196
|
function getQueryInHistory(rawQuery) {
|
286
197
|
if (typeof rawQuery === 'string') {
|
287
198
|
return {
|
@@ -290,11 +201,4 @@ function getQueryInHistory(rawQuery) {
|
|
290
201
|
}
|
291
202
|
return rawQuery;
|
292
203
|
}
|
293
|
-
export const setQueryHistoryFilter = (filter) => {
|
294
|
-
return {
|
295
|
-
type: SET_QUERY_HISTORY_FILTER,
|
296
|
-
data: { filter },
|
297
|
-
};
|
298
|
-
};
|
299
|
-
export default executeQuery;
|
300
204
|
//# sourceMappingURL=executeQuery.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAG1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAE,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AACnG,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,qBAAqB,GAAG,eAAe,CAAC,qBAAqB,CAC/D,mBAAmB,EACnB,EAAE,CACO,CAAC;AAEd,MAAM,UAAU,GAAG,qBAAqB,CAAC,MAAM,GAAG,0BAA0B,CAAC;AAE7E,MAAM,YAAY,GAAsB;IACpC,KAAK,EAAE,EAAE;IACT,OAAO,EAAE;QACL,OAAO,EAAE,qBAAqB;aACzB,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;aACtC,GAAG,CAAC,iBAAiB,CAAC;QAC3B,YAAY,EACR,qBAAqB,CAAC,MAAM,GAAG,0BAA0B;YACrD,CAAC,CAAC,0BAA0B,GAAG,CAAC;YAChC,CAAC,CAAC,qBAAqB,CAAC,MAAM,GAAG,CAAC;QAC1C,MAAM,EAAE,EAAE;KACb;CACJ,CAAC;AAEF,MAAM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