ydb-embedded-ui 7.1.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. package/dist/components/Graph/Graph.d.ts +1 -2
  2. package/dist/components/Graph/Graph.js +1 -1
  3. package/dist/components/Graph/Graph.js.map +1 -1
  4. package/dist/components/JSONTree/JSONTree.d.ts +9 -0
  5. package/dist/components/JSONTree/JSONTree.js +23 -0
  6. package/dist/components/JSONTree/JSONTree.js.map +1 -0
  7. package/dist/components/JSONTree/JSONTree.scss +20 -0
  8. package/dist/components/JSONTree/i18n/en.json +4 -0
  9. package/dist/components/JSONTree/i18n/index.d.ts +2 -0
  10. package/dist/components/JSONTree/i18n/index.js +5 -0
  11. package/dist/components/JSONTree/i18n/index.js.map +1 -0
  12. package/dist/components/MemoryViewer/MemoryViewer.scss +1 -1
  13. package/dist/components/Table/Table.d.ts +13 -0
  14. package/dist/components/Table/Table.js +21 -0
  15. package/dist/components/Table/Table.js.map +1 -0
  16. package/dist/components/Table/Table.scss +60 -0
  17. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +2 -2
  18. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js.map +1 -1
  19. package/dist/components/nodesColumns/columns.js +1 -1
  20. package/dist/components/nodesColumns/constants.js +1 -1
  21. package/dist/components/nodesColumns/constants.js.map +1 -1
  22. package/dist/containers/Cluster/Cluster.js +2 -2
  23. package/dist/containers/Cluster/Cluster.js.map +1 -1
  24. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +24 -8
  25. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  26. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -26
  27. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -4
  28. package/dist/containers/Cluster/ClusterInfo/utils.js +2 -19
  29. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  30. package/dist/containers/Cluster/i18n/en.json +3 -1
  31. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  32. package/dist/containers/Clusters/columns.js +5 -2
  33. package/dist/containers/Clusters/columns.js.map +1 -1
  34. package/dist/containers/Node/Node.d.ts +0 -1
  35. package/dist/containers/Node/Node.js +5 -3
  36. package/dist/containers/Node/Node.js.map +1 -1
  37. package/dist/containers/Operations/Operations.js +2 -1
  38. package/dist/containers/Operations/Operations.js.map +1 -1
  39. package/dist/containers/PDiskPage/PDiskPage.js +5 -2
  40. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  41. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +0 -30
  42. package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
  43. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +0 -2
  44. package/dist/containers/Storage/StorageGroups/columns/hooks.js +2 -5
  45. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  46. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -2
  47. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -0
  48. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +5 -2
  49. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  50. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
  51. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +0 -5
  52. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +1 -1
  53. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js.map +1 -1
  54. package/dist/containers/Storage/utils/index.d.ts +3 -6
  55. package/dist/containers/Storage/utils/index.js +7 -34
  56. package/dist/containers/Storage/utils/index.js.map +1 -1
  57. package/dist/containers/StorageGroupPage/StorageGroupPage.js +4 -2
  58. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  59. package/dist/containers/Tablet/Tablet.d.ts +0 -1
  60. package/dist/containers/Tablet/Tablet.js +1 -1
  61. package/dist/containers/Tablet/Tablet.js.map +1 -1
  62. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +5 -2
  63. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -1
  64. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
  65. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +3 -14
  66. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -1
  67. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +0 -51
  68. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +6 -8
  69. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -1
  70. package/dist/containers/Tablet/components/TabletTable/TabletTable.js +2 -2
  71. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -1
  72. package/dist/containers/Tablets/TabletsTable.js +2 -2
  73. package/dist/containers/Tablets/TabletsTable.js.map +1 -1
  74. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +1 -1
  75. package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +0 -1
  76. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +2 -5
  77. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  78. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +1 -9
  79. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  80. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  81. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -163
  82. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +10 -10
  83. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  84. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +2 -2
  85. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js.map +1 -1
  86. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +0 -2
  87. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +0 -5
  88. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +1 -1
  89. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  90. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +5 -2
  91. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  92. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  93. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  94. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +11 -4
  95. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  96. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +11 -10
  97. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  98. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.d.ts +105 -0
  99. package/dist/containers/Tenant/Diagnostics/TopQueries/{getTopQueriesColumns.js → columns/columns.js} +53 -44
  100. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.js.map +1 -0
  101. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.d.ts +21 -0
  102. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js +71 -0
  103. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js.map +1 -0
  104. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/en.json +12 -0
  105. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.d.ts +2 -0
  106. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js +5 -0
  107. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js.map +1 -0
  108. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +1 -5
  109. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
  110. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +12 -0
  111. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js +28 -0
  112. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js.map +1 -0
  113. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +9 -34
  114. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  115. package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.d.ts → columns/columns.d.ts} +1 -2
  116. package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.js → columns/columns.js} +16 -36
  117. package/dist/containers/Tenant/Diagnostics/TopShards/columns/columns.js.map +1 -0
  118. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.d.ts +17 -0
  119. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js +55 -0
  120. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js.map +1 -0
  121. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/en.json +10 -0
  122. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.d.ts +2 -0
  123. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js +5 -0
  124. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js.map +1 -0
  125. package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +5 -0
  126. package/dist/containers/Tenant/Diagnostics/TopShards/utils.js +17 -0
  127. package/dist/containers/Tenant/Diagnostics/TopShards/utils.js.map +1 -0
  128. package/dist/containers/Tenant/Query/Issues/models.d.ts +2 -2
  129. package/dist/containers/Tenant/Query/Issues/models.js +2 -2
  130. package/dist/containers/Tenant/Query/Issues/models.js.map +1 -1
  131. package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +0 -1
  132. package/dist/containers/Tenant/Query/QueryEditor/helpers.js +1 -1
  133. package/dist/containers/Tenant/Query/QueryEditor/helpers.js.map +1 -1
  134. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js +49 -8
  135. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js.map +1 -1
  136. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.d.ts +0 -1
  137. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js +2 -5
  138. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js.map +1 -1
  139. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +0 -3
  140. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js +1 -1
  141. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js.map +1 -1
  142. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js +16 -25
  143. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  144. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +3 -53
  145. package/dist/containers/Tenant/Query/QueryResult/i18n/en.json +2 -1
  146. package/dist/containers/Tenant/Query/QueryResult/i18n/index.d.ts +1 -1
  147. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +0 -104
  148. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +4 -4
  149. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  150. package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +0 -12
  151. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  152. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  153. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +1 -2
  154. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +1 -1
  155. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  156. package/dist/containers/Tenant/utils/schema.d.ts +0 -1
  157. package/dist/containers/Tenant/utils/schema.js +0 -18
  158. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  159. package/dist/containers/UserSettings/i18n/en.json +1 -3
  160. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  161. package/dist/containers/UserSettings/settings.d.ts +0 -1
  162. package/dist/containers/UserSettings/settings.js +2 -7
  163. package/dist/containers/UserSettings/settings.js.map +1 -1
  164. package/dist/containers/VDiskPage/VDiskPage.js +7 -2
  165. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  166. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +0 -1
  167. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +1 -1
  168. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  169. package/dist/lib.d.ts +2 -2
  170. package/dist/lib.js +1 -1
  171. package/dist/lib.js.map +1 -1
  172. package/dist/routes.d.ts +2 -2
  173. package/dist/services/settings.d.ts +1 -1
  174. package/dist/services/settings.js +2 -2
  175. package/dist/services/settings.js.map +1 -1
  176. package/dist/store/reducers/cluster/cluster.d.ts +2 -164
  177. package/dist/store/reducers/cluster/cluster.js +1 -1
  178. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  179. package/dist/store/reducers/cluster/types.d.ts +2 -6
  180. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +8 -8
  181. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +10 -7
  182. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  183. package/dist/store/reducers/executeTopQueries/types.d.ts +0 -3
  184. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +0 -195
  185. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
  186. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
  187. package/dist/store/reducers/nodes/types.d.ts +1 -6
  188. package/dist/store/reducers/query/types.d.ts +2 -1
  189. package/dist/store/reducers/schema/schema.d.ts +0 -6
  190. package/dist/store/reducers/schema/schema.js +1 -1
  191. package/dist/store/reducers/schema/schema.js.map +1 -1
  192. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +1 -4
  193. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +3 -5
  194. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  195. package/dist/store/reducers/shardsWorkload/types.d.ts +0 -3
  196. package/dist/store/reducers/storage/types.d.ts +1 -6
  197. package/dist/store/reducers/storage/types.js.map +1 -1
  198. package/dist/store/reducers/storage/utils.d.ts +2 -5
  199. package/dist/store/reducers/storage/utils.js +3 -3
  200. package/dist/store/reducers/storage/utils.js.map +1 -1
  201. package/dist/store/reducers/tableSchemaData.d.ts +2 -1
  202. package/dist/store/reducers/tablets.d.ts +0 -131
  203. package/dist/store/reducers/tablets.js +1 -1
  204. package/dist/store/reducers/tablets.js.map +1 -1
  205. package/dist/store/reducers/tenants/utils.d.ts +0 -11
  206. package/dist/store/reducers/tenants/utils.js +1 -14
  207. package/dist/store/reducers/tenants/utils.js.map +1 -1
  208. package/dist/store/reducers/tooltip.d.ts +1 -1
  209. package/dist/store/reducers/tooltip.js +1 -1
  210. package/dist/store/reducers/vdisk/types.d.ts +0 -2
  211. package/dist/types/additionalProps.d.ts +2 -2
  212. package/dist/types/api/error.d.ts +1 -1
  213. package/dist/types/api/meta.d.ts +1 -0
  214. package/dist/types/components.d.ts +5 -0
  215. package/dist/types/components.js +2 -0
  216. package/dist/types/components.js.map +1 -0
  217. package/dist/types/index.d.ts +0 -1
  218. package/dist/types/index.js.map +1 -1
  219. package/dist/types/store/tablet.d.ts +1 -8
  220. package/dist/types/store/tablets.d.ts +0 -8
  221. package/dist/types/store/tooltip.d.ts +2 -4
  222. package/dist/utils/constants.d.ts +1 -38
  223. package/dist/utils/constants.js +2 -28
  224. package/dist/utils/constants.js.map +1 -1
  225. package/dist/utils/dataFormatters/__test__/formatUptime.test.d.ts +1 -0
  226. package/dist/utils/dataFormatters/__test__/formatUptime.test.js +56 -0
  227. package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -0
  228. package/dist/utils/dataFormatters/dataFormatters.d.ts +8 -4
  229. package/dist/utils/dataFormatters/dataFormatters.js +51 -21
  230. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  231. package/dist/utils/dataFormatters/i18n/en.json +3 -1
  232. package/dist/utils/dataFormatters/i18n/index.d.ts +1 -1
  233. package/dist/utils/dataFormatters/i18n/index.js +1 -2
  234. package/dist/utils/dataFormatters/i18n/index.js.map +1 -1
  235. package/dist/utils/developerUI/developerUI.d.ts +1 -0
  236. package/dist/utils/developerUI/developerUI.js +3 -0
  237. package/dist/utils/developerUI/developerUI.js.map +1 -1
  238. package/dist/utils/errors/i18n/en.json +3 -0
  239. package/dist/utils/errors/i18n/index.d.ts +2 -0
  240. package/dist/utils/errors/i18n/index.js +5 -0
  241. package/dist/utils/errors/i18n/index.js.map +1 -0
  242. package/dist/utils/errors/index.d.ts +6 -0
  243. package/dist/utils/errors/index.js +33 -0
  244. package/dist/utils/errors/index.js.map +1 -0
  245. package/dist/utils/hooks/__test__/useTableSort.test.d.ts +1 -0
  246. package/dist/utils/hooks/__test__/useTableSort.test.js +188 -0
  247. package/dist/utils/hooks/__test__/useTableSort.test.js.map +1 -0
  248. package/dist/utils/hooks/useTableSort.d.ts +10 -5
  249. package/dist/utils/hooks/useTableSort.js +61 -16
  250. package/dist/utils/hooks/useTableSort.js.map +1 -1
  251. package/dist/utils/monitoring.d.ts +3 -2
  252. package/dist/utils/nodes.d.ts +1 -1
  253. package/dist/utils/nodes.js +10 -4
  254. package/dist/utils/nodes.js.map +1 -1
  255. package/dist/utils/tablet.d.ts +0 -2
  256. package/dist/utils/tablet.js +0 -10
  257. package/dist/utils/tablet.js.map +1 -1
  258. package/dist/utils/tooltip.d.ts +0 -4
  259. package/dist/utils/tooltip.js +1 -23
  260. package/dist/utils/tooltip.js.map +1 -1
  261. package/dist/utils/utils.d.ts +0 -1
  262. package/dist/utils/utils.js +0 -10
  263. package/dist/utils/utils.js.map +1 -1
  264. package/package.json +4 -4
  265. package/dist/components/GroupInfo/GroupInfo.d.ts +0 -7
  266. package/dist/components/GroupInfo/GroupInfo.js +0 -27
  267. package/dist/components/GroupInfo/GroupInfo.js.map +0 -1
  268. package/dist/components/GroupInfo/i18n/en.json +0 -6
  269. package/dist/components/GroupInfo/i18n/index.d.ts +0 -1
  270. package/dist/components/GroupInfo/i18n/index.js +0 -5
  271. package/dist/components/GroupInfo/i18n/index.js.map +0 -1
  272. package/dist/components/QuerySettingsDescription/index.d.ts +0 -1
  273. package/dist/components/QuerySettingsDescription/index.js +0 -2
  274. package/dist/components/QuerySettingsDescription/index.js.map +0 -1
  275. package/dist/components/Tablet/Tablet.d.ts +0 -8
  276. package/dist/components/Tablet/Tablet.js +0 -18
  277. package/dist/components/Tablet/Tablet.js.map +0 -1
  278. package/dist/components/Tablet/Tablet.scss +0 -40
  279. package/dist/components/Tablet/index.d.ts +0 -1
  280. package/dist/components/Tablet/index.js +0 -2
  281. package/dist/components/Tablet/index.js.map +0 -1
  282. package/dist/components/TabletsOverall/TabletsOverall.d.ts +0 -8
  283. package/dist/components/TabletsOverall/TabletsOverall.js +0 -69
  284. package/dist/components/TabletsOverall/TabletsOverall.js.map +0 -1
  285. package/dist/components/TabletsOverall/TabletsOverall.scss +0 -18
  286. package/dist/containers/ClusterModeGuard/index.d.ts +0 -1
  287. package/dist/containers/ClusterModeGuard/index.js +0 -2
  288. package/dist/containers/ClusterModeGuard/index.js.map +0 -1
  289. package/dist/containers/Nodes/columns/hooks.d.ts +0 -6
  290. package/dist/containers/Nodes/columns/hooks.js +0 -12
  291. package/dist/containers/Nodes/columns/hooks.js.map +0 -1
  292. package/dist/containers/Nodes/index.d.ts +0 -1
  293. package/dist/containers/Nodes/index.js +0 -2
  294. package/dist/containers/Nodes/index.js.map +0 -1
  295. package/dist/containers/PDiskPage/shared.d.ts +0 -1
  296. package/dist/containers/PDiskPage/shared.js +0 -3
  297. package/dist/containers/PDiskPage/shared.js.map +0 -1
  298. package/dist/containers/Storage/Storage.d.ts +0 -11
  299. package/dist/containers/Storage/Storage.js +0 -91
  300. package/dist/containers/Storage/Storage.js.map +0 -1
  301. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +0 -14
  302. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js +0 -14
  303. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +0 -1
  304. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +0 -16
  305. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js +0 -22
  306. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +0 -1
  307. package/dist/containers/Storage/StorageNodes/shared.d.ts +0 -3
  308. package/dist/containers/Storage/StorageNodes/shared.js +0 -5
  309. package/dist/containers/Storage/StorageNodes/shared.js.map +0 -1
  310. package/dist/containers/Storage/StorageWrapper.d.ts +0 -10
  311. package/dist/containers/Storage/StorageWrapper.js +0 -20
  312. package/dist/containers/Storage/StorageWrapper.js.map +0 -1
  313. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +0 -8
  314. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +0 -1
  315. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +0 -1
  316. package/dist/store/reducers/nodes/selectors.d.ts +0 -11
  317. package/dist/store/reducers/nodes/selectors.js +0 -39
  318. package/dist/store/reducers/nodes/selectors.js.map +0 -1
  319. package/dist/store/reducers/schema/types.d.ts +0 -10
  320. package/dist/store/reducers/schema/types.js +0 -2
  321. package/dist/store/reducers/schema/types.js.map +0 -1
  322. package/dist/store/reducers/storage/selectors.d.ts +0 -4
  323. package/dist/store/reducers/storage/selectors.js +0 -37
  324. package/dist/store/reducers/storage/selectors.js.map +0 -1
  325. package/dist/utils/dataFormatters/i18n/ru.json +0 -3
  326. package/dist/utils/diagnostics.d.ts +0 -23
  327. package/dist/utils/diagnostics.js +0 -37
  328. package/dist/utils/diagnostics.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/cluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAC,qBAAqB,EAAE,uBAAuB,EAAC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAGhD,OAAO,EACH,8BAA8B,EAC9B,4BAA4B,EAC5B,eAAe,EACf,6BAA6B,GAChC,MAAM,SAAS,CAAC;AAEjB,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAE1E,IAAI,iBAA6B,CAAC;AAClC,IAAI,YAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACpC,iBAAiB,GAA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OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvF,OAAO,EAAC,GAAG,MAAM,EAAE,IAAI,EAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC,CACJ,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { ClusterTab } from '../../../containers/Cluster/utils';
