ydb-embedded-ui 6.22.0 → 6.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
  2. package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
  3. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  4. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  5. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  6. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  7. package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
  8. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  9. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  10. package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
  11. package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
  12. package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
  13. package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
  14. package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
  15. package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
  16. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
  17. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
  18. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
  19. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
  20. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
  21. package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
  22. package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
  23. package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
  24. package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
  25. package/dist/components/VDisk/VDisk.d.ts +1 -3
  26. package/dist/components/VDisk/VDisk.js +2 -2
  27. package/dist/components/VDisk/VDisk.js.map +1 -1
  28. package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
  29. package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
  30. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  31. package/dist/containers/Cluster/Cluster.scss +2 -3
  32. package/dist/containers/Header/breadcrumbs.js +2 -3
  33. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  34. package/dist/containers/Nodes/columns/columns.js +8 -0
  35. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  36. package/dist/containers/Nodes/columns/constants.d.ts +2 -0
  37. package/dist/containers/Nodes/columns/constants.js +4 -0
  38. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  39. package/dist/containers/Nodes/columns/i18n/en.json +1 -0
  40. package/dist/containers/Nodes/columns/i18n/index.d.ts +1 -1
  41. package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
  42. package/dist/containers/Storage/Disks/Disks.js +6 -7
  43. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  44. package/dist/containers/Storage/PDisk/PDisk.d.ts +3 -2
  45. package/dist/containers/Storage/PDisk/PDisk.js +3 -2
  46. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  47. package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
  48. package/dist/containers/Storage/PaginatedStorage.d.ts +5 -5
  49. package/dist/containers/Storage/PaginatedStorage.js +7 -73
  50. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  51. package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
  52. package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
  53. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
  54. package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
  55. package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
  56. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
  57. package/dist/containers/Storage/Storage.js +15 -70
  58. package/dist/containers/Storage/Storage.js.map +1 -1
  59. package/dist/containers/Storage/Storage.scss +4 -0
  60. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +3 -16
  61. package/dist/containers/Storage/StorageControls/StorageControls.js +18 -11
  62. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  63. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
  64. package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +23 -5
  65. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
  66. package/dist/containers/Storage/StorageGroups/{StorageGroups.d.ts → StorageGroupsTable.d.ts} +3 -4
  67. package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +4 -3
  68. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
  69. package/dist/containers/Storage/StorageGroups/columns/columns.js +35 -10
  70. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  71. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +17 -0
  72. package/dist/containers/Storage/StorageGroups/columns/constants.js +46 -1
  73. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  74. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -3
  75. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -8
  76. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  77. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +6 -0
  78. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  79. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +7 -5
  80. package/dist/containers/Storage/StorageGroups/getGroups.js +6 -5
  81. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  82. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
  83. package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +23 -5
  84. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
  85. package/dist/containers/Storage/StorageNodes/{StorageNodes.d.ts → StorageNodesTable.d.ts} +3 -4
  86. package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +8 -6
  87. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
  88. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +1 -0
  89. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +1 -1
  90. package/dist/containers/Storage/StorageNodes/columns/columns.js +4 -5
  91. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  92. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +9 -0
  93. package/dist/containers/Storage/StorageNodes/columns/constants.js +27 -0
  94. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  95. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +2 -0
  96. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  97. package/dist/containers/Storage/StorageNodes/getNodes.js +6 -5
  98. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  99. package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
  100. package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
  101. package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
  102. package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
  103. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
  104. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
  105. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
  106. package/dist/containers/Storage/i18n/en.json +4 -1
  107. package/dist/containers/Storage/i18n/index.d.ts +1 -1
  108. package/dist/containers/Storage/i18n/index.js +1 -2
  109. package/dist/containers/Storage/i18n/index.js.map +1 -1
  110. package/dist/containers/Storage/shared.d.ts +2 -0
  111. package/dist/containers/Storage/shared.js +9 -0
  112. package/dist/containers/Storage/shared.js.map +1 -1
  113. package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
  114. package/dist/containers/Storage/useStorageQueryParams.js +64 -0
  115. package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
  116. package/dist/containers/Storage/utils/index.d.ts +6 -2
  117. package/dist/containers/Storage/utils/index.js +11 -6
  118. package/dist/containers/Storage/utils/index.js.map +1 -1
  119. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
  120. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  121. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
  122. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  123. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -3
  124. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +2 -2
  125. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  126. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
  127. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
  128. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
  129. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
  130. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
  131. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  132. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
  133. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
  134. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
  135. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
  136. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  137. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
  138. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
  139. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
  140. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
  141. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
  142. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  143. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
  144. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
  145. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
  146. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
  147. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
  148. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
  149. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
  150. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
  151. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
  152. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
  153. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +27 -9
  154. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  155. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
  156. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
  157. package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
  158. package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
  159. package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
  160. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
  161. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  162. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
  163. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  164. package/dist/containers/Tenant/Query/NewSQL/NewSQL.d.ts +1 -0
  165. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
  166. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
  167. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
  168. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
  169. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
  170. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
  171. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
  172. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
  173. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
  174. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
  175. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
  176. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
  177. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  178. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
  179. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  180. package/dist/containers/Tenant/Tenant.js +7 -3
  181. package/dist/containers/Tenant/Tenant.js.map +1 -1
  182. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
  183. package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
  184. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
  185. package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
  186. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
  187. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
  188. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
  189. package/dist/containers/Tenant/utils/schemaActions.js +8 -6
  190. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  191. package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
  192. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
  193. package/dist/services/api.js +3 -3
  194. package/dist/services/api.js.map +1 -1
  195. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  196. package/dist/store/reducers/capabilities/hooks.js +6 -0
  197. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  198. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
  199. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
  200. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  201. package/dist/store/reducers/nodes/types.d.ts +1 -0
  202. package/dist/store/reducers/nodesList.d.ts +5 -5
  203. package/dist/store/reducers/nodesList.js +2 -2
  204. package/dist/store/reducers/nodesList.js.map +1 -1
  205. package/dist/store/reducers/overview/overview.js +5 -1
  206. package/dist/store/reducers/overview/overview.js.map +1 -1
  207. package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
  208. package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
  209. package/dist/store/reducers/storage/selectors.d.ts +2 -3
  210. package/dist/store/reducers/storage/selectors.js +1 -27
  211. package/dist/store/reducers/storage/selectors.js.map +1 -1
  212. package/dist/store/reducers/storage/storage.d.ts +2 -2
  213. package/dist/store/reducers/storage/storage.js.map +1 -1
  214. package/dist/store/reducers/storage/types.d.ts +19 -10
  215. package/dist/store/reducers/storage/utils.js +27 -3
  216. package/dist/store/reducers/storage/utils.js.map +1 -1
  217. package/dist/store/reducers/tablet.js +5 -3
  218. package/dist/store/reducers/tablet.js.map +1 -1
  219. package/dist/store/reducers/tablets.d.ts +3 -3
  220. package/dist/store/reducers/tablets.js +4 -4
  221. package/dist/store/reducers/tablets.js.map +1 -1
  222. package/dist/types/api/capabilities.d.ts +1 -1
  223. package/dist/types/api/nodes.d.ts +3 -2
  224. package/dist/types/api/nodes.js.map +1 -1
  225. package/dist/types/api/storage.d.ts +22 -4
  226. package/dist/types/store/nodesList.d.ts +1 -1
  227. package/dist/utils/hooks/useSelectedColumns.js +7 -2
  228. package/dist/utils/hooks/useSelectedColumns.js.map +1 -1
  229. package/dist/utils/nodes.d.ts +2 -2
  230. package/dist/utils/nodes.js +4 -4
  231. package/dist/utils/nodes.js.map +1 -1
  232. package/dist/utils/storage.js +2 -0
  233. package/dist/utils/storage.js.map +1 -1
  234. package/dist/utils/utils.js +2 -1
  235. package/dist/utils/utils.js.map +1 -1
  236. package/package.json +1 -1
  237. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -16
  238. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
  239. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
  240. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
  241. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
  242. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
  243. package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
  244. package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
  245. package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
  246. package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
  247. package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
  248. package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
  249. package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
  250. package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
  251. package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
  252. package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
  253. package/dist/containers/Storage/UsageFilter/index.js +0 -2
  254. package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
  255. package/dist/containers/Storage/i18n/ru.json +0 -6
  256. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
  257. package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
  258. package/dist/store/reducers/describe.d.ts +0 -7
  259. package/dist/store/reducers/describe.js +0 -25
  260. package/dist/store/reducers/describe.js.map +0 -1
  261. /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAkDzE,OAAO,EACH,iCAAiC,EACjC,mCAAmC,EACnC,YAAY,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,MAAM,mBAAmB,GAAG,CAAC,GAAG,YAAY,CAAC;AAC7C,MAAM,uBAAuB,GAAG,EAAE,GAAG,YAAY,CAAC;AAClD,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAQnC,MAAM,OAAO,cAAe,SAAQ,YAAY;IAG5C,YAAY,OAA6B;QACrC,KAAK,CAAC,OAAO,CAAC,CAAC;QAHnB,0BAAqB,GAAG,CAAC,CAAC;QAKtB,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,C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,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -3,4 +3,6 @@ export declare const useCreateDirectoryFeatureAvailable: () => boolean;
