ydb-embedded-ui 5.2.1 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (448) hide show
  1. package/dist/components/BasicNodeViewer/BasicNodeViewer.js +1 -1
  2. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +13 -0
  3. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +32 -0
  4. package/dist/components/CellWithPopover/CellWithPopover.js +1 -11
  5. package/dist/components/ClipboardButton/ClipboardButton.js +1 -11
  6. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  7. package/dist/components/ComponentsProvider/componentsRegistry.d.ts +1 -1
  8. package/dist/components/ComponentsProvider/registry.d.ts +3 -3
  9. package/dist/components/ContentWithPopup/ContentWithPopup.js +1 -11
  10. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +6 -4
  11. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +32 -7
  12. package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +8 -19
  13. package/dist/components/CriticalActionDialog/i18n/en.json +7 -0
  14. package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -0
  15. package/dist/components/CriticalActionDialog/i18n/index.js +4 -0
  16. package/dist/components/EnableFullscreenButton/EnableFullscreenButton.js +2 -2
  17. package/dist/components/EntityStatus/EntityStatus.d.ts +20 -37
  18. package/dist/components/EntityStatus/EntityStatus.js +17 -66
  19. package/dist/components/EntityStatus/EntityStatus.scss +1 -57
  20. package/dist/components/Errors/403/AccessDenied.js +1 -11
  21. package/dist/components/FormattedBytes/FormattedBytes.d.ts +1 -1
  22. package/dist/components/FormattedBytes/FormattedBytes.js +1 -11
  23. package/dist/components/FormattedBytes/utils.d.ts +1 -1
  24. package/dist/components/Fullscreen/Fullscreen.js +11 -11
  25. package/dist/components/Illustration/Illustration.js +1 -11
  26. package/dist/components/InfoViewer/InfoViewer.d.ts +2 -2
  27. package/dist/components/InfoViewer/InfoViewer.js +1 -1
  28. package/dist/components/InfoViewer/formatters/cdcStream.d.ts +1 -1
  29. package/dist/components/InfoViewer/formatters/common.d.ts +1 -1
  30. package/dist/components/InfoViewer/formatters/pqGroup.d.ts +3 -3
  31. package/dist/components/InfoViewer/formatters/schema.d.ts +1 -1
  32. package/dist/components/InfoViewer/formatters/table.d.ts +4 -4
  33. package/dist/components/InfoViewer/utils.d.ts +3 -3
  34. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +7 -0
  35. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +7 -0
  36. package/dist/{containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.scss → components/InfoViewerSkeleton/InfoViewerSkeleton.scss} +1 -9
  37. package/dist/components/InternalLink/InternalLink.js +1 -11
  38. package/dist/components/LinkToSchemaObject/LinkToSchemaObject.js +1 -11
  39. package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +8 -0
  40. package/dist/components/LinkWithIcon/LinkWithIcon.js +14 -0
  41. package/dist/components/{ExternalLinkWithIcon/ExternalLinkWithIcon.scss → LinkWithIcon/LinkWithIcon.scss} +1 -1
  42. package/dist/components/MetricChart/MetricChart.d.ts +2 -1
  43. package/dist/components/MetricChart/MetricChart.js +8 -3
  44. package/dist/components/MetricChart/getChartData.d.ts +2 -1
  45. package/dist/components/MetricChart/getChartData.js +2 -2
  46. package/dist/components/MetricChart/getDefaultDataFormatter.d.ts +1 -1
  47. package/dist/components/MetricChart/i18n/en.json +3 -0
  48. package/dist/components/MetricChart/i18n/index.d.ts +2 -0
  49. package/dist/components/MetricChart/i18n/index.js +4 -0
  50. package/dist/components/MetricChart/reducer.d.ts +1 -1
  51. package/dist/components/MetricChart/types.d.ts +5 -5
  52. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -1
  53. package/dist/components/PDiskInfo/PDiskInfo.d.ts +11 -0
  54. package/dist/components/PDiskInfo/PDiskInfo.js +71 -0
  55. package/dist/components/PDiskInfo/PDiskInfo.scss +8 -0
  56. package/dist/components/PDiskInfo/i18n/en.json +14 -0
  57. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -0
  58. package/dist/components/PDiskInfo/i18n/index.js +4 -0
  59. package/dist/components/PageMeta/PageMeta.d.ts +8 -0
  60. package/dist/components/PageMeta/PageMeta.js +7 -0
  61. package/dist/components/PageMeta/PageMeta.scss +10 -0
  62. package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
  63. package/dist/components/QueryResultTable/Cell/Cell.js +2 -2
  64. package/dist/components/QueryResultTable/QueryResultTable.js +1 -11
  65. package/dist/components/ShortyString/ShortyString.d.ts +1 -1
  66. package/dist/components/StatusIcon/StatusIcon.d.ts +12 -0
  67. package/dist/components/StatusIcon/StatusIcon.js +23 -0
  68. package/dist/components/StatusIcon/StatusIcon.scss +69 -0
  69. package/dist/components/Tablet/Tablet.scss +1 -1
  70. package/dist/components/TabletsOverall/TabletsOverall.js +6 -6
  71. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +1 -1
  72. package/dist/components/TabletsStatistic/TabletsStatistic.scss +1 -1
  73. package/dist/components/Tag/Tag.d.ts +1 -1
  74. package/dist/components/UsageLabel/UsageLabel.js +1 -11
  75. package/dist/components/VirtualTable/TableHead.js +2 -2
  76. package/dist/components/VirtualTable/reducer.d.ts +2 -2
  77. package/dist/components/VirtualTable/types.d.ts +13 -13
  78. package/dist/components/slots/types.d.ts +1 -1
  79. package/dist/containers/App/App.d.ts +1 -1
  80. package/dist/containers/App/Content.js +10 -4
  81. package/dist/containers/App/Providers.d.ts +1 -1
  82. package/dist/containers/App/appSlots.d.ts +6 -0
  83. package/dist/containers/App/appSlots.js +1 -0
  84. package/dist/containers/AppWithClusters/AppWithClusters.d.ts +1 -1
  85. package/dist/containers/AppWithClusters/AppWithClusters.js +1 -1
  86. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -3
  87. package/dist/containers/Authentication/Authentication.js +2 -5
  88. package/dist/containers/Cluster/Cluster.js +4 -5
  89. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +4 -4
  90. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +4 -0
  91. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +1 -1
  92. package/dist/containers/Cluster/utils.d.ts +2 -2
  93. package/dist/containers/Clusters/Clusters.js +2 -4
  94. package/dist/containers/Clusters/Clusters.scss +1 -1
  95. package/dist/containers/Clusters/constants.d.ts +1 -1
  96. package/dist/containers/Clusters/useClustersList.js +2 -2
  97. package/dist/containers/Clusters/useSelectedColumns.d.ts +1 -1
  98. package/dist/containers/Header/Header.js +4 -5
  99. package/dist/containers/Header/breadcrumbs.js +28 -5
  100. package/dist/containers/Header/i18n/en.json +7 -0
  101. package/dist/containers/Header/i18n/index.d.ts +1 -0
  102. package/dist/containers/Header/i18n/index.js +4 -0
  103. package/dist/containers/Heatmap/Heatmap.js +3 -4
  104. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +1 -1
  105. package/dist/containers/Node/Node.js +2 -3
  106. package/dist/containers/Node/NodeStructure/NodeStructure.d.ts +0 -1
  107. package/dist/containers/Node/NodeStructure/NodeStructure.js +2 -6
  108. package/dist/containers/Node/NodeStructure/Pdisk.js +9 -65
  109. package/dist/containers/Node/NodeStructure/Vdisk.d.ts +1 -1
  110. package/dist/containers/Node/NodeStructure/Vdisk.js +5 -3
  111. package/dist/containers/Nodes/Nodes.js +2 -3
  112. package/dist/containers/Nodes/NodesWrapper.js +1 -11
  113. package/dist/containers/Nodes/getNodes.js +1 -11
  114. package/dist/containers/Nodes/getNodesColumns.d.ts +1 -1
  115. package/dist/containers/PDisk/PDisk.d.ts +3 -0
  116. package/dist/containers/PDisk/PDisk.js +68 -0
  117. package/dist/containers/PDisk/PDisk.scss +41 -0
  118. package/dist/containers/PDisk/PDiskGroups.d.ts +10 -0
  119. package/dist/containers/PDisk/PDiskGroups.js +20 -0
  120. package/dist/containers/PDisk/i18n/en.json +6 -0
  121. package/dist/containers/PDisk/i18n/index.d.ts +1 -0
  122. package/dist/containers/PDisk/i18n/index.js +4 -0
  123. package/dist/containers/PDisk/shared.d.ts +10 -0
  124. package/dist/containers/PDisk/shared.js +2 -0
  125. package/dist/containers/ReduxTooltip/ReduxTooltip.d.ts +1 -1
  126. package/dist/containers/ReduxTooltip/ReduxTooltip.js +3 -2
  127. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.d.ts +1 -9
  128. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.js +2 -12
  129. package/dist/containers/Storage/PDisk/PDisk.d.ts +3 -3
  130. package/dist/containers/Storage/PDisk/PDisk.js +6 -53
  131. package/dist/containers/Storage/PDiskPopup/PDiskPopup.d.ts +3 -3
  132. package/dist/containers/Storage/PDiskPopup/PDiskPopup.js +3 -14
  133. package/dist/containers/Storage/Storage.js +2 -3
  134. package/dist/containers/Storage/StorageGroups/getGroups.js +1 -11
  135. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +2 -1
  136. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +22 -8
  137. package/dist/containers/Storage/StorageNodes/getNodes.js +1 -11
  138. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
  139. package/dist/containers/Storage/StorageWrapper.js +1 -11
  140. package/dist/containers/Storage/UsageFilter/UsageFilter.js +1 -1
  141. package/dist/containers/Storage/VDisk/VDisk.d.ts +2 -3
  142. package/dist/containers/Storage/VDisk/VDisk.js +4 -64
  143. package/dist/containers/Storage/VDiskPopup/VDiskPopup.js +2 -12
  144. package/dist/containers/Storage/VirtualStorage.js +2 -3
  145. package/dist/containers/Storage/utils/index.d.ts +1 -3
  146. package/dist/containers/Storage/utils/index.js +0 -6
  147. package/dist/containers/Tablet/Tablet.js +4 -5
  148. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +3 -2
  149. package/dist/containers/Tablet/TabletControls/TabletControls.js +2 -49
  150. package/dist/containers/Tablet/TabletTable/TabletTable.js +1 -1
  151. package/dist/containers/Tablets/Tablets.js +2 -3
  152. package/dist/containers/TabletsFilters/TabletsFilters.d.ts +2 -2
  153. package/dist/containers/Tenant/Acl/Acl.js +2 -3
  154. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +2 -3
  155. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +3 -3
  156. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +6 -4
  157. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +2 -2
  158. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +2 -3
  159. package/dist/containers/Tenant/Diagnostics/Network/Network.d.ts +2 -2
  160. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.d.ts +1 -1
  161. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.js +7 -5
  162. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.scss +1 -1
  163. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +9 -5
  164. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.d.ts +1 -1
  165. package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.d.ts +1 -1
  166. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +2 -3
  167. package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.js +1 -1
  168. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +1 -1
  169. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.d.ts +5 -1
  170. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.js +2 -2
  171. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +0 -1
  172. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +2 -2
  173. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +3 -2
  174. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.d.ts +2 -2
  175. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +3 -12
  176. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.d.ts +2 -1
  177. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.js +1 -1
  178. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +1 -1
  179. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +2 -3
  180. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +2 -3
  181. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -3
  182. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -3
  183. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.d.ts +2 -1
  184. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +2 -2
  185. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +1 -1
  186. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -3
  187. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +6 -7
  188. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +1 -11
  189. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
  190. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -3
  191. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -3
  192. package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.d.ts +2 -2
  193. package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +3 -4
  194. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +2 -5
  195. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -3
  196. package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +1 -1
  197. package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.js +3 -3
  198. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +1 -0
  199. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -2
  200. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +2 -3
  201. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +2 -3
  202. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +3 -3
  203. package/dist/containers/Tenant/Query/Issues/models.d.ts +1 -1
  204. package/dist/containers/Tenant/Query/Preview/Preview.js +2 -3
  205. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +2 -3
  206. package/dist/containers/Tenant/Query/Query.js +2 -3
  207. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +3 -8
  208. package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +4 -0
  209. package/dist/containers/Tenant/Query/QueryEditor/helpers.js +17 -0
  210. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +4 -4
  211. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +2 -2
  212. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +5 -3
  213. package/dist/containers/Tenant/Tenant.js +24 -8
  214. package/dist/containers/Tenant/utils/index.d.ts +1 -1
  215. package/dist/containers/Tenant/utils/schema.d.ts +12 -12
  216. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
  217. package/dist/containers/Tenants/Tenants.js +3 -4
  218. package/dist/containers/UserSettings/Setting.d.ts +1 -1
  219. package/dist/containers/UserSettings/i18n/en.json +4 -0
  220. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  221. package/dist/containers/UserSettings/settings.d.ts +4 -1
  222. package/dist/containers/UserSettings/settings.js +21 -6
  223. package/dist/containers/Versions/NodesTable/NodesTable.js +1 -1
  224. package/dist/containers/Versions/Versions.js +2 -3
  225. package/dist/reportWebVitals.d.ts +1 -1
  226. package/dist/routes.d.ts +5 -2
  227. package/dist/routes.js +6 -1
  228. package/dist/services/api.d.ts +8 -7
  229. package/dist/services/api.js +3 -13
  230. package/dist/services/settings.d.ts +1 -1
  231. package/dist/services/settings.js +2 -1
  232. package/dist/store/configureStore.d.ts +310 -0
  233. package/dist/store/configureStore.js +56 -0
  234. package/dist/store/defaultStore.d.ts +168 -0
  235. package/dist/store/defaultStore.js +2 -0
  236. package/dist/store/getUrlData.d.ts +3 -3
  237. package/dist/store/getUrlData.js +4 -4
  238. package/dist/store/index.d.ts +3 -97
  239. package/dist/store/index.js +2 -49
  240. package/dist/store/reducers/authentication/authentication.d.ts +247 -4
  241. package/dist/store/reducers/authentication/types.d.ts +1 -1
  242. package/dist/store/reducers/cluster/cluster.d.ts +83 -2
  243. package/dist/store/reducers/cluster/types.d.ts +3 -3
  244. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +83 -2
  245. package/dist/store/reducers/clusterNodes/types.d.ts +1 -1
  246. package/dist/store/reducers/clusters/clusters.d.ts +83 -2
  247. package/dist/store/reducers/clusters/selectors.d.ts +20 -6
  248. package/dist/store/reducers/clusters/selectors.js +1 -1
  249. package/dist/store/reducers/clusters/types.d.ts +1 -1
  250. package/dist/store/reducers/describe.d.ts +165 -3
  251. package/dist/store/reducers/describe.js +4 -3
  252. package/dist/store/reducers/executeQuery.d.ts +83 -2
  253. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +3 -3
  254. package/dist/store/reducers/executeTopQueries/types.d.ts +1 -1
  255. package/dist/store/reducers/explainQuery.d.ts +165 -3
  256. package/dist/store/reducers/header/header.d.ts +1 -1
  257. package/dist/store/reducers/header/types.d.ts +7 -4
  258. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +101 -0
  259. package/dist/store/reducers/{healthcheckInfo.js → healthcheckInfo/healthcheckInfo.js} +2 -2
  260. package/dist/store/reducers/healthcheckInfo/types.d.ts +19 -0
  261. package/dist/store/reducers/healthcheckInfo/utils.d.ts +3 -0
  262. package/dist/store/reducers/healthcheckInfo/utils.js +11 -0
  263. package/dist/store/reducers/heatmap.d.ts +83 -2
  264. package/dist/store/reducers/heatmap.js +2 -2
  265. package/dist/store/reducers/host.d.ts +83 -2
  266. package/dist/store/reducers/hotKeys/hotKeys.d.ts +1 -1
  267. package/dist/store/reducers/hotKeys/types.d.ts +1 -1
  268. package/dist/store/reducers/index.d.ts +95 -45
  269. package/dist/store/reducers/index.js +4 -2
  270. package/dist/store/reducers/network/network.d.ts +83 -2
  271. package/dist/store/reducers/network/types.d.ts +1 -1
  272. package/dist/store/reducers/node/node.d.ts +165 -3
  273. package/dist/store/reducers/node/selectors.d.ts +1 -1
  274. package/dist/store/reducers/node/selectors.js +5 -4
  275. package/dist/store/reducers/node/types.d.ts +6 -6
  276. package/dist/store/reducers/nodes/nodes.d.ts +165 -3
  277. package/dist/store/reducers/nodes/nodes.js +1 -11
  278. package/dist/store/reducers/nodes/selectors.d.ts +1 -1
  279. package/dist/store/reducers/nodes/selectors.js +1 -1
  280. package/dist/store/reducers/nodes/types.d.ts +4 -3
  281. package/dist/store/reducers/nodes/utils.d.ts +1 -1
  282. package/dist/store/reducers/nodesList.d.ts +83 -2
  283. package/dist/store/reducers/olapStats.d.ts +83 -2
  284. package/dist/store/reducers/overview/overview.d.ts +166 -4
  285. package/dist/store/reducers/overview/overview.js +3 -3
  286. package/dist/store/reducers/overview/types.d.ts +6 -5
  287. package/dist/store/reducers/partitions/partitions.d.ts +83 -2
  288. package/dist/store/reducers/partitions/types.d.ts +1 -1
  289. package/dist/store/reducers/partitions/utils.d.ts +2 -2
  290. package/dist/store/reducers/pdisk/pdisk.d.ts +210 -0
  291. package/dist/store/reducers/pdisk/pdisk.js +64 -0
  292. package/dist/store/reducers/pdisk/types.d.ts +23 -0
  293. package/dist/store/reducers/pdisk/types.js +1 -0
  294. package/dist/store/reducers/pdisk/utils.d.ts +32 -0
  295. package/dist/store/reducers/pdisk/utils.js +32 -0
  296. package/dist/store/reducers/preview.d.ts +82 -1
  297. package/dist/store/reducers/saveQuery.d.ts +3 -3
  298. package/dist/store/reducers/schema/schema.d.ts +84 -4
  299. package/dist/store/reducers/schema/schema.js +4 -4
  300. package/dist/store/reducers/schema/types.d.ts +3 -3
  301. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +83 -2
  302. package/dist/store/reducers/schemaAcl/types.d.ts +1 -1
  303. package/dist/store/reducers/settings/settings.d.ts +2 -2
  304. package/dist/store/reducers/settings/types.d.ts +3 -3
  305. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +83 -2
  306. package/dist/store/reducers/shardsWorkload/types.d.ts +1 -1
  307. package/dist/store/reducers/storage/selectors.d.ts +1 -1
  308. package/dist/store/reducers/storage/selectors.js +1 -1
  309. package/dist/store/reducers/storage/storage.d.ts +165 -3
  310. package/dist/store/reducers/storage/storage.js +1 -11
  311. package/dist/store/reducers/storage/types.d.ts +10 -10
  312. package/dist/store/reducers/storage/utils.d.ts +4 -2
  313. package/dist/store/reducers/storage/utils.js +21 -15
  314. package/dist/store/reducers/tablet.d.ts +165 -3
  315. package/dist/store/reducers/tablet.js +1 -1
  316. package/dist/store/reducers/tablets.d.ts +83 -2
  317. package/dist/store/reducers/tabletsFilters.d.ts +101 -2
  318. package/dist/store/reducers/tabletsFilters.js +1 -1
  319. package/dist/store/reducers/tenant/tenant.d.ts +83 -2
  320. package/dist/store/reducers/tenant/types.d.ts +6 -6
  321. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +83 -2
  322. package/dist/store/reducers/tenantOverview/executeTopTables/types.d.ts +1 -1
  323. package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.d.ts +83 -2
  324. package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.js +1 -11
  325. package/dist/store/reducers/tenantOverview/topNodesByCpu/types.d.ts +2 -2
  326. package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.d.ts +83 -2
  327. package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.js +1 -11
  328. package/dist/store/reducers/tenantOverview/topNodesByLoad/types.d.ts +2 -2
  329. package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.d.ts +83 -2
  330. package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.js +1 -11
  331. package/dist/store/reducers/tenantOverview/topNodesByMemory/types.d.ts +2 -2
  332. package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.d.ts +83 -2
  333. package/dist/store/reducers/tenantOverview/topQueries/types.d.ts +1 -1
  334. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +83 -2
  335. package/dist/store/reducers/tenantOverview/topShards/types.d.ts +1 -1
  336. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +83 -2
  337. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +1 -11
  338. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +2 -2
  339. package/dist/store/reducers/tenants/selectors.d.ts +2 -2
  340. package/dist/store/reducers/tenants/selectors.js +1 -1
  341. package/dist/store/reducers/tenants/tenants.d.ts +83 -2
  342. package/dist/store/reducers/tenants/types.d.ts +2 -2
  343. package/dist/store/reducers/tenants/utils.d.ts +6 -6
  344. package/dist/store/reducers/tooltip.d.ts +4 -3
  345. package/dist/store/reducers/tooltip.js +2 -4
  346. package/dist/store/reducers/topic.d.ts +83 -3
  347. package/dist/store/reducers/topic.js +1 -1
  348. package/dist/store/state-url-mapping.d.ts +5 -3
  349. package/dist/store/state-url-mapping.js +9 -18
  350. package/dist/store/utils.d.ts +4 -4
  351. package/dist/types/additionalProps.d.ts +2 -2
  352. package/dist/types/api/enums.d.ts +1 -0
  353. package/dist/types/api/enums.js +1 -0
  354. package/dist/types/api/error.d.ts +1 -1
  355. package/dist/types/api/nodes.d.ts +1 -1
  356. package/dist/types/api/nodesList.d.ts +1 -1
  357. package/dist/types/api/query.d.ts +19 -19
  358. package/dist/types/api/render.d.ts +6 -3
  359. package/dist/types/api/storage.d.ts +1 -1
  360. package/dist/types/api/tablet.d.ts +1 -1
  361. package/dist/types/common.d.ts +1 -1
  362. package/dist/types/index.d.ts +1 -1
  363. package/dist/types/store/describe.d.ts +3 -3
  364. package/dist/types/store/executeQuery.d.ts +2 -2
  365. package/dist/types/store/explainQuery.d.ts +3 -3
  366. package/dist/types/store/heatmap.d.ts +3 -3
  367. package/dist/types/store/host.d.ts +1 -1
  368. package/dist/types/store/nodesList.d.ts +2 -2
  369. package/dist/types/store/olapStats.d.ts +1 -1
  370. package/dist/types/store/query.d.ts +5 -5
  371. package/dist/types/store/tablet.d.ts +3 -3
  372. package/dist/types/store/tablets.d.ts +2 -2
  373. package/dist/types/store/tooltip.d.ts +3 -5
  374. package/dist/types/store/topic.d.ts +1 -1
  375. package/dist/types/versions.d.ts +2 -2
  376. package/dist/utils/additionalProps.d.ts +1 -1
  377. package/dist/utils/additionalProps.js +1 -1
  378. package/dist/utils/bytesParsers/formatBytes.d.ts +2 -2
  379. package/dist/utils/bytesParsers/formatBytes.js +1 -11
  380. package/dist/utils/clusterVersionColors.d.ts +1 -1
  381. package/dist/utils/clusterVersionColors.js +2 -2
  382. package/dist/utils/constants.d.ts +2 -1
  383. package/dist/utils/constants.js +5 -4
  384. package/dist/utils/dataFormatters/dataFormatters.d.ts +12 -11
  385. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  386. package/dist/utils/diagnostics.d.ts +2 -2
  387. package/dist/utils/disks/__test__/calculatePDiskSeverity.test.d.ts +1 -0
  388. package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js +36 -0
  389. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.d.ts +1 -0
  390. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +142 -0
  391. package/dist/utils/disks/calculatePDiskSeverity.d.ts +2 -0
  392. package/dist/utils/disks/calculatePDiskSeverity.js +18 -0
  393. package/dist/utils/disks/calculateVDiskSeverity.d.ts +2 -0
  394. package/dist/utils/disks/calculateVDiskSeverity.js +36 -0
  395. package/dist/utils/disks/constants.d.ts +25 -0
  396. package/dist/utils/disks/constants.js +38 -0
  397. package/dist/utils/disks/getPDiskType.d.ts +7 -0
  398. package/dist/utils/{pdisk.js → disks/getPDiskType.js} +13 -15
  399. package/dist/utils/disks/helpers.d.ts +3 -0
  400. package/dist/utils/disks/helpers.js +10 -0
  401. package/dist/utils/disks/prepareDisks.d.ts +5 -0
  402. package/dist/utils/disks/prepareDisks.js +40 -0
  403. package/dist/utils/disks/types.d.ts +15 -0
  404. package/dist/utils/disks/types.js +1 -0
  405. package/dist/utils/hooks/index.d.ts +1 -0
  406. package/dist/utils/hooks/index.js +1 -0
  407. package/dist/utils/hooks/useSetting.js +2 -2
  408. package/dist/utils/hooks/useTableResize.d.ts +3 -3
  409. package/dist/utils/hooks/useTableSort.d.ts +1 -1
  410. package/dist/utils/hooks/useTypedDispatch.d.ts +2 -0
  411. package/dist/utils/hooks/useTypedDispatch.js +2 -0
  412. package/dist/utils/hooks/useTypedSelector.d.ts +1 -1
  413. package/dist/utils/index.d.ts +1 -0
  414. package/dist/utils/index.js +3 -0
  415. package/dist/utils/monaco.d.ts +1 -0
  416. package/dist/utils/monaco.js +14 -0
  417. package/dist/utils/monitoring.d.ts +3 -3
  418. package/dist/utils/nodes.d.ts +2 -2
  419. package/dist/utils/prepareBackend.d.ts +2 -2
  420. package/dist/utils/query.d.ts +2 -2
  421. package/dist/utils/query.js +1 -11
  422. package/dist/utils/storage.d.ts +1 -3
  423. package/dist/utils/storage.js +0 -1
  424. package/dist/utils/tablet.d.ts +1 -1
  425. package/dist/utils/timeframes.d.ts +1 -1
  426. package/dist/utils/typecheckers.d.ts +1 -0
  427. package/dist/utils/versions/getVersionsColors.d.ts +1 -1
  428. package/dist/utils/versions/getVersionsColors.js +2 -2
  429. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
  430. package/dist/utils/yqlSuggestions/constants.d.ts +7 -0
  431. package/dist/utils/yqlSuggestions/constants.js +696 -0
  432. package/dist/utils/yqlSuggestions/generateSuggestions.d.ts +27 -0
  433. package/dist/utils/yqlSuggestions/generateSuggestions.js +252 -0
  434. package/dist/utils/yqlSuggestions/yqlSuggestions.d.ts +4 -0
  435. package/dist/utils/yqlSuggestions/yqlSuggestions.js +76 -0
  436. package/package.json +14 -10
  437. package/dist/assets/icons/flask.svg +0 -3
  438. package/dist/assets/icons/star.svg +0 -1
  439. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.d.ts +0 -7
  440. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.js +0 -9
  441. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.d.ts +0 -7
  442. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.js +0 -7
  443. package/dist/containers/Storage/utils/constants.d.ts +0 -2
  444. package/dist/containers/Storage/utils/constants.js +0 -2
  445. package/dist/store/reducers/healthcheckInfo.d.ts +0 -21
  446. package/dist/types/store/healthcheck.d.ts +0 -20
  447. package/dist/utils/pdisk.d.ts +0 -17
  448. /package/dist/{types/store/healthcheck.js → store/reducers/healthcheckInfo/types.js} +0 -0