2
- import type { TClusterInfo } from '../../../types/api/cluster';
3
2
  export interface DiskErasureGroupsStats {
4
3
  diskType: string;
5
4
  erasure: string;
@@ -9,13 +8,10 @@ export interface DiskErasureGroupsStats {
9
8
  availableSize: number;
10
9
  }
11
10
  /** Keys - erasure types */
12
- export type DiskGroupsStats = Record<string, DiskErasureGroupsStats>;
11
+ type DiskGroupsStats = Record<string, DiskErasureGroupsStats>;
13
12
  /** Keys - PDisks types */
14
13
  export type ClusterGroupsStats = Record<string, DiskGroupsStats>;
15
14
  export interface ClusterState {
16
15
  defaultClusterTab: ClusterTab;
17
16
  }
18
- export interface HandledClusterResponse {
19
- clusterData: TClusterInfo;
20
- groupsStats: ClusterGroupsStats;
21
- }
17
+ export {};
@@ -1,14 +1,14 @@
1
+ import type { SortOrder } from '@gravity-ui/react-data-table';
1
2
  import type { TopQueriesFilters } from './types';
2
3
  export declare const setTopQueriesFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<TopQueriesFilters, "executeTopQueries/setTopQueriesFilters">;
3
4
  declare const _default: import("redux").Reducer<TopQueriesFilters>;
4
5
  export default _default;
6
+ interface TopQueriesRequestParams {
7
+ database: string;
8
+ filters?: TopQueriesFilters;
9
+ sortOrder?: SortOrder[];
10
+ }
5
11
  export declare const topQueriesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
6
- getTopQueries: import("@reduxjs/toolkit/query").QueryDefinition<{
7
- database: string;
8
- filters?: TopQueriesFilters;
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/store/query").IQueryResult | undefined, "api">;
12
+ getTopQueries: import("@reduxjs/toolkit/query").QueryDefinition<TopQueriesRequestParams, 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">;
13
+ getRunningQueries: import("@reduxjs/toolkit/query").QueryDefinition<TopQueriesRequestParams, 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">;
14
14
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1,5 +1,6 @@
1
1
  import { isLikeRelative } from '@gravity-ui/date-utils';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
+ import { prepareOrderByFromTableSort } from '../../../utils/hooks/useTableSort';
3
4
  import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
4
5
  import { api } from '../api';
5
6
  import { getFiltersConditions } from './utils';
@@ -16,8 +17,9 @@ const slice = createSlice({
16
17
  });
17
18
  export const { setTopQueriesFilters } = slice.actions;
18
19
  export default slice.reducer;
19
- const getQueryText = (path, filters) => {
20
+ const getQueryText = (path, filters, sortOrder) => {
20
21
  const filterConditions = getFiltersConditions(path, filters);
22
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
21
23
  return `
22
24
  SELECT ${QUERY_TECHNICAL_MARK}
23
25
  CPUTime as CPUTimeUs,
@@ -30,13 +32,14 @@ SELECT ${QUERY_TECHNICAL_MARK}
30
32
  Duration
31
33
  FROM \`${path}/.sys/top_queries_by_cpu_time_one_hour\`
32
34
  WHERE ${filterConditions || 'true'} AND QueryText NOT LIKE '%${QUERY_TECHNICAL_MARK}%'
33
- ORDER BY CPUTimeUs DESC
35
+ ${orderBy}
36
+ LIMIT 100
34
37
  `;
35
38
  };
36
39
  export const topQueriesApi = api.injectEndpoints({
37
40
  endpoints: (build) => ({
38
41
  getTopQueries: build.query({
39
- queryFn: async ({ database, filters }, { signal }) => {
42
+ queryFn: async ({ database, filters, sortOrder }, { signal }) => {
40
43
  const preparedFilters = {
41
44
  ...filters,
42
45
  from: (filters === null || filters === void 0 ? void 0 : filters.from) || 'now-1h',
@@ -44,7 +47,7 @@ export const topQueriesApi = api.injectEndpoints({
44
47
  };
45
48
  try {
46
49
  const response = await window.api.viewer.sendQuery({
47
- query: getQueryText(database, preparedFilters),
50
+ query: getQueryText(database, preparedFilters, sortOrder),
48
51
  database,
49
52
  action: 'execute-scan',
50
53
  }, { signal, withRetries: true });
@@ -71,19 +74,19 @@ export const topQueriesApi = api.injectEndpoints({
71
74
  providesTags: ['All'],
72
75
  }),
73
76
  getRunningQueries: build.query({
74
- queryFn: async ({ database, filters }, { signal }) => {
77
+ queryFn: async ({ database, filters, sortOrder }, { signal }) => {
75
78
  try {
76
79
  const filterConditions = (filters === null || filters === void 0 ? void 0 : filters.text)
77
80
  ? `Query ILIKE '%${filters.text}%' OR UserSID ILIKE '%${filters.text}%'`
78
81
  : '';
82
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
79
83
  const queryText = `SELECT ${QUERY_TECHNICAL_MARK}
80
84
  UserSID, QueryStartAt, Query as QueryText, ApplicationName
81
85
  FROM
82
86
  \`.sys/query_sessions\`
83
87
  WHERE
84
88
  ${filterConditions || 'true'} AND Query NOT LIKE '%${QUERY_TECHNICAL_MARK}%'
85
- ORDER BY
86
- SessionStartAt
89
+ ${orderBy}
87
90
  LIMIT 100`;
88
91
  const response = await window.api.viewer.sendQuery({
89
92
  query: queryText,
@@ -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,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAsB,EAAE,CAAC;AAE3C,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAEpD,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,mBAAmB;IACzB,YAAY;IACZ,QAAQ,EAAE;QACN,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAwC,EAAE,EAAE;YACtE,OAAO,EAAC,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC,OAAO,EAAC,CAAC;QACzC,CAAC;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MA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EAAE,SAAS;wBAChB,QAAQ;wBACR,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,MAAM,QAAQ,CAAC;oBACnB,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAE7C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;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"}
1
+ {"version":3,"file":"executeTopQueries.js","sourceRoot":"","sources":["../../../../src/store/reducers/executeTopQueries/executeTopQueries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,2BAA2B,EAAC,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAsB,EAAE,CAAC;AAE3C,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAEpD,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,mBAAmB;IACzB,YAAY;IACZ,QAAQ,EAAE;QACN,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAwC,EAAE,EAAE;YACtE,OAAO,EA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IAAI;wBACxE,CAAC,CAAC,EAAE,CAAC;oBAET,MAAM,OAAO,GAAG,2BAA2B,CAAC,SAAS,CAAC,CAAC;oBAEvD,MAAM,SAAS,GAAG,UAAU,oBAAoB;;;;;0BAK1C,gBAAgB,IAAI,MAAM,yBAAyB,oBAAoB;sBAC3E,OAAO;8BACC,CAAC;oBAEX,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAC9C;wBACI,KAAK,EAAE,SAAS;wBAChB,QAAQ;wBACR,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,MAAM,QAAQ,CAAC;oBACnB,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAE7C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;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"}
@@ -5,6 +5,3 @@ export interface TopQueriesFilters {
5
5
  to?: string;
6
6
  text?: string;
7
7
  }
8
- export interface TopQueriesRootStateSlice {
9
- executeTopQueries: TopQueriesFilters;
10
- }
@@ -7,201 +7,6 @@ export declare const healthcheckApi: import("@reduxjs/toolkit/query").Api<import
7
7
  maxLevel?: number;
8
8
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
9
9
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
10
- export declare const selectIssuesTreesRoots: ((state: {
11
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
12
- singleClusterMode: boolean;
13
- cluster: import("../cluster/types").ClusterState;
14
- tenant: import("../tenant/types").TenantState;
15
- tooltip: import("../../../types/store/tooltip").ITooltipState;
16
- schema: {
17
- loading: boolean;
18
- data: {};
19
- currentSchemaPath: undefined;
20
- showPreview: boolean;
21
- };
22
- tenants: import("../tenants/types").TenantsState;
23
- partitions: {
24
- selectedConsumer?: string;
25
- };
26
- query: import("../query/types").QueryState;
27
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
28
- settings: import("../settings/types").SettingsState;
29
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
30
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
31
- authentication: import("../authentication/types").AuthenticationState;
32
- header: import("../header/types").HeaderState;
33
- queryActions: import("../queryActions/types").QueryActionsState;
34
- fullscreen: boolean;
35
- clusters: import("../clusters/types").ClustersFilters;
36
- }, database: string) => IssueLog[]) & {
37
- clearCache: () => void;
38
- resultsCount: () => number;
39
- resetResultsCount: () => void;
40
- } & {
41
- resultFunc: (resultFuncArgs_0: IssueLog[]) => IssueLog[];
42
- memoizedResultFunc: ((resultFuncArgs_0: IssueLog[]) => IssueLog[]) & {
43
- clearCache: () => void;
44
- resultsCount: () => number;
45
- resetResultsCount: () => void;
46
- };
47
- lastResult: () => IssueLog[];
48
- dependencies: [((state: {
49
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
50
- singleClusterMode: boolean;
51
- cluster: import("../cluster/types").ClusterState;
52
- tenant: import("../tenant/types").TenantState;
53
- tooltip: import("../../../types/store/tooltip").ITooltipState;
54
- schema: {
55
- loading: boolean;
56
- data: {};
57
- currentSchemaPath: undefined;
58
- showPreview: boolean;
59
- };
60
- tenants: import("../tenants/types").TenantsState;
61
- partitions: {
62
- selectedConsumer?: string;
63
- };
64
- query: import("../query/types").QueryState;
65
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
66
- settings: import("../settings/types").SettingsState;
67
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
68
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
69
- authentication: import("../authentication/types").AuthenticationState;
70
- header: import("../header/types").HeaderState;
71
- queryActions: import("../queryActions/types").QueryActionsState;
72
- fullscreen: boolean;
73
- clusters: import("../clusters/types").ClustersFilters;
74
- }, database: string) => IssueLog[]) & {
75
- clearCache: () => void;
76
- resultsCount: () => number;
77
- resetResultsCount: () => void;
78
- } & {
79
- resultFunc: (resultFuncArgs_0: {
80
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
81
- singleClusterMode: boolean;
82
- cluster: import("../cluster/types").ClusterState;
83
- tenant: import("../tenant/types").TenantState;
84
- tooltip: import("../../../types/store/tooltip").ITooltipState;
85
- schema: {
86
- loading: boolean;
87
- data: {};
88
- currentSchemaPath: undefined;
89
- showPreview: boolean;
90
- };
91
- tenants: import("../tenants/types").TenantsState;
92
- partitions: {
93
- selectedConsumer?: string;
94
- };
95
- query: import("../query/types").QueryState;
96
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
97
- settings: import("../settings/types").SettingsState;
98
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
99
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
100
- authentication: import("../authentication/types").AuthenticationState;
101
- header: import("../header/types").HeaderState;
102
- queryActions: import("../queryActions/types").QueryActionsState;
103
- fullscreen: boolean;
104
- clusters: import("../clusters/types").ClustersFilters;
105
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
106
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
107
- database: string;
108
- maxLevel?: number;
109
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
110
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
111
- database: string;
112
- maxLevel?: number;
113
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
114
- memoizedResultFunc: ((resultFuncArgs_0: {
115
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
116
- singleClusterMode: boolean;
117
- cluster: import("../cluster/types").ClusterState;
118
- tenant: import("../tenant/types").TenantState;
119
- tooltip: import("../../../types/store/tooltip").ITooltipState;
120
- schema: {
121
- loading: boolean;
122
- data: {};
123
- currentSchemaPath: undefined;
124
- showPreview: boolean;
125
- };
126
- tenants: import("../tenants/types").TenantsState;
127
- partitions: {
128
- selectedConsumer?: string;
129
- };
130
- query: import("../query/types").QueryState;
131
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
132
- settings: import("../settings/types").SettingsState;
133
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
134
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
135
- authentication: import("../authentication/types").AuthenticationState;
136
- header: import("../header/types").HeaderState;
137
- queryActions: import("../queryActions/types").QueryActionsState;
138
- fullscreen: boolean;
139
- clusters: import("../clusters/types").ClustersFilters;
140
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
141
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
142
- database: string;
143
- maxLevel?: number;
144
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
145
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
146
- database: string;
147
- maxLevel?: number;
148
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
149
- clearCache: () => void;
150
- resultsCount: () => number;
151
- resetResultsCount: () => void;
152
- };
153
- lastResult: () => IssueLog[];
154
- dependencies: [(state: RootState) => {
155
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
156
- singleClusterMode: boolean;
157
- cluster: import("../cluster/types").ClusterState;
158
- tenant: import("../tenant/types").TenantState;
159
- tooltip: import("../../../types/store/tooltip").ITooltipState;
160
- schema: {
161
- loading: boolean;
162
- data: {};
163
- currentSchemaPath: undefined;
164
- showPreview: boolean;
165
- };
166
- tenants: import("../tenants/types").TenantsState;
167
- partitions: {
168
- selectedConsumer?: string;
169
- };
170
- query: import("../query/types").QueryState;
171
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
172
- settings: import("../settings/types").SettingsState;
173
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
174
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
175
- authentication: import("../authentication/types").AuthenticationState;
176
- header: import("../header/types").HeaderState;
177
- queryActions: import("../queryActions/types").QueryActionsState;
178
- fullscreen: boolean;
179
- clusters: import("../clusters/types").ClustersFilters;
180
- }, (_state: RootState, database: string) => (state: import("@reduxjs/toolkit/query").RootState<{
181
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
182
- database: string;
183
- maxLevel?: number;
184
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
185
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
186
- database: string;
187
- maxLevel?: number;
188
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
189
- recomputations: () => number;
190
- resetRecomputations: () => void;
191
- dependencyRecomputations: () => number;
192
- resetDependencyRecomputations: () => void;
193
- } & {
194
- argsMemoize: typeof import("reselect").weakMapMemoize;
195
- memoize: typeof import("reselect").weakMapMemoize;
196
- }];
197
- recomputations: () => number;
198
- resetRecomputations: () => void;
199
- dependencyRecomputations: () => number;
200
- resetDependencyRecomputations: () => void;
201
- } & {
202
- argsMemoize: typeof import("reselect").weakMapMemoize;
203
- memoize: typeof import("reselect").weakMapMemoize;
204
- };
205
10
  export declare const selectIssuesTrees: ((state: {
206
11
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
207
12
  singleClusterMode: boolean;
@@ -69,7 +69,7 @@ const getIssuesStatistics = (data) => {
69
69
  };
70
70
  const createGetHealthcheckInfoSelector = createSelector((database) => database, (database) => healthcheckApi.endpoints.getHealthcheckInfo.select({ database }));
71
71
  const getIssuesLog = createSelector((state) => state, (_state, database) => createGetHealthcheckInfoSelector(database), (state, selectGetPost) => { var _a; return ((_a = selectGetPost(state).data) === null || _a === void 0 ? void 0 : _a.issue_log) || []; });
72
- export const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => getRoots(issues));
72
+ const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => getRoots(issues));
73
73
  export const selectIssuesTrees = createSelector([getIssuesLog, selectIssuesTreesRoots], (data = [], roots = []) => {
74
74
  return getInvertedConsequencesTree({ data, roots });
75
75
  });
@@ -1 +1 @@
1
- {"version":3,"file":"healthcheckInfo.js","sourceRoot":"","sources":["../../../../src/store/reducers/healthcheckInfo/healthcheckInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAI3B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC,eAAe,CAAC;IAC9C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,kBAAkB,EAAE,OAAO,CAAC,KAAK,CAAC;YAC9B,OAAO,EAAE,KAAK,EACV,EAAC,QAAQ,EAAE,QAAQ,EAAwC,EAC3D,EAAC,MAAM,EAAC,EACV,EAAE;gBACA,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,kBAAkB,CACnD,EAAC,QAAQ,EAAE,QAAQ,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MAAM,iBAAiB,GAAG,cAAc,CAC3C,CAAC,YAAY,EAAE,sBAAsB,CAAC,EACtC,CAAC,IAAI,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE;IACtB,OAAO,2BAA2B,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,CAAC,CAAC;AACtD,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,YAAY,EAAE,CAAC,MAAM,GAAG,EAAE,EAAE,EAAE,CAC/E,mBAAmB,CAAC,MAAM,CAAC,CAC9B,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { OrderType } from '@gravity-ui/react-data-table';
2
1
  import type { EFlag } from '../../../types/api/enums';
3
- import type { NodesGroupByField, NodesPeerRole, NodesSortValue, TEndpoint, TPoolStats } from '../../../types/api/nodes';
2
+ import type { NodesGroupByField, NodesPeerRole, TEndpoint, TPoolStats } from '../../../types/api/nodes';
4
3
  import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
5
4
  import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
6
5
  import type { ProblemFilterValue } from '../settings/types';
@@ -36,10 +35,6 @@ export interface NodesPreparedEntity extends PreparedNodeSystemState {
36
35
  PingTimeMinUs?: string;
37
36
  PingTimeMaxUs?: string;
38
37
  }
39
- export interface NodesSortParams {
40
- sortOrder: OrderType | undefined;
41
- sortValue: NodesSortValue | undefined;
42
- }
43
38
  export interface NodesFilters {
44
39
  searchValue: string;
45
40
  problemFilter: ProblemFilterValue;
@@ -16,7 +16,7 @@ export interface PreparedPlan {
16
16
  pristine?: QueryPlan | ScriptPlan;
17
17
  DurationUs?: string | number;
18
18
  }
19
- export interface SimplifiedPlan {
19
+ interface SimplifiedPlan {
20
20
  plan?: SimplifiedPlanItem[];
21
21
  pristine?: SimplifiedNode;
22
22
  }
@@ -55,3 +55,4 @@ export interface QueryState {
55
55
  };
56
56
  tenantPath?: string;
57
57
  }
58
+ export {};
@@ -1,10 +1,4 @@
1
1
  import type { TEvDescribeSchemeResult } from '../../../types/api/schema';
2
- export declare const initialState: {
3
- loading: boolean;
4
- data: {};
5
- currentSchemaPath: undefined;
6
- showPreview: boolean;
7
- };
8
2
  declare const _default: import("redux").Reducer<{
9
3
  loading: boolean;
10
4
  data: {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
3
  import { api } from '../api';
4
- export const initialState = {
4
+ const initialState = {
5
5
  loading: true,
6
6
  data: {},
7
7
  currentSchemaPath: undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/store/reducers/schema/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,EAAE;IACR,iBAAiB,EAAE,SAAS;IAC5B,WAAW,EAAE,KAAK;CACrB,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,QAAQ;IACd,YAAY;IACZ,QAAQ,EAAE;QACN,cAAc,EAAE,CAAC,KAAK,EAAE,MAA8B,EAAE,EAAE;YACtD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;KACJ;IACD,SAAS,EAAE;QACP,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW;KAClD;CACJ,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,EAAC,cAAc,EAAC,GAAG,KAAK,CAAC,OAAO,CAAC;AAC9C,MAAM,CAAC,MAAM,EAAC,iBAAiB,EAAC,GAA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;IACL,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAEhC,OAAO,EAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,EAAC,CAAC;AACtD,CAAC"}
@@ -1,8 +1,5 @@
1
+ import type { SortOrder } from '@gravity-ui/react-data-table';
1
2
  import type { ShardsWorkloadFilters } from './types';
2
- export interface SortOrder {
3
- columnId: string;
4
- order: string;
5
- }
6
3
  export declare const setShardsQueryFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<ShardsWorkloadFilters, "shardsWorkload/setShardsQueryFilters">;
7
4
  declare const _default: import("redux").Reducer<ShardsWorkloadFilters>;
8
5
  export default _default;
@@ -1,12 +1,10 @@
1
1
  import { dateTimeParse, isLikeRelative } from '@gravity-ui/date-utils';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
+ import { prepareOrderByFromTableSort } from '../../../utils/hooks/useTableSort';
3
4
  import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
4
5
  import { api } from '../api';
5
6
  import { EShardsWorkloadMode } from './types';
6
7
  const initialState = {};
7
- function formatSortOrder({ columnId, order }) {
8
- return `${columnId} ${order}`;
9
- }
10
8
  function getFiltersConditions(filters) {
11
9
  var _a, _b;
12
10
  const conditions = [];
@@ -35,7 +33,7 @@ function createShardQueryHistorical(path, filters, sortOrder, tenantName) {
35
33
  if (filterConditions.length) {
36
34
  where = `(${where}) AND ${filterConditions}`;
37
35
  }
38
- const orderBy = sortOrder ? `ORDER BY ${sortOrder.map(formatSortOrder).join(', ')}` : '';
36
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
39
37
  return `SELECT
40
38
  ${pathSelect},
41
39
  TabletId,
@@ -54,7 +52,7 @@ function createShardQueryImmediate(path, sortOrder, tenantName) {
54
52
  const pathSelect = tenantName
55
53
  ? `CAST(SUBSTRING(CAST(Path AS String), ${tenantName.length}) AS Utf8) AS Path`
56
54
  : 'Path';
57
- const orderBy = sortOrder ? `ORDER BY ${sortOrder.map(formatSortOrder).join(', ')}` : '';
55
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
58
56
  return `SELECT
59
57
  ${pathSelect},
60
58
  TabletId,
@@ -1 +1 @@
1
- {"version":3,"file":"shardsWorkload.js","sourceRoot":"","sources":["../../../../src/store/reducers/shardsWorkload/shardsWorkload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,MAAM,YAAY,GAA0B,EAAE,CAAC;AAO/C,SAAS,eAAe,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAY;IACjD,OAAO,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAAC,OAA+B;;IACzD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,MAAM,EAAE,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAC,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAA,CAAC,0CAAE,OAAO,EAAE,CAAC;IACxE,MAAM,IAAI,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAA,CAAC,0CAAE,OAAO,EAAE,CAAC;IAE9E,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,GAAG,EAAE,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC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AO,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;YACrB,YAAY,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE;;gBAC3B,IAAI,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,MAAK,WAAW,EAAE,CAAC;oBAC5C,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,IACI,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"}
@@ -9,6 +9,3 @@ export interface ShardsWorkloadFilters {
9
9
  to?: string;
10
10
  mode?: EShardsWorkloadMode;
11
11
  }
12
- export interface ShardsWorkloadRootStateSlice {
13
- shardsWorkload: ShardsWorkloadFilters;
14
- }
@@ -1,8 +1,7 @@
1
- import type { OrderType } from '@gravity-ui/react-data-table';
2
1
  import { z } from 'zod';
3
2
  import type { EFlag } from '../../../types/api/enums';
4
3
  import type { NodesGroupByField } from '../../../types/api/nodes';
5
- import type { GroupsGroupByField, StorageV2SortValue } from '../../../types/api/storage';
4
+ import type { GroupsGroupByField } from '../../../types/api/storage';
6
5
  import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
7
6
  import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
8
7
  export declare const visibleEntitiesSchema: z.ZodCatch<z.ZodNativeEnum<{
@@ -78,10 +77,6 @@ export interface PreparedStorageGroup {
78
77
  LatencyPutUserDataMs?: number;
79
78
  LatencyGetFastMs?: number;
80
79
  }
81
- export interface StorageSortParams {
82
- sortOrder: OrderType | undefined;
83
- sortValue: StorageV2SortValue | undefined;
84
- }
85
80
  export type TableGroup = {
86
81
  name: string;
87
82
  count: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAQtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAQtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import type { TNodesInfo } from '../../../types/api/nodes';
2
- import type { StorageGroupsResponse, TStorageGroupInfo, TStorageGroupInfoV2, TStorageInfo, TStoragePoolInfo } from '../../../types/api/storage';
3
- import type { PreparedStorageGroup, PreparedStorageResponse } from './types';
4
- export declare const prepareStorageGroupData: (group: TStorageGroupInfo, pool: TStoragePoolInfo) => PreparedStorageGroup;
5
- export declare const prepareStorageGroupDataV2: (group: TStorageGroupInfoV2) => PreparedStorageGroup;
6
- export declare const prepareStorageGroups: (StorageGroups?: TStorageGroupInfoV2[], StoragePools?: TStoragePoolInfo[]) => PreparedStorageGroup[];
2
+ import type { StorageGroupsResponse, TStorageInfo } from '../../../types/api/storage';
3
+ import type { PreparedStorageResponse } from './types';
7
4
  export declare const prepareStorageNodesResponse: (data: TNodesInfo) => PreparedStorageResponse;
8
5
  export declare const prepareStorageResponse: (data: TStorageInfo) => PreparedStorageResponse;
9
6
  export declare function prepareGroupsResponse(data: StorageGroupsResponse): PreparedStorageResponse;