3
3
  export declare const useDiskPagesAvailable: () => boolean;
4
4
  export declare const useTracingLevelOptionAvailable: () => boolean;
5
5
  export declare const useStorageGroupsHandlerAvailable: () => boolean;
6
+ export declare const useStorageGroupsHandlerHasGrouping: () => boolean;
7
+ export declare const useViewerNodesHandlerHasGrouping: () => boolean;
6
8
  export declare const useFeatureFlagsAvailable: () => boolean;
@@ -21,6 +21,12 @@ export const useTracingLevelOptionAvailable = () => {
21
21
  export const useStorageGroupsHandlerAvailable = () => {
22
22
  return useGetFeatureVersion('/storage/groups') > 2;
23
23
  };
24
+ export const useStorageGroupsHandlerHasGrouping = () => {
25
+ return useGetFeatureVersion('/storage/groups') > 4;
26
+ };
27
+ export const useViewerNodesHandlerHasGrouping = () => {
28
+ return useGetFeatureVersion('/viewer/nodes') > 6;
29
+ };
24
30
  export const useFeatureFlagsAvailable = () => {
25
31
  return useGetFeatureVersion('/viewer/feature_flags') > 1;
26
32
  };
@@ -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,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import("@reduxjs/toolkit/query").Api<import(
7
7
  database: string;
8
8
  filters?: TopQueriesFilters;
9
9
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/store/query").IQueryResult | undefined, "api">;
10
+ getRunningQueries: import("@reduxjs/toolkit/query").QueryDefinition<{
11
+ database: string;
12
+ filters?: TopQueriesFilters;
13
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/query").KeyValueRow<import("../../../types/api/query").CellValue>[] | undefined, "api">;
10
14
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -49,7 +49,7 @@ export const topQueriesApi = api.injectEndpoints({
49
49
  action: 'execute-scan',
50
50
  }, { signal, withRetries: true });
51
51
  if (isQueryErrorResponse(response)) {
52
- return { error: response };
52
+ throw response;
53
53
  }
54
54
  const data = parseQueryAPIExecuteResponse(response);
55
55
  return { data };
@@ -68,6 +68,32 @@ export const topQueriesApi = api.injectEndpoints({
68
68
  }
69
69
  return false;
70
70
  },
71
+ providesTags: ['All'],
72
+ }),
73
+ getRunningQueries: build.query({
74
+ queryFn: async ({ database, filters }, { signal }) => {
75
+ var _a;
76
+ try {
77
+ const filterConditions = (filters === null || filters === void 0 ? void 0 : filters.text) ? `Query ILIKE '%${filters.text}%'` : '';
78
+ const queryText = `SELECT UserSID, QueryStartAt, Query as QueryText, ApplicationName from \`.sys/query_sessions\` WHERE ${filterConditions || 'true'} ORDER BY SessionStartAt limit 100`;
79
+ const response = await window.api.sendQuery({
80
+ query: queryText,
81
+ database,
82
+ action: 'execute-scan',
83
+ }, { signal, withRetries: true });
84
+ if (isQueryErrorResponse(response)) {
85
+ throw response;
86
+ }
87
+ return { data: (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.filter((item) => item.QueryText !== queryText) };
88
+ }
89
+ catch (error) {
90
+ return { error };
91
+ }
92
+ },
93
+ forceRefetch() {
94
+ return true;
95
+ },
96
+ providesTags: ['All'],
71
97
  }),
72
98
  }),