@@ -1,4 +1,4 @@
1
- import type { Reducer } from 'redux';
1
+ import type { Reducer } from '@reduxjs/toolkit';
2
2
  import type { TTenant } from '../../../types/api/tenant';
3
3
  import type { TenantAction, TenantDiagnosticsTab, TenantMetricsTab, TenantPage, TenantQueryTab, TenantState, TenantSummaryTab } from './types';
4
4
  export declare const FETCH_TENANT: {
@@ -9,7 +9,88 @@ export declare const FETCH_TENANT: {
9
9
  declare const tenantReducer: Reducer<TenantState, TenantAction>;
10
10
  export declare const getTenantInfo: ({ path }: {
11
11
  path: string;
12
- }) => (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("..").GetState) => Promise<TTenant | undefined>;
12
+ }) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
13
+ singleClusterMode: boolean;
14
+ nodes: import("../nodes/types").NodesState;
15
+ topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
16
+ topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
17
+ topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
18
+ cluster: import("../cluster/types").ClusterState;
19
+ clusterNodes: import("../clusterNodes/types").ClusterNodesState;
20
+ tenant: TenantState;
21
+ storage: import("../storage/types").StorageState;
22
+ topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
23
+ node: import("../node/types").NodeState;
24
+ tooltip: import("../../../types/store/tooltip").ITooltipState;
25
+ tablets: import("../../../types/store/tablets").ITabletsState;
26
+ schema: import("../schema/types").SchemaState;
27
+ overview: import("../overview/types").OverviewState;
28
+ olapStats: import("../../../types/store/olapStats").OlapStatsState;
29
+ host: import("../../../types/store/host").IHostState;
30
+ network: import("../network/types").NetworkState;
31
+ tenants: import("../tenants/types").TenantsState;
32
+ tablet: import("../../../types/store/tablet").ITabletState;
33
+ topic: import("../../../types/store/topic").ITopicState;
34
+ partitions: import("../partitions/types").PartitionsState;
35
+ pDisk: import("../pdisk/types").PDiskState;
36
+ executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
37
+ explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
38
+ tabletsFilters: {
39
+ loading: boolean;
40
+ requestTime: number;
41
+ data: undefined;
42
+ wasLoaded: boolean;
43
+ stateFilter: never[];
44
+ typeFilter: never[];
45
+ } | {
46
+ tabletsData: any;
47
+ nodes: any;
48
+ loading: boolean;
49
+ wasLoaded: boolean;
50
+ timeoutForRequest: number;
51
+ error: undefined;
52
+ data: undefined;
53
+ stateFilter: never[];
54
+ typeFilter: never[];
55
+ } | {
56
+ error: any;
57
+ loading: boolean;
58
+ data: undefined;
59
+ wasLoaded: boolean;
60
+ stateFilter: never[];
61
+ typeFilter: never[];
62
+ } | {
63
+ stateFilter: any;
64
+ data: undefined;
65
+ loading: boolean;
66
+ wasLoaded: boolean;
67
+ typeFilter: never[];
68
+ } | {
69
+ typeFilter: any;
70
+ data: undefined;
71
+ loading: boolean;
72
+ wasLoaded: boolean;
73
+ stateFilter: never[];
74
+ };
75
+ heatmap: import("../../../types/store/heatmap").IHeatmapState;
76
+ settings: import("../settings/types").SettingsState;
77
+ preview: any;
78
+ nodesList: import("../../../types/store/nodesList").NodesListState;
79
+ describe: import("../../../types/store/describe").IDescribeState;
80
+ schemaAcl: import("../schemaAcl/types").SchemaAclState;
81
+ executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
82
+ executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
83
+ tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
84
+ healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
85
+ shardsWorkload: import("../shardsWorkload/types").IShardsWorkloadState;
86
+ tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
87
+ hotKeys: import("../hotKeys/types").HotKeysState;
88
+ authentication: import("../authentication/types").AuthenticationState;
89
+ header: import("../header/types").HeaderState;
90
+ saveQuery: string | null;
91
+ fullscreen: boolean;
92
+ clusters: import("../clusters/types").ClustersState;
93
+ }) => Promise<TTenant | undefined>;
13
94
  export declare const clearTenant: () => {
14
95
  readonly type: "tenant/CLEAR_TENANT";
15
96
  };
