ydb-embedded-ui 6.6.0 → 6.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. package/dist/package.json +4 -3
  2. package/dist/src/containers/App/App.d.ts +1 -1
  3. package/dist/{containers → src/containers}/App/App.scss +5 -0
  4. package/dist/src/containers/App/Content.js +1 -1
  5. package/dist/src/containers/App/appSlots.d.ts +1 -1
  6. package/dist/src/containers/AsideNavigation/Navigation.js +1 -3
  7. package/dist/src/containers/AsideNavigation/i18n/en.json +0 -2
  8. package/dist/src/containers/AsideNavigation/i18n/index.d.ts +1 -1
  9. package/dist/src/containers/AsideNavigation/i18n/index.js +1 -2
  10. package/dist/src/containers/Cluster/i18n/index.d.ts +1 -1
  11. package/dist/src/containers/Clusters/constants.d.ts +1 -1
  12. package/dist/src/containers/Header/Header.js +17 -21
  13. package/dist/{containers → src/containers}/Header/Header.scss +14 -5
  14. package/dist/src/containers/Header/breadcrumbs.js +65 -71
  15. package/dist/src/containers/Heatmap/Heatmap.js +3 -3
  16. package/dist/src/containers/Nodes/Nodes.js +4 -4
  17. package/dist/src/containers/Nodes/VirtualNodes.js +2 -2
  18. package/dist/src/containers/Storage/Storage.js +2 -2
  19. package/dist/src/containers/Tablets/Tablets.js +8 -8
  20. package/dist/src/containers/TabletsFilters/TabletsFilters.d.ts +2 -57
  21. package/dist/src/containers/TabletsFilters/TabletsFilters.js +70 -180
  22. package/dist/src/containers/Tenant/Acl/Acl.d.ts +3 -1
  23. package/dist/src/containers/Tenant/Acl/Acl.js +7 -17
  24. package/dist/src/containers/Tenant/Diagnostics/Autorefresh/AutorefreshControl.js +4 -5
  25. package/dist/src/containers/Tenant/Diagnostics/Consumers/Consumers.js +3 -3
  26. package/dist/src/containers/Tenant/Diagnostics/Describe/Describe.d.ts +2 -2
  27. package/dist/src/containers/Tenant/Diagnostics/Describe/Describe.js +5 -6
  28. package/dist/src/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.d.ts +1 -0
  29. package/dist/src/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.js +3 -5
  30. package/dist/src/containers/Tenant/Diagnostics/Diagnostics.d.ts +2 -0
  31. package/dist/src/containers/Tenant/Diagnostics/Diagnostics.js +26 -50
  32. package/dist/{containers → src/containers}/Tenant/Diagnostics/Diagnostics.scss +1 -1
  33. package/dist/src/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +19 -58
  34. package/dist/src/containers/Tenant/Diagnostics/Network/Network.d.ts +2 -2
  35. package/dist/src/containers/Tenant/Diagnostics/Network/Network.js +5 -5
  36. package/dist/src/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +1 -6
  37. package/dist/src/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.d.ts +2 -1
  38. package/dist/src/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.js +3 -8
  39. package/dist/src/containers/Tenant/Diagnostics/Overview/Overview.d.ts +2 -2
  40. package/dist/src/containers/Tenant/Diagnostics/Overview/Overview.js +19 -21
  41. package/dist/{containers → src/containers}/Tenant/Diagnostics/Overview/TableInfo/TableInfo.scss +0 -2
  42. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.d.ts +2 -1
  43. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.js +3 -8
  44. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.d.ts +3 -1
  45. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +5 -5
  46. package/dist/src/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -12
  47. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +100 -0
  48. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +2 -5
  49. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.js +7 -2
  50. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.d.ts +1 -6
  51. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +22 -16
  52. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.d.ts +2 -8
  53. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.js +2 -2
  54. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.d.ts +2 -2
  55. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +2 -2
  56. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +2 -2
  57. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +4 -4
  58. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.d.ts +2 -2
  59. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +4 -4
  60. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.d.ts +2 -2
  61. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +4 -4
  62. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.d.ts +2 -1
  63. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +5 -5
  64. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +3 -3
  65. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +2 -2
  66. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +2 -2
  67. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.d.ts +2 -2
  68. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +4 -4
  69. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +7 -9
  70. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +3 -3
  71. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +3 -3
  72. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +1 -1
  73. package/dist/src/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +2 -2
  74. package/dist/src/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +5 -5
  75. package/dist/src/containers/Tenant/Diagnostics/TopShards/TopShards.d.ts +3 -2
  76. package/dist/src/containers/Tenant/Diagnostics/TopShards/TopShards.js +8 -8
  77. package/dist/src/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +0 -6
  78. package/dist/src/containers/Tenant/Info/ExternalTable/ExternalTable.js +0 -6
  79. package/dist/src/containers/Tenant/Info/View/View.js +0 -6
  80. package/dist/src/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +2 -1
  81. package/dist/src/containers/Tenant/ObjectGeneral/ObjectGeneral.js +7 -13
  82. package/dist/src/containers/Tenant/ObjectSummary/ObjectSummary.d.ts +4 -4
  83. package/dist/src/containers/Tenant/ObjectSummary/ObjectSummary.js +159 -63
  84. package/dist/src/containers/Tenant/Query/Issues/Issues.js +6 -5
  85. package/dist/src/containers/Tenant/Query/Preview/Preview.d.ts +2 -1
  86. package/dist/src/containers/Tenant/Query/Preview/Preview.js +6 -6
  87. package/dist/src/containers/Tenant/Query/Query.d.ts +1 -0
  88. package/dist/{containers → src/containers}/Tenant/Query/Query.scss +1 -1
  89. package/dist/src/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -0
  90. package/dist/src/containers/Tenant/Query/QueryEditor/QueryEditor.js +9 -22
  91. package/dist/src/containers/Tenant/Query/i18n/en.json +1 -1
  92. package/dist/src/containers/Tenant/Schema/SchemaTree/SchemaTree.d.ts +1 -0
  93. package/dist/src/containers/Tenant/Schema/SchemaTree/SchemaTree.js +11 -19
  94. package/dist/src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.d.ts +2 -2
  95. package/dist/src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +13 -8
  96. package/dist/src/containers/Tenant/Schema/SchemaViewer/columns.d.ts +2 -1
  97. package/dist/src/containers/Tenant/Schema/SchemaViewer/columns.js +21 -2
  98. package/dist/src/containers/Tenant/Schema/SchemaViewer/i18n/en.json +1 -0
  99. package/dist/src/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
  100. package/dist/src/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -1
  101. package/dist/src/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -0
  102. package/dist/src/containers/Tenant/Tenant.js +20 -36
  103. package/dist/{containers → src/containers}/Tenant/Tenant.scss +4 -0
  104. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.d.ts +2 -0
  105. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.js +19 -0
  106. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.scss +18 -0
  107. package/dist/src/containers/Tenant/TenantNavigation/useTenantNavigation.d.ts +9 -0
  108. package/dist/src/containers/Tenant/TenantNavigation/useTenantNavigation.js +44 -0
  109. package/dist/src/containers/Tenant/i18n/en.json +17 -0
  110. package/dist/src/containers/Tenant/i18n/index.d.ts +1 -1
  111. package/dist/src/containers/Tenant/utils/queryTemplates.d.ts +1 -0
  112. package/dist/src/containers/Tenant/utils/queryTemplates.js +12 -0
  113. package/dist/src/containers/Tenant/utils/schema.d.ts +1 -1
  114. package/dist/src/containers/Tenant/utils/schema.js +5 -6
  115. package/dist/src/containers/Tenant/utils/schemaActions.js +3 -1
  116. package/dist/src/lib.d.ts +3 -2
  117. package/dist/src/lib.js +2 -2
  118. package/dist/src/routes.d.ts +1 -1
  119. package/dist/src/routes.js +3 -1
  120. package/dist/src/services/api.d.ts +6 -1
  121. package/dist/src/services/api.js +23 -3
  122. package/dist/src/services/settings.d.ts +1 -0
  123. package/dist/src/services/settings.js +3 -2
  124. package/dist/src/store/configureStore.d.ts +36 -134
  125. package/dist/src/store/configureStore.js +2 -15
  126. package/dist/src/store/defaultStore.d.ts +17 -81
  127. package/dist/src/store/reducers/api.js +0 -1
  128. package/dist/src/store/reducers/authentication/authentication.d.ts +51 -243
  129. package/dist/src/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +196 -849
  130. package/dist/src/store/reducers/healthcheckInfo/healthcheckInfo.js +3 -3
  131. package/dist/src/store/reducers/hotKeys/hotKeys.d.ts +6 -25
  132. package/dist/src/store/reducers/hotKeys/hotKeys.js +36 -49
  133. package/dist/src/store/reducers/index.d.ts +23 -100
  134. package/dist/src/store/reducers/index.js +0 -8
  135. package/dist/src/store/reducers/node/selectors.d.ts +0 -40
  136. package/dist/src/store/reducers/nodesList.d.ts +0 -40
  137. package/dist/src/store/reducers/schema/schema.d.ts +13 -149
  138. package/dist/src/store/reducers/schema/schema.js +45 -90
  139. package/dist/src/store/reducers/schema/types.d.ts +2 -21
  140. package/dist/src/store/reducers/schemaAcl/schemaAcl.d.ts +8 -135
  141. package/dist/src/store/reducers/schemaAcl/schemaAcl.js +18 -44
  142. package/dist/src/store/reducers/settings/settings.d.ts +17 -23
  143. package/dist/src/store/reducers/settings/settings.js +40 -33
  144. package/dist/src/store/reducers/settings/types.d.ts +1 -12
  145. package/dist/src/store/reducers/tablets.d.ts +288 -41
  146. package/dist/src/store/reducers/tablets.js +8 -4
  147. package/dist/src/store/reducers/tabletsFilters.d.ts +11 -164
  148. package/dist/src/store/reducers/tabletsFilters.js +14 -76
  149. package/dist/src/store/reducers/tenants/selectors.d.ts +8 -362
  150. package/dist/src/store/reducers/topic.d.ts +0 -600
  151. package/dist/src/store/state-url-mapping.js +0 -3
  152. package/dist/src/types/api/tenant.d.ts +1 -7
  153. package/dist/src/types/api/tenant.js +0 -8
  154. package/dist/src/utils/__test__/monitoring.test.js +1 -1
  155. package/dist/src/utils/constants.d.ts +1 -1
  156. package/dist/src/utils/constants.js +1 -1
  157. package/dist/src/utils/dataFormatters/dataFormatters.d.ts +2 -1
  158. package/dist/src/utils/dataFormatters/dataFormatters.js +7 -3
  159. package/dist/src/utils/hooks/index.d.ts +1 -0
  160. package/dist/src/utils/hooks/index.js +1 -0
  161. package/dist/src/utils/hooks/useAutoRefreshInterval.d.ts +1 -0
  162. package/dist/src/utils/hooks/useAutoRefreshInterval.js +5 -0
  163. package/dist/src/utils/monitoring.d.ts +2 -1
  164. package/dist/src/utils/monitoring.js +1 -4
  165. package/dist/src/utils/utils.js +2 -1
  166. package/package.json +4 -3
  167. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +0 -109
  168. package/dist/src/components/InfoViewer/schemaOverview/CDCStreamOverview.d.ts +0 -6
  169. package/dist/src/components/InfoViewer/schemaOverview/CDCStreamOverview.js +0 -17
  170. package/dist/src/components/InfoViewer/schemaOverview/PersQueueGroupOverview.d.ts +0 -6
  171. package/dist/src/components/InfoViewer/schemaOverview/PersQueueGroupOverview.js +0 -20
  172. package/dist/src/components/InfoViewer/schemaOverview/index.d.ts +0 -2
  173. package/dist/src/components/InfoViewer/schemaOverview/index.js +0 -2
  174. package/dist/src/containers/AsideNavigation/i18n/ru.json +0 -10
  175. package/dist/src/containers/AsideNavigation/useNavigationMenuItems.d.ts +0 -2
  176. package/dist/src/containers/AsideNavigation/useNavigationMenuItems.js +0 -54
  177. package/dist/src/store/reducers/host.d.ts +0 -130
  178. package/dist/src/store/reducers/host.js +0 -26
  179. package/dist/src/store/reducers/hotKeys/types.d.ts +0 -10
  180. package/dist/src/store/reducers/hotKeys/types.js +0 -1
  181. package/dist/src/store/reducers/schemaAcl/types.d.ts +0 -12
  182. package/dist/src/store/reducers/schemaAcl/types.js +0 -1
  183. package/dist/src/types/store/host.d.ts +0 -15
  184. package/dist/src/types/store/host.js +0 -1
  185. package/dist/styles/constants.scss +0 -9
  186. /package/dist/{assets → src/assets}/icons/cluster.svg +0 -0
  187. /package/dist/{assets → src/assets}/icons/databases.svg +0 -0
  188. /package/dist/{assets → src/assets}/icons/disableFullscreen.svg +0 -0
  189. /package/dist/{assets → src/assets}/icons/emptyState.svg +0 -0
  190. /package/dist/{assets → src/assets}/icons/key.svg +0 -0
  191. /package/dist/{assets → src/assets}/icons/monitoring.svg +0 -0
  192. /package/dist/{assets → src/assets}/icons/network.svg +0 -0
  193. /package/dist/{assets → src/assets}/icons/user-check.svg +0 -0
  194. /package/dist/{assets → src/assets}/icons/user-secret.svg +0 -0
  195. /package/dist/{assets → src/assets}/icons/ydb.svg +0 -0
  196. /package/dist/{assets → src/assets}/illustrations/dark/403.svg +0 -0
  197. /package/dist/{assets → src/assets}/illustrations/dark/error.svg +0 -0
  198. /package/dist/{assets → src/assets}/illustrations/dark/thumbsUp.svg +0 -0
  199. /package/dist/{assets → src/assets}/illustrations/light/403.svg +0 -0
  200. /package/dist/{assets → src/assets}/illustrations/light/error.svg +0 -0
  201. /package/dist/{assets → src/assets}/illustrations/light/thumbsUp.svg +0 -0
  202. /package/dist/{components → src/components}/BasicNodeViewer/BasicNodeViewer.scss +0 -0
  203. /package/dist/{components → src/components}/CellWithPopover/CellWithPopover.scss +0 -0
  204. /package/dist/{components → src/components}/CircularProgressBar/CircularProgressBar.scss +0 -0
  205. /package/dist/{components → src/components}/CriticalActionDialog/CriticalActionDialog.scss +0 -0
  206. /package/dist/{components → src/components}/DateRange/DateRange.scss +0 -0
  207. /package/dist/{components → src/components}/DiagnosticCard/DiagnosticCard.scss +0 -0
  208. /package/dist/{components → src/components}/DiskPageTitle/DiskPageTitle.scss +0 -0
  209. /package/dist/{components → src/components}/DiskStateProgressBar/DiskStateProgressBar.scss +0 -0
  210. /package/dist/{components → src/components}/Divider/Divider.scss +0 -0
  211. /package/dist/{components → src/components}/EmptyState/EmptyState.scss +0 -0
  212. /package/dist/{components → src/components}/EntityStatus/EntityStatus.scss +0 -0
  213. /package/dist/{components → src/components}/ErrorBoundary/ErrorBoundary.scss +0 -0
  214. /package/dist/{components → src/components}/FullNodeViewer/FullNodeViewer.scss +0 -0
  215. /package/dist/{components → src/components}/Fullscreen/Fullscreen.scss +0 -0
  216. /package/dist/{components → src/components}/InfoViewer/InfoViewer.scss +0 -0
  217. /package/dist/{components → src/components}/InfoViewerSkeleton/InfoViewerSkeleton.scss +0 -0
  218. /package/dist/{components → src/components}/LagPopoverContent/LagPopoverContent.scss +0 -0
  219. /package/dist/{components → src/components}/LinkWithIcon/LinkWithIcon.scss +0 -0
  220. /package/dist/{components → src/components}/Loader/Loader.scss +0 -0
  221. /package/dist/{components → src/components}/MetricChart/MetricChart.scss +0 -0
  222. /package/dist/{components → src/components}/MonitoringButton/MonitoringButton.scss +0 -0
  223. /package/dist/{components → src/components}/NodeHostWrapper/NodeHostWrapper.scss +0 -0
  224. /package/dist/{components → src/components}/PDiskInfo/PDiskInfo.scss +0 -0
  225. /package/dist/{components → src/components}/PDiskPopup/PDiskPopup.scss +0 -0
  226. /package/dist/{components → src/components}/PageMeta/PageMeta.scss +0 -0
  227. /package/dist/{components → src/components}/PoolBar/PoolBar.scss +0 -0
  228. /package/dist/{components → src/components}/PoolUsage/PoolUsage.scss +0 -0
  229. /package/dist/{components → src/components}/PoolsGraph/PoolsGraph.scss +0 -0
  230. /package/dist/{components → src/components}/ProgressViewer/ProgressViewer.scss +0 -0
  231. /package/dist/{components → src/components}/QueryExecutionStatus/QueryExecutionStatus.scss +0 -0
  232. /package/dist/{components → src/components}/QueryResultTable/QueryResultTable.scss +0 -0
  233. /package/dist/{components → src/components}/ResizeableDataTable/ResizeableDataTable.scss +0 -0
  234. /package/dist/{components → src/components}/Search/Search.scss +0 -0
  235. /package/dist/{components → src/components}/ShortyString/ShortyString.scss +0 -0
  236. /package/dist/{components → src/components}/SpeedMultiMeter/SpeedMultiMeter.scss +0 -0
  237. /package/dist/{components → src/components}/SplitPane/SplitPane.scss +0 -0
  238. /package/dist/{components → src/components}/Stack/Stack.scss +0 -0
  239. /package/dist/{components → src/components}/StatusIcon/StatusIcon.scss +0 -0
  240. /package/dist/{components → src/components}/TableSkeleton/TableSkeleton.scss +0 -0
  241. /package/dist/{components → src/components}/TableWithControlsLayout/TableWithControlsLayout.scss +0 -0
  242. /package/dist/{components → src/components}/Tablet/Tablet.scss +0 -0
  243. /package/dist/{components → src/components}/TabletIcon/TabletIcon.scss +0 -0
  244. /package/dist/{components → src/components}/TabletsOverall/TabletsOverall.scss +0 -0
  245. /package/dist/{components → src/components}/TabletsStatistic/TabletsStatistic.scss +0 -0
  246. /package/dist/{components → src/components}/Tag/Tag.scss +0 -0
  247. /package/dist/{components → src/components}/Tags/Tags.scss +0 -0
  248. /package/dist/{components → src/components}/TimeFrameSelector/TimeFrameSelector.scss +0 -0
  249. /package/dist/{components → src/components}/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +0 -0
  250. /package/dist/{components → src/components}/TruncatedQuery/TruncatedQuery.scss +0 -0
  251. /package/dist/{components → src/components}/UsageLabel/UsageLabel.scss +0 -0
  252. /package/dist/{components → src/components}/User/User.scss +0 -0
  253. /package/dist/{components → src/components}/VDisk/VDisk.scss +0 -0
  254. /package/dist/{components → src/components}/VDiskInfo/VDiskInfo.scss +0 -0
  255. /package/dist/{components → src/components}/VDiskPopup/VDiskPopup.scss +0 -0
  256. /package/dist/{components → src/components}/VirtualTable/VirtualTable.scss +0 -0
  257. /package/dist/{containers → src/containers}/AppWithClusters/ExtendedCluster/ExtendedCluster.scss +0 -0
  258. /package/dist/{containers → src/containers}/AsideNavigation/AsideNavigation.scss +0 -0
  259. /package/dist/{containers → src/containers}/AsideNavigation/YdbInternalUser/YdbInternalUser.scss +0 -0
  260. /package/dist/{containers → src/containers}/Authentication/Authentication.scss +0 -0
  261. /package/dist/{containers → src/containers}/Cluster/Cluster.scss +0 -0
  262. /package/dist/{containers → src/containers}/Cluster/ClusterInfo/ClusterInfo.scss +0 -0
  263. /package/dist/{containers → src/containers}/Cluster/VersionsBar/VersionsBar.scss +0 -0
  264. /package/dist/{containers → src/containers}/Clusters/Clusters.scss +0 -0
  265. /package/dist/{containers → src/containers}/Heatmap/Heatmap.scss +0 -0
  266. /package/dist/{containers → src/containers}/Heatmap/Histogram/Histogram.scss +0 -0
  267. /package/dist/{containers → src/containers}/Node/Node.scss +0 -0
  268. /package/dist/{containers → src/containers}/Node/NodeStructure/NodeStructure.scss +0 -0
  269. /package/dist/{containers → src/containers}/Nodes/Nodes.scss +0 -0
  270. /package/dist/{containers → src/containers}/PDiskPage/PDiskPage.scss +0 -0
  271. /package/dist/{containers → src/containers}/ReduxTooltip/ReduxTooltip.scss +0 -0
  272. /package/dist/{containers → src/containers}/Storage/PDisk/PDisk.scss +0 -0
  273. /package/dist/{containers → src/containers}/Storage/Storage.scss +0 -0
  274. /package/dist/{containers → src/containers}/Storage/StorageGroups/StorageGroups.scss +0 -0
  275. /package/dist/{containers → src/containers}/Storage/StorageNodes/StorageNodes.scss +0 -0
  276. /package/dist/{containers → src/containers}/Storage/UsageFilter/UsageFilter.scss +0 -0
  277. /package/dist/{containers → src/containers}/Tablet/Tablet.scss +0 -0
  278. /package/dist/{containers → src/containers}/TabletsFilters/TabletsFilters.scss +0 -0
  279. /package/dist/{containers → src/containers}/Tenant/Acl/Acl.scss +0 -0
  280. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Autorefresh/AutorefreshControl.scss +0 -0
  281. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Consumers/Consumers.scss +0 -0
  282. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Consumers/Headers/Headers.scss +0 -0
  283. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +0 -0
  284. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Consumers/columns/Columns.scss +0 -0
  285. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Describe/Describe.scss +0 -0
  286. /package/dist/{containers → src/containers}/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss +0 -0
  287. /package/dist/{containers → src/containers}/Tenant/Diagnostics/HotKeys/HotKeys.scss +0 -0
  288. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Network/Network.scss +0 -0
  289. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.scss +0 -0
  290. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Overview/AsyncReplicationPaths/AsyncReplicationPaths.scss +0 -0
  291. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Overview/TopicStats/TopicStats.scss +0 -0
  292. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Partitions/Headers/Headers.scss +0 -0
  293. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Partitions/Partitions.scss +0 -0
  294. /package/dist/{containers → src/containers}/Tenant/Diagnostics/Partitions/columns/Columns.scss +0 -0
  295. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +0 -0
  296. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.scss +0 -0
  297. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +0 -0
  298. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.scss +0 -0
  299. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.scss +0 -0
  300. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +0 -0
  301. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TopQueries/TopQueries.scss +0 -0
  302. /package/dist/{containers → src/containers}/Tenant/Diagnostics/TopShards/TopShards.scss +0 -0
  303. /package/dist/{containers → src/containers}/Tenant/Info/ExternalDataSource/ExternalDataSource.scss +0 -0
  304. /package/dist/{containers → src/containers}/Tenant/Info/ExternalTable/ExternalTable.scss +0 -0
  305. /package/dist/{containers → src/containers}/Tenant/Info/View/View.scss +0 -0
  306. /package/dist/{containers → src/containers}/Tenant/ObjectGeneral/ObjectGeneral.scss +0 -0
  307. /package/dist/{containers → src/containers}/Tenant/ObjectSummary/ObjectSummary.scss +0 -0
  308. /package/dist/{containers → src/containers}/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -0
  309. /package/dist/{containers → src/containers}/Tenant/Query/ExplainResult/ExplainResult.scss +0 -0
  310. /package/dist/{containers → src/containers}/Tenant/Query/Issues/Issues.scss +0 -0
  311. /package/dist/{containers → src/containers}/Tenant/Query/Preview/Preview.scss +0 -0
  312. /package/dist/{containers → src/containers}/Tenant/Query/QueriesHistory/QueriesHistory.scss +0 -0
  313. /package/dist/{containers → src/containers}/Tenant/Query/QueryDuration/QueryDuration.scss +0 -0
  314. /package/dist/{containers → src/containers}/Tenant/Query/QueryEditor/QueryEditor.scss +0 -0
  315. /package/dist/{containers → src/containers}/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +0 -0
  316. /package/dist/{containers → src/containers}/Tenant/Query/SaveQuery/SaveQuery.scss +0 -0
  317. /package/dist/{containers → src/containers}/Tenant/Query/SavedQueries/SavedQueries.scss +0 -0
  318. /package/dist/{containers → src/containers}/Tenant/Schema/SchemaViewer/SchemaViewer.scss +0 -0
  319. /package/dist/{containers → src/containers}/Tenant/utils/ToggleButton.scss +0 -0
  320. /package/dist/{containers → src/containers}/Tenants/Tenants.scss +0 -0
  321. /package/dist/{containers → src/containers}/UserSettings/UserSettings.scss +0 -0
  322. /package/dist/{containers → src/containers}/VDiskPage/VDiskPage.scss +0 -0
  323. /package/dist/{containers → src/containers}/Versions/GroupedNodesTree/GroupedNodesTree.scss +0 -0
  324. /package/dist/{containers → src/containers}/Versions/NodesTreeTitle/NodesTreeTitle.scss +0 -0
  325. /package/dist/{containers → src/containers}/Versions/Versions.scss +0 -0
  326. /package/dist/{index.css → src/index.css} +0 -0
  327. /package/dist/{styles → src/styles}/mixins.scss +0 -0
  328. /package/dist/{styles → src/styles}/themes/dark-hc.scss +0 -0
  329. /package/dist/{styles → src/styles}/themes/dark.scss +0 -0
  330. /package/dist/{styles → src/styles}/themes/light-hc.scss +0 -0
  331. /package/dist/{styles → src/styles}/themes/light.scss +0 -0
  332. /package/dist/{styles → src/styles}/themes.scss +0 -0
