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.
- package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
- package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
- package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
- package/dist/components/PaginatedTable/TableChunk.js +7 -1
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
- package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
- package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
- package/dist/components/nodesColumns/columns.d.ts +28 -2
- package/dist/components/nodesColumns/columns.js +83 -5
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/constants.d.ts +12 -0
- package/dist/components/nodesColumns/constants.js +36 -0
- package/dist/components/nodesColumns/constants.js.map +1 -1
- package/dist/components/nodesColumns/i18n/en.json +11 -1
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/components/nodesColumns/utils.d.ts +2 -0
- package/dist/components/nodesColumns/utils.js +11 -0
- package/dist/components/nodesColumns/utils.js.map +1 -0
- package/dist/containers/Nodes/Nodes.js +2 -2
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
- package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
- package/dist/containers/Nodes/PaginatedNodes.js +16 -19
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +3 -2
- package/dist/containers/Nodes/columns/constants.js +8 -8
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
- package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
- package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
- package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/Query.js +1 -1
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +25 -12
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.js +5 -4
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +3 -2
- 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 +6 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/Versions/groupNodes.js +1 -1
- package/dist/containers/Versions/groupNodes.js.map +1 -1
- package/dist/services/api.js +1 -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 +16 -8
- package/dist/store/configureStore.js +1 -1
- package/dist/store/configureStore.js.map +1 -1
- package/dist/store/defaultStore.d.ts +8 -4
- package/dist/store/reducers/cancelQuery.js +2 -2
- package/dist/store/reducers/cancelQuery.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +32 -16
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +24 -12
- package/dist/store/reducers/cluster/utils.js +2 -2
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +80 -40
- package/dist/store/reducers/index.d.ts +12 -6
- package/dist/store/reducers/index.js +2 -2
- package/dist/store/reducers/index.js.map +1 -1
- package/dist/store/reducers/node/selectors.d.ts +4 -2
- package/dist/store/reducers/nodes/types.d.ts +13 -0
- package/dist/store/reducers/nodes/utils.js +3 -3
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +4 -2
- package/dist/store/reducers/partitions/partitions.d.ts +4 -3
- package/dist/store/reducers/partitions/partitions.js +1 -3
- package/dist/store/reducers/partitions/partitions.js.map +1 -1
- package/dist/store/reducers/partitions/types.d.ts +0 -3
- package/dist/store/reducers/preview.js +2 -2
- package/dist/store/reducers/preview.js.map +1 -1
- package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
- package/dist/store/reducers/query/__test__/utils.test.js +24 -0
- package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
- package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
- package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
- package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
- package/dist/store/reducers/query/query.d.ts +55 -0
- package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
- package/dist/store/reducers/query/query.js.map +1 -0
- package/dist/store/reducers/query/types.d.ts +57 -0
- package/dist/store/reducers/query/types.js.map +1 -0
- package/dist/store/reducers/query/utils.d.ts +7 -0
- package/dist/store/reducers/query/utils.js +21 -0
- package/dist/store/reducers/query/utils.js.map +1 -0
- package/dist/store/reducers/queryActions/queryActions.js +1 -1
- package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
- package/dist/store/reducers/queryActions/types.d.ts +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +20 -10
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
- package/dist/store/reducers/tenants/selectors.d.ts +36 -18
- package/dist/store/reducers/topic.d.ts +60 -30
- package/dist/store/reducers/trace.js +1 -1
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/types/api/nodes.d.ts +56 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/tenant.d.ts +2 -1
- package/dist/types/api/tenant.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/dataFormatters/dataFormatters.d.ts +1 -1
- package/dist/utils/dataFormatters/dataFormatters.js +12 -6
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
- package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +13 -9
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
- package/dist/utils/monaco/insertSnippet.d.ts +1 -0
- package/dist/utils/monaco/insertSnippet.js +8 -0
- package/dist/utils/monaco/insertSnippet.js.map +1 -0
- package/dist/utils/prepareQueryExplain.d.ts +1 -1
- package/dist/utils/query.d.ts +1 -2
- package/dist/utils/query.js +5 -10
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/query.test.js +20 -34
- package/dist/utils/query.test.js.map +1 -1
- package/dist/utils/timeParsers/parsers.d.ts +1 -1
- package/dist/utils/timeParsers/parsers.js +3 -2
- package/dist/utils/timeParsers/parsers.js.map +1 -1
- package/package.json +2 -2
- package/dist/store/reducers/executeQuery.d.ts +0 -54
- package/dist/store/reducers/executeQuery.js.map +0 -1
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
- package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
- package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
- package/dist/store/reducers/explainQuery/types.d.ts +0 -28
- package/dist/store/reducers/explainQuery/types.js.map +0 -1
- package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
- package/dist/store/reducers/explainQuery/utils.js.map +0 -1
- package/dist/types/store/executeQuery.d.ts +0 -42
- package/dist/types/store/executeQuery.js +0 -6
- package/dist/types/store/executeQuery.js.map +0 -1
- /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -18,8 +18,10 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
18
18
|
showPreview: boolean;
|
19
19
|
};
|
20
20
|
tenants: import("./reducers/tenants/types").TenantsState;
|
21
|
-
partitions:
|
22
|
-
|
21
|
+
partitions: {
|
22
|
+
selectedConsumer?: string;
|
23
|
+
};
|
24
|
+
query: import("./reducers/query/types").QueryState;
|
23
25
|
heatmap: import("../types/store/heatmap").IHeatmapState;
|
24
26
|
settings: import("./reducers/settings/types").SettingsState;
|
25
27
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
|
@@ -50,8 +52,10 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
50
52
|
showPreview: boolean;
|
51
53
|
} | undefined;
|
52
54
|
tenants: import("./reducers/tenants/types").TenantsState | undefined;
|
53
|
-
partitions:
|
54
|
-
|
55
|
+
partitions: {
|
56
|
+
selectedConsumer?: string;
|
57
|
+
} | undefined;
|
58
|
+
query: import("./reducers/query/types").QueryState | undefined;
|
55
59
|
heatmap: import("../types/store/heatmap").IHeatmapState | undefined;
|
56
60
|
settings: import("./reducers/settings/types").SettingsState | undefined;
|
57
61
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters | undefined;
|
@@ -79,8 +83,10 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
79
83
|
showPreview: boolean;
|
80
84
|
};
|
81
85
|
tenants: import("./reducers/tenants/types").TenantsState;
|
82
|
-
partitions:
|
83
|
-
|
86
|
+
partitions: {
|
87
|
+
selectedConsumer?: string;
|
88
|
+
};
|
89
|
+
query: import("./reducers/query/types").QueryState;
|
84
90
|
heatmap: import("../types/store/heatmap").IHeatmapState;
|
85
91
|
settings: import("./reducers/settings/types").SettingsState;
|
86
92
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
|
@@ -112,8 +118,10 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
112
118
|
showPreview: boolean;
|
113
119
|
};
|
114
120
|
tenants: import("./reducers/tenants/types").TenantsState;
|
115
|
-
partitions:
|
116
|
-
|
121
|
+
partitions: {
|
122
|
+
selectedConsumer?: string;
|
123
|
+
};
|
124
|
+
query: import("./reducers/query/types").QueryState;
|
117
125
|
heatmap: import("../types/store/heatmap").IHeatmapState;
|
118
126
|
settings: import("./reducers/settings/types").SettingsState;
|
119
127
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
|
@@ -20,7 +20,7 @@ function _configureStore(aRootReducer, history, preloadedState, middleware) {
|
|
20
20
|
},
|
21
21
|
serializableCheck: {
|
22
22
|
ignoredPaths: ['tooltip.currentHoveredRef', 'api'],
|
23
|
-
ignoredActions: [UPDATE_REF, 'api/
|
23
|
+
ignoredActions: [UPDATE_REF, 'api/sendQuery/rejected'],
|
24
24
|
},
|
25
25
|
}).concat(locationMiddleware, ...middleware),
|
26
26
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"configureStore.js","sourceRoot":"","sources":["../../src/store/configureStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,IAAI,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAGvE,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,WAAW,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,GAAG,IAAI,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,sBAAsB,EAA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WAAW,EAAC,GAAG,UAAU,CAAC;QAC3C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI;QAC1B,iBAAiB;QACjB,aAAa;KAChB,CAAC,CAAC,CAAC;IACJ,MAAM,OAAO,GAAG,oBAAoB,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;IAEjD,MAAM,KAAK,GAAG,eAAe,CAAC,YAAY,EAAE,OAAO,EAAE,EAAC,iBAAiB,EAAC,EAAE;QACtE,QAAQ,CAAC,UAAU;KACtB,CAAC,CAAC;IACH,sBAAsB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAEvC,MAAM,CAAC,GAAG,GAAG,GAAG,CAAC;IAEjB,OAAO,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC;AAC5B,CAAC"}
|
@@ -11,8 +11,10 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
11
11
|
showPreview: boolean;
|
12
12
|
};
|
13
13
|
tenants: import("./reducers/tenants/types").TenantsState;
|
14
|
-
partitions:
|
15
|
-
|
14
|
+
partitions: {
|
15
|
+
selectedConsumer?: string;
|
16
|
+
};
|
17
|
+
query: import("./reducers/query/types").QueryState;
|
16
18
|
heatmap: import("../types/store/heatmap").IHeatmapState;
|
17
19
|
settings: import("./reducers/settings/types").SettingsState;
|
18
20
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
|
@@ -44,8 +46,10 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
44
46
|
showPreview: boolean;
|
45
47
|
};
|
46
48
|
tenants: import("./reducers/tenants/types").TenantsState;
|
47
|
-
partitions:
|
48
|
-
|
49
|
+
partitions: {
|
50
|
+
selectedConsumer?: string;
|
51
|
+
};
|
52
|
+
query: import("./reducers/query/types").QueryState;
|
49
53
|
heatmap: import("../types/store/heatmap").IHeatmapState;
|
50
54
|
settings: import("./reducers/settings/types").SettingsState;
|
51
55
|
executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { isQueryErrorResponse,
|
1
|
+
import { isQueryErrorResponse, parseQueryAPIResponse } from '../../utils/query';
|
2
2
|
import { api } from './api';
|
3
3
|
export const cancelQueryApi = api.injectEndpoints({
|
4
4
|
endpoints: (build) => ({
|
@@ -14,7 +14,7 @@ export const cancelQueryApi = api.injectEndpoints({
|
|
14
14
|
if (isQueryErrorResponse(response)) {
|
15
15
|
return { error: response };
|
16
16
|
}
|
17
|
-
const data =
|
17
|
+
const data = parseQueryAPIResponse(response);
|
18
18
|
return { data };
|
19
19
|
}
|
20
20
|
catch (error) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancelQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/cancelQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAE,
|
1
|
+
{"version":3,"file":"cancelQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/cancelQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAM1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC,eAAe,CAAC;IAC9C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAgC;YACvD,OAAO,EAAE,KAAK,EAAE,EAAC,OAAO,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC7C,MAAM,MAAM,GAAkB,cAAc,CAAC;gBAE7C,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,QAAQ;wBACR,MAAM;wBACN,QAAQ,EAAE,OAAO;qBACpB,EACD,EAAC,MAAM,EAAC,CACX,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAE7C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -18,8 +18,10 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
18
18
|
showPreview: boolean;
|
19
19
|
};
|
20
20
|
tenants: import("../tenants/types").TenantsState;
|
21
|
-
partitions:
|
22
|
-
|
21
|
+
partitions: {
|
22
|
+
selectedConsumer?: string;
|
23
|
+
};
|
24
|
+
query: import("../query/types").QueryState;
|
23
25
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
24
26
|
settings: import("../settings/types").SettingsState;
|
25
27
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -113,8 +115,10 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
113
115
|
showPreview: boolean;
|
114
116
|
};
|
115
117
|
tenants: import("../tenants/types").TenantsState;
|
116
|
-
partitions:
|
117
|
-
|
118
|
+
partitions: {
|
119
|
+
selectedConsumer?: string;
|
120
|
+
};
|
121
|
+
query: import("../query/types").QueryState;
|
118
122
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
119
123
|
settings: import("../settings/types").SettingsState;
|
120
124
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -210,8 +214,10 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
210
214
|
showPreview: boolean;
|
211
215
|
};
|
212
216
|
tenants: import("../tenants/types").TenantsState;
|
213
|
-
partitions:
|
214
|
-
|
217
|
+
partitions: {
|
218
|
+
selectedConsumer?: string;
|
219
|
+
};
|
220
|
+
query: import("../query/types").QueryState;
|
215
221
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
216
222
|
settings: import("../settings/types").SettingsState;
|
217
223
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -378,8 +384,10 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
378
384
|
showPreview: boolean;
|
379
385
|
};
|
380
386
|
tenants: import("../tenants/types").TenantsState;
|
381
|
-
partitions:
|
382
|
-
|
387
|
+
partitions: {
|
388
|
+
selectedConsumer?: string;
|
389
|
+
};
|
390
|
+
query: import("../query/types").QueryState;
|
383
391
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
384
392
|
settings: import("../settings/types").SettingsState;
|
385
393
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -417,8 +425,10 @@ export declare const selectCapabilityVersion: ((state: {
|
|
417
425
|
showPreview: boolean;
|
418
426
|
};
|
419
427
|
tenants: import("../tenants/types").TenantsState;
|
420
|
-
partitions:
|
421
|
-
|
428
|
+
partitions: {
|
429
|
+
selectedConsumer?: string;
|
430
|
+
};
|
431
|
+
query: import("../query/types").QueryState;
|
422
432
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
423
433
|
settings: import("../settings/types").SettingsState;
|
424
434
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -446,8 +456,10 @@ export declare const selectCapabilityVersion: ((state: {
|
|
446
456
|
showPreview: boolean;
|
447
457
|
};
|
448
458
|
tenants: import("../tenants/types").TenantsState;
|
449
|
-
partitions:
|
450
|
-
|
459
|
+
partitions: {
|
460
|
+
selectedConsumer?: string;
|
461
|
+
};
|
462
|
+
query: import("../query/types").QueryState;
|
451
463
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
452
464
|
settings: import("../settings/types").SettingsState;
|
453
465
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -471,8 +483,10 @@ export declare const selectCapabilityVersion: ((state: {
|
|
471
483
|
showPreview: boolean;
|
472
484
|
};
|
473
485
|
tenants: import("../tenants/types").TenantsState;
|
474
|
-
partitions:
|
475
|
-
|
486
|
+
partitions: {
|
487
|
+
selectedConsumer?: string;
|
488
|
+
};
|
489
|
+
query: import("../query/types").QueryState;
|
476
490
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
477
491
|
settings: import("../settings/types").SettingsState;
|
478
492
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -501,8 +515,10 @@ export declare const selectCapabilityVersion: ((state: {
|
|
501
515
|
showPreview: boolean;
|
502
516
|
};
|
503
517
|
tenants: import("../tenants/types").TenantsState;
|
504
|
-
partitions:
|
505
|
-
|
518
|
+
partitions: {
|
519
|
+
selectedConsumer?: string;
|
520
|
+
};
|
521
|
+
query: import("../query/types").QueryState;
|
506
522
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
507
523
|
settings: import("../settings/types").SettingsState;
|
508
524
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -7,5 +7,6 @@ export declare const useStorageGroupsHandlerAvailable: () => boolean;
|
|
7
7
|
export declare const useStorageGroupsHandlerHasGrouping: () => boolean;
|
8
8
|
export declare const useViewerNodesHandlerHasGrouping: () => boolean;
|
9
9
|
export declare const useViewerNodesHandlerHasGroupingBySystemState: () => boolean;
|
10
|
+
export declare const useViewerNodesHandlerHasNetworkStats: () => boolean;
|
10
11
|
export declare const useFeatureFlagsAvailable: () => boolean;
|
11
12
|
export declare const useClusterDashboardAvailable: () => boolean;
|
@@ -42,6 +42,9 @@ export const useViewerNodesHandlerHasGrouping = () => {
|
|
42
42
|
export const useViewerNodesHandlerHasGroupingBySystemState = () => {
|
43
43
|
return useGetFeatureVersion('/viewer/nodes') > 11;
|
44
44
|
};
|
45
|
+
export const useViewerNodesHandlerHasNetworkStats = () => {
|
46
|
+
return useGetFeatureVersion('/viewer/nodes') > 12;
|
47
|
+
};
|
45
48
|
export const useFeatureFlagsAvailable = () => {
|
46
49
|
return useGetFeatureVersion('/viewer/feature_flags') > 1;
|
47
50
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAE,0BAA0B,EAAC,MAAM,gBAAgB,CAAC;AAEpG,SAAS,oBAAoB;IACzB,MAAM,CAAC,QAAQ,CAAC,GAAG,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAE1D,iCAAiC;IACjC,OAAO,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,SAAS,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,oBAAoB;IAChC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,eAAe,CAAC,8BAA8B,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,qBAAqB;IACjC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAC,IAAI,EAAE,KAAK,EAAC,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,0BAA0B,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE/F,OAAO,OAAO,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,CA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@ export declare const selectClusterInfo: ((state: {
|
|
67
67
|
showPreview: boolean;
|
68
68
|
};
|
69
69
|
tenants: import("../tenants/types").TenantsState;
|
70
|
-
partitions:
|
71
|
-
|
70
|
+
partitions: {
|
71
|
+
selectedConsumer?: string;
|
72
|
+
};
|
73
|
+
query: import("../query/types").QueryState;
|
72
74
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
73
75
|
settings: import("../settings/types").SettingsState;
|
74
76
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -99,8 +101,10 @@ export declare const selectClusterInfo: ((state: {
|
|
99
101
|
showPreview: boolean;
|
100
102
|
};
|
101
103
|
tenants: import("../tenants/types").TenantsState;
|
102
|
-
partitions:
|
103
|
-
|
104
|
+
partitions: {
|
105
|
+
selectedConsumer?: string;
|
106
|
+
};
|
107
|
+
query: import("../query/types").QueryState;
|
104
108
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
105
109
|
settings: import("../settings/types").SettingsState;
|
106
110
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -136,8 +140,10 @@ export declare const selectClusterInfo: ((state: {
|
|
136
140
|
showPreview: boolean;
|
137
141
|
};
|
138
142
|
tenants: import("../tenants/types").TenantsState;
|
139
|
-
partitions:
|
140
|
-
|
143
|
+
partitions: {
|
144
|
+
selectedConsumer?: string;
|
145
|
+
};
|
146
|
+
query: import("../query/types").QueryState;
|
141
147
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
142
148
|
settings: import("../settings/types").SettingsState;
|
143
149
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -181,8 +187,10 @@ export declare const selectClusterInfo: ((state: {
|
|
181
187
|
showPreview: boolean;
|
182
188
|
};
|
183
189
|
tenants: import("../tenants/types").TenantsState;
|
184
|
-
partitions:
|
185
|
-
|
190
|
+
partitions: {
|
191
|
+
selectedConsumer?: string;
|
192
|
+
};
|
193
|
+
query: import("../query/types").QueryState;
|
186
194
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
187
195
|
settings: import("../settings/types").SettingsState;
|
188
196
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -223,8 +231,10 @@ export declare const selectClusterTitle: ((state: {
|
|
223
231
|
showPreview: boolean;
|
224
232
|
};
|
225
233
|
tenants: import("../tenants/types").TenantsState;
|
226
|
-
partitions:
|
227
|
-
|
234
|
+
partitions: {
|
235
|
+
selectedConsumer?: string;
|
236
|
+
};
|
237
|
+
query: import("../query/types").QueryState;
|
228
238
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
229
239
|
settings: import("../settings/types").SettingsState;
|
230
240
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -277,8 +287,10 @@ export declare const selectClusterTabletsWithFqdn: ((state: {
|
|
277
287
|
showPreview: boolean;
|
278
288
|
};
|
279
289
|
tenants: import("../tenants/types").TenantsState;
|
280
|
-
partitions:
|
281
|
-
|
290
|
+
partitions: {
|
291
|
+
selectedConsumer?: string;
|
292
|
+
};
|
293
|
+
query: import("../query/types").QueryState;
|
282
294
|
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
283
295
|
settings: import("../settings/types").SettingsState;
|
284
296
|
executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { parseQueryAPIResponse } from '../../../utils/query';
|
2
2
|
export const createSelectClusterGroupsQuery = (clusterRoot) => {
|
3
3
|
return `
|
4
4
|
SELECT
|
@@ -67,7 +67,7 @@ function getGroupStats(data) {
|
|
67
67
|
}
|
68
68
|
export const parseGroupsStatsQueryResponse = (data) => {
|
69
69
|
var _a, _b;
|
70
|
-
const parsedData = (_b = (_a =
|
70
|
+
const parsedData = (_b = (_a = parseQueryAPIResponse(data).resultSets) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result;
|
71
71
|
return getGroupStats(parsedData);
|
72
72
|
};
|
73
73
|
export function getGroupStatsFromClusterInfo(info) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AAI3D,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,WAAmB,EAAE,EAAE;IAClE,OAAO;;;;;;;;aAQE,WAAW;;CAEvB,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,aAAqB,EAAE,EAAE;;IAC1C,6DAA6D;IAC7D,MAAM,UAAU,GAAG,0BAA0B,CAAC;IAE9C,MAAM,QAAQ,GAAG,MAAA,MAAA,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,0CAAE,MAAM,0CAAG,MAAM,CAAC,CAAC;IAEnE,IAAI,QAAQ,KAAK,KAAK,EAAE,CAAC;QACrB,qBAAqB;QACrB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAC;AAEF,SAAS,aAAa,CAAC,IAAsC;IACzD,MAAM,MAAM,GAAuB,EAAE,CAAC;IAEtC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACpB,MAAM,EACF,WAAW,EACX,cAAc,EAAE,OAAO,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,GAC1B,GAAG,KAAK,CAAC;QAEV,MAAM,aAAa,GAAG,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACxD,MAAM,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;QACrE,MAAM,WAAW,GA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AC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CACzC,IAAiC,EACf,EAAE;;IACpB,MAAM,UAAU,GAAG,MAAA,MAAA,qBAAqB,CAAC,IAAI,CAAC,CAAC,UAAU,0CAAG,CAAC,CAAC,0CAAE,MAAM,CAAC;IACvE,OAAO,aAAa,CAAC,UAAU,CAAC,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,UAAU,4BAA4B,CAAC,IAAoB;IAC7D,OAAO,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAe;IAC3C,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC3E,OAAO,gBAAgB,CAAC,WAAW,EAAE,CAAC;AAC1C,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { isLikeRelative } from '@gravity-ui/date-utils';
|
2
2
|
import { createSlice } from '@reduxjs/toolkit';
|
3
|
-
import { isQueryErrorResponse,
|
3
|
+
import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
|
4
4
|
import { api } from '../api';
|
5
5
|
import { getFiltersConditions } from './utils';
|
6
6
|
const initialState = {};
|
@@ -51,7 +51,7 @@ export const topQueriesApi = api.injectEndpoints({
|
|
51
51
|
if (isQueryErrorResponse(response)) {
|
52
52
|
throw response;
|
53
53
|
}
|
54
|
-
const data =
|
54
|
+
const data = parseQueryAPIResponse(response);
|
55
55
|
return { data };
|
56
56
|
}
|
57
57
|
catch (error) {
|
@@ -93,7 +93,7 @@ export const topQueriesApi = api.injectEndpoints({
|
|
93
93
|
if (isQueryErrorResponse(response)) {
|
94
94
|
throw response;
|
95
95
|
}
|
96
|
-
const data =
|
96
|
+
const data = parseQueryAPIResponse(response);
|
97
97
|
return { data };
|
98
98
|
}
|
99
99
|
catch (error) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeTopQueries.js","sourceRoot":"","sources":["../../../../src/store/reducers/executeTopQueries/executeTopQueries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,
|
1
|
+
{"version":3,"file":"executeTopQueries.js","sourceRoot":"","sources":["../../../../src/store/reducers/executeTopQueries/executeTopQueries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAsB,EAAE,CAAC;AAE3C,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAEpD,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,mBAAmB;IACzB,YAAY;IACZ,QAAQ,EAAE;QACN,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAwC,EAAE,EAAE;YACtE,OAAO,EAAC,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC,OAAO,EAAC,CAAC;QACzC,CAAC;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAC,oBAAoB,EAAC,GAAG,KAAK,CAAC,OAAO,CAAC;AACpD,eAAe,KAAK,CAAC,OAAO,CAAC;AAE7B,MAAM,YAAY,GAAG,CAAC,IAAY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