@@ -4,11 +4,11 @@ import type { ValueOf } from '../../../types/common';
4
4
  import type { ApiRequestAction } from '../../utils';
5
5
  import { TENANT_QUERY_TABS_ID, TENANT_DIAGNOSTICS_TABS_IDS, TENANT_PAGES_IDS, TENANT_SUMMARY_TABS_IDS, TENANT_METRICS_TABS_IDS } from './constants';
6
6
  import { FETCH_TENANT, clearTenant, setDiagnosticsTab, setQueryTab, setSummaryTab, setMetricsTab, setTenantPage, setDataWasNotLoaded } from './tenant';
7
- export declare type TenantPage = ValueOf<typeof TENANT_PAGES_IDS>;
8
- export declare type TenantQueryTab = ValueOf<typeof TENANT_QUERY_TABS_ID>;
9
- export declare type TenantDiagnosticsTab = ValueOf<typeof TENANT_DIAGNOSTICS_TABS_IDS>;
10
- export declare type TenantSummaryTab = ValueOf<typeof TENANT_SUMMARY_TABS_IDS>;
11
- export declare type TenantMetricsTab = ValueOf<typeof TENANT_METRICS_TABS_IDS>;
7
+ export type TenantPage = ValueOf<typeof TENANT_PAGES_IDS>;
8
+ export type TenantQueryTab = ValueOf<typeof TENANT_QUERY_TABS_ID>;
9
+ export type TenantDiagnosticsTab = ValueOf<typeof TENANT_DIAGNOSTICS_TABS_IDS>;
10
+ export type TenantSummaryTab = ValueOf<typeof TENANT_SUMMARY_TABS_IDS>;
11
+ export type TenantMetricsTab = ValueOf<typeof TENANT_METRICS_TABS_IDS>;
12
12
  export interface TenantState {
13
13
  loading: boolean;
14
14
  wasLoaded: boolean;
@@ -20,4 +20,4 @@ export interface TenantState {
20
20
  tenant?: TTenant;
21
21
  error?: IResponseError;
22
22
  }
23
- export declare type TenantAction = ApiRequestAction<typeof FETCH_TENANT, TTenant | undefined, IResponseError> | ReturnType<typeof clearTenant> | ReturnType<typeof setTenantPage> | ReturnType<typeof setQueryTab> | ReturnType<typeof setDiagnosticsTab> | ReturnType<typeof setSummaryTab> | ReturnType<typeof setMetricsTab> | ReturnType<typeof setDataWasNotLoaded>;
23
+ export type TenantAction = ApiRequestAction<typeof FETCH_TENANT, TTenant | undefined, IResponseError> | ReturnType<typeof clearTenant> | ReturnType<typeof setTenantPage> | ReturnType<typeof setQueryTab> | ReturnType<typeof setDiagnosticsTab> | ReturnType<typeof setSummaryTab> | ReturnType<typeof setMetricsTab> | ReturnType<typeof setDataWasNotLoaded>;
@@ -1,4 +1,4 @@
1
- import type { Reducer } from 'redux';
1
+ import type { Reducer } from '@reduxjs/toolkit';
2
2
  import type { TopTablesAction, TopTablesState } from './types';
3
3
  export declare const FETCH_TOP_TABLES: {
4
4
  readonly REQUEST: "top-tables/FETCH_TOP_TABLES_REQUEST";
@@ -6,7 +6,88 @@ export declare const FETCH_TOP_TABLES: {
6
6
  readonly FAILURE: "top-tables/FETCH_TOP_TABLES_FAILURE";
7
7
  };
8
8
  declare const executeTopTables: Reducer<TopTablesState, TopTablesAction>;
9
- export declare const fetchTopTables: (database: string) => (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("../..").GetState) => Promise<import("../../../../types/store/query").IQueryResult | undefined>;
9
+ export declare const fetchTopTables: (database: string) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
10
+ singleClusterMode: boolean;
11
+ nodes: import("../../nodes/types").NodesState;
12
+ topNodesByLoad: import("../topNodesByLoad/types").TopNodesByLoadState;
13
+ topNodesByCpu: import("../topNodesByCpu/types").TopNodesByCpuState;
14
+ topNodesByMemory: import("../topNodesByMemory/types").TopNodesByMemoryState;
15
+ cluster: import("../../cluster/types").ClusterState;
16
+ clusterNodes: import("../../clusterNodes/types").ClusterNodesState;
17
+ tenant: import("../../tenant/types").TenantState;
18
+ storage: import("../../storage/types").StorageState;
19
+ topStorageGroups: import("../topStorageGroups/types").TopStorageGroupsState;
20
+ node: import("../../node/types").NodeState;
21
+ tooltip: import("../../../../types/store/tooltip").ITooltipState;
22
+ tablets: import("../../../../types/store/tablets").ITabletsState;
23
+ schema: import("../../schema/types").SchemaState;
24
+ overview: import("../../overview/types").OverviewState;
25
+ olapStats: import("../../../../types/store/olapStats").OlapStatsState;
26
+ host: import("../../../../types/store/host").IHostState;
27
+ network: import("../../network/types").NetworkState;
28
+ tenants: import("../../tenants/types").TenantsState;
29
+ tablet: import("../../../../types/store/tablet").ITabletState;
30
+ topic: import("../../../../types/store/topic").ITopicState;
31
+ partitions: import("../../partitions/types").PartitionsState;
32
+ pDisk: import("../../pdisk/types").PDiskState;
33
+ executeQuery: import("../../../../types/store/executeQuery").ExecuteQueryState;
34
+ explainQuery: import("../../../../types/store/explainQuery").ExplainQueryState;
35
+ tabletsFilters: {
36
+ loading: boolean;
37
+ requestTime: number;
38
+ data: undefined;
39
+ wasLoaded: boolean;
40
+ stateFilter: never[];
41
+ typeFilter: never[];
42
+ } | {
43
+ tabletsData: any;
44
+ nodes: any;
45
+ loading: boolean;
46
+ wasLoaded: boolean;
47
+ timeoutForRequest: number;
48
+ error: undefined;
49
+ data: undefined;
50
+ stateFilter: never[];
51
+ typeFilter: never[];
52
+ } | {
53
+ error: any;
54
+ loading: boolean;
55
+ data: undefined;
56
+ wasLoaded: boolean;
57
+ stateFilter: never[];
58
+ typeFilter: never[];
59
+ } | {
60
+ stateFilter: any;
61
+ data: undefined;
62
+ loading: boolean;
63
+ wasLoaded: boolean;
64
+ typeFilter: never[];
65
+ } | {
66
+ typeFilter: any;
67
+ data: undefined;
68
+ loading: boolean;
69
+ wasLoaded: boolean;
70
+ stateFilter: never[];
71
+ };
72
+ heatmap: import("../../../../types/store/heatmap").IHeatmapState;
73
+ settings: import("../../settings/types").SettingsState;
74
+ preview: any;
75
+ nodesList: import("../../../../types/store/nodesList").NodesListState;
76
+ describe: import("../../../../types/store/describe").IDescribeState;
77
+ schemaAcl: import("../../schemaAcl/types").SchemaAclState;
78
+ executeTopQueries: import("../../executeTopQueries/types").ITopQueriesState;
79
+ executeTopTables: TopTablesState;
80
+ tenantOverviewTopQueries: import("../topQueries/types").TenantOverviewTopQueriesState;
81
+ healthcheckInfo: import("../../healthcheckInfo/types").HealthcheckInfoState;
82
+ shardsWorkload: import("../../shardsWorkload/types").IShardsWorkloadState;
83
+ tenantOverviewTopShards: import("../topShards/types").TenantOverviewTopShardsState;
84
+ hotKeys: import("../../hotKeys/types").HotKeysState;
85
+ authentication: import("../../authentication/types").AuthenticationState;
86
+ header: import("../../header/types").HeaderState;
87
+ saveQuery: string | null;
88
+ fullscreen: boolean;
89
+ clusters: import("../../clusters/types").ClustersState;
90
+ }) => Promise<import("../../../../types/store/query").IQueryResult | undefined>;
10
91
  export declare function setDataWasNotLoaded(): {
11
92
  readonly type: "top-tables/SET_DATA_WAS_NOT_LOADED";
12
93
  };
