ydb-embedded-ui 6.17.2 → 6.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. package/dist/assets/icons/decommission.svg +6 -0
  2. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
  3. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
  4. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
  5. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  6. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
  7. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
  8. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  9. package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
  10. package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
  11. package/dist/components/CriticalActionDialog/utils.js +4 -0
  12. package/dist/components/CriticalActionDialog/utils.js.map +1 -0
  13. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
  14. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
  15. package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
  16. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
  17. package/dist/components/GroupInfo/GroupInfo.js +3 -3
  18. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
  19. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  20. package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
  21. package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
  22. package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
  23. package/dist/components/Loader/Loader.js +1 -1
  24. package/dist/components/Loader/Loader.js.map +1 -1
  25. package/dist/components/MetricChart/reducer.d.ts +2 -2
  26. package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
  27. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  28. package/dist/components/PDiskInfo/i18n/en.json +0 -1
  29. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  30. package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
  31. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  32. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  33. package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
  34. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  35. package/dist/components/PaginatedTable/PaginatedTable.scss +16 -14
  36. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
  37. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  38. package/dist/components/PaginatedTable/TableChunk.js +12 -4
  39. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  40. package/dist/components/PaginatedTable/TableHead.js +14 -10
  41. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  42. package/dist/components/PaginatedTable/TableRow.js +14 -6
  43. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  44. package/dist/components/PaginatedTable/types.d.ts +1 -1
  45. package/dist/components/Skeleton/Skeleton.js +1 -1
  46. package/dist/components/Skeleton/Skeleton.js.map +1 -1
  47. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
  48. package/dist/components/VDisk/VDisk.d.ts +6 -3
  49. package/dist/components/VDisk/VDisk.js +6 -4
  50. package/dist/components/VDisk/VDisk.js.map +1 -1
  51. package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
  52. package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
  53. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  54. package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
  55. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  56. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
  57. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
  58. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
  59. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  60. package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
  61. package/dist/containers/AppWithClusters/useClusterData.js +8 -8
  62. package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
  63. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
  64. package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
  65. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  66. package/dist/containers/AsideNavigation/Navigation.js +4 -1
  67. package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
  68. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
  69. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
  70. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
  71. package/dist/containers/Cluster/Cluster.js +5 -13
  72. package/dist/containers/Cluster/Cluster.js.map +1 -1
  73. package/dist/containers/Cluster/Cluster.scss +1 -0
  74. package/dist/containers/Header/Header.js +3 -7
  75. package/dist/containers/Header/Header.js.map +1 -1
  76. package/dist/containers/Node/Node.js +1 -5
  77. package/dist/containers/Node/Node.js.map +1 -1
  78. package/dist/containers/Node/NodePages.js +5 -4
  79. package/dist/containers/Node/NodePages.js.map +1 -1
  80. package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
  81. package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
  82. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
  83. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
  84. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
  85. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
  86. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
  87. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
  88. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
  89. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +19 -14
  90. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  91. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
  92. package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
  93. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
  94. package/dist/containers/PDiskPage/PDiskPage.js +33 -15
  95. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  96. package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
  97. package/dist/containers/PDiskPage/i18n/en.json +16 -2
  98. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  99. package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
  100. package/dist/containers/Storage/Disks/Disks.js +37 -0
  101. package/dist/containers/Storage/Disks/Disks.js.map +1 -0
  102. package/dist/containers/Storage/Disks/Disks.scss +46 -0
  103. package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
  104. package/dist/containers/Storage/PDisk/PDisk.js +14 -7
  105. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  106. package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
  107. package/dist/containers/Storage/PaginatedStorage.js +1 -4
  108. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  109. package/dist/containers/Storage/Storage.js +11 -13
  110. package/dist/containers/Storage/Storage.js.map +1 -1
  111. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
  112. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +11 -7
  113. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  114. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
  115. package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
  116. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  117. package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
  118. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
  119. package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +47 -40
  120. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
  121. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
  122. package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
  123. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
  124. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
  125. package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
  126. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
  127. package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
  128. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  129. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
  130. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  131. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
  132. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  133. package/dist/containers/Storage/utils/index.js +3 -4
  134. package/dist/containers/Storage/utils/index.js.map +1 -1
  135. package/dist/containers/Tablet/Tablet.js +13 -11
  136. package/dist/containers/Tablet/Tablet.js.map +1 -1
  137. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
  138. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
  139. package/dist/containers/Tablet/i18n/en.json +6 -3
  140. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  141. package/dist/containers/Tablets/Tablets.js +1 -1
  142. package/dist/containers/Tablets/Tablets.js.map +1 -1
  143. package/dist/containers/Tablets/i18n/en.json +2 -1
  144. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  145. package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
  146. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
  147. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
  148. package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
  149. package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
  150. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
  151. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
  152. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
  153. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  154. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  155. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
  156. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  157. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
  159. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +22 -5
  160. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  161. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
  162. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
  163. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
  164. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
  165. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  166. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
  167. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  168. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
  169. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
  170. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
  171. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
  172. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
  173. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +8 -6
  174. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  175. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -6
  176. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
  177. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +28 -0
  178. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
  179. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -2
  180. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  181. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
  182. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
  183. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  184. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
  185. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
  186. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
  187. package/dist/containers/Tenant/Query/Query.js +14 -2
  188. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  189. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
  190. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
  191. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  192. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  193. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  194. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
  195. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
  196. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
  197. package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
  198. package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
  199. package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
  200. package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
  201. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  202. package/dist/containers/UserSettings/i18n/en.json +2 -0
  203. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  204. package/dist/containers/UserSettings/settings.d.ts +1 -0
  205. package/dist/containers/UserSettings/settings.js +12 -2
  206. package/dist/containers/UserSettings/settings.js.map +1 -1
  207. package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
  208. package/dist/containers/VDiskPage/VDiskPage.js +37 -17
  209. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  210. package/dist/containers/VDiskPage/i18n/en.json +2 -1
  211. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  212. package/dist/containers/VDiskPage/utils.d.ts +2 -0
  213. package/dist/containers/VDiskPage/utils.js +7 -0
  214. package/dist/containers/VDiskPage/utils.js.map +1 -0
  215. package/dist/lib.d.ts +1 -0
  216. package/dist/lib.js +1 -0
  217. package/dist/lib.js.map +1 -1
  218. package/dist/services/api.d.ts +27 -11
  219. package/dist/services/api.js +110 -21
  220. package/dist/services/api.js.map +1 -1
  221. package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
  222. package/dist/services/parsers/parseMetaCluster.js +20 -1
  223. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  224. package/dist/services/settings.d.ts +1 -0
  225. package/dist/services/settings.js +2 -1
  226. package/dist/services/settings.js.map +1 -1
  227. package/dist/store/configureStore.d.ts +4 -4
  228. package/dist/store/defaultStore.d.ts +2 -2
  229. package/dist/store/getUrlData.js +9 -6
  230. package/dist/store/getUrlData.js.map +1 -1
  231. package/dist/store/reducers/api.d.ts +1 -1
  232. package/dist/store/reducers/api.js +1 -1
  233. package/dist/store/reducers/api.js.map +1 -1
  234. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  235. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  236. package/dist/store/reducers/cancelQuery.js.map +1 -1
  237. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  238. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  239. package/dist/store/reducers/capabilities/hooks.js +8 -1
  240. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  241. package/dist/store/reducers/cluster/cluster.d.ts +230 -2
  242. package/dist/store/reducers/cluster/cluster.js +36 -3
  243. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  244. package/dist/store/reducers/cluster/utils.d.ts +1 -0
  245. package/dist/store/reducers/cluster/utils.js +7 -0
  246. package/dist/store/reducers/cluster/utils.js.map +1 -1
  247. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  248. package/dist/store/reducers/describe.d.ts +2 -2
  249. package/dist/store/reducers/executeQuery.d.ts +8 -4
  250. package/dist/store/reducers/executeQuery.js +36 -1
  251. package/dist/store/reducers/executeQuery.js.map +1 -1
  252. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  253. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
  254. package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
  255. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  256. package/dist/store/reducers/explainQuery/types.d.ts +1 -0
  257. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  258. package/dist/store/reducers/heatmap.d.ts +2 -2
  259. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  260. package/dist/store/reducers/index.d.ts +3 -3
  261. package/dist/store/reducers/network/network.d.ts +2 -2
  262. package/dist/store/reducers/node/node.d.ts +3 -3
  263. package/dist/store/reducers/node/selectors.d.ts +1 -1
  264. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  265. package/dist/store/reducers/nodes/nodes.js +1 -2
  266. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  267. package/dist/store/reducers/nodesList.d.ts +3 -3
  268. package/dist/store/reducers/overview/overview.d.ts +2 -2
  269. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  270. package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
  271. package/dist/store/reducers/pdisk/pdisk.js +1 -21
  272. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  273. package/dist/store/reducers/pdisk/utils.d.ts +0 -3
  274. package/dist/store/reducers/pdisk/utils.js +0 -22
  275. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  276. package/dist/store/reducers/preview.d.ts +2 -2
  277. package/dist/store/reducers/schema/schema.d.ts +3 -3
  278. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  279. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  280. package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
  281. package/dist/store/reducers/storage/requestStorageData.js +12 -0
  282. package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
  283. package/dist/store/reducers/storage/selectors.js +1 -1
  284. package/dist/store/reducers/storage/storage.d.ts +6 -4
  285. package/dist/store/reducers/storage/storage.js +6 -6
  286. package/dist/store/reducers/storage/storage.js.map +1 -1
  287. package/dist/store/reducers/storage/types.d.ts +11 -23
  288. package/dist/store/reducers/storage/utils.d.ts +3 -2
  289. package/dist/store/reducers/storage/utils.js +52 -26
  290. package/dist/store/reducers/storage/utils.js.map +1 -1
  291. package/dist/store/reducers/tableData.d.ts +1 -1
  292. package/dist/store/reducers/tablet.d.ts +7 -7
  293. package/dist/store/reducers/tablets.d.ts +13 -13
  294. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  295. package/dist/store/reducers/tenant/constants.js +1 -0
  296. package/dist/store/reducers/tenant/constants.js.map +1 -1
  297. package/dist/store/reducers/tenant/tenant.d.ts +5 -2
  298. package/dist/store/reducers/tenant/tenant.js +12 -0
  299. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  300. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  301. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  302. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  303. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  304. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  305. package/dist/store/reducers/topic.d.ts +44 -44
  306. package/dist/store/reducers/trace.d.ts +7 -0
  307. package/dist/store/reducers/trace.js +18 -0
  308. package/dist/store/reducers/trace.js.map +1 -0
  309. package/dist/store/reducers/vdisk/utils.d.ts +0 -2
  310. package/dist/store/reducers/vdisk/utils.js +0 -10
  311. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  312. package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
  313. package/dist/store/reducers/vdisk/vdisk.js +17 -32
  314. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  315. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  316. package/dist/types/api/capabilities.d.ts +1 -1
  317. package/dist/types/api/cluster.d.ts +3 -0
  318. package/dist/types/api/compute.d.ts +1 -4
  319. package/dist/types/api/compute.js +1 -5
  320. package/dist/types/api/compute.js.map +1 -1
  321. package/dist/types/api/featureFlags.d.ts +13 -0
  322. package/dist/types/api/featureFlags.js +2 -0
  323. package/dist/types/api/featureFlags.js.map +1 -0
  324. package/dist/types/api/meta.d.ts +5 -1
  325. package/dist/types/api/modifyDisk.d.ts +1 -0
  326. package/dist/types/api/pdisk.d.ts +2 -2
  327. package/dist/types/api/query.d.ts +7 -1
  328. package/dist/types/api/storage.d.ts +132 -6
  329. package/dist/types/api/storage.js +1 -5
  330. package/dist/types/api/storage.js.map +1 -1
  331. package/dist/types/api/trace.d.ts +17 -0
  332. package/dist/types/api/trace.js +8 -0
  333. package/dist/types/api/trace.js.map +1 -0
  334. package/dist/types/api/vdisk.d.ts +1 -1
  335. package/dist/types/store/executeQuery.d.ts +25 -3
  336. package/dist/types/store/executeQuery.js +5 -1
  337. package/dist/types/store/executeQuery.js.map +1 -1
  338. package/dist/types/store/query.d.ts +1 -0
  339. package/dist/utils/constants.d.ts +1 -0
  340. package/dist/utils/constants.js +1 -0
  341. package/dist/utils/constants.js.map +1 -1
  342. package/dist/utils/disks/helpers.d.ts +5 -2
  343. package/dist/utils/disks/helpers.js +12 -2
  344. package/dist/utils/disks/helpers.js.map +1 -1
  345. package/dist/utils/disks/prepareDisks.js +10 -5
  346. package/dist/utils/disks/prepareDisks.js.map +1 -1
  347. package/dist/utils/hooks/useDelayed.d.ts +1 -1
  348. package/dist/utils/hooks/useDelayed.js +6 -1
  349. package/dist/utils/hooks/useDelayed.js.map +1 -1
  350. package/dist/utils/index.d.ts +1 -0
  351. package/dist/utils/index.js +5 -0
  352. package/dist/utils/index.js.map +1 -1
  353. package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
  354. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  355. package/dist/utils/query.js.map +1 -1
  356. package/dist/utils/storage.d.ts +2 -21
  357. package/dist/utils/storage.js +14 -19
  358. package/dist/utils/storage.js.map +1 -1
  359. package/package.json +1 -6
  360. package/dist/components/CriticalActionDialog/index.d.ts +0 -1
  361. package/dist/components/CriticalActionDialog/index.js +0 -2
  362. package/dist/components/CriticalActionDialog/index.js.map +0 -1
  363. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
  364. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
  365. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
  366. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
  367. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
  368. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
  369. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
  370. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
  371. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
  372. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
  373. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
  374. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
  375. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
  376. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
  377. /package/dist/{store/reducers/tenantOverview/topStorageGroups → containers/Storage/StorageGroups/columns}/types.js +0 -0
