ydb-embedded-ui 6.29.2 → 6.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -1
  2. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  3. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -2
  4. package/dist/components/PaginatedTable/PaginatedTable.js +10 -15
  5. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  6. package/dist/components/PaginatedTable/PaginatedTable.scss +5 -1
  7. package/dist/components/PaginatedTable/TableChunk.d.ts +3 -3
  8. package/dist/components/PaginatedTable/TableChunk.js +7 -10
  9. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  10. package/dist/components/PaginatedTable/constants.d.ts +1 -1
  11. package/dist/components/PaginatedTable/constants.js +1 -1
  12. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +5 -3
  13. package/dist/components/PaginatedTable/useScrollBasedChunks.js +43 -23
  14. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -1
  15. package/dist/components/PaginatedTable/utils.d.ts +18 -0
  16. package/dist/components/PaginatedTable/utils.js +27 -0
  17. package/dist/components/PaginatedTable/utils.js.map +1 -1
  18. package/dist/components/Tablet/Tablet.d.ts +2 -2
  19. package/dist/components/Tablet/Tablet.js +3 -3
  20. package/dist/components/Tablet/Tablet.js.map +1 -1
  21. package/dist/components/TabletNameWrapper/TabletNameWrapper.js +1 -3
  22. package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -1
  23. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -3
  24. package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -8
  25. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  26. package/dist/components/TenantNameWrapper/TenantNameWrapper.js +1 -1
  27. package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -1
  28. package/dist/components/nodesColumns/columns.js +1 -1
  29. package/dist/components/nodesColumns/columns.js.map +1 -1
  30. package/dist/containers/App/Content.js +2 -2
  31. package/dist/containers/App/Content.js.map +1 -1
  32. package/dist/containers/Cluster/Cluster.js +3 -1
  33. package/dist/containers/Cluster/Cluster.js.map +1 -1
  34. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +4 -5
  35. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +7 -14
  36. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
  37. package/dist/containers/Header/breadcrumbs.js +2 -2
  38. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  39. package/dist/containers/Node/Node.js +10 -8
  40. package/dist/containers/Node/Node.js.map +1 -1
  41. package/dist/containers/Node/NodePages.d.ts +7 -2
  42. package/dist/containers/Node/NodePages.js +4 -0
  43. package/dist/containers/Node/NodePages.js.map +1 -1
  44. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -1
  45. package/dist/containers/Nodes/PaginatedNodes.d.ts +1 -1
  46. package/dist/containers/PDiskPage/PDiskPage.js +3 -2
  47. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  48. package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
  49. package/dist/containers/Storage/PaginatedStorageGroups.js +2 -2
  50. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  51. package/dist/containers/Storage/PaginatedStorageNodes.js +2 -2
  52. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  53. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +1 -1
  54. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -1
  55. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  56. package/dist/containers/StorageGroupPage/StorageGroupPage.js +3 -2
  57. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  58. package/dist/containers/Tablet/Tablet.js +4 -9
  59. package/dist/containers/Tablet/Tablet.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js +2 -3
  61. package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js.map +1 -1
  62. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -4
  63. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  64. package/dist/containers/Tenant/ObjectSummary/CreateDirectoryDialog/CreateDirectoryDialog.js.map +1 -0
  65. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +7 -6
  66. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  67. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +4 -2
  68. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +1 -1
  69. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -1
  70. package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.d.ts +1 -0
  71. package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js +12 -0
  72. package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js.map +1 -0
  73. package/dist/containers/Tenant/{Schema → ObjectSummary}/SchemaTree/SchemaTree.js +3 -1
  74. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -0
  75. package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.d.ts +8 -0
  76. package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.js +23 -0
  77. package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.js.map +1 -0
  78. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +1 -1
  79. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  80. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +2 -1
  81. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +10 -12
  82. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  83. package/dist/containers/Tenant/Tenant.js +13 -1
  84. package/dist/containers/Tenant/Tenant.js.map +1 -1
  85. package/dist/containers/Tenant/TenantPages.d.ts +1 -0
  86. package/dist/containers/Tenant/TenantPages.js.map +1 -1
  87. package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js +6 -6
  88. package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js.map +1 -1
  89. package/dist/containers/VDiskPage/VDiskPage.js +3 -2
  90. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  91. package/dist/routes.d.ts +11 -1
  92. package/dist/routes.js +6 -0
  93. package/dist/routes.js.map +1 -1
  94. package/dist/services/api.d.ts +3 -1
  95. package/dist/services/api.js +7 -6
  96. package/dist/services/api.js.map +1 -1
  97. package/dist/services/settings.d.ts +1 -1
  98. package/dist/services/settings.js +1 -1
  99. package/dist/services/settings.js.map +1 -1
  100. package/dist/store/reducers/capabilities/capabilities.d.ts +387 -9
  101. package/dist/store/reducers/capabilities/capabilities.js +7 -6
  102. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  103. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  104. package/dist/store/reducers/capabilities/hooks.js +18 -3
  105. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  106. package/dist/store/reducers/executeQuery.d.ts +3 -0
  107. package/dist/store/reducers/executeQuery.js +18 -0
  108. package/dist/store/reducers/executeQuery.js.map +1 -1
  109. package/dist/store/reducers/pdisk/pdisk.js +1 -1
  110. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  111. package/dist/store/reducers/trace.d.ts +1 -1
  112. package/dist/store/reducers/trace.js +4 -2
  113. package/dist/store/reducers/trace.js.map +1 -1
  114. package/dist/types/api/capabilities.d.ts +1 -1
  115. package/dist/types/store/executeQuery.d.ts +3 -2
  116. package/dist/types/store/executeQuery.js.map +1 -1
  117. package/package.json +1 -1
  118. package/dist/containers/Tenant/Schema/CreateDirectoryDialog/CreateDirectoryDialog.js.map +0 -1
  119. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +0 -1
  120. /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.d.ts +0 -0
  121. /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.js +0 -0
  122. /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.scss +0 -0
  123. /package/dist/containers/Tenant/{Schema → ObjectSummary}/SchemaTree/SchemaTree.d.ts +0 -0