@@ -7,4 +7,4 @@ export interface TopTablesState {
7
7
  data?: IQueryResult;
8
8
  error?: QueryErrorResponse;
9
9
  }
10
- export declare type TopTablesAction = ApiRequestAction<typeof FETCH_TOP_TABLES, IQueryResult, QueryErrorResponse> | ReturnType<typeof setDataWasNotLoaded>;
10
+ export type TopTablesAction = ApiRequestAction<typeof FETCH_TOP_TABLES, IQueryResult, QueryErrorResponse> | ReturnType<typeof setDataWasNotLoaded>;
@@ -1,4 +1,4 @@
1
- import type { Reducer } from 'redux';
1
+ import type { Reducer } from '@reduxjs/toolkit';
2
2
  import type { NodesApiRequestParams } from '../../nodes/types';
3
3
  import type { TopNodesByCpuAction, TopNodesByCpuState, TopPoolsStateSlice } from './types';
4
4
  export declare const FETCH_TOP_NODES_BY_CPU: {
@@ -7,7 +7,88 @@ export declare const FETCH_TOP_NODES_BY_CPU: {
7
7
  readonly FAILURE: "topNodesByCpu/FETCH_TOP_NODES_BY_CPU_FAILURE";
8
8
  };
9
9
  export declare const topNodesByCpu: Reducer<TopNodesByCpuState, TopNodesByCpuAction>;
10
- export declare function getTopNodesByCpu({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("../..").GetState) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
10
+ export declare function getTopNodesByCpu({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
11
+ singleClusterMode: boolean;
12
+ nodes: import("../../nodes/types").NodesState;
13
+ topNodesByLoad: import("../topNodesByLoad/types").TopNodesByLoadState;
14
+ topNodesByCpu: TopNodesByCpuState;
15
+ topNodesByMemory: import("../topNodesByMemory/types").TopNodesByMemoryState;
16
+ cluster: import("../../cluster/types").ClusterState;
17
+ clusterNodes: import("../../clusterNodes/types").ClusterNodesState;
18
+ tenant: import("../../tenant/types").TenantState;
19
+ storage: import("../../storage/types").StorageState;
20
+ topStorageGroups: import("../topStorageGroups/types").TopStorageGroupsState;
21
+ node: import("../../node/types").NodeState;
22
+ tooltip: import("../../../../types/store/tooltip").ITooltipState;
23
+ tablets: import("../../../../types/store/tablets").ITabletsState;
24
+ schema: import("../../schema/types").SchemaState;
25
+ overview: import("../../overview/types").OverviewState;
26
+ olapStats: import("../../../../types/store/olapStats").OlapStatsState;
27
+ host: import("../../../../types/store/host").IHostState;
28
+ network: import("../../network/types").NetworkState;
29
+ tenants: import("../../tenants/types").TenantsState;
30
+ tablet: import("../../../../types/store/tablet").ITabletState;
31
+ topic: import("../../../../types/store/topic").ITopicState;
32
+ partitions: import("../../partitions/types").PartitionsState;
33
+ pDisk: import("../../pdisk/types").PDiskState;
34
+ executeQuery: import("../../../../types/store/executeQuery").ExecuteQueryState;
35
+ explainQuery: import("../../../../types/store/explainQuery").ExplainQueryState;
36
+ tabletsFilters: {
37
+ loading: boolean;
38
+ requestTime: number;
39
+ data: undefined;
40
+ wasLoaded: boolean;
41
+ stateFilter: never[];
42
+ typeFilter: never[];
43
+ } | {
44
+ tabletsData: any;
45
+ nodes: any;
46
+ loading: boolean;
47
+ wasLoaded: boolean;
48
+ timeoutForRequest: number;
49
+ error: undefined;
50
+ data: undefined;
51
+ stateFilter: never[];
52
+ typeFilter: never[];
53
+ } | {
54
+ error: any;
55
+ loading: boolean;
56
+ data: undefined;
57
+ wasLoaded: boolean;
58
+ stateFilter: never[];
59
+ typeFilter: never[];
60
+ } | {
61
+ stateFilter: any;
62
+ data: undefined;
63
+ loading: boolean;
64
+ wasLoaded: boolean;
65
+ typeFilter: never[];
66
+ } | {
67
+ typeFilter: any;
68
+ data: undefined;
69
+ loading: boolean;
70
+ wasLoaded: boolean;
71
+ stateFilter: never[];
72
+ };
73
+ heatmap: import("../../../../types/store/heatmap").IHeatmapState;
74
+ settings: import("../../settings/types").SettingsState;
75
+ preview: any;
76
+ nodesList: import("../../../../types/store/nodesList").NodesListState;
77
+ describe: import("../../../../types/store/describe").IDescribeState;
78
+ schemaAcl: import("../../schemaAcl/types").SchemaAclState;
79
+ executeTopQueries: import("../../executeTopQueries/types").ITopQueriesState;
80
+ executeTopTables: import("../executeTopTables/types").TopTablesState;
81
+ tenantOverviewTopQueries: import("../topQueries/types").TenantOverviewTopQueriesState;
82
+ healthcheckInfo: import("../../healthcheckInfo/types").HealthcheckInfoState;
83
+ shardsWorkload: import("../../shardsWorkload/types").IShardsWorkloadState;
84
+ tenantOverviewTopShards: import("../topShards/types").TenantOverviewTopShardsState;
85
+ hotKeys: import("../../hotKeys/types").HotKeysState;
86
+ authentication: import("../../authentication/types").AuthenticationState;
87
+ header: import("../../header/types").HeaderState;
88
+ saveQuery: string | null;
89
+ fullscreen: boolean;
90
+ clusters: import("../../clusters/types").ClustersState;
91
+ }) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
11
92
  export declare const selectTopNodesByCpu: (state: TopPoolsStateSlice) => import("../../nodes/types").NodesPreparedEntity[] | undefined;
12
93
  export declare const setDataWasNotLoaded: () => {
13
94
  readonly type: "topNodesByCpu/SET_DATA_WAS_NOT_LOADED";
@@ -1,14 +1,4 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
1
+ import { __rest } from "tslib";
12
2
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
13
3
  import { createApiRequest, createRequestActionTypes } from '../../../utils';
14
4
  import { prepareNodesData } from '../../nodes/utils';
@@ -11,8 +11,8 @@ export interface TopNodesByCpuState {
11
11
  export interface TopNodesByCpuHandledResponse {
12
12
  Nodes?: NodesPreparedEntity[];
13
13
  }
14
- declare type TopNodesByCpuApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_CPU, TopNodesByCpuHandledResponse, IResponseError>;
15
- export declare type TopNodesByCpuAction = TopNodesByCpuApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
14
+ type TopNodesByCpuApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_CPU, TopNodesByCpuHandledResponse, IResponseError>;
15
+ export type TopNodesByCpuAction = TopNodesByCpuApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
16
16
  export interface TopPoolsStateSlice {
17
17
  topNodesByCpu: TopNodesByCpuState;
18
18
  }
@@ -1,4 +1,4 @@
1
- import type { Reducer } from 'redux';
1
+ import type { Reducer } from '@reduxjs/toolkit';
2
2
  import type { NodesApiRequestParams } from '../../nodes/types';
3
3
  import type { TopNodesByLoadAction, TopNodesByLoadState, TopNodesByLoadStateSlice } from './types';
4
4
  export declare const FETCH_TOP_NODES_BY_LOAD: {
@@ -7,7 +7,88 @@ export declare const FETCH_TOP_NODES_BY_LOAD: {
7
7
  readonly FAILURE: "topNodesByLoad/FETCH_TOP_NODES_BY_LOAD_FAILURE";
8
8
  };
9
9
  export declare const topNodesByLoad: Reducer<TopNodesByLoadState, TopNodesByLoadAction>;
10
- export declare function getTopNodesByLoad({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("../..").GetState) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
10
+ export declare function getTopNodesByLoad({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
11
+ singleClusterMode: boolean;
12
+ nodes: import("../../nodes/types").NodesState;
13
+ topNodesByLoad: TopNodesByLoadState;
14
+ topNodesByCpu: import("../topNodesByCpu/types").TopNodesByCpuState;
15
+ topNodesByMemory: import("../topNodesByMemory/types").TopNodesByMemoryState;
16
+ cluster: import("../../cluster/types").ClusterState;
17
+ clusterNodes: import("../../clusterNodes/types").ClusterNodesState;
18
+ tenant: import("../../tenant/types").TenantState;
19
+ storage: import("../../storage/types").StorageState;
20
+ topStorageGroups: import("../topStorageGroups/types").TopStorageGroupsState;
21
+ node: import("../../node/types").NodeState;
22
+ tooltip: import("../../../../types/store/tooltip").ITooltipState;
23
+ tablets: import("../../../../types/store/tablets").ITabletsState;
24
+ schema: import("../../schema/types").SchemaState;
25
+ overview: import("../../overview/types").OverviewState;
26
+ olapStats: import("../../../../types/store/olapStats").OlapStatsState;
27
+ host: import("../../../../types/store/host").IHostState;
28
+ network: import("../../network/types").NetworkState;
29
+ tenants: import("../../tenants/types").TenantsState;
30
+ tablet: import("../../../../types/store/tablet").ITabletState;
31
+ topic: import("../../../../types/store/topic").ITopicState;
32
+ partitions: import("../../partitions/types").PartitionsState;
33
+ pDisk: import("../../pdisk/types").PDiskState;
34
+ executeQuery: import("../../../../types/store/executeQuery").ExecuteQueryState;
35
+ explainQuery: import("../../../../types/store/explainQuery").ExplainQueryState;
36
+ tabletsFilters: {
37
+ loading: boolean;
38
+ requestTime: number;
39
+ data: undefined;
40
+ wasLoaded: boolean;
41
+ stateFilter: never[];
42
+ typeFilter: never[];
43
+ } | {
44
+ tabletsData: any;
45
+ nodes: any;
46
+ loading: boolean;
47
+ wasLoaded: boolean;
48
+ timeoutForRequest: number;
49
+ error: undefined;
50
+ data: undefined;
51
+ stateFilter: never[];
52
+ typeFilter: never[];
53
+ } | {
54
+ error: any;
55
+ loading: boolean;
56
+ data: undefined;
57
+ wasLoaded: boolean;
58
+ stateFilter: never[];
59
+ typeFilter: never[];
60
+ } | {
61
+ stateFilter: any;
62
+ data: undefined;
63
+ loading: boolean;
64
+ wasLoaded: boolean;
65
+ typeFilter: never[];
66
+ } | {
67
+ typeFilter: any;
68
+ data: undefined;
69
+ loading: boolean;
70
+ wasLoaded: boolean;
71
+ stateFilter: never[];
72
+ };
73
+ heatmap: import("../../../../types/store/heatmap").IHeatmapState;
74
+ settings: import("../../settings/types").SettingsState;
75
+ preview: any;
76
+ nodesList: import("../../../../types/store/nodesList").NodesListState;
77
+ describe: import("../../../../types/store/describe").IDescribeState;
78
+ schemaAcl: import("../../schemaAcl/types").SchemaAclState;
79
+ executeTopQueries: import("../../executeTopQueries/types").ITopQueriesState;
80
+ executeTopTables: import("../executeTopTables/types").TopTablesState;
81
+ tenantOverviewTopQueries: import("../topQueries/types").TenantOverviewTopQueriesState;
82
+ healthcheckInfo: import("../../healthcheckInfo/types").HealthcheckInfoState;
83
+ shardsWorkload: import("../../shardsWorkload/types").IShardsWorkloadState;
84
+ tenantOverviewTopShards: import("../topShards/types").TenantOverviewTopShardsState;
85
+ hotKeys: import("../../hotKeys/types").HotKeysState;
86
+ authentication: import("../../authentication/types").AuthenticationState;
87
+ header: import("../../header/types").HeaderState;
88
+ saveQuery: string | null;
89
+ fullscreen: boolean;
90
+ clusters: import("../../clusters/types").ClustersState;
91
+ }) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
11
92
  export declare const selectTopNodesByLoad: (state: TopNodesByLoadStateSlice) => import("../../nodes/types").NodesPreparedEntity[] | undefined;
12
93
  export declare const setDataWasNotLoaded: () => {
13
94
  readonly type: "topNodesByLoad/SET_DATA_WAS_NOT_LOADED";
@@ -1,14 +1,4 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
1
+ import { __rest } from "tslib";
12
2
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
13
3
  import { createApiRequest, createRequestActionTypes } from '../../../utils';
14
4
  import { prepareNodesData } from '../../nodes/utils';
@@ -11,8 +11,8 @@ export interface TopNodesByLoadState {
11
11
  export interface TopNodesByLoadHandledResponse {
12
12
  Nodes?: NodesPreparedEntity[];
13
13
  }
14
- declare type TopNodesByLoadApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_LOAD, TopNodesByLoadHandledResponse, IResponseError>;
15
- export declare type TopNodesByLoadAction = TopNodesByLoadApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
14
+ type TopNodesByLoadApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_LOAD, TopNodesByLoadHandledResponse, IResponseError>;
15
+ export type TopNodesByLoadAction = TopNodesByLoadApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
16
16
  export interface TopNodesByLoadStateSlice {
17
17
  topNodesByLoad: TopNodesByLoadState;
18
18
  }
@@ -1,4 +1,4 @@
1
- import type { Reducer } from 'redux';
1
+ import type { Reducer } from '@reduxjs/toolkit';
2
2
  import type { NodesApiRequestParams } from '../../nodes/types';
3
3
  import type { TopNodesByMemoryAction, TopNodesByMemoryState, TopNodesByMemorySlice } from './types';
4
4
  export declare const FETCH_TOP_NODES_BY_MEMORY: {
@@ -7,7 +7,88 @@ export declare const FETCH_TOP_NODES_BY_MEMORY: {
7
7
  readonly FAILURE: "topNodesByMemory/FETCH_TOP_NODES_BY_MEMORY_FAILURE";
8
8
  };
9
9
  export declare const topNodesByMemory: Reducer<TopNodesByMemoryState, TopNodesByMemoryAction>;
10
- export declare function getTopNodesByMemory({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("../..").GetState) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
10
+ export declare function getTopNodesByMemory({ type, sortOrder, sortValue, limit, ...params }: NodesApiRequestParams): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
11
+ singleClusterMode: boolean;
12
+ nodes: import("../../nodes/types").NodesState;
13
+ topNodesByLoad: import("../topNodesByLoad/types").TopNodesByLoadState;
14
+ topNodesByCpu: import("../topNodesByCpu/types").TopNodesByCpuState;
15
+ topNodesByMemory: TopNodesByMemoryState;
16
+ cluster: import("../../cluster/types").ClusterState;
17
+ clusterNodes: import("../../clusterNodes/types").ClusterNodesState;
18
+ tenant: import("../../tenant/types").TenantState;
19
+ storage: import("../../storage/types").StorageState;
20
+ topStorageGroups: import("../topStorageGroups/types").TopStorageGroupsState;
21
+ node: import("../../node/types").NodeState;
22
+ tooltip: import("../../../../types/store/tooltip").ITooltipState;
23
+ tablets: import("../../../../types/store/tablets").ITabletsState;
24
+ schema: import("../../schema/types").SchemaState;
25
+ overview: import("../../overview/types").OverviewState;
26
+ olapStats: import("../../../../types/store/olapStats").OlapStatsState;
27
+ host: import("../../../../types/store/host").IHostState;
28
+ network: import("../../network/types").NetworkState;
29
+ tenants: import("../../tenants/types").TenantsState;
30
+ tablet: import("../../../../types/store/tablet").ITabletState;
31
+ topic: import("../../../../types/store/topic").ITopicState;
32
+ partitions: import("../../partitions/types").PartitionsState;
33
+ pDisk: import("../../pdisk/types").PDiskState;
34
+ executeQuery: import("../../../../types/store/executeQuery").ExecuteQueryState;
35
+ explainQuery: import("../../../../types/store/explainQuery").ExplainQueryState;
36
+ tabletsFilters: {
37
+ loading: boolean;
38
+ requestTime: number;
39
+ data: undefined;
40
+ wasLoaded: boolean;
41
+ stateFilter: never[];
42
+ typeFilter: never[];
43
+ } | {
44
+ tabletsData: any;
45
+ nodes: any;
46
+ loading: boolean;
47
+ wasLoaded: boolean;
48
+ timeoutForRequest: number;
49
+ error: undefined;
50
+ data: undefined;
51
+ stateFilter: never[];
52
+ typeFilter: never[];
53
+ } | {
54
+ error: any;
55
+ loading: boolean;
56
+ data: undefined;
57
+ wasLoaded: boolean;
58
+ stateFilter: never[];
59
+ typeFilter: never[];
60
+ } | {
61
+ stateFilter: any;
62
+ data: undefined;
63
+ loading: boolean;
64
+ wasLoaded: boolean;
65
+ typeFilter: never[];
66
+ } | {
67
+ typeFilter: any;
68
+ data: undefined;
69
+ loading: boolean;
70
+ wasLoaded: boolean;
71
+ stateFilter: never[];
72
+ };
73
+ heatmap: import("../../../../types/store/heatmap").IHeatmapState;
74
+ settings: import("../../settings/types").SettingsState;
75
+ preview: any;
76
+ nodesList: import("../../../../types/store/nodesList").NodesListState;
77
+ describe: import("../../../../types/store/describe").IDescribeState;
78
+ schemaAcl: import("../../schemaAcl/types").SchemaAclState;
79
+ executeTopQueries: import("../../executeTopQueries/types").ITopQueriesState;
80
+ executeTopTables: import("../executeTopTables/types").TopTablesState;
81
+ tenantOverviewTopQueries: import("../topQueries/types").TenantOverviewTopQueriesState;
82
+ healthcheckInfo: import("../../healthcheckInfo/types").HealthcheckInfoState;
83
+ shardsWorkload: import("../../shardsWorkload/types").IShardsWorkloadState;
84
+ tenantOverviewTopShards: import("../topShards/types").TenantOverviewTopShardsState;
85
+ hotKeys: import("../../hotKeys/types").HotKeysState;
86
+ authentication: import("../../authentication/types").AuthenticationState;
87
+ header: import("../../header/types").HeaderState;
88
+ saveQuery: string | null;
89
+ fullscreen: boolean;
90
+ clusters: import("../../clusters/types").ClustersState;
91
+ }) => Promise<import("../../nodes/types").NodesHandledResponse | undefined>;
11
92
  export declare const selectTopNodesByMemory: (state: TopNodesByMemorySlice) => import("../../nodes/types").NodesPreparedEntity[] | undefined;
12
93
  export declare const setDataWasNotLoaded: () => {
13
94
  readonly type: "topNodesByMemory/SET_DATA_WAS_NOT_LOADED";
@@ -1,14 +1,4 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
1
+ import { __rest } from "tslib";
12
2
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../utils/constants';
13
3
  import { createApiRequest, createRequestActionTypes } from '../../../utils';
14
4
  import { prepareNodesData } from '../../nodes/utils';
@@ -11,8 +11,8 @@ export interface TopNodesByMemoryState {
11
11
  export interface TopNodesByMemoryHandledResponse {
12
12
  Nodes?: NodesPreparedEntity[];
13
13
  }
14
- declare type TopNodesByMemoryApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_MEMORY, TopNodesByMemoryHandledResponse, IResponseError>;
15
- export declare type TopNodesByMemoryAction = TopNodesByMemoryApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
14
+ type TopNodesByMemoryApiRequestAction = ApiRequestAction<typeof FETCH_TOP_NODES_BY_MEMORY, TopNodesByMemoryHandledResponse, IResponseError>;
15
+ export type TopNodesByMemoryAction = TopNodesByMemoryApiRequestAction | ReturnType<typeof setDataWasNotLoaded>;
16
16
  export interface TopNodesByMemorySlice {
17
17
  topNodesByMemory: TopNodesByMemoryState;
18
18
  }