ydb-embedded-ui 6.20.0 → 6.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (313) hide show
  1. package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
  2. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
  4. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
  5. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
  6. package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
  7. package/dist/components/PDiskInfo/PDiskInfo.js +3 -4
  8. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  9. package/dist/components/PDiskInfo/PDiskInfo.scss +0 -14
  10. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  11. package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
  12. package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
  13. package/dist/components/StorageGroupInfo/StorageGroupInfo.d.ts +8 -0
  14. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +123 -0
  15. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -0
  16. package/dist/components/StorageGroupInfo/i18n/en.json +22 -0
  17. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -0
  18. package/dist/components/StorageGroupInfo/i18n/index.js +5 -0
  19. package/dist/components/StorageGroupInfo/i18n/index.js.map +1 -0
  20. package/dist/components/VDisk/VDisk.d.ts +2 -1
  21. package/dist/components/VDisk/VDisk.js +2 -2
  22. package/dist/components/VDisk/VDisk.js.map +1 -1
  23. package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
  24. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  25. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  26. package/dist/containers/App/App.scss +1 -1
  27. package/dist/containers/App/Content.js +7 -1
  28. package/dist/containers/App/Content.js.map +1 -1
  29. package/dist/containers/App/appSlots.d.ts +6 -0
  30. package/dist/containers/App/appSlots.js +1 -0
  31. package/dist/containers/App/appSlots.js.map +1 -1
  32. package/dist/containers/Cluster/Cluster.js +1 -1
  33. package/dist/containers/Cluster/Cluster.js.map +1 -1
  34. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  35. package/dist/containers/Clusters/Clusters.js +3 -3
  36. package/dist/containers/Clusters/Clusters.js.map +1 -1
  37. package/dist/containers/Clusters/columns.js +2 -2
  38. package/dist/containers/Clusters/columns.js.map +1 -1
  39. package/dist/containers/Clusters/constants.d.ts +4 -4
  40. package/dist/containers/Clusters/constants.js +3 -3
  41. package/dist/containers/Clusters/constants.js.map +1 -1
  42. package/dist/containers/Header/breadcrumbs.js +14 -0
  43. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  44. package/dist/containers/Header/i18n/en.json +2 -1
  45. package/dist/containers/Header/i18n/index.d.ts +1 -1
  46. package/dist/containers/Node/Node.js +14 -4
  47. package/dist/containers/Node/Node.js.map +1 -1
  48. package/dist/containers/Node/NodePages.js +4 -5
  49. package/dist/containers/Node/NodePages.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.js +10 -11
  51. package/dist/containers/Nodes/Nodes.js.map +1 -1
  52. package/dist/containers/Nodes/PaginatedNodes.js +10 -11
  53. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  54. package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
  55. package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +29 -39
  56. package/dist/containers/Nodes/columns/columns.js.map +1 -0
  57. package/dist/containers/Nodes/columns/constants.d.ts +39 -0
  58. package/dist/containers/Nodes/columns/constants.js +79 -0
  59. package/dist/containers/Nodes/columns/constants.js.map +1 -0
  60. package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
  61. package/dist/containers/Nodes/columns/hooks.js +11 -0
  62. package/dist/containers/Nodes/columns/hooks.js.map +1 -0
  63. package/dist/containers/Nodes/columns/i18n/en.json +16 -0
  64. package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
  65. package/dist/containers/Nodes/columns/i18n/index.js +5 -0
  66. package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
  67. package/dist/containers/Nodes/columns/types.d.ts +9 -0
  68. package/dist/containers/Nodes/columns/types.js +2 -0
  69. package/dist/containers/Nodes/columns/types.js.map +1 -0
  70. package/dist/containers/Nodes/getNodes.d.ts +3 -2
  71. package/dist/containers/Nodes/getNodes.js +6 -3
  72. package/dist/containers/Nodes/getNodes.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskPage.js +11 -9
  74. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskPage.scss +15 -4
  76. package/dist/containers/PDiskPage/i18n/en.json +1 -1
  77. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  78. package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
  79. package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
  80. package/dist/containers/Storage/PDisk/PDisk.d.ts +4 -4
  81. package/dist/containers/Storage/PDisk/PDisk.js +2 -2
  82. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  83. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -3
  84. package/dist/containers/Storage/PaginatedStorage.js +27 -6
  85. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  86. package/dist/containers/Storage/Storage.d.ts +4 -4
  87. package/dist/containers/Storage/Storage.js +45 -11
  88. package/dist/containers/Storage/Storage.js.map +1 -1
  89. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +4 -1
  90. package/dist/containers/Storage/StorageControls/StorageControls.js +4 -2
  91. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  92. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +3 -1
  93. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +2 -4
  94. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  95. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +3 -1
  96. package/dist/containers/Storage/StorageGroups/StorageGroups.js +2 -4
  97. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
  99. package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +36 -82
  100. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
  101. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +37 -0
  102. package/dist/containers/Storage/StorageGroups/columns/constants.js +75 -0
  103. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
  104. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +6 -2
  105. package/dist/containers/Storage/StorageGroups/columns/hooks.js +22 -14
  106. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  107. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +15 -0
  108. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
  109. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
  110. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
  111. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -6
  112. package/dist/containers/Storage/StorageGroups/getGroups.js +4 -1
  113. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  114. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +3 -3
  115. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -5
  116. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  117. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +4 -6
  118. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -4
  119. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  120. package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
  121. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +23 -0
  122. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
  123. package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +21 -31
  124. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
  125. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +25 -0
  126. package/dist/containers/Storage/StorageNodes/columns/constants.js +47 -0
  127. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
  128. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
  129. package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
  130. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
  131. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +9 -0
  132. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
  133. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
  134. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
  135. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
  136. package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
  137. package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
  138. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
  139. package/dist/containers/Storage/StorageNodes/getNodes.js +7 -4
  140. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  141. package/dist/containers/Storage/StorageNodes/shared.js +1 -1
  142. package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
  143. package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
  144. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  145. package/dist/containers/Storage/utils/index.js +6 -5
  146. package/dist/containers/Storage/utils/index.js.map +1 -1
  147. package/dist/containers/StorageGroupPage/StorageGroupPage.d.ts +2 -0
  148. package/dist/containers/StorageGroupPage/StorageGroupPage.js +74 -0
  149. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -0
  150. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +37 -0
  151. package/dist/containers/StorageGroupPage/i18n/en.json +5 -0
  152. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -0
  153. package/dist/containers/StorageGroupPage/i18n/index.js +5 -0
  154. package/dist/containers/StorageGroupPage/i18n/index.js.map +1 -0
  155. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  156. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -2
  157. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +36 -0
  159. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +7 -2
  160. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  161. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
  162. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  163. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
  164. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  165. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
  166. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  167. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
  168. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  169. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  170. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +46 -55
  171. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  172. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
  173. package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
  174. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
  175. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
  176. package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
  177. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
  178. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
  179. package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
  180. package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
  181. package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
  182. package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
  183. package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
  184. package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
  185. package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
  186. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +12 -12
  187. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  188. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
  189. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
  190. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  191. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
  192. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
  193. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
  194. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  195. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
  196. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
  197. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
  198. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  199. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
  200. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  201. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
  202. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  203. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  204. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  205. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
  206. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
  207. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  208. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
  209. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  210. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
  211. package/dist/containers/Tenant/utils/schema.js +1 -0
  212. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  213. package/dist/containers/UserSettings/i18n/en.json +0 -2
  214. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  215. package/dist/containers/UserSettings/settings.d.ts +0 -1
  216. package/dist/containers/UserSettings/settings.js +2 -7
  217. package/dist/containers/UserSettings/settings.js.map +1 -1
  218. package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
  219. package/dist/containers/VDiskPage/VDiskPage.js +9 -33
  220. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  221. package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
  222. package/dist/containers/VDiskPage/i18n/en.json +1 -1
  223. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  224. package/dist/routes.d.ts +3 -0
  225. package/dist/routes.js +5 -0
  226. package/dist/routes.js.map +1 -1
  227. package/dist/services/api.d.ts +16 -5
  228. package/dist/services/api.js +51 -12
  229. package/dist/services/api.js.map +1 -1
  230. package/dist/services/settings.d.ts +2 -2
  231. package/dist/services/settings.js +2 -3
  232. package/dist/services/settings.js.map +1 -1
  233. package/dist/store/configureStore.d.ts +2 -2
  234. package/dist/store/defaultStore.d.ts +1 -1
  235. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
  236. package/dist/store/reducers/capabilities/capabilities.js +6 -1
  237. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  238. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  239. package/dist/store/reducers/capabilities/hooks.js +3 -0
  240. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  241. package/dist/store/reducers/executeQuery.js +3 -0
  242. package/dist/store/reducers/executeQuery.js.map +1 -1
  243. package/dist/store/reducers/header/types.d.ts +5 -2
  244. package/dist/store/reducers/index.d.ts +2 -2
  245. package/dist/store/reducers/nodes/nodes.d.ts +2 -2
  246. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  247. package/dist/store/reducers/nodes/types.d.ts +2 -23
  248. package/dist/store/reducers/pdisk/pdisk.js +29 -2
  249. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  250. package/dist/store/reducers/pdisk/utils.js +1 -1
  251. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  252. package/dist/store/reducers/storage/storage.d.ts +2 -2
  253. package/dist/store/reducers/storage/storage.js.map +1 -1
  254. package/dist/store/reducers/storage/types.d.ts +19 -0
  255. package/dist/store/reducers/storage/utils.js +7 -2
  256. package/dist/store/reducers/storage/utils.js.map +1 -1
  257. package/dist/store/reducers/tooltip.d.ts +1 -1
  258. package/dist/styles/mixins.scss +3 -3
  259. package/dist/types/api/capabilities.d.ts +1 -1
  260. package/dist/types/api/common.d.ts +1 -0
  261. package/dist/types/api/meta.d.ts +3 -0
  262. package/dist/types/api/nodes.d.ts +33 -0
  263. package/dist/types/api/nodes.js.map +1 -1
  264. package/dist/types/api/query.d.ts +1 -0
  265. package/dist/types/api/storage.d.ts +8 -5
  266. package/dist/types/store/query.d.ts +5 -8
  267. package/dist/utils/constants.d.ts +0 -8
  268. package/dist/utils/constants.js +0 -9
  269. package/dist/utils/constants.js.map +1 -1
  270. package/dist/utils/filters.d.ts +2 -1
  271. package/dist/utils/filters.js +1 -4
  272. package/dist/utils/filters.js.map +1 -1
  273. package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
  274. package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
  275. package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
  276. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
  277. package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
  278. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  279. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
  280. package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
  281. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  282. package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
  283. package/dist/utils/hooks/useSelectedColumns.js +35 -0
  284. package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
  285. package/dist/utils/nodes.d.ts +3 -22
  286. package/dist/utils/nodes.js +16 -19
  287. package/dist/utils/nodes.js.map +1 -1
  288. package/dist/utils/query.d.ts +129 -0
  289. package/dist/utils/query.js +33 -1
  290. package/dist/utils/query.js.map +1 -1
  291. package/dist/utils/storage.d.ts +1 -1
  292. package/dist/utils/storage.js.map +1 -1
  293. package/package.json +2 -1
  294. package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
  295. package/dist/containers/Clusters/useSelectedColumns.js +0 -26
  296. package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
  297. package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
  298. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
  299. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
  300. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
  301. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
  302. package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
  303. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
  304. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
  305. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
  306. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
  307. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
  308. package/dist/containers/VDiskPage/utils.d.ts +0 -2
  309. package/dist/containers/VDiskPage/utils.js +0 -7
  310. package/dist/containers/VDiskPage/utils.js.map +0 -1
  311. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
  312. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
  313. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
