ydb-embedded-ui 6.18.0 → 6.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  2. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
  3. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +11 -3
  4. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  5. package/dist/components/CriticalActionDialog/i18n/en.json +2 -1
  6. package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
  7. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +7 -36
  8. package/dist/components/GroupInfo/GroupInfo.js +3 -3
  9. package/dist/components/MetricChart/reducer.d.ts +2 -2
  10. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  11. package/dist/components/PaginatedTable/PaginatedTable.scss +4 -0
  12. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/PaginatedTable/TableRow.js +1 -1
  15. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -4
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  18. package/dist/components/Tag/Tag.d.ts +2 -1
  19. package/dist/components/Tag/Tag.js.map +1 -1
  20. package/dist/components/Tags/Tags.d.ts +2 -1
  21. package/dist/components/Tags/Tags.js.map +1 -1
  22. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
  23. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
  24. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
  25. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  26. package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
  27. package/dist/containers/AppWithClusters/useClusterData.js +8 -8
  28. package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
  29. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
  30. package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
  31. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  32. package/dist/containers/AsideNavigation/Navigation.js +4 -1
  33. package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
  34. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
  35. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
  36. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
  37. package/dist/containers/Cluster/Cluster.js +5 -13
  38. package/dist/containers/Cluster/Cluster.js.map +1 -1
  39. package/dist/containers/Cluster/Cluster.scss +1 -0
  40. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -112
  41. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  42. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -14
  43. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +7 -0
  44. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +43 -0
  45. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -0
  46. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +11 -0
  47. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.d.ts +8 -0
  48. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js +8 -0
  49. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js.map +1 -0
  50. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +16 -0
  51. package/dist/containers/Cluster/ClusterInfo/shared.d.ts +1 -0
  52. package/dist/containers/Cluster/ClusterInfo/shared.js +3 -0
  53. package/dist/containers/Cluster/ClusterInfo/shared.js.map +1 -0
  54. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +12 -0
  55. package/dist/containers/Cluster/ClusterInfo/utils.js +145 -0
  56. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  57. package/dist/containers/Cluster/i18n/en.json +7 -1
  58. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  59. package/dist/containers/Cluster/i18n/index.js +1 -2
  60. package/dist/containers/Cluster/i18n/index.js.map +1 -1
  61. package/dist/containers/Header/Header.js +3 -7
  62. package/dist/containers/Header/Header.js.map +1 -1
  63. package/dist/containers/Node/Node.js +1 -5
  64. package/dist/containers/Node/Node.js.map +1 -1
  65. package/dist/containers/Node/NodePages.js +5 -4
  66. package/dist/containers/Node/NodePages.js.map +1 -1
  67. package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
  68. package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
  69. package/dist/containers/Nodes/Nodes.js +3 -13
  70. package/dist/containers/Nodes/Nodes.js.map +1 -1
  71. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +1 -1
  72. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +16 -7
  74. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
  76. package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
  77. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
  78. package/dist/containers/PDiskPage/PDiskPage.js +1 -1
  79. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  80. package/dist/containers/Storage/Storage.js +9 -9
  81. package/dist/containers/Storage/Storage.js.map +1 -1
  82. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +7 -2
  83. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  84. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +1 -1
  85. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +7 -20
  86. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
  87. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
  88. package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
  89. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  90. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
  91. package/dist/containers/Storage/utils/index.js +3 -4
  92. package/dist/containers/Storage/utils/index.js.map +1 -1
  93. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  94. package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
  95. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
  96. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
  97. package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
  98. package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
  99. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
  100. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
  101. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
  102. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  103. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  104. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
  105. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  106. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  107. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +21 -4
  109. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  110. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
  111. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
  112. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
  113. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
  114. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  115. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
  116. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
  117. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
  118. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
  119. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
  120. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +7 -7
  121. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  122. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -12
  123. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +1 -1
  124. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +9 -24
  125. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  126. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +0 -1
  127. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  128. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
  129. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
  130. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  131. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
  132. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
  133. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
  134. package/dist/containers/Tenant/Query/Query.js +14 -2
  135. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  136. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
  137. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
  138. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  139. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  140. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  141. package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
  142. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  143. package/dist/containers/UserSettings/i18n/en.json +0 -2
  144. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  145. package/dist/containers/UserSettings/settings.d.ts +0 -1
  146. package/dist/containers/UserSettings/settings.js +2 -12
  147. package/dist/containers/UserSettings/settings.js.map +1 -1
  148. package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
  149. package/dist/containers/VDiskPage/VDiskPage.js +33 -10
  150. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  151. package/dist/containers/VDiskPage/utils.d.ts +2 -0
  152. package/dist/containers/VDiskPage/utils.js +7 -0
  153. package/dist/containers/VDiskPage/utils.js.map +1 -0
  154. package/dist/lib.d.ts +1 -0
  155. package/dist/lib.js +1 -0
  156. package/dist/lib.js.map +1 -1
  157. package/dist/services/api.d.ts +20 -16
  158. package/dist/services/api.js +62 -21
  159. package/dist/services/api.js.map +1 -1
  160. package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
  161. package/dist/services/parsers/parseMetaCluster.js +17 -31
  162. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  163. package/dist/services/settings.d.ts +0 -1
  164. package/dist/services/settings.js +1 -2
  165. package/dist/services/settings.js.map +1 -1
  166. package/dist/store/configureStore.d.ts +4 -4
  167. package/dist/store/defaultStore.d.ts +2 -2
  168. package/dist/store/getUrlData.js +9 -6
  169. package/dist/store/getUrlData.js.map +1 -1
  170. package/dist/store/reducers/api.d.ts +1 -1
  171. package/dist/store/reducers/api.js +1 -1
  172. package/dist/store/reducers/api.js.map +1 -1
  173. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  174. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  175. package/dist/store/reducers/cancelQuery.js.map +1 -1
  176. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  177. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  178. package/dist/store/reducers/capabilities/hooks.js +8 -1
  179. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  180. package/dist/store/reducers/cluster/cluster.d.ts +230 -2
  181. package/dist/store/reducers/cluster/cluster.js +45 -3
  182. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  183. package/dist/store/reducers/cluster/utils.d.ts +4 -1
  184. package/dist/store/reducers/cluster/utils.js +16 -3
  185. package/dist/store/reducers/cluster/utils.js.map +1 -1
  186. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  187. package/dist/store/reducers/describe.d.ts +2 -2
  188. package/dist/store/reducers/executeQuery.d.ts +8 -4
  189. package/dist/store/reducers/executeQuery.js +35 -2
  190. package/dist/store/reducers/executeQuery.js.map +1 -1
  191. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  192. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
  193. package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
  194. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  195. package/dist/store/reducers/explainQuery/types.d.ts +1 -0
  196. package/dist/store/reducers/explainQuery/utils.d.ts +1 -1
  197. package/dist/store/reducers/explainQuery/utils.js.map +1 -1
  198. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  199. package/dist/store/reducers/heatmap.d.ts +2 -2
  200. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  201. package/dist/store/reducers/index.d.ts +3 -3
  202. package/dist/store/reducers/network/network.d.ts +2 -2
  203. package/dist/store/reducers/node/node.d.ts +3 -3
  204. package/dist/store/reducers/node/selectors.d.ts +1 -1
  205. package/dist/store/reducers/nodes/nodes.d.ts +3 -4
  206. package/dist/store/reducers/nodes/nodes.js +1 -17
  207. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  208. package/dist/store/reducers/nodes/types.d.ts +1 -6
  209. package/dist/store/reducers/nodes/utils.d.ts +1 -4
  210. package/dist/store/reducers/nodes/utils.js +1 -41
  211. package/dist/store/reducers/nodes/utils.js.map +1 -1
  212. package/dist/store/reducers/nodesList.d.ts +3 -3
  213. package/dist/store/reducers/overview/overview.d.ts +2 -2
  214. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  215. package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
  216. package/dist/store/reducers/pdisk/pdisk.js +1 -21
  217. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  218. package/dist/store/reducers/pdisk/utils.d.ts +0 -3
  219. package/dist/store/reducers/pdisk/utils.js +0 -22
  220. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  221. package/dist/store/reducers/preview.d.ts +2 -2
  222. package/dist/store/reducers/schema/schema.d.ts +3 -3
  223. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  224. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  225. package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
  226. package/dist/store/reducers/storage/requestStorageData.js +12 -0
  227. package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
  228. package/dist/store/reducers/storage/selectors.js +1 -1
  229. package/dist/store/reducers/storage/storage.d.ts +6 -4
  230. package/dist/store/reducers/storage/storage.js +6 -6
  231. package/dist/store/reducers/storage/storage.js.map +1 -1
  232. package/dist/store/reducers/storage/types.d.ts +11 -23
  233. package/dist/store/reducers/storage/utils.d.ts +3 -2
  234. package/dist/store/reducers/storage/utils.js +52 -26
  235. package/dist/store/reducers/storage/utils.js.map +1 -1
  236. package/dist/store/reducers/tableData.d.ts +1 -1
  237. package/dist/store/reducers/tablet.d.ts +7 -7
  238. package/dist/store/reducers/tablets.d.ts +13 -13
  239. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  240. package/dist/store/reducers/tenant/constants.js +1 -0
  241. package/dist/store/reducers/tenant/constants.js.map +1 -1
  242. package/dist/store/reducers/tenant/tenant.d.ts +5 -2
  243. package/dist/store/reducers/tenant/tenant.js +12 -0
  244. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  245. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  246. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  247. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  248. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  249. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  250. package/dist/store/reducers/topic.d.ts +44 -44
  251. package/dist/store/reducers/trace.d.ts +4 -5
  252. package/dist/store/reducers/trace.js +5 -8
  253. package/dist/store/reducers/trace.js.map +1 -1
  254. package/dist/store/reducers/vdisk/utils.d.ts +0 -2
  255. package/dist/store/reducers/vdisk/utils.js +0 -10
  256. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  257. package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
  258. package/dist/store/reducers/vdisk/vdisk.js +17 -32
  259. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  260. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  261. package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
  262. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  263. package/dist/styles/mixins.scss +45 -0
  264. package/dist/types/api/capabilities.d.ts +1 -1
  265. package/dist/types/api/cluster.d.ts +31 -1
  266. package/dist/types/api/cluster.js +3 -1
  267. package/dist/types/api/cluster.js.map +1 -1
  268. package/dist/types/api/featureFlags.d.ts +13 -0
  269. package/dist/types/api/featureFlags.js +2 -0
  270. package/dist/types/api/featureFlags.js.map +1 -0
  271. package/dist/types/api/meta.d.ts +6 -4
  272. package/dist/types/api/pdisk.d.ts +1 -1
  273. package/dist/types/api/storage.d.ts +132 -6
  274. package/dist/types/api/storage.js +1 -5
  275. package/dist/types/api/storage.js.map +1 -1
  276. package/dist/types/api/trace.d.ts +16 -6
  277. package/dist/types/api/trace.js +7 -1
  278. package/dist/types/api/trace.js.map +1 -1
  279. package/dist/types/api/vdisk.d.ts +1 -1
  280. package/dist/types/store/executeQuery.d.ts +25 -3
  281. package/dist/types/store/executeQuery.js +5 -1
  282. package/dist/types/store/executeQuery.js.map +1 -1
  283. package/dist/utils/constants.d.ts +0 -1
  284. package/dist/utils/constants.js +0 -1
  285. package/dist/utils/constants.js.map +1 -1
  286. package/dist/utils/disks/helpers.d.ts +4 -1
  287. package/dist/utils/disks/helpers.js +7 -1
  288. package/dist/utils/disks/helpers.js.map +1 -1
  289. package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
  290. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  291. package/dist/utils/nodes.d.ts +1 -2
  292. package/dist/utils/nodes.js.map +1 -1
  293. package/dist/utils/storage.d.ts +2 -21
  294. package/dist/utils/storage.js +14 -19
  295. package/dist/utils/storage.js.map +1 -1
  296. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
  297. package/dist/utils/versions/parseNodesToVersionsValues.js +3 -2
  298. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  299. package/package.json +2 -6
  300. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
  301. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
  302. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
  303. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
  304. package/dist/containers/Cluster/i18n/ru.json +0 -16
  305. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
  306. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
  307. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
  308. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
  309. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +0 -2
  310. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
  311. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
  312. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
  313. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
  314. package/dist/types/api/compute.d.ts +0 -60
  315. package/dist/types/api/compute.js +0 -6
  316. package/dist/types/api/compute.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/utils/disks/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,IAAI,CAAC;AAGlC,OAAO,EAAC,oCAAoC,EAAE,4BAA4B,EAAC,MAAM,aAAa,CAAC;AAE/F,MAAM,UAAU,eAAe,CAAC,IAAgC;IAC5D,OAAO,SAAS,IAAI,IAAI,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,QAA4B;IACzD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,4BAA4B,CAAC;IACxC,CAAC;IAED,OAAO,oCAAoC,CAAC,QAAQ,CAAC,IAAI,4BAA4B,CAAC;AAC1F,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,MAA+B,EAAE,OAAgC;IACxF,IAAI,cAAc,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;QACpD,OAAO,GAAG,MAAM,IAAI,OAAO,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC"}
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/utils/disks/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,IAAI,CAAC;AAIlC,OAAO,EACH,oCAAoC,EACpC,oCAAoC,EACpC,4BAA4B,GAC/B,MAAM,aAAa,CAAC;AAErB,MAAM,UAAU,eAAe,CAAC,IAAgC;IAC5D,OAAO,SAAS,IAAI,IAAI,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,QAA4B;IACzD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,4BAA4B,CAAC;IACxC,CAAC;IAED,OAAO,oCAAoC,CAAC,QAAQ,CAAC,IAAI,4BAA4B,CAAC;AAC1F,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC1C,OAAO,KAAK,CAAC,CAAC,CAAC,oCAAoC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,MAA+B,EAAE,OAAgC;IACxF,IAAI,cAAc,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;QACpD,OAAO,GAAG,MAAM,IAAI,OAAO,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAC/B,MAAuB,EACvB,OAAwB,EACxB,WAA4B;IAE5B,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,CAAC"}
@@ -41,7 +41,8 @@ const suggestionEntityToAutocomplete = {
41
41
  view: ['view'],
42
42
  tableIndex: ['table_index', 'index'],
43
43
  };