@@ -3,9 +3,9 @@ import { api } from '../api';
3
3
  export const healthcheckApi = api.injectEndpoints({
4
4
  endpoints: (builder) => ({
5
5
  getHealthcheckInfo: builder.query({
6
- queryFn: async (database, { signal }) => {
6
+ queryFn: async ({ database, maxLevel }, { signal }) => {
7
7
  try {
8
- const data = await window.api.getHealthcheckInfo(database, { signal });
8
+ const data = await window.api.getHealthcheckInfo({ database, maxLevel }, { signal });
9
9
  return { data };
10
10
  }
11
11
  catch (error) {
@@ -64,7 +64,7 @@ const getIssuesStatistics = (data) => {
64
64
  return aPriority - bPriority;
65
65
  });
66
66
  };
67
- const createGetHealthcheckInfoSelector = createSelector((database) => database, (database) => healthcheckApi.endpoints.getHealthcheckInfo.select(database));
67
+ const createGetHealthcheckInfoSelector = createSelector((database) => database, (database) => healthcheckApi.endpoints.getHealthcheckInfo.select({ database }));
68
68
  const getIssuesLog = createSelector((state) => state, (_state, database) => createGetHealthcheckInfoSelector(database), (state, selectGetPost) => { var _a; return ((_a = selectGetPost(state).data) === null || _a === void 0 ? void 0 : _a.issue_log) || []; });
69
69
  export const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => getRoots(issues));
70
70
  export const selectIssuesTrees = createSelector([getIssuesLog, selectIssuesTreesRoots], (data = [], roots = []) => {
@@ -1,25 +1,6 @@
1
- import type { Reducer } from '@reduxjs/toolkit';
2
- import type { IResponseError } from '../../../types/api/error';
3
- import type { JsonHotKeysResponse } from '../../../types/api/hotkeys';
4
- import type { HotKeysAction, HotKeysState } from './types';
5
- export declare const FETCH_HOT_KEYS: {
6
- readonly REQUEST: "hot_keys/FETCH_HOT_KEYS_REQUEST";
7
- readonly SUCCESS: "hot_keys/FETCH_HOT_KEYS_SUCCESS";
8
- readonly FAILURE: "hot_keys/FETCH_HOT_KEYS_FAILURE";
9
- };
10
- declare const hotKeys: Reducer<HotKeysState, HotKeysAction>;
11
- export declare function setHotKeysDataWasNotLoaded(): {
12
- readonly type: "hot_keys/SET_DATA_WAS_NOT_LOADED";
13
- };
14
- export declare function setHotKeysLoading(): {
15
- readonly type: "hot_keys/FETCH_HOT_KEYS_REQUEST";
16
- };
17
- export declare function setHotKeysData(data: JsonHotKeysResponse): {
18
- readonly type: "hot_keys/FETCH_HOT_KEYS_SUCCESS";
19
- readonly data: JsonHotKeysResponse;
20
- };
21
- export declare function setHotKeysError(error: IResponseError): {
22
- readonly type: "hot_keys/FETCH_HOT_KEYS_FAILURE";
23
- readonly error: IResponseError<unknown>;
24
- };
25
- export default hotKeys;
1
+ import type { HotKey } from '../../../types/api/hotkeys';
2
+ export declare const hotKeysApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
3
+ getHotKeys: import("@reduxjs/toolkit/query").QueryDefinition<{
4
+ path: string;
5
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", HotKey[] | null, "api">;
6
+ }, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
@@ -1,49 +1,36 @@
1
- import { createRequestActionTypes } from '../../utils';
2
- export const FETCH_HOT_KEYS = createRequestActionTypes('hot_keys', 'FETCH_HOT_KEYS');
3
- const SET_DATA_WAS_NOT_LOADED = 'hot_keys/SET_DATA_WAS_NOT_LOADED';
4
- const initialState = { loading: true, wasLoaded: false, data: null };
5
- const hotKeys = (state = initialState, action) => {
6
- var _a;
7
- switch (action.type) {
8
- case FETCH_HOT_KEYS.REQUEST: {
9
- return Object.assign(Object.assign({}, state), { loading: true });
10
- }
11
- case FETCH_HOT_KEYS.SUCCESS: {
12
- return Object.assign(Object.assign({}, state), { data: action.data.hotkeys, loading: false, error: undefined, wasLoaded: true });
13
- }
14
- case FETCH_HOT_KEYS.FAILURE: {
15
- if ((_a = action.error) === null || _a === void 0 ? void 0 : _a.isCancelled) {
16
- return state;
17
- }
18
- return Object.assign(Object.assign({}, state), { error: action.error, loading: false });
19
- }
20
- case SET_DATA_WAS_NOT_LOADED: {
21
- return Object.assign(Object.assign({}, state), { wasLoaded: false });
22
- }
23
- default:
24
- return state;
25
- }
26
- };
27
- export function setHotKeysDataWasNotLoaded() {
28
- return {
29
- type: SET_DATA_WAS_NOT_LOADED,
30
- };
31
- }
32
- export function setHotKeysLoading() {
33
- return {
34
- type: FETCH_HOT_KEYS.REQUEST,
35
- };
36
- }
37
- export function setHotKeysData(data) {
38
- return {
39
- type: FETCH_HOT_KEYS.SUCCESS,
40
- data: data,
41
- };
42
- }
43
- export function setHotKeysError(error) {
44
- return {
45
- type: FETCH_HOT_KEYS.FAILURE,
46
- error: error,
47
- };
48
- }
49
- export default hotKeys;
1
+ import { api } from '../api';
2
+ export const hotKeysApi = api.injectEndpoints({
3
+ endpoints: (builder) => ({
4
+ getHotKeys: builder.query({
5
+ queryFn: async ({ path }, { signal }) => {
6
+ var _a;
7
+ try {
8
+ // Send request that will trigger hot keys sampling (enable_sampling = true)
9
+ const initialResponse = await window.api.getHotKeys(path, true, { signal });
10
+ // If there are hotkeys in the initial request (hotkeys was collected before)
11
+ // we could just use colleted samples (collected hotkeys are stored only for 30 seconds)
12
+ if (Array.isArray(initialResponse.hotkeys)) {
13
+ return { data: initialResponse.hotkeys };
14
+ }
15
+ // Else wait for 5 seconds, while hot keys are being collected
16
+ await Promise.race([
17
+ new Promise((resolve) => {
18
+ setTimeout(resolve, 5000);
19
+ }),
20
+ new Promise((_, reject) => {
21
+ signal.addEventListener('abort', reject);
22
+ }),
23
+ ]);
24
+ // And request these samples (enable_sampling = false)
25
+ const response = await window.api.getHotKeys(path, false, { signal });
26
+ return { data: (_a = response.hotkeys) !== null && _a !== void 0 ? _a : null };
27
+ }
28
+ catch (error) {
29
+ return { error };
30
+ }
31
+ },
32
+ providesTags: ['All'],
33
+ }),
34
+ }),
35
+ overrideExisting: 'throw',
36
+ });
@@ -6,60 +6,17 @@ export declare const rootReducer: {
6
6
  tenant: import("redux").Reducer<import("./tenant/types").TenantState>;
7
7
  tooltip: import("redux").Reducer<import("../../types/store/tooltip").ITooltipState, import("../../types/store/tooltip").ITooltipAction>;
8
8
  tablets: import("redux").Reducer<import("../../types/store/tablets").TabletsState>;
9
- schema: import("redux").Reducer<import("./schema/types").SchemaState, import("./schema/types").SchemaAction>;
10
- host: import("redux").Reducer<import("../../types/store/host").IHostState, import("../../types/store/host").IHostAction>;
9
+ schema: import("redux").Reducer<import("./schema/types").SchemaState, {
10
+ readonly type: "schema/SET_SHOW_PREVIEW";
11
+ readonly data: boolean;
12
+ }>;
11
13
  tenants: import("redux").Reducer<import("./tenants/types").TenantsState>;
12
14
  partitions: import("redux").Reducer<import("./partitions/types").PartitionsState>;
13
15
  executeQuery: import("redux").Reducer<import("../../types/store/executeQuery").ExecuteQueryState, import("../../types/store/executeQuery").ExecuteQueryAction>;
14
- tabletsFilters: (state: {
15
- data: undefined;
16
- loading: boolean;
17
- wasLoaded: boolean;
18
- stateFilter: never[];
19
- typeFilter: never[];
20
- } | undefined, action: any) => {
21
- loading: boolean;
22
- requestTime: number;
23
- data: undefined;
24
- wasLoaded: boolean;
25
- stateFilter: never[];
26
- typeFilter: never[];
27
- } | {
28
- tabletsData: any;
29
- nodes: any;
30
- loading: boolean;
31
- wasLoaded: boolean;
32
- timeoutForRequest: number;
33
- error: undefined;
34
- data: undefined;
35
- stateFilter: never[];
36
- typeFilter: never[];
37
- } | {
38
- error: any;
39
- loading: boolean;
40
- data: undefined;
41
- wasLoaded: boolean;
42
- stateFilter: never[];
43
- typeFilter: never[];
44
- } | {
45
- stateFilter: any;
46
- data: undefined;
47
- loading: boolean;
48
- wasLoaded: boolean;
49
- typeFilter: never[];
50
- } | {
51
- typeFilter: any;
52
- data: undefined;
53
- loading: boolean;
54
- wasLoaded: boolean;
55
- stateFilter: never[];
56
- };
57
16
  heatmap: import("redux").Reducer<import("../../types/store/heatmap").IHeatmapState>;
58
- settings: import("redux").Reducer<import("./settings/types").SettingsState, import("./settings/types").SettingsAction>;
59
- schemaAcl: import("redux").Reducer<import("./schemaAcl/types").SchemaAclState, import("./schemaAcl/types").SchemaAclAction>;
17
+ settings: import("redux").Reducer<import("./settings/types").SettingsState>;
60
18
  executeTopQueries: import("redux").Reducer<import("./executeTopQueries/types").TopQueriesFilters>;
61
19
  shardsWorkload: import("redux").Reducer<import("./shardsWorkload/types").ShardsWorkloadFilters>;
62
- hotKeys: import("redux").Reducer<import("./hotKeys/types").HotKeysState, import("./hotKeys/types").HotKeysAction>;
63
20
  authentication: import("redux").Reducer<import("./authentication/types").AuthenticationState, import("./authentication/types").AuthenticationAction>;
64
21
  header: import("redux").Reducer<import("./header/types").HeaderState, {
65
22
  readonly type: "header/SET_HEADER_BREADCRUMBS";
@@ -87,59 +44,35 @@ declare const combinedReducer: import("redux").Reducer<{
87
44
  tooltip: import("../../types/store/tooltip").ITooltipState;
88
45
  tablets: import("../../types/store/tablets").TabletsState;
89
46
  schema: import("./schema/types").SchemaState;
90
- host: import("../../types/store/host").IHostState;
91
47
  tenants: import("./tenants/types").TenantsState;
92
48
  partitions: import("./partitions/types").PartitionsState;
93
49
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
94
- tabletsFilters: {
95
- loading: boolean;
96
- requestTime: number;
97
- data: undefined;
98
- wasLoaded: boolean;
99
- stateFilter: never[];
100
- typeFilter: never[];
101
- } | {
102
- tabletsData: any;
103
- nodes: any;
104
- loading: boolean;
105
- wasLoaded: boolean;
106
- timeoutForRequest: number;
107
- error: undefined;
108
- data: undefined;
109
- stateFilter: never[];
110
- typeFilter: never[];
111
- } | {
112
- error: any;
113
- loading: boolean;
114
- data: undefined;
115
- wasLoaded: boolean;
116
- stateFilter: never[];
117
- typeFilter: never[];
118
- } | {
119
- stateFilter: any;
120
- data: undefined;
121
- loading: boolean;
122
- wasLoaded: boolean;
123
- typeFilter: never[];
124
- } | {
125
- typeFilter: any;
126
- data: undefined;
127
- loading: boolean;
128
- wasLoaded: boolean;
129
- stateFilter: never[];
130
- };
131
50
  heatmap: import("../../types/store/heatmap").IHeatmapState;
132
51
  settings: import("./settings/types").SettingsState;
133
- schemaAcl: import("./schemaAcl/types").SchemaAclState;
134
52
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
135
53
  shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
136
- hotKeys: import("./hotKeys/types").HotKeysState;
137
54
  authentication: import("./authentication/types").AuthenticationState;
138
55
  header: import("./header/types").HeaderState;
139
56
  saveQuery: string | null;
140
57
  fullscreen: boolean;
141
58
  clusters: import("./clusters/types").ClustersFilters;
142
- }, any, Partial<{
59
+ }, import("redux").UnknownAction | import("../../types/store/tooltip").ITooltipAction | {
60
+ readonly type: "schema/SET_SHOW_PREVIEW";
61
+ readonly data: boolean;
62
+ } | import("../../types/store/executeQuery").ExecuteQueryAction | import("./authentication/types").AuthenticationAction | {
63
+ readonly type: "header/SET_HEADER_BREADCRUMBS";
64
+ readonly page: import("./header/types").Page;
65
+ readonly options: {} | import("./header/types").TabletsBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions;
66
+ } | ({
67
+ readonly type: "SET_QUERY_NAME_TO_EDIT";
68
+ readonly data: string;
69
+ } | {
70
+ readonly type: "CLEAR_QUERY_NAME_TO_EDIT";
71
+ }) | {
72
+ readonly type: "ENABLE_FULLSCREEN_MODE";
73
+ } | {
74
+ readonly type: "DISABLE_FULLSCREEN_MODE";
75
+ } | import("redux").Action<string>, Partial<{
143
76
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api"> | undefined;
144
77
  singleClusterMode: boolean | undefined;
145
78
  cluster: import("./cluster/types").ClusterState | undefined;
@@ -147,23 +80,13 @@ declare const combinedReducer: import("redux").Reducer<{
147
80
  tooltip: never;
148
81
  tablets: import("../../types/store/tablets").TabletsState | undefined;
149
82
  schema: never;
150
- host: never;
151
83
  tenants: import("./tenants/types").TenantsState | undefined;
152
84
  partitions: import("./partitions/types").PartitionsState | undefined;
153
85
  executeQuery: never;
154
- tabletsFilters: {
155
- data: undefined;
156
- loading: boolean;
157
- wasLoaded: boolean;
158
- stateFilter: never[];
159
- typeFilter: never[];
160
- } | undefined;
161
86
  heatmap: import("../../types/store/heatmap").IHeatmapState | undefined;
162
- settings: never;
163
- schemaAcl: never;
87
+ settings: import("./settings/types").SettingsState | undefined;
164
88
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters | undefined;
165
89
  shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters | undefined;
166
- hotKeys: never;
167
90
  authentication: never;
168
91
  header: never;
169
92
  saveQuery: never;
@@ -8,17 +8,13 @@ import executeTopQueries from './executeTopQueries/executeTopQueries';
8
8
  import fullscreen from './fullscreen';
9
9
  import header from './header/header';
10
10
  import heatmap from './heatmap';
11
- import host from './host';
12
- import hotKeys from './hotKeys/hotKeys';
13
11
  import partitions from './partitions/partitions';
14
12
  import saveQuery from './saveQuery';
15
13
  import schema from './schema/schema';
16
- import schemaAcl from './schemaAcl/schemaAcl';
17
14
  import settings from './settings/settings';
18
15
  import shardsWorkload from './shardsWorkload/shardsWorkload';
19
16
  import singleClusterMode from './singleClusterMode';
20
17
  import tablets from './tablets';
21
- import tabletsFilters from './tabletsFilters';
22
18
  import tenant from './tenant/tenant';
23
19
  import tenants from './tenants/tenants';
24
20
  import tooltip from './tooltip';
@@ -30,17 +26,13 @@ export const rootReducer = {
30
26
  tooltip,
31
27
  tablets,
32
28
  schema,
33
- host,
34
29
  tenants,
35
30
  partitions,
36
31
  executeQuery,
37
- tabletsFilters,
38
32
  heatmap,
39
33
  settings,
40
- schemaAcl,
41
34
  executeTopQueries,
42
35
  shardsWorkload,
43
- hotKeys,
44
36
  authentication,
45
37
  header,
46
38
  saveQuery,
@@ -8,53 +8,13 @@ export declare const selectNodeStructure: ((state: {
8
8
  tooltip: import("../../../types/store/tooltip").ITooltipState;
9
9
  tablets: import("../../../types/store/tablets").TabletsState;
10
10
  schema: import("../schema/types").SchemaState;
11
- host: import("../../../types/store/host").IHostState;
12
11
  tenants: import("../tenants/types").TenantsState;
13
12
  partitions: import("../partitions/types").PartitionsState;
14
13
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
15
- tabletsFilters: {
16
- loading: boolean;
17
- requestTime: number;
18
- data: undefined;
19
- wasLoaded: boolean;
20
- stateFilter: never[];
21
- typeFilter: never[];
22
- } | {
23
- tabletsData: any;
24
- nodes: any;
25
- loading: boolean;
26
- wasLoaded: boolean;
27
- timeoutForRequest: number;
28
- error: undefined;
29
- data: undefined;
30
- stateFilter: never[];
31
- typeFilter: never[];
32
- } | {
33
- error: any;
34
- loading: boolean;
35
- data: undefined;
36
- wasLoaded: boolean;
37
- stateFilter: never[];
38
- typeFilter: never[];
39
- } | {
40
- stateFilter: any;
41
- data: undefined;
42
- loading: boolean;
43
- wasLoaded: boolean;
44
- typeFilter: never[];
45
- } | {
46
- typeFilter: any;
47
- data: undefined;
48
- loading: boolean;
49
- wasLoaded: boolean;
50
- stateFilter: never[];
51
- };
52
14
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
53
15
  settings: import("../settings/types").SettingsState;
54
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
55
16
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
56
17
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
57
- hotKeys: import("../hotKeys/types").HotKeysState;
58
18
  authentication: import("../authentication/types").AuthenticationState;
59
19
  header: import("../header/types").HeaderState;
60
20
  saveQuery: string | null;
@@ -10,53 +10,13 @@ export declare const selectNodesMap: ((state: {
10
10
  tooltip: import("../../types/store/tooltip").ITooltipState;
11
11
  tablets: import("../../types/store/tablets").TabletsState;
12
12
  schema: import("./schema/types").SchemaState;
13
- host: import("../../types/store/host").IHostState;
14
13
  tenants: import("./tenants/types").TenantsState;
15
14
  partitions: import("./partitions/types").PartitionsState;
16
15
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
17
- tabletsFilters: {
18
- loading: boolean;
19
- requestTime: number;
20
- data: undefined;
21
- wasLoaded: boolean;
22
- stateFilter: never[];
23
- typeFilter: never[];
24
- } | {
25
- tabletsData: any;
26
- nodes: any;
27
- loading: boolean;
28
- wasLoaded: boolean;
29
- timeoutForRequest: number;
30
- error: undefined;
31
- data: undefined;
32
- stateFilter: never[];
33
- typeFilter: never[];
34
- } | {
35
- error: any;
36
- loading: boolean;
37
- data: undefined;
38
- wasLoaded: boolean;
39
- stateFilter: never[];
40
- typeFilter: never[];
41
- } | {
42
- stateFilter: any;
43
- data: undefined;
44
- loading: boolean;
45
- wasLoaded: boolean;
46
- typeFilter: never[];
47
- } | {
48
- typeFilter: any;
49
- data: undefined;
50
- loading: boolean;
51
- wasLoaded: boolean;
52
- stateFilter: never[];
53
- };
54
16
  heatmap: import("../../types/store/heatmap").IHeatmapState;
55
17
  settings: import("./settings/types").SettingsState;
56
- schemaAcl: import("./schemaAcl/types").SchemaAclState;
57
18
  executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
58
19
  shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
59
- hotKeys: import("./hotKeys/types").HotKeysState;
60
20
  authentication: import("./authentication/types").AuthenticationState;
61
21
  header: import("./header/types").HeaderState;
62
22
  saveQuery: string | null;
@@ -1,163 +1,27 @@
1
- import type { Dispatch, Reducer, Selector } from '@reduxjs/toolkit';
2
- import type { EPathType } from '../../../types/api/schema';
3
- import type { SchemaAction, SchemaData, SchemaHandledResponse, SchemaState, SchemaStateSlice } from './types';
4
- export declare const FETCH_SCHEMA: {
5
- readonly REQUEST: "schema/FETCH_SCHEMA_REQUEST";
6
- readonly SUCCESS: "schema/FETCH_SCHEMA_SUCCESS";
7
- readonly FAILURE: "schema/FETCH_SCHEMA_FAILURE";
8
- };
9
- export declare const SET_AUTOREFRESH_INTERVAL = "schema/SET_AUTOREFRESH_INTERVAL";
1
+ import type { Reducer, Selector } from '@reduxjs/toolkit';
2
+ import type { EPathType, TEvDescribeSchemeResult } from '../../../types/api/schema';
3
+ import type { RootState } from '../../defaultStore';
4
+ import type { SchemaAction, SchemaState } from './types';
10
5
  export declare const initialState: {
11
6
  loading: boolean;
12
- wasLoaded: boolean;
13
7
  data: {};
14
8
  currentSchemaPath: undefined;
15
- autorefresh: number;
16
9
  showPreview: boolean;
17
10
  };
18
11
  declare const schema: Reducer<SchemaState, SchemaAction>;
19
- export declare function getSchema({ path }: {
20
- path: string;
21
- }): (dispatch: import("redux-thunk").ThunkDispatch<{
22
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
23
- singleClusterMode: boolean;
24
- cluster: import("../cluster/types").ClusterState;
25
- tenant: import("../tenant/types").TenantState;
26
- tooltip: import("../../../types/store/tooltip").ITooltipState;
27
- tablets: import("../../../types/store/tablets").TabletsState;
28
- schema: SchemaState;
29
- host: import("../../../types/store/host").IHostState;
30
- tenants: import("../tenants/types").TenantsState;
31
- partitions: import("../partitions/types").PartitionsState;
32
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
33
- tabletsFilters: {
34
- loading: boolean;
35
- requestTime: number;
36
- data: undefined;
37
- wasLoaded: boolean;
38
- stateFilter: never[];
39
- typeFilter: never[];
40
- } | {
41
- tabletsData: any;
42
- nodes: any;
43
- loading: boolean;
44
- wasLoaded: boolean;
45
- timeoutForRequest: number;
46
- error: undefined;
47
- data: undefined;
48
- stateFilter: never[];
49
- typeFilter: never[];
50
- } | {
51
- error: any;
52
- loading: boolean;
53
- data: undefined;
54
- wasLoaded: boolean;
55
- stateFilter: never[];
56
- typeFilter: never[];
57
- } | {
58
- stateFilter: any;
59
- data: undefined;
60
- loading: boolean;
61
- wasLoaded: boolean;
62
- typeFilter: never[];
63
- } | {
64
- typeFilter: any;
65
- data: undefined;
66
- loading: boolean;
67
- wasLoaded: boolean;
68
- stateFilter: never[];
69
- };
70
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
71
- settings: import("../settings/types").SettingsState;
72
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
73
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
74
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
75
- hotKeys: import("../hotKeys/types").HotKeysState;
76
- authentication: import("../authentication/types").AuthenticationState;
77
- header: import("../header/types").HeaderState;
78
- saveQuery: string | null;
79
- fullscreen: boolean;
80
- clusters: import("../clusters/types").ClustersFilters;
81
- }, undefined, import("redux").UnknownAction> & Dispatch<any>, getState: () => {
82
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
83
- singleClusterMode: boolean;
84
- cluster: import("../cluster/types").ClusterState;
85
- tenant: import("../tenant/types").TenantState;
86
- tooltip: import("../../../types/store/tooltip").ITooltipState;
87
- tablets: import("../../../types/store/tablets").TabletsState;
88
- schema: SchemaState;
89
- host: import("../../../types/store/host").IHostState;
90
- tenants: import("../tenants/types").TenantsState;
91
- partitions: import("../partitions/types").PartitionsState;
92
- executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
93
- tabletsFilters: {
94
- loading: boolean;
95
- requestTime: number;
96
- data: undefined;
97
- wasLoaded: boolean;
98
- stateFilter: never[];
99
- typeFilter: never[];
100
- } | {
101
- tabletsData: any;
102
- nodes: any;
103
- loading: boolean;
104
- wasLoaded: boolean;
105
- timeoutForRequest: number;
106
- error: undefined;
107
- data: undefined;
108
- stateFilter: never[];
109
- typeFilter: never[];
110
- } | {
111
- error: any;
112
- loading: boolean;
113
- data: undefined;
114
- wasLoaded: boolean;
115
- stateFilter: never[];
116
- typeFilter: never[];
117
- } | {
118
- stateFilter: any;
119
- data: undefined;
120
- loading: boolean;
121
- wasLoaded: boolean;
122
- typeFilter: never[];
123
- } | {
124
- typeFilter: any;
125
- data: undefined;
126
- loading: boolean;
127
- wasLoaded: boolean;
128
- stateFilter: never[];
129
- };
130
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
131
- settings: import("../settings/types").SettingsState;
132
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
133
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
134
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
135
- hotKeys: import("../hotKeys/types").HotKeysState;
136
- authentication: import("../authentication/types").AuthenticationState;
137
- header: import("../header/types").HeaderState;
138
- saveQuery: string | null;
139
- fullscreen: boolean;
140
- clusters: import("../clusters/types").ClustersFilters;
141
- }) => Promise<SchemaHandledResponse | undefined>;
142
- export declare function setCurrentSchemaPath(currentSchemaPath: string): {
143
- readonly type: "schema/SET_SCHEMA";
144
- readonly data: string;
145
- };
146
- export declare function setAutorefreshInterval(interval: number): (dispatch: Dispatch) => void;
147
12
  export declare function setShowPreview(value: boolean): {
148
13
  readonly type: "schema/SET_SHOW_PREVIEW";
149
14
  readonly data: boolean;
150
15
  };
151
- export declare function preloadSchemas(data: SchemaData): {
152
- readonly type: "schema/PRELOAD_SCHEMAS";
153
- readonly data: SchemaData;
154
- };
155
- export declare function resetLoadingState(): {
156
- readonly type: "schema/RESET_LOADING_STATE";
157
- };
158
- export declare const selectSchemaData: (state: SchemaStateSlice, path?: string) => import("../../../types/api/schema").TEvDescribeSchemeResult | undefined;
159
- export declare const selectSchemaMergedChildrenPaths: Selector<SchemaStateSlice, string[] | undefined, [
16
+ export default schema;
17
+ export declare const schemaApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
18
+ getSchema: import("@reduxjs/toolkit/query").QueryDefinition<{
19
+ path: string;
20
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", TEvDescribeSchemeResult & {
21
+ partial?: boolean | undefined;
22
+ }, "api">;
23
+ }, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
24
+ export declare const selectSchemaMergedChildrenPaths: Selector<RootState, string[] | undefined, [
160
25
  string | undefined,
161
26
  EPathType | undefined
162
27
  ]>;
163
- export default schema;