73
99
  overrideExisting: 'throw',
@@ -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,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAsB,EAAE,CAAC;AAE3C,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,EAAE,OAA2B,EAAE,EAAE;IAC/D,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7D,OAAO;;;;;;;;;;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,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,CAAA;oBAC1B,CAAC,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,EAAE,CAAA;oBACxB,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,CAAC;oBACzC,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,EAAE,CAAC,EACzC,CAAC;oBACC,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,KAAK,CAAC;YACjB,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
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,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAsB,EAAE,CAAC;AAE3C,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,CA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AC;wBACjC,MAAM,QAAQ,CAAC;oBACnB,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,0CAAE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,EAAC,CAAC;gBACpF,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY;gBACR,OAAO,IAAI,CAAC;YAChB,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -7,6 +7,7 @@ import type { ProblemFilterValue } from '../settings/types';
7
7
  export interface NodesPreparedEntity {
8
8
  NodeId: number;
9
9
  Host?: string;
10
+ NodeName?: string;
10
11
  SystemState?: EFlag;
11
12
  DC?: string;
12
13
  Rack?: string;
@@ -2,7 +2,7 @@ import type { RootState } from '../defaultStore';
2
2
  export declare const nodesListApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
3
3
  getNodesList: 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/nodesList").TEvNodesInfo | undefined, "api">;
4
4
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
5
- export declare const selectNodesMap: ((state: {
5
+ export declare const selectNodeHostsMap: ((state: {
6
6
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
7
7
  singleClusterMode: boolean;
8
8
  cluster: import("./cluster/types").ClusterState;
@@ -21,18 +21,18 @@ export declare const selectNodesMap: ((state: {
21
21
  queryActions: import("./queryActions/types").QueryActionsState;
22
22
  fullscreen: boolean;
23
23
  clusters: import("./clusters/types").ClustersFilters;
24
- }) => import("../../types/store/nodesList").NodesMap | undefined) & {
24
+ }) => import("../../types/store/nodesList").NodeHostsMap | undefined) & {
25
25
  clearCache: () => void;
26
26
  resultsCount: () => number;
27
27
  resetResultsCount: () => void;
28
28
  } & {
29
- resultFunc: (resultFuncArgs_0: import("../../types/api/nodesList").TEvNodesInfo | undefined) => import("../../types/store/nodesList").NodesMap | undefined;
30
- memoizedResultFunc: ((resultFuncArgs_0: import("../../types/api/nodesList").TEvNodesInfo | undefined) => import("../../types/store/nodesList").NodesMap | undefined) & {
29
+ resultFunc: (resultFuncArgs_0: import("../../types/api/nodesList").TEvNodesInfo | undefined) => import("../../types/store/nodesList").NodeHostsMap | undefined;
30
+ memoizedResultFunc: ((resultFuncArgs_0: import("../../types/api/nodesList").TEvNodesInfo | undefined) => import("../../types/store/nodesList").NodeHostsMap | undefined) & {
31
31
  clearCache: () => void;
32
32
  resultsCount: () => number;
33
33
  resetResultsCount: () => void;
34
34
  };
35
- lastResult: () => import("../../types/store/nodesList").NodesMap | undefined;
35
+ lastResult: () => import("../../types/store/nodesList").NodeHostsMap | undefined;
36
36
  dependencies: [(state: RootState) => import("../../types/api/nodesList").TEvNodesInfo | undefined];
37
37
  recomputations: () => number;
38
38
  resetRecomputations: () => void;
@@ -1,5 +1,5 @@
1
1
  import { createSelector } from '@reduxjs/toolkit';
2
- import { prepareNodesMap } from '../../utils/nodes';
2
+ import { prepareNodeHostsMap } from '../../utils/nodes';
3
3
  import { api } from './api';
4
4
  export const nodesListApi = api.injectEndpoints({
5
5
  endpoints: (build) => ({
@@ -19,5 +19,5 @@ export const nodesListApi = api.injectEndpoints({
19
19
  overrideExisting: 'throw',
20
20
  });
21
21
  const selectNodesList = nodesListApi.endpoints.getNodesList.select(undefined);
22
- export const selectNodesMap = createSelector((state) => selectNodesList(state).data, (data) => prepareNodesMap(data));
22
+ export const selectNodeHostsMap = createSelector((state) => selectNodesList(state).data, (data) => prepareNodeHostsMap(data));
23
23
  //# sourceMappingURL=nodesList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nodesList.js","sourceRoot":"","sources":["../../../src/store/reducers/nodesList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAGlD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC;YACtB,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC3B,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;oBACrD,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,YAAY,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CACxC,CAAC,KAAgB,EAAE,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}
@@ -4,13 +4,17 @@ export const overviewApi = api.injectEndpoints({
4
4
  getOverview: build.query({
5
5
  queryFn: async ({ paths, database }, { signal }) => {
6
6
  try {
7
- const [data, ...additionalData] = await Promise.all(paths.map((p) => window.api.getDescribe({ path: p, database }, { signal })));
7
+ const [data, ...additionalData] = await Promise.all(paths.map((p) => window.api.getDescribe({
8
+ path: p,
9
+ database,
10
+ }, { signal })));
8
11
  return { data: { data, additionalData } };
9
12
  }
10
13
  catch (error) {
11
14
  return { error };
12
15
  }
13
16
  },
17
+ keepUnusedDataFor: 0,
14
18
  providesTags: ['All'],
15
19
  }),
16
20
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/store/reducers/overview/overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAC,eAAe,CAAC;IAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC;YACrB,OAAO,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAsC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChF,IAAI,CAAC;oBACD,MAAM,CAAC,IAAI,EAAE,GAAG,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAC/C,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC,CAC1E,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC,CAAC;gBAC1C,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;CACL,CAAC,CAAC"}
1
+ {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/store/reducers/overview/overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAC,eAAe,CAAC;IAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC;YACrB,OAAO,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAsC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChF,IAAI,CAAC;oBACD,MAAM,CAAC,IAAI,EAAE,GAAG,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAC/C,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACZ,MAAM,CAAC,GAAG,CAAC,WAAW,CAClB;wBACI,IAAI,EAAE,CAAC;wBACP,QAAQ;qBACX,EACD,EAAC,MAAM,EAAC,CACX,CACJ,CACJ,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC,CAAC;gBAC1C,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,iBAAiB,EAAE,CAAC;YACpB,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;CACL,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { AxiosOptions } from '../../../services/api';
2
- import type { StorageRequestParams } from '../../../types/api/storage';
3
- export declare function requestStorageData({ version, shouldUseGroupsHandler, ...params }: StorageRequestParams & {
2
+ import type { GroupsRequestParams, StorageRequestParams } from '../../../types/api/storage';
3
+ export declare function requestStorageData({ version, shouldUseGroupsHandler, ...params }: StorageRequestParams & GroupsRequestParams & {
4
4
  shouldUseGroupsHandler?: boolean;
5
- }, options: AxiosOptions): Promise<import("./types").PreparedStorageResponse>;
5
+ }, options?: AxiosOptions): Promise<import("./types").PreparedStorageResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"requestStorageData.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/requestStorageData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAEtE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,EACI,OAAO,GAAG,IAAI,EACd,sBAAsB,EACtB,GAAG,MAAM,EAC+C,EAC5D,OAAqB;IAErB,IAAI,sBAAsB,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAC,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;SAAM,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,EAAC,OAAO,EAAE,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QAC9E,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"requestStorageData.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/requestStorageData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAEtE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,EACI,OAAO,GAAG,IAAI,EACd,sBAAsB,EACtB,GAAG,MAAM,EACqE,EAClF,OAAsB;IAEtB,IAAI,sBAAsB,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAC,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;SAAM,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,EAAC,OAAO,EAAE,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QAC9E,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACL,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { NodesUptimeFilterValues } from '../../../utils/nodes';
2
- import type { PreparedStorageGroup, PreparedStorageNode, UsageFilter } from './types';
2
+ import type { PreparedStorageGroup, PreparedStorageNode } from './types';
3
3
  export declare function filterNodes(storageNodes: PreparedStorageNode[], textFilter: string, uptimeFilter: NodesUptimeFilterValues): PreparedStorageNode[];
4
- export declare function filterGroups(storageGroups: PreparedStorageGroup[], textFilter: string, usageFilter: string[]): PreparedStorageGroup[];
5
- export declare function getUsageFilterOptions(groups: PreparedStorageGroup[]): UsageFilter[];
4
+ export declare function filterGroups(storageGroups: PreparedStorageGroup[], textFilter: string): PreparedStorageGroup[];
@@ -1,4 +1,3 @@
1
- import { getUsage } from '../../../utils/storage';
2
1
  import { filterNodesByUptime } from '../nodes/selectors';
3
2
  // ==== Filters ====
4
3
  const prepareSearchText = (text) => text.trim().toLowerCase();
@@ -24,40 +23,15 @@ const filterGroupsByText = (entities, text) => {
24
23
  ((_b = entity.GroupId) === null || _b === void 0 ? void 0 : _b.toString().includes(preparedSearch)));
25
24
  });
26
25
  };
27
- const filterGroupsByUsage = (entities, usage) => {
28
- if (!Array.isArray(usage) || usage.length === 0) {
29
- return entities;
30
- }
31
- return entities.filter((entity) => {
32
- const entityUsage = entity.Usage;
33
- return usage.some((val) => Number(val) <= entityUsage && entityUsage < Number(val) + 5);
34
- });
35
- };
36
26
  export function filterNodes(storageNodes, textFilter, uptimeFilter) {
37
27
  let result = storageNodes || [];
38
28
  result = filterNodesByText(result, textFilter);
39
29
  result = filterNodesByUptime(result, uptimeFilter);
40
30
  return result;
41
31
  }
42
- export function filterGroups(storageGroups, textFilter, usageFilter) {
32
+ export function filterGroups(storageGroups, textFilter) {
43
33
  let result = storageGroups || [];
44
34
  result = filterGroupsByText(result, textFilter);
45
- result = filterGroupsByUsage(result, usageFilter);
46
35
  return result;
47
36
  }
48
- // ==== Complex selectors ====
49
- export function getUsageFilterOptions(groups) {
50
- const items = {};
51
- groups === null || groups === void 0 ? void 0 : groups.forEach((group) => {
52
- // Get groups usage with step 5
53
- const usage = getUsage(group, 5);
54
- if (!Object.prototype.hasOwnProperty.call(items, usage)) {
55
- items[usage] = 0;
56
- }
57
- items[usage] += 1;
58
- });
59
- return Object.entries(items)
60
- .map(([threshold, count]) => ({ threshold: Number(threshold), count }))
61
- .sort((a, b) => b.threshold - a.threshold);
62
- }
63
37
  //# sourceMappingURL=selectors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAIvD,oBAAoB;AAEpB,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;AAEtE,MAAM,iBAAiB,GAAG,CAAC,QAA+B,EAAE,IAAY,EAAE,EAAE;IACxE,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE/C,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,QAAQ,CAAC;IACpB,CAAC;IAED,OAAO,QAAQ,CAAC,MAAM,CAAC,CA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AC,cAAc,CAAC;aACvD,MAAA,MAAM,CAAC,OAAO,0CAAE,QAAQ,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAA,CACtD,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,UAAU,WAAW,CACvB,YAAmC,EACnC,UAAkB,EAClB,YAAqC;IAErC,IAAI,MAAM,GAAG,YAAY,IAAI,EAAE,CAAC;IAChC,MAAM,GAAG,iBAAiB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC/C,MAAM,GAAG,mBAAmB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,aAAqC,EAAE,UAAkB;IAClF,IAAI,MAAM,GAAG,aAAa,IAAI,EAAE,CAAC;IACjC,MAAM,GAAG,kBAAkB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAEhD,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { NodesRequestParams } from '../../../types/api/nodes';
2
- import type { StorageRequestParams } from '../../../types/api/storage';
2
+ import type { GroupsRequestParams, StorageRequestParams } from '../../../types/api/storage';
3
3
  export declare const storageApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
4
4
  getStorageNodesInfo: import("@reduxjs/toolkit/query").QueryDefinition<Omit<NodesRequestParams, "type">, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedStorageResponse | undefined, "api">;
5
- getStorageGroupsInfo: import("@reduxjs/toolkit/query").QueryDefinition<StorageRequestParams & {
5
+ getStorageGroupsInfo: import("@reduxjs/toolkit/query").QueryDefinition<StorageRequestParams & GroupsRequestParams & {
6
6
  shouldUseGroupsHandler?: boolean;
7
7
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedStorageResponse | undefined, "api">;
8
8
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1 +1 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/storage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,2BAA2B,EAAC,MAAM,SAAS,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,mBAAmB,EAAE,OAAO,CAAC,KAAK,CAAC;YAC/B,OAAO,EAAE,KAAK,EAAE,MAAwC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAClE,IAAI,CAAC;oBACD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CACpC,EAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAC,EAC1C,EAAC,MAAM,EAAC,CACX,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,2BAA2B,CAAC,MAAM,CAAC,EAAC,CAAC;gBACvD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;SACvC,CAAC;QACF,oBAAoB,EAAE,OA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AK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;SACvC,CAAC;QACF,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAAC;YAChC,OAAO,EAAE,KAAK,EACV,MAC4D,EAC5D,EAAC,MAAM,EAAC,EACV,EAAE;gBACA,IAAI,CAAC;oBACD,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC1D,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;gBAC1B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;SACvC,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { OrderType } from '@gravity-ui/react-data-table';
2
2
  import { z } from 'zod';
3
3
  import type { EFlag } from '../../../types/api/enums';
4
- import type { TSystemStateInfo } from '../../../types/api/nodes';
5
- import type { StorageV2SortValue } from '../../../types/api/storage';
4
+ import type { NodesGroupByField, TSystemStateInfo } from '../../../types/api/nodes';
5
+ import type { GroupsGroupByField, StorageV2SortValue } from '../../../types/api/storage';
6
6
  import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
7
7
  import type { NodesUptimeFilterValues } from '../../../utils/nodes';
8
8
  export declare const visibleEntitiesSchema: z.ZodCatch<z.ZodNativeEnum<{
@@ -21,6 +21,10 @@ export interface PreparedStorageNodeFilters {
21
21
  nodesUptimeFilter: NodesUptimeFilterValues;
22
22
  visibleEntities: VisibleEntities;
23
23
  database?: string;
24
+ nodeId?: string | number;
25
+ groupId?: string | number;
26
+ filterGroup?: string;
27
+ filterGroupBy?: NodesGroupByField;
24
28
  }
25
29
  export interface PreparedStorageNode extends TSystemStateInfo {
26
30
  NodeId: number;
@@ -35,7 +39,11 @@ export interface PreparedStorageGroupFilters {
35
39
  searchValue: string;
36
40
  visibleEntities: VisibleEntities;
37
41
  database?: string;
38
- nodeId?: string;
42
+ nodeId?: string | number;
43
+ groupId?: string | number;
44
+ pDiskId?: string | number;
45
+ filterGroup?: string;
46
+ filterGroupBy?: GroupsGroupByField;
39
47
  }
40
48
  export interface PreparedStorageGroup {
41
49
  PoolName?: string;
@@ -67,21 +75,22 @@ export interface PreparedStorageGroup {
67
75
  State?: string;
68
76
  MissingDisks?: string | number;
69
77
  Available?: string;
70
- LatencyPutTabletLog?: number;
71
- LatencyPutUserData?: number;
72
- LatencyGetFast?: number;
73
- }
74
- export interface UsageFilter {
75
- threshold: number;
76
- count: number;
78
+ LatencyPutTabletLogMs?: number;
79
+ LatencyPutUserDataMs?: number;
80
+ LatencyGetFastMs?: number;
77
81
  }
78
82
  export interface StorageSortParams {
79
83
  sortOrder: OrderType | undefined;
80
84
  sortValue: StorageV2SortValue | undefined;
81
85
  }
86
+ export type TableGroup = {
87
+ name: string;
88
+ count: number;
89
+ };
82
90
  export interface PreparedStorageResponse {
83
91
  nodes?: PreparedStorageNode[];
84
92
  groups?: PreparedStorageGroup[];
85
93
  found: number | undefined;
86
94
  total: number | undefined;
95
+ tableGroups?: TableGroup[];
87
96
  }
@@ -4,6 +4,7 @@ import { getColorSeverity, getSeverityColor } from '../../../utils/disks/helpers
4
4
  import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepareDisks';
5
5
  import { prepareNodeSystemState } from '../../../utils/nodes';
6
6
  import { getUsage } from '../../../utils/storage';
7
+ import { parseUsToMs } from '../../../utils/timeParsers';
7
8
  // ==== Prepare groups ====
8
9
  function getGroupDiskSpaceStatus(group) {
9
10
  const { DiskSpace, VDisks = [] } = group;
@@ -133,12 +134,22 @@ const prepareStorageNodeData = (node) => {
133
134
  };
134
135
  // ==== Prepare responses ====
135
136
  export const prepareStorageNodesResponse = (data) => {
136
- const { Nodes, TotalNodes, FoundNodes } = data;
137
+ const { Nodes, TotalNodes, FoundNodes, NodeGroups } = data;
138
+ const tableGroups = NodeGroups === null || NodeGroups === void 0 ? void 0 : NodeGroups.map(({ GroupName, NodeCount }) => {
139
+ if (GroupName && NodeCount) {
140
+ return {
141
+ name: GroupName,
142
+ count: Number(NodeCount),
143
+ };
144
+ }
145
+ return undefined;
146
+ }).filter((group) => Boolean(group));
137
147
  const preparedNodes = Nodes === null || Nodes === void 0 ? void 0 : Nodes.map(prepareStorageNodeData);
138
148
  return {
139
149
  nodes: preparedNodes,
140
150
  total: Number(TotalNodes) || (preparedNodes === null || preparedNodes === void 0 ? void 0 : preparedNodes.length),
141
151
  found: Number(FoundNodes),
152
+ tableGroups,
142
153
  };
143
154
  };
144
155
  export const prepareStorageResponse = (data) => {
@@ -151,9 +162,9 @@ export const prepareStorageResponse = (data) => {
151
162
  };
152
163
  };
153
164
  export function prepareGroupsResponse(data) {
154
- const { FoundGroups, TotalGroups, StorageGroups = [] } = data;
165
+ const { FoundGroups, TotalGroups, StorageGroups = [], StorageGroupGroups } = data;
155
166
  const preparedGroups = StorageGroups.map((group) => {
156
- const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall } = group;
167
+ const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall, LatencyPutTabletLog, LatencyPutUserData, LatencyGetFast, } = group;
157
168
  const vDisks = VDisks.map((disk) => {
158
169
  var _a;
159
170
  const whiteboardVDisk = disk.Whiteboard;
@@ -176,16 +187,29 @@ export function prepareGroupsResponse(data) {
176
187
  Write: Number(Write),
177
188
  Used: Number(Used),
178
189
  Limit: Number(Limit),
190
+ LatencyPutTabletLogMs: parseUsToMs(LatencyPutTabletLog),
191
+ LatencyPutUserDataMs: parseUsToMs(LatencyPutUserData),
192
+ LatencyGetFastMs: parseUsToMs(LatencyGetFast),
179
193
  Degraded: Number(MissingDisks),
180
194
  Overall,
181
195
  VDisks: vDisks,
182
196
  DiskSpace: diskSpaceStatus,
183
197
  };
184
198
  });
199
+ const tableGroups = StorageGroupGroups === null || StorageGroupGroups === void 0 ? void 0 : StorageGroupGroups.map(({ GroupName, GroupCount }) => {
200
+ if (GroupName && GroupCount) {
201
+ return {
202
+ name: GroupName,
203
+ count: Number(GroupCount),
204
+ };
205
+ }
206
+ return undefined;
207
+ }).filter((group) => Boolean(group));
185
208
  return {
186
209
  groups: preparedGroups,
187
210
  total: Number(TotalGroups) || preparedGroups.length,
188
211
  found: Number(FoundGroups),
212
+ tableGroups,
189
213
  };
190
214
  }
191
215
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AASrD,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAIhD,2BAA2B;AAE3B,SAAS,uBAAuB,CAAC,KAAkD;IAC/E,MAAM,EAAC,SAAS,EAAE,MAAM,GAAG,EAAE,EAAC,GAAG,KAAK,CAAC;IAEvC,OAAO,CACH,SAAS;QACT,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CACxF,CAAC;AACN,CAAC;AAED,MAAM,YAAY,GAAG,CAAC,KAAsB,EAAE,QAA4B,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B,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;YAEpB,qBAAqB,EAAE,WAAW,CAAC,mBAAmB,CAAC;YACvD,oBAAoB,EAAE,WAAW,CAAC,kBAAkB,CAAC;YACrD,gBAAgB,EAAE,WAAW,CAAC,cAAc,CAAC;YAE7C,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC;YAC9B,OAAO;YAEP,MAAM,EAAE,MAAM;YAEd,SAAS,EAAE,eAAe;SAC7B,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,GAAG,CAAC,CAAC,EAAC,SAAS,EAAE,UAAU,EAAC,EAAE,EAAE;QACpE,IAAI,SAAS,IAAI,UAAU,EAAE,CAAC;YAC1B,OAAO;gBACH,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC;aAC5B,CAAC;QACN,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC,EAAE,MAAM,CAAC,CAAC,KAAK,EAAuB,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAE1D,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,cAAc,CAAC,MAAM;QACnD,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;QAC1B,WAAW;KACd,CAAC;AACN,CAAC"}
@@ -1,4 +1,4 @@
1
- import { prepareNodesMap } from '../../utils/nodes';
1
+ import { prepareNodeHostsMap } from '../../utils/nodes';
2
2
  import { api } from './api';
3
3
  export const tabletApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
@@ -10,14 +10,16 @@ export const tabletApi = api.injectEndpoints({
10
10
  window.api.getTabletHistory({ id, database, nodeId }, { signal }),
11
11
  window.api.getNodesList({ signal }),
12
12
  ]);
13
- const nodesMap = prepareNodesMap(nodesList);
13
+ const nodeHostsMap = prepareNodeHostsMap(nodesList);
14
14
  const historyData = Object.keys(historyResponseData).reduce((list, nodeId) => {
15
15
  var _a;
16
16
  const tabletInfo = (_a = historyResponseData[nodeId]) === null || _a === void 0 ? void 0 : _a.TabletStateInfo;
17
17
  if (tabletInfo && tabletInfo.length) {
18
18
  const leaderTablet = tabletInfo.find((t) => t.Leader) || tabletInfo[0];
19
19
  const { ChangeTime, Generation, State, Leader, FollowerId } = leaderTablet;
20
- const fqdn = nodesMap && nodeId ? nodesMap.get(Number(nodeId)) : undefined;
20
+ const fqdn = nodeHostsMap && nodeId
21
+ ? nodeHostsMap.get(Number(nodeId))
22
+ : undefined;
21
23
  if (State !== 'Dead') {
22
24
  list.push({
23
25
  nodeId,