@@ -1,11 +1,389 @@
1
1
  import type { Capability } from '../../../types/api/capabilities';
2
2
  import type { AppDispatch, RootState } from '../../defaultStore';
3
3
  export declare const capabilitiesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, {
4
- getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
4
+ getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
5
+ database?: string;
6
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
5
7
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
- export declare const selectCapabilities: (state: import("@reduxjs/toolkit/query").RootState<{
7
- getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
8
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">>;
8
+ export declare const selectDatabaseCapabilities: ((state: {
9
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
10
+ singleClusterMode: boolean;
11
+ cluster: import("../cluster/types").ClusterState;
12
+ tenant: import("../tenant/types").TenantState;
13
+ tooltip: import("../../../types/store/tooltip").ITooltipState;
14
+ schema: import("../schema/types").SchemaState;
15
+ tenants: import("../tenants/types").TenantsState;
16
+ partitions: import("../partitions/types").PartitionsState;
17
+ executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
18
+ heatmap: import("../../../types/store/heatmap").IHeatmapState;
19
+ settings: import("../settings/types").SettingsState;
20
+ executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
21
+ shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
22
+ authentication: import("../authentication/types").AuthenticationState;
23
+ header: import("../header/types").HeaderState;
24
+ queryActions: import("../queryActions/types").QueryActionsState;
25
+ fullscreen: boolean;
26
+ clusters: import("../clusters/types").ClustersFilters;
27
+ }, database?: string | undefined) => ({
28
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
29
+ originalArgs?: undefined;
30
+ data?: undefined;
31
+ error?: undefined;
32
+ requestId?: undefined;
33
+ endpointName?: string;
34
+ startedTimeStamp?: undefined;
35
+ fulfilledTimeStamp?: undefined;
36
+ } & {
37
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
38
+ isUninitialized: true;
39
+ isLoading: false;
40
+ isSuccess: false;
41
+ isError: false;
42
+ }) | ({
43
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
44
+ error: undefined;
45
+ originalArgs: {
46
+ database?: string;
47
+ };
48
+ requestId: string;
49
+ endpointName: string;
50
+ startedTimeStamp: number;
51
+ data: import("../../../types/api/capabilities").CapabilitiesResponse;
52
+ fulfilledTimeStamp: number;
53
+ } & {
54
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
55
+ isUninitialized: false;
56
+ isLoading: false;
57
+ isSuccess: true;
58
+ isError: false;
59
+ }) | ({
60
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
61
+ originalArgs: {
62
+ database?: string;
63
+ };
64
+ requestId: string;
65
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
66
+ error?: unknown;
67
+ endpointName: string;
68
+ startedTimeStamp: number;
69
+ fulfilledTimeStamp?: number;
70
+ } & {
71
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
72
+ isUninitialized: false;
73
+ isLoading: true;
74
+ isSuccess: false;
75
+ isError: false;
76
+ }) | ({
77
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
78
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
79
+ fulfilledTimeStamp?: number;
80
+ originalArgs: {
81
+ database?: string;
82
+ };
83
+ requestId: string;
84
+ endpointName: string;
85
+ startedTimeStamp: number;
86
+ error: unknown;
87
+ } & {
88
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
89
+ isUninitialized: false;
90
+ isLoading: false;
91
+ isSuccess: false;
92
+ isError: true;
93
+ })) & {
94
+ clearCache: () => void;
95
+ resultsCount: () => number;
96
+ resetResultsCount: () => void;
97
+ } & {
98
+ resultFunc: (resultFuncArgs_0: {
99
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
100
+ singleClusterMode: boolean;
101
+ cluster: import("../cluster/types").ClusterState;
102
+ tenant: import("../tenant/types").TenantState;
103
+ tooltip: import("../../../types/store/tooltip").ITooltipState;
104
+ schema: import("../schema/types").SchemaState;
105
+ tenants: import("../tenants/types").TenantsState;
106
+ partitions: import("../partitions/types").PartitionsState;
107
+ executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
108
+ heatmap: import("../../../types/store/heatmap").IHeatmapState;
109
+ settings: import("../settings/types").SettingsState;
110
+ executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
111
+ shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
112
+ authentication: import("../authentication/types").AuthenticationState;
113
+ header: import("../header/types").HeaderState;
114
+ queryActions: import("../queryActions/types").QueryActionsState;
115
+ fullscreen: boolean;
116
+ clusters: import("../clusters/types").ClustersFilters;
117
+ }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
118
+ getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
119
+ database?: string;
120
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
121
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
122
+ database?: string;
123
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">>) => ({
124
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
125
+ originalArgs?: undefined;
126
+ data?: undefined;
127
+ error?: undefined;
128
+ requestId?: undefined;
129
+ endpointName?: string;
130
+ startedTimeStamp?: undefined;
131
+ fulfilledTimeStamp?: undefined;
132
+ } & {
133
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
134
+ isUninitialized: true;
135
+ isLoading: false;
136
+ isSuccess: false;
137
+ isError: false;
138
+ }) | ({
139
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
140
+ error: undefined;
141
+ originalArgs: {
142
+ database?: string;
143
+ };
144
+ requestId: string;
145
+ endpointName: string;
146
+ startedTimeStamp: number;
147
+ data: import("../../../types/api/capabilities").CapabilitiesResponse;
148
+ fulfilledTimeStamp: number;
149
+ } & {
150
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
151
+ isUninitialized: false;
152
+ isLoading: false;
153
+ isSuccess: true;
154
+ isError: false;
155
+ }) | ({
156
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
157
+ originalArgs: {
158
+ database?: string;
159
+ };
160
+ requestId: string;
161
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
162
+ error?: unknown;
163
+ endpointName: string;
164
+ startedTimeStamp: number;
165
+ fulfilledTimeStamp?: number;
166
+ } & {
167
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
168
+ isUninitialized: false;
169
+ isLoading: true;
170
+ isSuccess: false;
171
+ isError: false;
172
+ }) | ({
173
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
174
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
175
+ fulfilledTimeStamp?: number;
176
+ originalArgs: {
177
+ database?: string;
178
+ };
179
+ requestId: string;
180
+ endpointName: string;
181
+ startedTimeStamp: number;
182
+ error: unknown;
183
+ } & {
184
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
185
+ isUninitialized: false;
186
+ isLoading: false;
187
+ isSuccess: false;
188
+ isError: true;
189
+ });
190
+ memoizedResultFunc: ((resultFuncArgs_0: {
191
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
192
+ singleClusterMode: boolean;
193
+ cluster: import("../cluster/types").ClusterState;
194
+ tenant: import("../tenant/types").TenantState;
195
+ tooltip: import("../../../types/store/tooltip").ITooltipState;
196
+ schema: import("../schema/types").SchemaState;
197
+ tenants: import("../tenants/types").TenantsState;
198
+ partitions: import("../partitions/types").PartitionsState;
199
+ executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
200
+ heatmap: import("../../../types/store/heatmap").IHeatmapState;
201
+ settings: import("../settings/types").SettingsState;
202
+ executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
203
+ shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
204
+ authentication: import("../authentication/types").AuthenticationState;
205
+ header: import("../header/types").HeaderState;
206
+ queryActions: import("../queryActions/types").QueryActionsState;
207
+ fullscreen: boolean;
208
+ clusters: import("../clusters/types").ClustersFilters;
209
+ }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
210
+ getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
211
+ database?: string;
212
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
213
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
214
+ database?: string;
215
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">>) => ({
216
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
217
+ originalArgs?: undefined;
218
+ data?: undefined;
219
+ error?: undefined;
220
+ requestId?: undefined;
221
+ endpointName?: string;
222
+ startedTimeStamp?: undefined;
223
+ fulfilledTimeStamp?: undefined;
224
+ } & {
225
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
226
+ isUninitialized: true;
227
+ isLoading: false;
228
+ isSuccess: false;
229
+ isError: false;
230
+ }) | ({
231
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
232
+ error: undefined;
233
+ originalArgs: {
234
+ database?: string;
235
+ };
236
+ requestId: string;
237
+ endpointName: string;
238
+ startedTimeStamp: number;
239
+ data: import("../../../types/api/capabilities").CapabilitiesResponse;
240
+ fulfilledTimeStamp: number;
241
+ } & {
242
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
243
+ isUninitialized: false;
244
+ isLoading: false;
245
+ isSuccess: true;
246
+ isError: false;
247
+ }) | ({
248
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
249
+ originalArgs: {
250
+ database?: string;
251
+ };
252
+ requestId: string;
253
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
254
+ error?: unknown;
255
+ endpointName: string;
256
+ startedTimeStamp: number;
257
+ fulfilledTimeStamp?: number;
258
+ } & {
259
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
260
+ isUninitialized: false;
261
+ isLoading: true;
262
+ isSuccess: false;
263
+ isError: false;
264
+ }) | ({
265
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
266
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
267
+ fulfilledTimeStamp?: number;
268
+ originalArgs: {
269
+ database?: string;
270
+ };
271
+ requestId: string;
272
+ endpointName: string;
273
+ startedTimeStamp: number;
274
+ error: unknown;
275
+ } & {
276
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
277
+ isUninitialized: false;
278
+ isLoading: false;
279
+ isSuccess: false;
280
+ isError: true;
281
+ })) & {
282
+ clearCache: () => void;
283
+ resultsCount: () => number;
284
+ resetResultsCount: () => void;
285
+ };
286
+ lastResult: () => ({
287
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
288
+ originalArgs?: undefined;
289
+ data?: undefined;
290
+ error?: undefined;
291
+ requestId?: undefined;
292
+ endpointName?: string;
293
+ startedTimeStamp?: undefined;
294
+ fulfilledTimeStamp?: undefined;
295
+ } & {
296
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
297
+ isUninitialized: true;
298
+ isLoading: false;
299
+ isSuccess: false;
300
+ isError: false;
301
+ }) | ({
302
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
303
+ error: undefined;
304
+ originalArgs: {
305
+ database?: string;
306
+ };
307
+ requestId: string;
308
+ endpointName: string;
309
+ startedTimeStamp: number;
310
+ data: import("../../../types/api/capabilities").CapabilitiesResponse;
311
+ fulfilledTimeStamp: number;
312
+ } & {
313
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
314
+ isUninitialized: false;
315
+ isLoading: false;
316
+ isSuccess: true;
317
+ isError: false;
318
+ }) | ({
319
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
320
+ originalArgs: {
321
+ database?: string;
322
+ };
323
+ requestId: string;
324
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
325
+ error?: unknown;
326
+ endpointName: string;
327
+ startedTimeStamp: number;
328
+ fulfilledTimeStamp?: number;
329
+ } & {
330
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
331
+ isUninitialized: false;
332
+ isLoading: true;
333
+ isSuccess: false;
334
+ isError: false;
335
+ }) | ({
336
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
337
+ data?: import("../../../types/api/capabilities").CapabilitiesResponse | undefined;
338
+ fulfilledTimeStamp?: number;
339
+ originalArgs: {
340
+ database?: string;
341
+ };
342
+ requestId: string;
343
+ endpointName: string;
344
+ startedTimeStamp: number;
345
+ error: unknown;
346
+ } & {
347
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
348
+ isUninitialized: false;
349
+ isLoading: false;
350
+ isSuccess: false;
351
+ isError: true;
352
+ });
353
+ dependencies: [(state: RootState) => {
354
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
355
+ singleClusterMode: boolean;
356
+ cluster: import("../cluster/types").ClusterState;
357
+ tenant: import("../tenant/types").TenantState;
358
+ tooltip: import("../../../types/store/tooltip").ITooltipState;
359
+ schema: import("../schema/types").SchemaState;
360
+ tenants: import("../tenants/types").TenantsState;
361
+ partitions: import("../partitions/types").PartitionsState;
362
+ executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
363
+ heatmap: import("../../../types/store/heatmap").IHeatmapState;
364
+ settings: import("../settings/types").SettingsState;
365
+ executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
366
+ shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
367
+ authentication: import("../authentication/types").AuthenticationState;
368
+ header: import("../header/types").HeaderState;
369
+ queryActions: import("../queryActions/types").QueryActionsState;
370
+ fullscreen: boolean;
371
+ clusters: import("../clusters/types").ClustersFilters;
372
+ }, (_state: RootState, database?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
373
+ getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
374
+ database?: string;
375
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
376
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
377
+ database?: string;
378
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">>];
379
+ recomputations: () => number;
380
+ resetRecomputations: () => void;
381
+ dependencyRecomputations: () => number;
382
+ resetDependencyRecomputations: () => void;
383
+ } & {
384
+ argsMemoize: typeof import("reselect").weakMapMemoize;
385
+ memoize: typeof import("reselect").weakMapMemoize;
386
+ };
9
387
  export declare const selectCapabilityVersion: ((state: {
10
388
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
11
389
  singleClusterMode: boolean;
@@ -25,7 +403,7 @@ export declare const selectCapabilityVersion: ((state: {
25
403
  queryActions: import("../queryActions/types").QueryActionsState;
26
404
  fullscreen: boolean;
27
405
  clusters: import("../clusters/types").ClustersFilters;
28
- }, capability: Capability) => number | undefined) & {
406
+ }, _capability: Capability, database?: string | undefined) => number | undefined) & {
29
407
  clearCache: () => void;
30
408
  resultsCount: () => number;
31
409
  resetResultsCount: () => void;
@@ -49,7 +427,7 @@ export declare const selectCapabilityVersion: ((state: {
49
427
  queryActions: import("../queryActions/types").QueryActionsState;
50
428
  fullscreen: boolean;
51
429
  clusters: import("../clusters/types").ClustersFilters;
52
- }, resultFuncArgs_1: Capability) => number | undefined;
430
+ }, resultFuncArgs_1: Capability, resultFuncArgs_2: string | undefined) => number | undefined;
53
431
  memoizedResultFunc: ((resultFuncArgs_0: {
54
432
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
55
433
  singleClusterMode: boolean;
@@ -69,7 +447,7 @@ export declare const selectCapabilityVersion: ((state: {
69
447
  queryActions: import("../queryActions/types").QueryActionsState;
70
448
  fullscreen: boolean;
71
449
  clusters: import("../clusters/types").ClustersFilters;
72
- }, resultFuncArgs_1: Capability) => number | undefined) & {
450
+ }, resultFuncArgs_1: Capability, resultFuncArgs_2: string | undefined) => number | undefined) & {
73
451
  clearCache: () => void;
74
452
  resultsCount: () => number;
75
453
  resetResultsCount: () => void;
@@ -94,7 +472,7 @@ export declare const selectCapabilityVersion: ((state: {
94
472
  queryActions: import("../queryActions/types").QueryActionsState;
95
473
  fullscreen: boolean;
96
474
  clusters: import("../clusters/types").ClustersFilters;
97
- }, (_state: RootState, capability: Capability) => Capability];
475
+ }, (_state: RootState, capability: Capability) => Capability, (_state: RootState, _capability: Capability, database?: string) => string | undefined];
98
476
  recomputations: () => number;
99
477
  resetRecomputations: () => void;
100
478
  dependencyRecomputations: () => number;
@@ -103,7 +481,7 @@ export declare const selectCapabilityVersion: ((state: {
103
481
  argsMemoize: typeof import("reselect").weakMapMemoize;
104
482
  memoize: typeof import("reselect").weakMapMemoize;
105
483
  };
106
- export declare function queryCapability(capability: Capability, { dispatch, getState }: {
484
+ export declare function queryCapability(capability: Capability, database: string | undefined, { dispatch, getState }: {
107
485
  dispatch: AppDispatch;
108
486
  getState: () => RootState;
109
487
  }): Promise<number>;
@@ -3,9 +3,9 @@ import { api } from './../api';
3
3
  export const capabilitiesApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
5
5
  getClusterCapabilities: build.query({
6
- queryFn: async () => {
6
+ queryFn: async (params) => {
7
7
  try {
8
- const data = await window.api.getClusterCapabilities();
8
+ const data = await window.api.getClusterCapabilities(params);
9
9
  return { data };
10
10
  }
11
11
  catch (error) {
@@ -18,10 +18,11 @@ export const capabilitiesApi = api.injectEndpoints({
18
18
  }),
19
19
  overrideExisting: 'throw',
20
20
  });
21
- export const selectCapabilities = capabilitiesApi.endpoints.getClusterCapabilities.select(undefined);
22
- export const selectCapabilityVersion = createSelector((state) => state, (_state, capability) => capability, (state, capability) => { var _a, _b; return (_b = (_a = selectCapabilities(state).data) === null || _a === void 0 ? void 0 : _a.Capabilities) === null || _b === void 0 ? void 0 : _b[capability]; });
23
- export async function queryCapability(capability, { dispatch, getState }) {
24
- const thunk = capabilitiesApi.util.getRunningQueryThunk('getClusterCapabilities', undefined);
21
+ const createCapabilitiesSelector = createSelector((database) => database, (database) => capabilitiesApi.endpoints.getClusterCapabilities.select({ database }));
22
+ export const selectDatabaseCapabilities = createSelector((state) => state, (_state, database) => createCapabilitiesSelector(database), (state, selectCapabilities) => selectCapabilities(state));
23
+ export const selectCapabilityVersion = createSelector((state) => state, (_state, capability) => capability, (_state, _capability, database) => database, (state, capability, database) => { var _a, _b; return (_b = (_a = selectDatabaseCapabilities(state, database).data) === null || _a === void 0 ? void 0 : _a.Capabilities) === null || _b === void 0 ? void 0 : _b[capability]; });
24
+ export async function queryCapability(capability, database, { dispatch, getState }) {
25
+ const thunk = capabilitiesApi.util.getRunningQueryThunk('getClusterCapabilities', { database });
25
26
  await dispatch(thunk);
26
27
  return selectCapabilityVersion(getState(), capability) || 0;
27
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAKhD,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAC;AAE7B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAC/C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,sBAAsB,EAAE,KAAK,CAAC,KAAK,CAAC;YAChC,OAAO,EAAE,KAAK,IAAI,EAAE;gBAChB,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC;oBACvD,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,oEAAoE;o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U,CAAC,CAAA,EAAA,CACnF,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,eAAe,CACjC,UAAsB,EACtB,QAA4B,EAC5B,EAAC,QAAQ,EAAE,QAAQ,EAAqD;IAExE,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,oBAAoB,CAAC,wBAAwB,EAAE,EAAC,QAAQ,EAAC,CAAC,CAAC;IAC9F,MAAM,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtB,OAAO,uBAAuB,CAAC,QAAQ,EAAE,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;AAChE,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare function useCapabilitiesQuery(): void;
1
2
  export declare function useCapabilitiesLoaded(): boolean;
2
3
  export declare const useCreateDirectoryFeatureAvailable: () => boolean;
3
4
  export declare const useDiskPagesAvailable: () => boolean;
@@ -6,3 +7,4 @@ export declare const useStorageGroupsHandlerAvailable: () => boolean;
6
7
  export declare const useStorageGroupsHandlerHasGrouping: () => boolean;
7
8
  export declare const useViewerNodesHandlerHasGrouping: () => boolean;
8
9
  export declare const useFeatureFlagsAvailable: () => boolean;
10
+ export declare const useClusterDashboardAvailable: () => boolean;
@@ -1,11 +1,23 @@
1
+ import { StringParam, useQueryParam } from 'use-query-params';
1
2
  import { useTypedSelector } from '../../../utils/hooks';
2
- import { capabilitiesApi, selectCapabilityVersion } from './capabilities';
3
+ import { capabilitiesApi, selectCapabilityVersion, selectDatabaseCapabilities } from './capabilities';
4
+ function useDatabaseFromQuery() {
5
+ const [database] = useQueryParam('database', StringParam);
6
+ // Remove null from database type
7
+ return database !== null && database !== void 0 ? database : undefined;
8
+ }
9
+ export function useCapabilitiesQuery() {
10
+ const database = useDatabaseFromQuery();
11
+ capabilitiesApi.useGetClusterCapabilitiesQuery({ database });
12
+ }
3
13
  export function useCapabilitiesLoaded() {
4
- const { data, error } = capabilitiesApi.useGetClusterCapabilitiesQuery(undefined);
14
+ const database = useDatabaseFromQuery();
15
+ const { data, error } = useTypedSelector((state) => selectDatabaseCapabilities(state, database));
5
16
  return Boolean(data || error);
6
17
  }
7
18
  const useGetFeatureVersion = (feature) => {
8
- return useTypedSelector((state) => selectCapabilityVersion(state, feature) || 0);
19
+ const database = useDatabaseFromQuery();
20
+ return useTypedSelector((state) => selectCapabilityVersion(state, feature, database) || 0);
9
21
  };
10
22
  export const useCreateDirectoryFeatureAvailable = () => {
11
23
  return useGetFeatureVersion('/scheme/directory') > 0;
@@ -30,4 +42,7 @@ export const useViewerNodesHandlerHasGrouping = () => {
30
42
  export const useFeatureFlagsAvailable = () => {
31
43
  return useGetFeatureVersion('/viewer/feature_flags') > 1;
32
44
  };
45
+ export const useClusterDashboardAvailable = () => {
46
+ return useGetFeatureVersion('/viewer/cluster') > 4;
47
+ };
33
48
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAExE,MAAM,UAAU,qBAAqB;IACjC,MAAM,EAAC,IAAI,EAAE,KAAK,EAAC,GAAG,eAAe,CAAC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAEhF,OAAO,OAAO,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC,CA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C;AACvD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;AACvD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,EAAE;IACjD,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACzC,OAAO,oBAAoB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;AAC7D,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE;IAC7C,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;AACvD,CAAC,CAAC"}
@@ -32,6 +32,9 @@ export declare function setQueryResult(data?: QueryResult): {
32
32
  readonly type: "query/SET_QUERY_RESULT";
33
33
  readonly data: QueryResult | undefined;
34
34
  };
35
+ export declare function setQueryTraceReady(): {
36
+ readonly type: "query/SET_QUERY_TRACE_READY";
37
+ };
35
38
  export declare const goToPreviousQuery: () => {
36
39
  readonly type: "query/GO_TO_PREVIOUS_QUERY";
37
40
  };
@@ -8,6 +8,7 @@ import { api } from './api';
8
8
  const MAXIMUM_QUERIES_IN_HISTORY = 20;
9
9
  const CHANGE_USER_INPUT = 'query/CHANGE_USER_INPUT';
10
10
  const SET_QUERY_RESULT = 'query/SET_QUERY_RESULT';
11
+ const SET_QUERY_TRACE_READY = 'query/SET_QUERY_TRACE_READY';
11
12
  const SAVE_QUERY_TO_HISTORY = 'query/SAVE_QUERY_TO_HISTORY';
12
13
  const UPDATE_QUERY_IN_HISTORY = 'query/UPDATE_QUERY_IN_HISTORY';
13
14
  const SET_QUERY_HISTORY_FILTER = 'query/SET_QUERY_HISTORY_FILTER';
@@ -37,6 +38,18 @@ const executeQuery = (state = initialState, action) => {
37
38
  input: action.data.input,
38
39
  };
39
40
  }
41
+ case SET_QUERY_TRACE_READY: {
42
+ if (state.result) {
43
+ return {
44
+ ...state,
45
+ result: {
46
+ ...state.result,
47
+ isTraceReady: true,
48
+ },
49
+ };
50
+ }
51
+ return state;
52
+ }
40
53
  case SET_QUERY_RESULT: {
41
54
  return {
42
55
  ...state,
@@ -233,6 +246,11 @@ export function setQueryResult(data) {
233
246
  data,
234
247
  };
235
248
  }
249
+ export function setQueryTraceReady() {
250
+ return {
251
+ type: SET_QUERY_TRACE_READY,
252
+ };
253
+ }
236
254
  export const goToPreviousQuery = () => {
237
255
  return {
238
256
  type: GO_TO_PREVIOUS_QUERY,
@@ -1 +1 @@
1
- {"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAS1D,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,iBAAiB,GAAG,yBAAyB,CAAC;AACpD,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AAClD,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AAC5D,MAAM,uBAAuB,GAAG,+BAA+B,CAAC;AAChE,MAAM,wBAAwB,GAAG,gCAAgC,CAAC;AAClE,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;AAC1D,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AAClD,MAA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,EAAoB,EAAE;;IACpF,MAAM,KAAK,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC;IACjD,MAAM,MAAM,GAAG,MAAA,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,0CAAE,WAAW,EAAE,CAAC;IAEhE,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClG,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,QAAiC;IACxD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,EAAE;IACpD,OAAO;QACH,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,EAAC,MAAM,EAAC;KACR,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -6,7 +6,7 @@ export const pDiskApi = api.injectEndpoints({
6
6
  endpoints: (build) => ({
7
7
  getPdiskInfo: build.query({
8
8
  queryFn: async ({ nodeId, pDiskId }, { signal, getState, dispatch }) => {
9
- const pDiskInfoHandlerVersion = await queryCapability('/pdisk/info', {
9
+ const pDiskInfoHandlerVersion = await queryCapability('/pdisk/info', undefined, {
10
10
  getState: getState,
11
11
  dispatch,
12
12
  });