@@ -2,7 +2,7 @@ import type { ClusterTab } from '../../../containers/Cluster/utils';
2
2
  import type { NodeTab } from '../../../containers/Node/NodePages';
3
3
  import type { EType } from '../../../types/api/tablet';
4
4
  import type { setHeaderBreadcrumbs } from './header';
5
- export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | 'tablet' | undefined;
5
+ export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | 'tablet' | 'storageGroup' | undefined;
6
6
  export interface ClusterBreadcrumbsOptions {
7
7
  clusterName?: string;
8
8
  clusterTab?: ClusterTab;
@@ -10,6 +10,9 @@ export interface ClusterBreadcrumbsOptions {
10
10
  export interface TenantBreadcrumbsOptions extends ClusterBreadcrumbsOptions {
11
11
  tenantName?: string;
12
12
  }
13
+ export interface StorageGroupBreadcrumbsOptions extends ClusterBreadcrumbsOptions {
14
+ groupId?: string;
15
+ }
13
16
  export interface NodeBreadcrumbsOptions extends TenantBreadcrumbsOptions {
14
17
  nodeId?: string | number;
15
18
  nodeActiveTab?: NodeTab;
@@ -25,7 +28,7 @@ export interface TabletBreadcrumbsOptions extends NodeBreadcrumbsOptions {
25
28
  tabletId?: string;
26
29
  tabletType?: EType;
27
30
  }
28
- export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions | TabletBreadcrumbsOptions;
31
+ export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions | TabletBreadcrumbsOptions | StorageGroupBreadcrumbsOptions;
29
32
  export type PageBreadcrumbsOptions<T extends Page = undefined> = T extends 'cluster' ? ClusterBreadcrumbsOptions : T extends 'tenant' ? TenantBreadcrumbsOptions : T extends 'node' ? NodeBreadcrumbsOptions : T extends 'tablet' ? TabletBreadcrumbsOptions : {};
30
33
  export interface HeaderState {
31
34
  page?: Page;
@@ -20,7 +20,7 @@ export declare const rootReducer: {
20
20
  header: import("redux").Reducer<import("./header/types").HeaderState, {
21
21
  readonly type: "header/SET_HEADER_BREADCRUMBS";
22
22
  readonly page: import("./header/types").Page;
23
- readonly options: {} | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions;
23
+ readonly options: {} | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions;
24
24
  }>;
25
25
  queryActions: import("redux").Reducer<import("./queryActions/types").QueryActionsState>;
26
26
  fullscreen: (state: boolean | undefined, action: ReturnType<typeof import("./fullscreen").enableFullscreen> | ReturnType<typeof import("./fullscreen").disableFullscreen>) => boolean;
@@ -51,7 +51,7 @@ declare const combinedReducer: import("redux").Reducer<{
51
51
  } | import("../../types/store/executeQuery").ExecuteQueryAction | {
52
52
  readonly type: "header/SET_HEADER_BREADCRUMBS";
53
53
  readonly page: import("./header/types").Page;
54
- readonly options: {} | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions;
54
+ readonly options: {} | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions;
55
55
  } | {
56
56
  readonly type: "ENABLE_FULLSCREEN_MODE";
57
57
  } | {
@@ -1,4 +1,4 @@
1
- import type { NodesApiRequestParams } from './types';
1
+ import type { NodesRequestParams } from '../../../types/api/nodes';
2
2
  export declare const nodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
3
- getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").NodesHandledResponse | undefined, "api">;
3
+ getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").NodesHandledResponse | 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>;
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,MAA6B,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACvD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAClC;wBACI,IAAI,EAAE,KAAK;wBACX,OAAO,EAAE,KAAK;wBACd,OAAO,EAAE,IAAI;wBACb,GAAG,MAAM;qBACZ,EACD,EAAC,MAAM,EAAC,CACX,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,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;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/nodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,MAA0B,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACpD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAClC;wBACI,IAAI,EAAE,KAAK;wBACX,OAAO,EAAE,KAAK;wBACd,OAAO,EAAE,IAAI;wBACb,GAAG,MAAM;qBACZ,EACD,EAAC,MAAM,EAAC,CACX,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,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;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import type { OrderType } from '@gravity-ui/react-data-table';
2
2
  import type { EFlag } from '../../../types/api/enums';
3
- import type { TEndpoint, TPoolStats } from '../../../types/api/nodes';
3
+ import type { NodesSortValue, TEndpoint, TPoolStats } from '../../../types/api/nodes';
4
4
  import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
5
- import type { NodesSortValue, NodesUptimeFilterValues } from '../../../utils/nodes';
5
+ import type { NodesUptimeFilterValues } from '../../../utils/nodes';
6
6
  import type { ProblemFilterValue } from '../settings/types';
7
- import type { VisibleEntities } from '../storage/types';
8
7
  export interface NodesPreparedEntity {
9
8
  NodeId: number;
10
9
  Host?: string;
@@ -28,7 +27,6 @@ export interface NodesPreparedEntity {
28
27
  Endpoints?: TEndpoint[];
29
28
  TotalSessions?: number;
30
29
  }
31
- export type NodeType = 'static' | 'dynamic' | 'any';
32
30
  export interface NodesSortParams {
33
31
  sortOrder: OrderType | undefined;
34
32
  sortValue: NodesSortValue | undefined;
@@ -40,25 +38,6 @@ export interface NodesFilters {
40
38
  path?: string;
41
39
  database?: string;
42
40
  }
43
- export interface NodesGeneralRequestParams extends Partial<NodesSortParams> {
44
- filter?: string;
45
- uptime?: number;
46
- problems_only?: boolean;
47
- offset?: number;
48
- limit?: number;
49
- }
50
- export interface NodesApiRequestParams extends NodesGeneralRequestParams {
51
- node_id?: number | string;
52
- path?: string;
53
- database?: string;
54
- /** @deprecated use database instead */
55
- tenant?: string;
56
- type?: NodeType;
57
- visibleEntities?: VisibleEntities;
58
- storage?: boolean;
59
- tablets?: boolean;
60
- group?: string;
61
- }
62
41
  export interface NodesGroup {
63
42
  name: string;
64
43
  count: number;
@@ -1,13 +1,40 @@
1
1
  import { getPDiskId } from '../../../utils/disks/helpers';
2
2
  import { api } from '../api';
3
+ import { queryCapability } from '../capabilities/capabilities';
3
4
  import { preparePDiskDataResponse } from './utils';
4
5
  export const pDiskApi = api.injectEndpoints({
5
6
  endpoints: (build) => ({
6
7
  getPdiskInfo: build.query({
7
- queryFn: async ({ nodeId, pDiskId }, { signal }) => {
8
+ queryFn: async ({ nodeId, pDiskId }, { signal, getState, dispatch }) => {
9
+ const pDiskInfoHandlerVersion = await queryCapability('/pdisk/info', {
10
+ getState: getState,
11
+ dispatch,
12
+ });
13
+ const newApiAvailable = pDiskInfoHandlerVersion > 0;
14
+ let diskInfoPromise;
15
+ if (newApiAvailable) {
16
+ diskInfoPromise = window.api.getPDiskInfo({ nodeId, pDiskId }, { signal });
17
+ }
18
+ else {
19
+ diskInfoPromise = window.api
20
+ .getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal })
21
+ .then((result) => {
22
+ if (result.PDiskStateInfo) {
23
+ return {
24
+ Whiteboard: {
25
+ PDisk: {
26
+ ...result.PDiskStateInfo[0],
27
+ ExpectedSlotCount: undefined,
28
+ },
29
+ },
30
+ };
31
+ }
32
+ return {};
33
+ });
34
+ }
8
35
  try {
9
36
  const response = await Promise.all([
10
- window.api.getPDiskInfo({ nodeId, pDiskId }, { signal }),
37
+ diskInfoPromise,
11
38
  window.api.getNodeInfo(nodeId, { signal }),
12
39
  ]);
13
40
  const data = preparePDiskDataResponse(response);
@@ -1 +1 @@
1
- {"version":3,"file":"pdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/pdisk/pdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,wBAAwB,EAAC,MAAM,SAAS,CAAC;AAOjD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC;YACtB,OAAO,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,OAAO,EAAc,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACxD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC/B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAE,OAAO,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBACpD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC;qBAC3C,CAAC,CAAC;oBACH,MAAM,IAAI,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;oBAChD,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,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC;gBACpC,KAAK;gBACL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EAAC,MAAM,EAAC,CAAC;yBACvD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;wBACb,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;4BACxB,OAAO;gCACH,UAAU,EAAE;oCACR,KAAK,EAAE;wCACH,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC;wCAC3B,iBAAiB,EAAE,SAAS;qCAC/B;iCACJ;6BACJ,CAAC;wBACN,CAAC;wBACD,OAAO,EAAE,CAAC;oBACd,CAAC,CAAC,CAAC;gBACX,CAAC;gBAED,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC/B,eAAe;wBACf,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC;qBAC3C,CAAC,CAAC;oBACH,MAAM,IAAI,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;oBAChD,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,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC;gBACpC,KAAK;gBACL;oBACI,IAAI,EAAE,WAAW;oBACjB,EAAE,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;iBAC1C;aACJ;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -60,7 +60,7 @@ export function preparePDiskDataResponse([pdiskResponse = {}, nodeResponse]) {
60
60
  });
61
61
  }
62
62
  const diskSlots = [...vdisksSlots, ...emptySlots];
63
- if (logSlot) {
63
+ if (logSlot && diskSlots.length > 0) {
64
64
  diskSlots.unshift(logSlot);
65
65
  }
66
66
  const rawNode = (_a = nodeResponse.SystemStateInfo) ===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;QACN,CAAC,CAAC,CAAC;IACP,CAAC;IAED,MAAM,SAAS,GAA2B,CAAC,GAAG,WAAW,EAAE,GAAG,UAAU,CAAC,CAAC;IAE1E,IAAI,OAAO,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,OAAO,GAAG,MAAA,YAAY,CAAC,eAAe,0CAAG,CAAC,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAErD,OAAO;QACH,GAAG,aAAa;QAChB,MAAM,EAAE,MAAA,aAAa,CAAC,MAAM,mCAAI,YAAY,CAAC,MAAM;QACnD,QAAQ,EAAE,YAAY,CAAC,IAAI;QAC3B,QAAQ,EAAE,MAAA,YAAY,CAAC,KAAK,0CAAG,CAAC,CAAC;QACjC,MAAM,EAAE,YAAY,CAAC,EAAE;QACvB,SAAS,EAAE,SAAS;KACvB,CAAC;AACN,CAAC"}
@@ -1,7 +1,7 @@
1
+ import type { NodesRequestParams } from '../../../types/api/nodes';
1
2
  import type { StorageRequestParams } from '../../../types/api/storage';
2
- import type { NodesApiRequestParams } from '../nodes/types';
3
3
  export declare const storageApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
4
- getStorageNodesInfo: import("@reduxjs/toolkit/query").QueryDefinition<Omit<NodesApiRequestParams, "type">, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedStorageResponse | undefined, "api">;
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
5
  getStorageGroupsInfo: import("@reduxjs/toolkit/query").QueryDefinition<StorageRequestParams & {
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">;
@@ -1 +1 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/storage.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,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,MAA2C,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACrE,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,oBAAo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C,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,OAAO,CAAC,KAAK,CAAC;YAChC,OAAO,EAAE,KAAK,EACV,MAAiE,EACjE,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"}
@@ -43,6 +43,7 @@ export interface PreparedStorageGroup {
43
43
  Encryption?: boolean;
44
44
  ErasureSpecies?: string;
45
45
  Degraded: number;
46
+ Overall?: EFlag;
46
47
  GroupId?: string | number;
47
48
  Usage: number;
48
49
  Read: number;
@@ -51,6 +52,24 @@ export interface PreparedStorageGroup {
51
52
  Limit: number;
52
53
  DiskSpace: EFlag;
53
54
  VDisks?: PreparedVDisk[];
55
+ Kind?: string;
56
+ ChangeTime?: number | string;
57
+ GroupGeneration?: string;
58
+ Latency?: EFlag;
59
+ AcquiredUnits?: string;
60
+ AcquiredIOPS?: number;
61
+ AcquiredThroughput?: string;
62
+ AcquiredSize?: string;
63
+ MaximumIOPS?: number;
64
+ MaximumThroughput?: string;
65
+ MaximumSize?: string;
66
+ AllocationUnits?: string | number;
67
+ State?: string;
68
+ MissingDisks?: string | number;
69
+ Available?: string;
70
+ LatencyPutTabletLog?: number;
71
+ LatencyPutUserData?: number;
72
+ LatencyGetFast?: number;
54
73
  }
55
74
  export interface UsageFilter {
56
75
  threshold: number;
@@ -53,7 +53,9 @@ export const prepareStorageGroupData = (group, pool) => {
53
53
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
54
54
  return {
55
55
  ...group,
56
+ GroupGeneration: group.GroupGeneration ? String(group.GroupGeneration) : undefined,
56
57
  GroupId: group.GroupID,
58
+ Overall: group.Overall,
57
59
  VDisks: vDisks,
58
60
  Usage: usage,
59
61
  Read: readSpeedBytesPerSec,
@@ -67,7 +69,7 @@ export const prepareStorageGroupData = (group, pool) => {
67
69
  };
68
70
  };
69
71
  export const prepareStorageGroupDataV2 = (group) => {
70
- const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, } = group;
72
+ const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, Overall, GroupGeneration, } = group;
71
73
  const vDisks = VDisks.map((vdisk) => prepareVDisk(vdisk, PoolName));
72
74
  const usage = Math.floor(Number(Usage) * 100);
73
75
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
@@ -78,6 +80,8 @@ export const prepareStorageGroupDataV2 = (group) => {
78
80
  MediaType: MediaType || Kind,
79
81
  VDisks: vDisks,
80
82
  Usage: usage,
83
+ Overall,
84
+ GroupGeneration: GroupGeneration ? String(GroupGeneration) : undefined,
81
85
  Read: Number(Read),
82
86
  Write: Number(Write),
83
87
  Used: Number(Used),
@@ -149,7 +153,7 @@ export const prepareStorageResponse = (data) => {
149
153
  export function prepareGroupsResponse(data) {
150
154
  const { FoundGroups, TotalGroups, StorageGroups = [] } = data;
151
155
  const preparedGroups = StorageGroups.map((group) => {
152
- const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [] } = group;
156
+ const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall } = group;
153
157
  const vDisks = VDisks.map((disk) => {
154
158
  var _a;
155
159
  const whiteboardVDisk = disk.Whiteboard;
@@ -173,6 +177,7 @@ export function prepareGroupsResponse(data) {
173
177
  Used: Number(Used),
174
178
  Limit: Number(Limit),
175
179
  Degraded: Number(MissingDisks),
180
+ Overall,
176
181
  VDisks: vDisks,
177
182
  DiskSpace: diskSpaceStatus,
178
183
  };
@@ -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,EAAE,EAAE;;IAC1E,MAAM,aAAa,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAE9C,kFAAkF;IAClF,OAAO;QACH,GAAG,aAAa;QAChB,eAAe,EAAE,QAAQ;QACzB,MAAM,EAAE,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,0CAAE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,CAAC,CAAC;QAEvD,OAAO;YACH,GAAG,KAAK;YACR,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;YACrC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;YACpB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC;YAC9B,OAAO;YAEP,MAAM,EAAE,MAAM;YAEd,SAAS,EAAE,eAAe;SAC7B,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,cAAc,CAAC,MAAM;QACnD,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;KAC7B,CAAC;AACN,CAAC"}
@@ -9,7 +9,7 @@ export declare const showTooltip: (node: EventTarget | null, data: any, template
9
9
  type: string;
10
10
  node: EventTarget | null;
11
11
  data: any;
12
- templateType: "pool" | "tablet" | "node" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell" | "json";
12
+ templateType: "pool" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell" | "json";
13
13
  additionalData: any;
14
14
  positions: ITooltipPositions | undefined;
15
15
  };
@@ -352,10 +352,10 @@
352
352
  }
353
353
 
354
354
  &_orange {
355
- --entity-state-font-color: var(--g-color-text-warning-heavy);
355
+ --entity-state-font-color: var(--g-color-private-orange-500);
356
356
  --entity-state-border-color: var(--ydb-color-status-orange);
357
- --entity-state-background-color: var(--g-color-base-warning-light);
358
- --entity-state-fill-color: var(--g-color-base-warning-medium);
357
+ --entity-state-background-color: var(--g-color-private-orange-100);
358
+ --entity-state-fill-color: var(--g-color-private-orange-300);
359
359
  }
360
360
  &_red {
361
361
  --entity-state-font-color: var(--g-color-text-danger);
@@ -4,4 +4,4 @@
4
4
  export interface CapabilitiesResponse {
5
5
  Capabilities: Record<Partial<Capability>, number>;
6
6
  }
7
- export type Capability = '/pdisk/info' | '/scheme/directory' | '/storage/groups' | '/viewer/query';
7
+ export type Capability = '/pdisk/info' | '/scheme/directory' | '/storage/groups' | '/viewer/query' | '/viewer/feature_flags';
@@ -3,3 +3,4 @@ export interface IProtobufTimeObject {
3
3
  seconds?: string;
4
4
  nanos?: number;
5
5
  }
6
+ export type BackendSortParam<T extends string> = `-${T}` | `+${T}` | T;
@@ -17,6 +17,9 @@ export interface MetaExtendedClusterInfo extends MetaGeneralClusterInfo {
17
17
  hosts?: Record<string, number>;
18
18
  versions?: MetaClusterVersion[];
19
19
  }
20
+ export interface MetaBaseClusters {
21
+ clusters: MetaBaseClusterInfo[];
22
+ }
20
23
  export interface MetaBaseClusterInfo {
21
24
  owner?: string;
22
25
  location?: string;
@@ -1,3 +1,4 @@
1
+ import type { BackendSortParam } from './common';
1
2
  import type { EFlag } from './enums';
2
3
  import type { TPDiskStateInfo } from './pdisk';
3
4
  import type { TTabletStateInfo } from './tablet';
@@ -116,4 +117,36 @@ declare enum EConfigState {
116
117
  'Consistent' = "Consistent",
117
118
  'Outdated' = "Outdated"
118
119
  }
120
+ type NodesType = 'static' | 'dynamic' | 'any';
121
+ type NodesWithFilter = 'space' | 'missing' | 'all';
122
+ type NodesGroupByField = 'NodeId' | 'Host' | 'NodeName' | 'Database' | 'DiskSpaceUsage' | 'DC' | 'Rack' | 'Missing' | 'Uptime' | 'Version';
123
+ type NodesRequiredField = 'NodeId' | 'SystemState' | 'PDisks' | 'VDisks' | 'Tablets' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'Memory' | 'CPU' | 'LoadAverage' | 'Missing' | 'DiskSpaceUsage' | 'SubDomainKey' | 'DisconnectTime' | 'Database';
124
+ export type NodesSortValue = 'NodeId' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'CPU' | 'LoadAverage' | 'Memory' | `Missing` | `DiskSpaceUsage` | `Database`;
125
+ export type NodesSort = BackendSortParam<NodesSortValue>;
126
+ export interface NodesRequestParams {
127
+ /** @deprecated use database instead */
128
+ tenant?: string;
129
+ database?: string;
130
+ path?: string;
131
+ node_id?: string | number;
132
+ group_id?: string | number;
133
+ pool?: string;
134
+ type?: NodesType;
135
+ with?: NodesWithFilter;
136
+ storage?: boolean;
137
+ tablets?: boolean;
138
+ /** return nodes with less uptime in seconds */
139
+ uptime?: number;
140
+ /** return nodes with SystemState !== EFlag.Green */
141
+ problems_only?: boolean;
142
+ /** filter nodes by id or host */
143
+ filter?: string;
144
+ sort?: NodesSort;
145
+ group?: NodesGroupByField;
146
+ filter_group_by?: NodesGroupByField;
147
+ filter_group?: string;
148
+ fieldsRequired?: NodesRequiredField[] | 'all';
149
+ offset?: number;
150
+ limit?: number;
151
+ }
119
152
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AAmIA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
1
+ {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AAoIA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
@@ -219,6 +219,7 @@ interface MultiSchemaResult {
219
219
  result?: {
220
220
  rows?: ArrayRow[] | null;
221
221
  columns?: ColumnType[];
222
+ truncated?: boolean;
222
223
  }[];
223
224
  }
224
225
  interface DefaultSchemaResult {
@@ -1,3 +1,4 @@
1
+ import type { BackendSortParam } from './common';
1
2
  import type { EFlag } from './enums';
2
3
  import type { EDecommitStatus, EDriveStatus, TPDiskStateInfo } from './pdisk';
3
4
  import type { EVDiskStatus, TVDiskStateInfo } from './vdisk';
@@ -190,12 +191,12 @@ export type StorageV2SortValue = 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' |
190
191
  /**
191
192
  * Values to sort /storage/groups response
192
193
  */
193
- export type GroupsSortField = StorageV2SortValue | 'MissingDisks' | 'State' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits';
194
- export type StorageV2Sort = `-${StorageV2SortValue}` | `+${StorageV2SortValue}`;
195
- export type GroupsSort = `-${GroupsSortField}` | `+${GroupsSortField}`;
194
+ export type GroupsSortField = StorageV2SortValue | 'MissingDisks' | 'State' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits' | 'Latency';
195
+ export type StorageV2Sort = BackendSortParam<StorageV2SortValue>;
196
+ export type GroupsSort = BackendSortParam<GroupsSortField>;
196
197
  export type StorageWithFilter = 'space' | 'missing' | 'all';
197
- export type GroupsGroupByField = 'GroupId' | 'Erasure' | 'Usage' | 'DiskSpaceUsage' | 'PoolName' | 'Kind' | 'Encryption' | 'MediaType' | 'MissingDisks' | 'State';
198
- export type GroupsRequiredField = 'GroupId' | 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'MissingDisks' | 'Degraded' | 'State' | 'Usage' | 'Used' | 'Limit' | 'Usage' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits' | 'Read' | 'Write' | 'PDisk' | 'VDisk';
198
+ export type GroupsGroupByField = 'GroupId' | 'Erasure' | 'Usage' | 'DiskSpaceUsage' | 'PoolName' | 'Kind' | 'Encryption' | 'MediaType' | 'MissingDisks' | 'State' | 'Latency';
199
+ export type GroupsRequiredField = 'GroupId' | 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'MissingDisks' | 'Degraded' | 'State' | 'Usage' | 'Used' | 'Limit' | 'Usage' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits' | 'Read' | 'Write' | 'PDisk' | 'VDisk' | 'Latency';
199
200
  interface BaseStorageRequestParams {
200
201
  /** @deprecated use database instead */
201
202
  tenant?: string;
@@ -220,6 +221,8 @@ export interface GroupsRequestParams extends BaseStorageRequestParams {
220
221
  groupId?: string | number | (string | number)[];
221
222
  sort?: GroupsSort;
222
223
  group?: GroupsGroupByField;
224
+ filter_group_by?: GroupsGroupByField;
225
+ filter_group?: string;
223
226
  fieldsRequired?: GroupsRequiredField[] | 'all';
224
227
  }
225
228
  export {};
@@ -1,10 +1,12 @@
1
- import type { QUERY_ACTIONS, QUERY_MODES, QUERY_SYNTAX, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES } from '../../utils/query';
1
+ import type { z } from 'zod';
2
+ import type { QUERY_ACTIONS, QUERY_MODES, QUERY_SYNTAX, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, querySettingsValidationSchema } from '../../utils/query';
2
3
  import type { IResponseError, NetworkError } from '../api/error';
3
4
  import type { ColumnType, KeyValueRow, ErrorResponse as QueryErrorResponseData, QueryPlan, ScriptPlan, TKqpStatsQuery } from '../api/query';
4
5
  import type { ValueOf } from '../common';
5
6
  export interface ParsedResultSet {
6
7
  columns?: ColumnType[];
7
8
  result?: KeyValueRow[];
9
+ truncated?: boolean;
8
10
  }
9
11
  export interface IQueryResult {
10
12
  resultSets?: ParsedResultSet[];
@@ -14,18 +16,13 @@ export interface IQueryResult {
14
16
  plan?: ScriptPlan | QueryPlan;
15
17
  ast?: string;
16
18
  traceId?: string;
19
+ truncated?: boolean;
17
20
  }
18
21
  export interface QueryRequestParams {
19
22
  database: string;
20
23
  query: string;
21
24
  }
22
- export interface QuerySettings {
23
- queryMode: QueryMode;
24
- transactionMode: TransactionMode;
25
- timeout?: string;
26
- statisticsMode?: StatisticsMode;
27
- tracingLevel?: TracingLevel;
28
- }
25
+ export type QuerySettings = z.infer<typeof querySettingsValidationSchema>;
29
26
  export type QueryErrorResponse = IResponseError<QueryErrorResponseData>;
30
27
  export type QueryError = NetworkError | QueryErrorResponse;
31
28
  export type QueryAction = ValueOf<typeof QUERY_ACTIONS>;
@@ -95,13 +95,6 @@ export declare const TENANT_OVERVIEW_TABLES_SETTINGS: {
95
95
  readonly stripedRows?: boolean;
96
96
  readonly headerMod?: "multiline" | "pre";
97
97
  };
98
- export declare const DEFAULT_QUERY_SETTINGS: {
99
- queryMode: "query";
100
- transactionMode: "implicit";
101
- timeout: string;
102
- statisticsMode: "none";
103
- tracingLevel: "detailed";
104
- };
105
98
  export declare const QUERY_EXECUTION_SETTINGS_KEY = "queryExecutionSettings";
106
99
  export declare const LAST_QUERY_EXECUTION_SETTINGS_KEY = "last_query_execution_settings";
107
100
  export declare const QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY = "querySettingsBannerLastClosed";
@@ -116,4 +109,3 @@ export declare const ENABLE_AUTOCOMPLETE = "enableAutocomplete";
116
109
  export declare const AUTOCOMPLETE_ON_ENTER = "autocompleteOnEnter";
117
110
  export declare const IS_HOTKEYS_HELP_HIDDEN_KEY = "isHotKeysHelpHidden";
118
111
  export declare const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = "enable_tracing_for_all_requests";
119
- export declare const USE_ADVANCED_STORAGE_KEY = "use_advanced_storage";
@@ -1,6 +1,5 @@
1
1
  import DataTable from '@gravity-ui/react-data-table';
2
2
  import { EType } from '../types/api/tablet';
3
- import { QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES } from './query';
4
3
  const SECOND = 1000;
5
4
  export const AUTO_RELOAD_INTERVAL = 10 * SECOND;
6
5
  export const DEFAULT_POLLING_INTERVAL = 30 * SECOND;
@@ -96,13 +95,6 @@ export const TENANT_OVERVIEW_TABLES_SETTINGS = {
96
95
  stickyHead: 'fixed',
97
96
  dynamicRender: false,
98
97
  };
99
- export const DEFAULT_QUERY_SETTINGS = {
100
- queryMode: QUERY_MODES.query,
101
- transactionMode: TRANSACTION_MODES.implicit,
102
- timeout: '60',
103
- statisticsMode: STATISTICS_MODES.none,
104
- tracingLevel: TRACING_LEVELS.detailed,
105
- };
106
98
  export const QUERY_EXECUTION_SETTINGS_KEY = 'queryExecutionSettings';
107
99
  export const LAST_QUERY_EXECUTION_SETTINGS_KEY = 'last_query_execution_settings';
108
100
  export const QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY = 'querySettingsBannerLastClosed';
@@ -122,5 +114,4 @@ export const ENABLE_AUTOCOMPLETE = 'enableAutocomplete';
122
114
  export const AUTOCOMPLETE_ON_ENTER = 'autocompleteOnEnter';
123
115
  export const IS_HOTKEYS_HELP_HIDDEN_KEY = 'isHotKeysHelpHidden';
124
116
  export const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = 'enable_tracing_for_all_requests';
125
- export const USE_ADVANCED_STORAGE_KEY = 'use_advanced_storage';
126
117
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAG1C,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAEzF,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC;AAChD,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,GAAG,MAAM,CAAC;AACpD,yDAAyD;AACzD,6DAA6D;AAC7D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAK,CAAC;AAC9B,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAS,CAAC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAa,CAAC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAiB,CAAC;AAE1C,MAAM,C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AACjF,MAAM,CAAC,MAAM,qCAAqC,GAAG,+BAA+B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,yBAAyB,CAAC;AAEvE,sDAAsD;AACtD,MAAM,CAAC,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAElE,kCAAkC;AAClC,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEpE,0CAA0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,kDAAkD;AAClD,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { OrderType } from '@gravity-ui/react-data-table';
2
- export declare const prepareSortValue: (sortValue: string | undefined, sortOrder?: OrderType) => string;
2
+ import type { BackendSortParam } from '../types/api/common';
3
+ export declare const prepareSortValue: <T extends string>(sortValue: T, sortOrder?: OrderType) => BackendSortParam<T>;
3
4
  export declare const prepareSearchValue: (searchValue?: string) => RegExp;
@@ -1,11 +1,8 @@
1
1
  import { DESCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
2
2
  import escapeRegExp from 'lodash/escapeRegExp';
3
3
  export const prepareSortValue = (sortValue, sortOrder = DESCENDING) => {
4
- if (!sortValue) {
5
- return '';
6
- }
7
4
  if (sortOrder === DESCENDING) {
8
- return '-' + sortValue;
5
+ return `-${sortValue}`;
9
6
  }
10
7
  return sortValue;
11
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"filters.js","sourceRoot":"","sources":["../../src/utils/filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,sDAAsD,CAAC;AAChF,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC5B,SAA6B,EAC7B,YAAuB,UAAU,EACnC,EAAE;IACA,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,SAAS,KAAK,UAAU,EAAE,CAAC;QAC3B,OAAO,GAAG,GAAG,SAAS,CAAC;IAC3B,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,WAAW,GAAG,EAAE,EAAE,EAAE;IACnD,OAAO,IAAI,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,CAAC;AACtD,CAAC,CAAC"}
1
+ {"version":3,"file":"filters.js","sourceRoot":"","sources":["../../src/utils/filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,sDAAsD,CAAC;AAChF,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAI/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC5B,SAAY,EACZ,YAAuB,UAAU,EACd,EAAE;IACrB,IAAI,SAAS,KAAK,UAAU,EAAE,CAAC;QAC3B,OAAO,IAAI,SAAS,EAAE,CAAC;IAC3B,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,WAAW,GAAG,EAAE,EAAE,EAAE;IACnD,OAAO,IAAI,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,CAAC;AACtD,CAAC,CAAC"}
@@ -3,8 +3,8 @@ export declare const useChangedQuerySettings: () => {
3
3
  isIndicatorShown: boolean | 0 | undefined;
4
4
  closeBanner: () => void;
5
5
  resetBanner: () => void;
6
- changedCurrentSettings: (keyof import("../../types/store/query").QuerySettings)[];
6
+ changedCurrentSettings: (("queryMode" | "transactionMode" | "statisticsMode" | "tracingLevel") | ("timeout" | "limitRows"))[];
7
7
  changedCurrentSettingsDescriptions: Record<string, string>;
8
- changedLastExucutionSettings: (keyof import("../../types/store/query").QuerySettings)[];
8
+ changedLastExucutionSettings: (("queryMode" | "transactionMode" | "statisticsMode" | "tracingLevel") | ("timeout" | "limitRows"))[];
9
9
  changedLastExecutionSettingsDescriptions: Record<string, string>;
10
10
  };