@@ -3,10 +3,10 @@ export declare const topicApi: import("@reduxjs/toolkit/query").Api<import("@red
3
3
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
4
4
  path: string;
5
5
  database: string;
6
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
7
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
7
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
8
8
  export declare const selectConsumersNames: ((state: {
9
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
9
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
10
10
  singleClusterMode: boolean;
11
11
  cluster: import("./cluster/types").ClusterState;
12
12
  tenant: import("./tenant/types").TenantState;
@@ -37,7 +37,7 @@ export declare const selectConsumersNames: ((state: {
37
37
  };
38
38
  lastResult: () => string[] | undefined;
39
39
  dependencies: [((state: {
40
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
40
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
41
41
  singleClusterMode: boolean;
42
42
  cluster: import("./cluster/types").ClusterState;
43
43
  tenant: import("./tenant/types").TenantState;
@@ -61,7 +61,7 @@ export declare const selectConsumersNames: ((state: {
61
61
  resetResultsCount: () => void;
62
62
  } & {
63
63
  resultFunc: (resultFuncArgs_0: {
64
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
64
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
65
65
  singleClusterMode: boolean;
66
66
  cluster: import("./cluster/types").ClusterState;
67
67
  tenant: import("./tenant/types").TenantState;
@@ -83,13 +83,13 @@ export declare const selectConsumersNames: ((state: {
83
83
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
84
84
  path: string;
85
85
  database: string;
86
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
87
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
86
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
87
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
88
88
  path: string;
89
89
  database: string;
90
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
90
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
91
91
  memoizedResultFunc: ((resultFuncArgs_0: {
92
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
92
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
93
93
  singleClusterMode: boolean;
94
94
  cluster: import("./cluster/types").ClusterState;
95
95
  tenant: import("./tenant/types").TenantState;
@@ -111,18 +111,18 @@ export declare const selectConsumersNames: ((state: {
111
111
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
112
112
  path: string;
113
113
  database: string;
114
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
115
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
114
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
115
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
116
116
  path: string;
117
117
  database: string;
118
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
118
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
119
119
  clearCache: () => void;
120
120
  resultsCount: () => number;
121
121
  resetResultsCount: () => void;
122
122
  };
123
123
  lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
124
124
  dependencies: [(state: RootState) => {
125
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
125
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
126
126
  singleClusterMode: boolean;
127
127
  cluster: import("./cluster/types").ClusterState;
128
128
  tenant: import("./tenant/types").TenantState;
@@ -144,11 +144,11 @@ export declare const selectConsumersNames: ((state: {
144
144
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
145
145
  path: string;
146
146
  database: string;
147
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
148
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
147
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
148
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
149
149
  path: string;
150
150
  database: string;
151
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
151
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
152
152
  recomputations: () => number;
153
153
  resetRecomputations: () => void;
154
154
  dependencyRecomputations: () => number;
@@ -166,7 +166,7 @@ export declare const selectConsumersNames: ((state: {
166
166
  memoize: typeof import("reselect").weakMapMemoize;
167
167
  };
168
168
  export declare const selectPreparedTopicStats: ((state: {
169
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
169
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
170
170
  singleClusterMode: boolean;
171
171
  cluster: import("./cluster/types").ClusterState;
172
172
  tenant: import("./tenant/types").TenantState;
@@ -217,7 +217,7 @@ export declare const selectPreparedTopicStats: ((state: {
217
217
  writeSpeed: import("../../utils/bytesParsers").ProcessSpeedStats;
218
218
  } | undefined;
219
219
  dependencies: [((state: {
220
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
220
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
221
221
  singleClusterMode: boolean;
222
222
  cluster: import("./cluster/types").ClusterState;
223
223
  tenant: import("./tenant/types").TenantState;
@@ -241,7 +241,7 @@ export declare const selectPreparedTopicStats: ((state: {
241
241
  resetResultsCount: () => void;
242
242
  } & {
243
243
  resultFunc: (resultFuncArgs_0: {
244
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
244
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
245
245
  singleClusterMode: boolean;
246
246
  cluster: import("./cluster/types").ClusterState;
247
247
  tenant: import("./tenant/types").TenantState;
@@ -263,13 +263,13 @@ export declare const selectPreparedTopicStats: ((state: {
263
263
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
264
264
  path: string;
265
265
  database: string;
266
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
267
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
266
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
267
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
268
268
  path: string;
269
269
  database: string;
270
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined;
270
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined;
271
271
  memoizedResultFunc: ((resultFuncArgs_0: {
272
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
272
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
273
273
  singleClusterMode: boolean;
274
274
  cluster: import("./cluster/types").ClusterState;
275
275
  tenant: import("./tenant/types").TenantState;
@@ -291,18 +291,18 @@ export declare const selectPreparedTopicStats: ((state: {
291
291
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
292
292
  path: string;
293
293
  database: string;
294
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
295
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
294
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
295
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
296
296
  path: string;
297
297
  database: string;
298
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined) & {
298
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/topic").TopicStats | undefined) & {
299
299
  clearCache: () => void;
300
300
  resultsCount: () => number;
301
301
  resetResultsCount: () => void;
302
302
  };
303
303
  lastResult: () => import("../../types/api/topic").TopicStats | undefined;
304
304
  dependencies: [(state: RootState) => {
305
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
305
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
306
306
  singleClusterMode: boolean;
307
307
  cluster: import("./cluster/types").ClusterState;
308
308
  tenant: import("./tenant/types").TenantState;
@@ -324,11 +324,11 @@ export declare const selectPreparedTopicStats: ((state: {
324
324
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
325
325
  path: string;
326
326
  database: string;
327
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
328
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
327
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
328
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
329
329
  path: string;
330
330
  database: string;
331
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
331
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
332
332
  recomputations: () => number;
333
333
  resetRecomputations: () => void;
334
334
  dependencyRecomputations: () => number;
@@ -346,7 +346,7 @@ export declare const selectPreparedTopicStats: ((state: {
346
346
  memoize: typeof import("reselect").weakMapMemoize;
347
347
  };
348
348
  export declare const selectPreparedConsumersData: ((state: {
349
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
349
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
350
350
  singleClusterMode: boolean;
351
351
  cluster: import("./cluster/types").ClusterState;
352
352
  tenant: import("./tenant/types").TenantState;
@@ -401,7 +401,7 @@ export declare const selectPreparedConsumersData: ((state: {
401
401
  readIdleTime: number;
402
402
  }[] | undefined;
403
403
  dependencies: [((state: {
404
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
404
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
405
405
  singleClusterMode: boolean;
406
406
  cluster: import("./cluster/types").ClusterState;
407
407
  tenant: import("./tenant/types").TenantState;
@@ -425,7 +425,7 @@ export declare const selectPreparedConsumersData: ((state: {
425
425
  resetResultsCount: () => void;
426
426
  } & {
427
427
  resultFunc: (resultFuncArgs_0: {
428
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
428
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
429
429
  singleClusterMode: boolean;
430
430
  cluster: import("./cluster/types").ClusterState;
431
431
  tenant: import("./tenant/types").TenantState;
@@ -447,13 +447,13 @@ export declare const selectPreparedConsumersData: ((state: {
447
447
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
448
448
  path: string;
449
449
  database: string;
450
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
451
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
450
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
451
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
452
452
  path: string;
453
453
  database: string;
454
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
454
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined;
455
455
  memoizedResultFunc: ((resultFuncArgs_0: {
456
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
456
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
457
457
  singleClusterMode: boolean;
458
458
  cluster: import("./cluster/types").ClusterState;
459
459
  tenant: import("./tenant/types").TenantState;
@@ -475,18 +475,18 @@ export declare const selectPreparedConsumersData: ((state: {
475
475
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
476
476
  path: string;
477
477
  database: string;
478
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
479
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
478
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
479
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
480
480
  path: string;
481
481
  database: string;
482
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
482
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>) => import("../../types/api/consumer").Consumer[] | undefined) & {
483
483
  clearCache: () => void;
484
484
  resultsCount: () => number;
485
485
  resetResultsCount: () => void;
486
486
  };
487
487
  lastResult: () => import("../../types/api/consumer").Consumer[] | undefined;
488
488
  dependencies: [(state: RootState) => {
489
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
489
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
490
490
  singleClusterMode: boolean;
491
491
  cluster: import("./cluster/types").ClusterState;
492
492
  tenant: import("./tenant/types").TenantState;
@@ -508,11 +508,11 @@ export declare const selectPreparedConsumersData: ((state: {
508
508
  getTopic: import("@reduxjs/toolkit/query").QueryDefinition<{
509
509
  path: string;
510
510
  database: string;
511
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
512
- }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
511
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">;
512
+ }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
513
513
  path: string;
514
514
  database: string;
515
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
515
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/topic").DescribeTopicResult | undefined, "api">>];
516
516
  recomputations: () => number;
517
517
  resetRecomputations: () => void;
518
518
  dependencyRecomputations: () => number;
@@ -0,0 +1,7 @@
1
+ interface CheckTraceParams {
2
+ url: string;
3
+ }
4
+ export declare const traceApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
5
+ checkTrace: import("@reduxjs/toolkit/query").QueryDefinition<CheckTraceParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
6
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
7
+ export {};
@@ -0,0 +1,18 @@
1
+ import { api } from './api';
2
+ export const traceApi = api.injectEndpoints({
3
+ endpoints: (build) => ({
4
+ checkTrace: build.query({
5
+ queryFn: async ({ url }, { signal }) => {
6
+ try {
7
+ const response = await window.api.checkTrace({ url }, { signal });
8
+ return { data: response };
9
+ }
10
+ catch (error) {
11
+ return { error: error };
12
+ }
13
+ },
14
+ }),
15
+ }),
16
+ overrideExisting: 'throw',
17
+ });
18
+ //# sourceMappingURL=trace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAM1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACjD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC9D,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { TEvPDiskStateResponse } from '../../../types/api/pdisk';
2
- import type { TStorageInfo } from '../../../types/api/storage';
3
2
  import type { TEvSystemStateResponse } from '../../../types/api/systemState';
4
3
  import type { TEvVDiskStateResponse } from '../../../types/api/vdisk';
5
4
  import type { VDiskData } from './types';
@@ -8,4 +7,3 @@ export declare function prepareVDiskDataResponse([vDiskResponse, pDiskResponse,
8
7
  TEvPDiskStateResponse,
9
8
  TEvSystemStateResponse
10
9
  ]): VDiskData;
11
- export declare function prepareVDiskGroupResponse(data: TStorageInfo, poolName: string, groupId: number): import("../storage/types").PreparedStorageGroup | undefined;
@@ -1,6 +1,5 @@
1
1
  import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepareDisks';
2
2
  import { prepareNodeSystemState } from '../../../utils/nodes';
3
- import { prepareStorageGroupData } from '../storage/utils';
4
3
  export function prepareVDiskDataResponse([vDiskResponse, pDiskResponse, nodeResponse]) {
5
4
  var _a, _b, _c, _d, _e, _f, _g;
6
5
  const rawVDisk = (_a = vDiskResponse.VDiskStateInfo) === null || _a === void 0 ? void 0 : _a[0];
@@ -25,13 +24,4 @@ export function prepareVDiskDataResponse([vDiskResponse, pDiskResponse, nodeResp
25
24
  PDiskType,
26
25
  };
27
26
  }
28
- export function prepareVDiskGroupResponse(data, poolName, groupId) {
29
- var _a, _b;
30
- const rawPoolData = (_a = data.StoragePools) === null || _a === void 0 ? void 0 : _a.find((pool) => pool.Name === poolName);
31
- const rawGroupData = (_b = rawPoolData === null || rawPoolData === void 0 ? void 0 : rawPoolData.Groups) === null || _b === void 0 ? void 0 : _b.find((group) => group.GroupID === groupId);
32
- if (rawGroupData && rawPoolData) {
33
- return prepareStorageGroupData(rawGroupData, rawPoolData);
34
- }
35
- return undefined;
36
- }
37
27
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/utils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,uBAAuB,EAAC,MAAM,kBAAkB,CAAC;AAIzD,MAAM,UAAU,wBAAwB,CAAC,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,CAInF;;IACG,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,OAAO,GAAG,MAAA,YAAY,CAAC,eAAe,0CAAG,CAAC,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,MAAA,MAAA,aAAa,CAAC,MAAM,mCAAI,aAAa,CAAC,MAAM,mCAAI,YAAY,CAAC,MAAM,CAAC;IACnF,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAA,YAAY,CAAC,KAAK,0CAAG,CAAC,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IAE/B,MAAM,OAAO,GAAG,MAAA,aAAa,CAAC,OAAO,mCAAI,aAAa,CAAC,OAAO,CAAC;IAC/D,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC;IAErC,OAAO;QACH,GAAG,aAAa;QAEhB,MAAM;QACN,QAAQ;QACR,QAAQ;QACR,MAAM;QAEN,OAAO;QACP,SAAS;KACZ,CAAC;AACN,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAkB,EAAE,QAAgB,EAAE,OAAe;;IAC3F,MAAM,WAAW,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;IAC9E,MAAM,YAAY,GAAG,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,0CAAE,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;IAErF,IAAI,YAAY,IAAI,WAAW,EAAE,CAAC;QAC9B,OAAO,uBAAuB,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,UAAU,wBAAwB,CAAC,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,CAInF;;IACG,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,cAAc,0CAAG,CAAC,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEjD,MAAM,OAAO,GAAG,MAAA,YAAY,CAAC,eAAe,0CAAG,CAAC,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,MAAA,MAAA,aAAa,CAAC,MAAM,mCAAI,aAAa,CAAC,MAAM,mCAAI,YAAY,CAAC,MAAM,CAAC;IACnF,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAA,YAAY,CAAC,KAAK,0CAAG,CAAC,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IAE/B,MAAM,OAAO,GAAG,MAAA,aAAa,CAAC,OAAO,mCAAI,aAAa,CAAC,OAAO,CAAC;IAC/D,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC;IAErC,OAAO;QACH,GAAG,aAAa;QAEhB,MAAM;QACN,QAAQ;QACR,QAAQ;QACR,MAAM;QAEN,OAAO;QACP,SAAS;KACZ,CAAC;AACN,CAAC"}
@@ -1,6 +1,9 @@
1
+ interface VDiskDataRequestParams {
2
+ nodeId: number | string;
3
+ pDiskId: number | string;
4
+ vDiskSlotId: number | string;
5
+ }
1
6
  export declare const vDiskApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
2
- getVDiskData: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
3
- vDiskData: import("./types").VDiskData;
4
- groupData: import("../storage/types").PreparedStorageGroup | undefined;
5
- } | undefined, "api">;
6
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
7
+ getVDiskData: import("@reduxjs/toolkit/query").QueryDefinition<VDiskDataRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").VDiskData | undefined, "api">;
8
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
9
+ export {};
@@ -1,47 +1,32 @@
1
- import { EVersion } from '../../../types/api/storage';
2
- import { valueIsDefined } from '../../../utils';
1
+ import { getVDiskSlotBasedId } from '../../../utils/disks/helpers';
3
2
  import { api } from '../api';
4
- import { prepareVDiskDataResponse, prepareVDiskGroupResponse } from './utils';
3
+ import { prepareVDiskDataResponse } from './utils';
5
4
  export const vDiskApi = api.injectEndpoints({
6
5
  endpoints: (build) => ({
7
6
  getVDiskData: build.query({
8
- queryFn: async ({ nodeId, pDiskId, vDiskSlotId }) => {
7
+ queryFn: async ({ nodeId, pDiskId, vDiskSlotId }, { signal }) => {
9
8
  try {
10
- const { vDiskData, groupData } = await requestVDiskData({
11
- nodeId,
12
- pDiskId,
13
- vDiskSlotId,
14
- });
15
- return { data: { vDiskData, groupData } };
9
+ const response = await Promise.all([
10
+ window.api.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
11
+ window.api.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
12
+ window.api.getNodeInfo(nodeId, { signal }),
13
+ ]);
14
+ const data = prepareVDiskDataResponse(response);
15
+ return { data };
16
16
  }
17
17
  catch (error) {
18
18
  return { error };
19
19
  }
20
20
  },
21
- providesTags: ['All'],
21
+ providesTags: (_result, _error, arg) => [
22
+ 'All',
23
+ {
24
+ type: 'VDiskData',
25
+ id: getVDiskSlotBasedId(arg.nodeId, arg.pDiskId, arg.vDiskSlotId),
26
+ },
27
+ ],
22
28
  }),
23
29
  }),
24
30
  overrideExisting: 'throw',
25
31
  });
26
- async function requestVDiskData({ nodeId, pDiskId, vDiskSlotId }, { signal } = {}) {
27
- const vDiskDataResponse = await Promise.all([
28
- window.api.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
29
- window.api.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
30
- window.api.getNodeInfo(nodeId, { signal }),
31
- ]);
32
- const vDiskData = prepareVDiskDataResponse(vDiskDataResponse);
33
- const { StoragePoolName, VDiskId = {} } = vDiskData;
34
- const { GroupID } = VDiskId;
35
- let groupData;
36
- if (valueIsDefined(StoragePoolName) && valueIsDefined(GroupID)) {
37
- const groupResponse = await window.api.getStorageInfo({
38
- nodeId,
39
- poolName: StoragePoolName,
40
- groupId: GroupID,
41
- version: EVersion.v1,
42
- }, { signal });
43
- groupData = prepareVDiskGroupResponse(groupResponse, StoragePoolName, GroupID);
44
- }
45
- return { vDiskData, groupData };
46
- }
47
32
  //# sourceMappingURL=vdisk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/vdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,wBAAwB,EAAE,yBAAyB,EAAC,MAAM,SAAS,CAAC;AAQ5E,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,EAAE,WAAW,EAAC,EAAE,EAAE;gBAC9C,IAAI,CAAC;oBACD,MAAM,EAAC,SAAS,EAAE,SAAS,EAAC,GAAG,MAAM,gBAAgB,CAAC;wBAClD,MAAM;wBACN,OAAO;wBACP,WAAW;qBACd,CAAC,CAAC;oBACH,OAAO,EAAC,IAAI,EAAE,EAAC,SAAS,EAAE,SAAS,EAAC,EAAC,CAAC;gBAC1C,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC;AAEH,KAAK,UAAU,gBAAgB,CAC3B,EAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAyB,EACtD,EAAC,MAAM,KAA4B,EAAE;IAErC,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACxC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;QACjE,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,EAAC,MAAM,EAAE,OAAO,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;QAClE,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC;KAC3C,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,wBAAwB,CAAC,iBAAiB,CAAC,CAAC;IAE9D,MAAM,EAAC,eAAe,EAAE,OAAO,GAAG,EAAE,EAAC,GAAG,SAAS,CAAC;IAClD,MAAM,EAAC,OAAO,EAAC,GAAG,OAAO,CAAC;IAE1B,IAAI,SAAiC,CAAC;IAEtC,IAAI,cAAc,CAAC,eAAe,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;QAC7D,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CACjD;YACI,MAAM;YACN,QAAQ,EAAE,eAAe;YACzB,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,QAAQ,CAAC,EAAE;SACvB,EACD,EAAC,MAAM,EAAC,CACX,CAAC;QACF,SAAS,GAAG,yBAAyB,CAAC,aAAa,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,CAAC;AAClC,CAAC"}
1
+ {"version":3,"file":"vdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/vdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,wBAAwB,EAAC,MAAM,SAAS,CAAC;AAQjD,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,EAAE,WAAW,EAAyB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChF,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC/B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBACjE,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,EAAC,MAAM,EAAE,OAAO,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBAClE,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,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC;iBACpE;aACJ;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -2,5 +2,5 @@ export declare const viewSchemaApi: import("@reduxjs/toolkit/query").Api<import(
2
2
  getViewSchema: import("@reduxjs/toolkit/query").QueryDefinition<{
3
3
  database: string;
4
4
  path: string;
5
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../types/api/query").ColumnType[] | undefined, "api">;
6
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
5
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/query").ColumnType[] | undefined, "api">;
6
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -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' | '/viewer/query';
7
+ export type Capability = '/pdisk/info' | '/scheme/directory' | '/storage/groups' | '/viewer/query';
@@ -1,5 +1,6 @@
1
1
  import type { EFlag } from './enums';
2
2
  import type { TTabletStateInfo } from './tablet';
3
+ import type { TTraceCheck, TTraceView } from './trace';
3
4
  /**
4
5
  * endpoint: viewer/json/cluster
5
6
  *
@@ -34,4 +35,6 @@ export interface TClusterInfo {
34
35
  Domain?: string;
35
36
  Balancer?: string;
36
37
  Solomon?: string;
38
+ TraceView?: TTraceView;
39
+ TraceCheck?: TTraceCheck;
37
40
  }
@@ -54,7 +54,4 @@ export interface TTabletStateInfo {
54
54
  State: EFlag;
55
55
  Count: number;
56
56
  }
57
- export declare enum EVersion {
58
- v1 = "v1",
59
- v2 = "v2"
60
- }
57
+ export type EVersion = 'v1' | 'v2';
@@ -1,6 +1,2 @@
1
- export var EVersion;
2
- (function (EVersion) {
3
- EVersion["v1"] = "v1";
4
- EVersion["v2"] = "v2";
5
- })(EVersion || (EVersion = {}));
1
+ export {};
6
2
  //# sourceMappingURL=compute.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compute.js","sourceRoot":"","sources":["../../../src/types/api/compute.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,qBAAS,CAAA;IACT,qBAAS,CAAA;AACb,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB"}
1
+ {"version":3,"file":"compute.js","sourceRoot":"","sources":["../../../src/types/api/compute.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export interface FeatureFlagConfig {
2
+ Name: string;
3
+ Current?: boolean;
4
+ Default?: boolean;
5
+ }
6
+ interface ConfigDb {
7
+ Name: string;
8
+ FeatureFlags: FeatureFlagConfig[];
9
+ }
10
+ export interface FeatureFlagConfigs {
11
+ Databases: ConfigDb[];
12
+ }
13
+ export {};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=featureFlags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"featureFlags.js","sourceRoot":"","sources":["../../../src/types/api/featureFlags.ts"],"names":[],"mappings":""}
@@ -17,7 +17,7 @@ export interface MetaExtendedClusterInfo extends MetaGeneralClusterInfo {
17
17
  hosts?: Record<string, number>;
18
18
  versions?: MetaClusterVersion[];
19
19
  }
20
- export interface MetaGeneralClusterInfo {
20
+ export interface MetaBaseClusterInfo {
21
21
  owner?: string;
22
22
  location?: string;
23
23
  image?: string;
@@ -33,6 +33,10 @@ export interface MetaGeneralClusterInfo {
33
33
  description?: string;
34
34
  balancer?: string;
35
35
  service?: string;
36
+ trace_view?: string;
37
+ trace_check?: string;
38
+ }
39
+ export interface MetaGeneralClusterInfo extends MetaBaseClusterInfo {
36
40
  cluster?: MetaViewerClusterInfo;
37
41
  }
38
42
  export interface MetaViewerClusterInfo extends TClusterInfo {
@@ -2,6 +2,7 @@
2
2
  * endpoints: pdisk/restart and vdiks/evict
3
3
  */
4
4
  export interface ModifyDiskResponse {
5
+ debugMessage?: string;
5
6
  result?: boolean;
6
7
  error?: string;
7
8
  forceRetryPossible?: boolean;
@@ -113,7 +113,7 @@ export interface TPDiskInfo {
113
113
  Category?: string;
114
114
  DecommitStatus?: EDecommitStatus;
115
115
  }
116
- type EDriveStatus = 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'BROKEN' | 'FAULTY' | 'TO_BE_REMOVED';
117
- type EDecommitStatus = 'DECOMMIT_UNSET' | 'DECOMMIT_NONE' | 'DECOMMIT_PENDING' | 'DECOMMIT_IMMINENT' | 'DECOMMIT_REJECTED';
116
+ export type EDriveStatus = 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'BROKEN' | 'FAULTY' | 'TO_BE_REMOVED';
117
+ export type EDecommitStatus = 'DECOMMIT_UNSET' | 'DECOMMIT_NONE' | 'DECOMMIT_PENDING' | 'DECOMMIT_IMMINENT' | 'DECOMMIT_REJECTED';
118
118
  type EPDiskType = 'ROT' | 'SSD' | 'NVME' | 'UNKNOWN_TYPE';
119
119
  export {};
@@ -249,7 +249,13 @@ export type ExecuteResponse<Action extends ExecuteActions, Schema extends Schema
249
249
  export type CancelResponse = {
250
250
  stats?: TKqpStatsQuery;
251
251
  };
252
- export type QueryAPIResponse<Action extends Actions, Schema extends Schemas> = Action extends ExplainActions ? ExplainResponse<Action> : Action extends ExecuteActions ? ExecuteResponse<Action, Schema> : Action extends CancelActions ? CancelResponse : never;
252
+ export type QueryAPIResponseByAction<Action extends Actions, Schema extends Schemas> = Action extends ExplainActions ? ExplainResponse<Action> : Action extends ExecuteActions ? ExecuteResponse<Action, Schema> : Action extends CancelActions ? CancelResponse : never;
253
+ type QueryAPIResponseMeta = {
254
+ _meta?: {
255
+ traceId?: string;
256
+ };
257
+ };
258
+ export type QueryAPIResponse<Action extends Actions, Schema extends Schemas> = QueryAPIResponseByAction<Action, Schema> & QueryAPIResponseMeta;
253
259
  export type AnyExplainResponse = ExplainQueryResponse | ExplainScriptResponse;
254
260
  export type ExecuteModernResponse = ExecuteQueryResponse<'modern'> | ExecuteScriptResponse<'modern'>;
255
261
  export type ExecuteMultiResponse = ExecuteQueryResponse<'multi'> | ExecuteScriptResponse<'multi'>;