44
- const commonSuggestionEntities = ['dir', 'unknown'];
44
+ const commonSuggestionEntities = ['dir', 'unknown', 'ext_sub_domain'];
45
+ const directoryTypes = ['dir', 'ext_sub_domain'];
45
46
  function filterAutocompleteEntities(autocompleteEntities, suggestions) {
46
47
  const suggestionsSet = suggestions.reduce((acc, el) => {
47
48
  const autocompleteEntity = suggestionEntityToAutocomplete[el];
@@ -77,7 +78,11 @@ function removeStartSlash(value) {
77
78
  return value;
78
79
  }
79
80
  function normalizeEntityPrefix(value = '', database) {
80
- let cleanedValue = removeStartSlash(removeBackticks(value));
81
+ const valueWithoutBackticks = removeBackticks(value);
82
+ if (!valueWithoutBackticks.startsWith('/')) {
83
+ return valueWithoutBackticks;
84
+ }
85
+ let cleanedValue = removeStartSlash(valueWithoutBackticks);
81
86
  const cleanedDatabase = removeStartSlash(database);
82
87
  if (cleanedValue.startsWith(cleanedDatabase)) {
83
88
  cleanedValue = cleanedValue.slice(cleanedDatabase.length);
@@ -232,7 +237,7 @@ export async function generateEntitiesSuggestion(rangeToInsertSuggestion, sugges
232
237
  if (data.Success) {
233
238
  const filteredEntities = filterAutocompleteEntities(data.Result.Entities, suggestEntities);
234
239
  return filteredEntities.reduce((acc, { Name, Type }) => {
235
- const isDir = Type === 'dir';
240
+ const isDir = directoryTypes.includes(Type);
236
241
  const label = isDir ? `${Name}/` : Name;
237
242
  let labelAsSnippet;
238
243
  if (isDir && !withBackticks) {
@@ -1 +1 @@
1
- {"version":3,"file":"generateSuggestions.js","sourceRoot":"","sources":["../../../../src/utils/monaco/yql/generateSuggestions.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,wCAAwC,CAAC;AAIjE,OAAO,EACH,kBAAkB,EAClB,cAAc,EACd,OAAO,EACP,eAAe,EACf,WAAW,EACX,aAAa,EACb,IAAI,EACJ,eAAe,GAClB,MAAM,aAAa,CAAC;AAErB,MAAM,kBAAkB,GAEpB;IACA,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,WAAW,EAAE,CAAC;IACd,KAAK,EAAE,CA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AAC,KAAK,CAAC,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3D,MAAM,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IAExC,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAEzC,OAAO,aAAa,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;AACpE,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import type { NodesPreparedEntity } from '../store/reducers/nodes/types';
3
3
  import type { ProblemFilterValue } from '../store/reducers/settings/types';
4
- import type { TComputeNodeInfo } from '../types/api/compute';
5
4
  import type { TSystemStateInfo } from '../types/api/nodes';
6
5
  import type { TNodeInfo } from '../types/api/nodesList';
7
6
  import type { ValueOf } from '../types/common';
@@ -17,7 +16,7 @@ export declare const NodesUptimeFilterTitles: {
17
16
  };
18
17
  export declare const isUnavailableNode: (node: NodesPreparedEntity | TSystemStateInfo) => boolean;
19
18
  export declare const prepareNodesMap: (nodesList?: TNodeInfo[]) => NodesMap | undefined;
20
- export declare function calculateLoadAveragePercents(node?: TSystemStateInfo | TComputeNodeInfo): number[] | undefined;
19
+ export declare function calculateLoadAveragePercents(node?: TSystemStateInfo): number[] | undefined;
21
20
  export interface PreparedNodeSystemState extends TSystemStateInfo {
22
21
  Rack?: string;
23
22
  DC?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../src/utils/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,mBAAmB,EAAC,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAMzC,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,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,IAAI;QACJ,EAAE;QACF,MAAM;QACN,mBAAmB;KACtB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,aAA6C,EAAE,EAAE;IAClF,OAAO,aAAa,KAAK,mBAAmB,CAAC,QAAQ,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,iBAAsD,EAAE,EAAE;IAC1F,OAAO,iBAAiB,KAAK,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;AACnG,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,aAAa;CACpB,CAAC;AAIX,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAa,EAA2B,EAAE,CAC9E,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAC"}
@@ -1,27 +1,8 @@
1
- import type { ValueOf } from '../types/common';
1
+ import type { StorageV2SortValue } from '../types/api/storage';
2
2
  interface EntityWithUsage {
3
3
  Used: number;
4
4
  Limit: number;
5
5
  }
6
6
  export declare const getUsage: <T extends EntityWithUsage>(data: T, step?: number) => number;
7
- /**
8
- * Values to sort /storage v2 response
9
- *
10
- * Source: https://github.com/ydb-platform/ydb/blob/main/ydb/core/viewer/json_storage.h
11
- */
12
- export declare const STORAGE_SORT_VALUES: {
13
- readonly PoolName: "PoolName";
14
- readonly Kind: "Kind";
15
- readonly MediaType: "MediaType";
16
- readonly Erasure: "Erasure";
17
- readonly Degraded: "Degraded";
18
- readonly Usage: "Usage";
19
- readonly GroupId: "GroupId";
20
- readonly Used: "Used";
21
- readonly Limit: "Limit";
22
- readonly Read: "Read";
23
- readonly Write: "Write";
24
- };
25
- export type StorageSortValue = ValueOf<typeof STORAGE_SORT_VALUES>;
26
- export declare const isSortableStorageProperty: (value: string) => value is StorageSortValue;
7
+ export declare const isSortableStorageProperty: (value: string) => value is StorageV2SortValue;
27
8
  export {};
@@ -3,23 +3,18 @@ export const getUsage = (data, step = 1) => {
3
3
  const usage = data.Limit ? (data.Used * 100) / data.Limit : 0;
4
4
  return Math.floor(usage / step) * step;
5
5
  };
6
- /**
7
- * Values to sort /storage v2 response
8
- *
9
- * Source: https://github.com/ydb-platform/ydb/blob/main/ydb/core/viewer/json_storage.h
10
- */
11
- export const STORAGE_SORT_VALUES = {
12
- PoolName: 'PoolName',
13
- Kind: 'Kind',
14
- MediaType: 'MediaType',
15
- Erasure: 'Erasure',
16
- Degraded: 'Degraded',
17
- Usage: 'Usage',
18
- GroupId: 'GroupId',
19
- Used: 'Used',
20
- Limit: 'Limit',
21
- Read: 'Read',
22
- Write: 'Write',
23
- };
24
- export const isSortableStorageProperty = (value) => Object.values(STORAGE_SORT_VALUES).includes(value);
6
+ const STORAGE_SORT_VALUES = [
7
+ 'PoolName',
8
+ 'Kind',
9
+ 'MediaType',
10
+ 'Erasure',
11
+ 'Degraded',
12
+ 'Usage',
13
+ 'GroupId',
14
+ 'Used',
15
+ 'Limit',
16
+ 'Read',
17
+ 'Write',
18
+ ];
19
+ export const isSortableStorageProperty = (value) => STORAGE_SORT_VALUES.includes(value);
25
20
  //# sourceMappingURL=storage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../src/utils/storage.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAA4B,IAAO,EAAE,IAAI,GAAG,CAAC,EAAE,EAAE;IACrE,2BAA2B;IAC3B,MAAM,KAAK,GAAG,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ACP,SAAS;IACT,MAAM;IACN,OAAO;IACP,MAAM;IACN,OAAO;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,KAAa,EAA+B,EAAE,CACpF,mBAAmB,CAAC,QAAQ,CAAC,KAA2B,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import type { NodesGroup } from '../../store/reducers/nodes/types';
2
2
  import type { TSystemStateInfo } from '../../types/api/nodes';
3
3
  import type { VersionToColorMap, VersionValue } from '../../types/versions';
4
4
  export declare const parseNodesToVersionsValues: (nodes?: TSystemStateInfo[], versionsToColor?: VersionToColorMap) => VersionValue[];
5
- export declare function parseNodeGroupsToVersionsValues(groups: NodesGroup[], versionsToColor?: VersionToColorMap): {
5
+ export declare function parseNodeGroupsToVersionsValues(groups: NodesGroup[], versionsToColor?: VersionToColorMap, total?: number): {
6
6
  title: string;
7
7
  version: string;
8
8
  color: string | undefined;
@@ -20,13 +20,14 @@ export const parseNodesToVersionsValues = (nodes = [], versionsToColor) => {
20
20
  };
21
21
  });
22
22
  };
23
- export function parseNodeGroupsToVersionsValues(groups, versionsToColor) {
23
+ export function parseNodeGroupsToVersionsValues(groups, versionsToColor, total) {
24
+ const normalizedTotal = total !== null && total !== void 0 ? total : groups.reduce((acc, group) => acc + group.count, 0);
24
25
  return groups.map((group) => {
25
26
  return {
26
27
  title: group.name,
27
28
  version: group.name,
28
29
  color: versionsToColor === null || versionsToColor === void 0 ? void 0 : versionsToColor.get(group.name),
29
- value: group.count,
30
+ value: (group.count / normalizedTotal) * 100,
30
31
  };
31
32
  });
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"parseNodesToVersionsValues.js","sourceRoot":"","sources":["../../../src/utils/versions/parseNodesToVersionsValues.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAA4B,EAAE,EAC9B,eAAmC,EACrB,EAAE;IACh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AAE,KAAK,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACrF,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,OAAO;YACH,KAAK,EAAE,KAAK,CAAC,IAAI;YACjB,OAAO,EAAE,KAAK,CAAC,IAAI;YACnB,KAAK,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;YACvC,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,eAAe,CAAC,GAAG,GAAG;SAC/C,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.18.0",
3
+ "version": "6.20.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -38,20 +38,16 @@
38
38
  "path-to-regexp": "^3.0.0",
39
39
  "qs": "^6.12.0",
40
40
  "react-error-boundary": "^4.0.13",
41
- "react-freeze": "^1.0.4",
42
41
  "react-helmet-async": "^2.0.5",
43
42
  "react-hook-form": "^7.52.1",
44
43
  "react-json-inspector": "^7.1.1",
45
- "react-list": "^0.8.17",
46
44
  "react-monaco-editor": "^0.55.0",
47
45
  "react-redux": "^9.1.2",
48
- "react-router": "^5.3.4",
49
46
  "react-router-dom": "^5.3.4",
50
47
  "react-split": "^2.0.14",
51
48
  "redux": "^5.0.1",
52
49
  "redux-location-state": "^2.8.2",
53
50
  "tslib": "^2.6.3",
54
- "url": "^0.11.3",
55
51
  "use-query-params": "^2.2.1",
56
52
  "uuid": "^10.0.0",
57
53
  "web-vitals": "^1.1.2",
@@ -144,7 +140,6 @@
144
140
  "@types/qs": "^6.9.15",
145
141
  "@types/react": "^18.3.3",
146
142
  "@types/react-dom": "^18.3.0",
147
- "@types/react-router": "^5.1.20",
148
143
  "@types/react-router-dom": "^5.3.3",
149
144
  "@types/uuid": "^10.0.0",
150
145
  "copyfiles": "^2.4.1",
@@ -152,6 +147,7 @@
152
147
  "husky": "^9.0.11",
153
148
  "jest-transform-css": "^6.0.1",
154
149
  "lint-staged": "^15.2.7",
150
+ "mini-css-extract-plugin": "^2.9.1",
155
151
  "monaco-editor-webpack-plugin": "^7.1.0",
156
152
  "monaco-yql-languages": "^1.0.6",
157
153
  "npm-run-all": "^4.1.5",
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './NotRenderUntilFirstVisible.scss';
3
- interface Props {
4
- show?: boolean;
5
- className?: string;
6
- children: React.ReactNode;
7
- }
8
- export default function NotRenderUntilFirstVisible({ show, className, children }: Props): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Freeze } from 'react-freeze';
3
- import { cn } from '../../utils/cn';
4
- import './NotRenderUntilFirstVisible.scss';
5
- const block = cn('ydb-not-render-until-first-visible');
6
- export default function NotRenderUntilFirstVisible({ show, className, children }) {
7
- return (_jsx("div", { style: show ? undefined : { display: 'none' }, className: block(null, className), children: _jsx(Freeze, { freeze: !show, children: children }) }));
8
- }
9
- //# sourceMappingURL=NotRenderUntilFirstVisible.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NotRenderUntilFirstVisible.js","sourceRoot":"","sources":["../../../src/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,mCAAmC,CAAC;AAE3C,MAAM,KAAK,GAAG,EAAE,CAAC,oCAAoC,CAAC,CAAC;AAQvD,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAQ;IACjF,OAAO,CACH,cAAK,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,YAC/E,KAAC,MAAM,IAAC,MAAM,EAAE,CAAC,IAAI,YAAG,QAAQ,GAAU,GACxC,CACT,CAAC;AACN,CAAC"}
@@ -1,3 +0,0 @@
1
- .ydb-not-render-until-first-visible {
2
- display: contents;
3
- }
@@ -1,16 +0,0 @@
1
- {
2
- "disk-type": "Тип диска",
3
- "erasure": "Режим",
4
- "allocated": "Использовано",
5
- "available": "Доступно",
6
- "usage": "Потребление",
7
- "dc": "ДЦ",
8
- "tablets": "Таблетки",
9
- "databases": "Базы данных",
10
- "nodes": "Узлы",
11
- "load": "Нагрузка",
12
- "storage-size": "Размер хранилища",
13
- "storage-groups": "Группы хранения, {{diskType}}",
14
- "links": "Ссылки",
15
- "versions": "Версии"
16
- }
@@ -1,4 +0,0 @@
1
- import type { StorageApiRequestParams } from '../../storage/types';
2
- export declare const topStorageGroupsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, {
3
- getTopStorageGroups: import("@reduxjs/toolkit/query").QueryDefinition<StorageApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../storage/types").PreparedStorageGroup[] | undefined, "api">;
4
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1,29 +0,0 @@
1
- import { EVersion } from '../../../../types/api/storage';
2
- import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
3
- import { api } from '../../api';
4
- import { prepareTopStorageGroupsResponse } from './utils';
5
- export const topStorageGroupsApi = api.injectEndpoints({
6
- endpoints: (builder) => ({
7
- getTopStorageGroups: builder.query({
8
- queryFn: async (params, { signal }) => {
9
- try {
10
- const data = await window.api.getStorageInfo({
11
- visibleEntities: 'all',
12
- sortOrder: -1,
13
- sortValue: 'Usage',
14
- limit: TENANT_OVERVIEW_TABLES_LIMIT,
15
- version: EVersion.v2,
16
- ...params,
17
- }, { signal });
18
- return { data: prepareTopStorageGroupsResponse(data).groups || [] };
19
- }
20
- catch (error) {
21
- return { error };
22
- }
23
- },
24
- providesTags: ['All'],
25
- }),
26
- }),
27
- overrideExisting: 'throw',
28
- });
29
- //# sourceMappingURL=topStorageGroups.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"topStorageGroups.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAG9B,OAAO,EAAC,+BAA+B,EAAC,MAAM,SAAS,CAAC;AAExD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,eAAe,CAAC;IACnD,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,mBAAmB,EAAE,OAAO,CAAC,KAAK,CAAC;YAC/B,OAAO,EAAE,KAAK,EAAE,MAA+B,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACzD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CACxC;wBACI,eAAe,EAAE,KAAK;wBACtB,SAAS,EAAE,CAAC,CAAC;wBACb,SAAS,EAAE,OAAO;wBAClB,KAAK,EAAE,4BAA4B;wBACnC,OAAO,EAAE,QAAQ,CAAC,EAAE;wBACpB,GAAG,MAAM;qBACZ,EACD,EAAC,MAAM,EAAC,CACX,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,+BAA+B,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,EAAE,EAAC,CAAC;gBACtE,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,4 +0,0 @@
1
- import type { PreparedStorageGroup } from '../../storage/types';
2
- export interface PreparedTopStorageGroupsResponse {
3
- groups?: PreparedStorageGroup[];
4
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topStorageGroups/types.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type { TStorageInfo } from '../../../../types/api/storage';
2
- import type { PreparedTopStorageGroupsResponse } from './types';
3
- export declare const prepareTopStorageGroupsResponse: (data: TStorageInfo) => PreparedTopStorageGroupsResponse;
@@ -1,13 +0,0 @@
1
- import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
2
- import { prepareStorageGroups } from '../../storage/utils';
3
- export const prepareTopStorageGroupsResponse = (data) => {
4
- const { StoragePools, StorageGroups } = data;
5
- const preparedGroups = prepareStorageGroups(StorageGroups, StoragePools);
6
- if (StoragePools) {
7
- preparedGroups.sort((a, b) => b.Usage - a.Usage);
8
- }
9
- return {
10
- groups: preparedGroups.slice(0, TENANT_OVERVIEW_TABLES_LIMIT),
11
- };
12
- };
13
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topStorageGroups/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAIzD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC3C,IAAkB,EACc,EAAE;IAClC,MAAM,EAAC,YAAY,EAAE,aAAa,EAAC,GAAG,IAAI,CAAC;IAE3C,MAAM,cAAc,GAAG,oBAAoB,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;IAEzE,IAAI,YAAY,EAAE,CAAC;QACf,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;IAED,OAAO;QACH,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,4BAA4B,CAAC;KAChE,CAAC;AACN,CAAC,CAAC"}
@@ -1,60 +0,0 @@
1
- import type { EFlag } from './enums';
2
- import type { TEndpoint, TLegacyNodeLocation, TPoolStats } from './nodes';
3
- import type { TMetrics } from './tenant';
4
- /**
5
- * endpoint: viewer/json/compute
6
- *
7
- * source: https://github.com/ydb-platform/ydb/blob/main/ydb/core/viewer/protos/viewer.proto
8
- *
9
- * response has 2 versions, depending on version param in request
10
- */
11
- export interface TComputeInfo {
12
- Overall: EFlag;
13
- Tenants?: TComputeTenantInfo[];
14
- Errors?: string[];
15
- /** uint64 */
16
- TotalNodes: string;
17
- /** uint64 */
18
- FoundNodes: string;
19
- Nodes?: TComputeNodeInfo[];
20
- }
21
- export interface TComputeTenantInfo {
22
- Overall: EFlag;
23
- Name: string;
24
- Nodes?: TComputeNodeInfo[];
25
- }
26
- export interface TComputeNodeInfo {
27
- /** uint64 */
28
- StartTime: string;
29
- /** uint64 */
30
- ChangeTime: string;
31
- SystemLocation: TLegacyNodeLocation;
32
- /** double */
33
- LoadAverage: number[];
34
- NumberOfCpus: number;
35
- Overall: EFlag;
36
- NodeId: number;
37
- DataCenter: string;
38
- Rack: string;
39
- Host: string;
40
- Version: string;
41
- PoolStats?: TPoolStats[];
42
- Endpoints?: TEndpoint[];
43
- Roles?: string[];
44
- /** uint64 */
45
- MemoryUsed?: string;
46
- /** uint64 */
47
- MemoryLimit?: string;
48
- Metrics: TMetrics;
49
- Tablets?: TTabletStateInfo[];
50
- Tenant?: string;
51
- }
52
- export interface TTabletStateInfo {
53
- Type: string;
54
- State: EFlag;
55
- Count: number;
56
- }
57
- export declare enum EVersion {
58
- v1 = "v1",
59
- v2 = "v2"
60
- }
@@ -1,6 +0,0 @@
1
- export var EVersion;
2
- (function (EVersion) {
3
- EVersion["v1"] = "v1";
4
- EVersion["v2"] = "v2";
5
- })(EVersion || (EVersion = {}));
6
- //# sourceMappingURL=compute.js.map
@@ -1 +0,0 @@
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"}