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
@@ -1,4 +1,5 @@
1
1
  import AxiosWrapper from '@gravity-ui/axios-wrapper';
2
+ import type { AxiosWrapperOptions } from '@gravity-ui/axios-wrapper';
2
3
  import type { ComputeApiRequestParams, NodesApiRequestParams } from '../store/reducers/nodes/types';
3
4
  import type { StorageApiRequestParams } from '../store/reducers/storage/types';
4
5
  import type { TMetaInfo } from '../types/api/acl';
@@ -31,6 +32,7 @@ type AxiosOptions = {
31
32
  signal?: AbortSignal;
32
33
  };
33
34
  export declare class YdbEmbeddedAPI extends AxiosWrapper {
35
+ constructor(options?: AxiosWrapperOptions);
34
36
  getPath(path: string): string;
35
37
  getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TClusterInfo>;
36
38
  getClusterNodes({ concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
@@ -98,7 +100,10 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
98
100
  getExplainQuery<Action extends ExplainActions>(query: string, database: string, action: Action, syntax?: QuerySyntax): Promise<ErrorResponse | ExplainResponse<Action>>;
99
101
  getExplainQueryAst(query: string, database: string): Promise<import("../types/api/query").ExplainQueryResponse>;
100
102
  getHotKeys(path: string, enableSampling: boolean, { concurrentId, signal }?: AxiosOptions): Promise<JsonHotKeysResponse>;
101
- getHealthcheckInfo(database: string, { concurrentId, signal }?: AxiosOptions): Promise<HealthCheckAPIResponse>;
103
+ getHealthcheckInfo({ database, maxLevel }: {
104
+ database: string;
105
+ maxLevel?: number;
106
+ }, { concurrentId, signal }?: AxiosOptions): Promise<HealthCheckAPIResponse>;
102
107
  evictVDisk({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, }: {
103
108
  groupId: string | number;
104
109
  groupGeneration: string | number;
@@ -1,5 +1,6 @@
1
1
  import { __rest } from "tslib";
2
2
  import AxiosWrapper from '@gravity-ui/axios-wrapper';
3
+ import axiosRetry from 'axios-retry';
3
4
  import { backend as BACKEND, metaBackend as META_BACKEND } from '../store';
4
5
  import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY } from '../utils/constants';
5
6
  import { createPDiskDeveloperUILink } from '../utils/developerUI/developerUI';
@@ -8,6 +9,25 @@ import { parseMetaCluster } from './parsers/parseMetaCluster';
8
9
  import { parseMetaTenants } from './parsers/parseMetaTenants';
9
10
  import { settingsManager } from './settings';
10
11
  export class YdbEmbeddedAPI extends AxiosWrapper {
12
+ constructor(options) {
13
+ super(options);
14
+ axiosRetry(this._axios, {
15
+ retries: 3,
16
+ retryDelay: axiosRetry.exponentialDelay,
17
+ });
18
+ // Interceptor to process OIDC auth
19
+ this._axios.interceptors.response.use(null, function (error) {
20
+ var _a;
21
+ const response = error.response;
22
+ // OIDC proxy returns 401 response with authUrl in it
23
+ // authUrl - external auth service link, after successful auth additional cookies will be appended
24
+ // that will allow access to clusters where OIDC proxy is a balancer
25
+ if (response && response.status === 401 && ((_a = response.data) === null || _a === void 0 ? void 0 : _a.authUrl)) {
26
+ return window.location.assign(response.data.authUrl);
27
+ }
28
+ return Promise.reject(error);
29
+ });
30
+ }
11
31
  getPath(path) {
12
32
  return `${BACKEND !== null && BACKEND !== void 0 ? BACKEND : ''}${path}`;
13
33
  }
@@ -95,7 +115,7 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
95
115
  partition_stats: true,
96
116
  partitioning_info: true,
97
117
  subs: 1,
98
- }, { concurrentId: concurrentId || `getSchema|${path}`, requestConfig: { signal } });
118
+ }, { concurrentId, requestConfig: { signal } });
99
119
  }
100
120
  getDescribe({ path }, { concurrentId, signal } = {}) {
101
121
  return this.get(this.getPath('/viewer/json/describe'), {
@@ -221,8 +241,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
221
241
  enable_sampling: enableSampling,
222
242
  }, { concurrentId: concurrentId || 'getHotKeys', requestConfig: { signal } });
223
243
  }
224
- getHealthcheckInfo(database, { concurrentId, signal } = {}) {
225
- return this.get(this.getPath('/viewer/json/healthcheck?merge_records=true'), { tenant: database }, { concurrentId, requestConfig: { signal } });
244
+ getHealthcheckInfo({ database, maxLevel }, { concurrentId, signal } = {}) {
245
+ return this.get(this.getPath('/viewer/json/healthcheck?merge_records=true'), { tenant: database, max_level: maxLevel }, { concurrentId, requestConfig: { signal } });
226
246
  }
227
247
  evictVDisk({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, }) {
228
248
  // BSC Id is constant for all ydb clusters
@@ -18,6 +18,7 @@ export declare const DEFAULT_USER_SETTINGS: {
18
18
  readonly enableAutocomplete: true;
19
19
  readonly autocompleteOnEnter: true;
20
20
  readonly isHotKeysHelpHidden: false;
21
+ readonly "auto-refresh-interval": 0;
21
22
  };
22
23
  declare class SettingsManager {
23
24
  /**
@@ -1,5 +1,5 @@
1
1
  import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
2
- import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDDEN_KEY, LANGUAGE_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_INITIAL_MODE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_BACKEND_PARAMS_FOR_TABLES_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, } from '../utils/constants';
2
+ import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_INITIAL_MODE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_BACKEND_PARAMS_FOR_TABLES_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, } from '../utils/constants';
3
3
  import { QUERY_ACTIONS, QUERY_MODES } from '../utils/query';
4
4
  import { parseJson } from '../utils/utils';
5
5
  /** User settings keys and their default values */
@@ -20,7 +20,8 @@ export const DEFAULT_USER_SETTINGS = {
20
20
  [USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
21
21
  [ENABLE_AUTOCOMPLETE]: true,
22
22
  [AUTOCOMPLETE_ON_ENTER]: true,
23
- [IS_HOTKEYS_HELP_HIDDDEN_KEY]: false,
23
+ [IS_HOTKEYS_HELP_HIDDEN_KEY]: false,
24
+ [AUTO_REFRESH_INTERVAL]: 0,
24
25
  };
25
26
  class SettingsManager {
26
27
  constructor() {
@@ -1,4 +1,4 @@
1
- import type { Reducer, UnknownAction } from '@reduxjs/toolkit';
1
+ import type { Action, Reducer, UnknownAction } from '@reduxjs/toolkit';
2
2
  import type { History } from 'history';
3
3
  export declare let backend: string | undefined, basename: string, clusterName: string | undefined;
4
4
  export declare const webVersion: boolean | undefined;
@@ -13,59 +13,35 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
13
13
  tooltip: import("../types/store/tooltip").ITooltipState;
14
14
  tablets: import("../types/store/tablets").TabletsState;
15
15
  schema: import("./reducers/schema/types").SchemaState;
16
- host: import("../types/store/host").IHostState;
17
16
  tenants: import("./reducers/tenants/types").TenantsState;
18
17
  partitions: import("./reducers/partitions/types").PartitionsState;
19
18
  executeQuery: import("../types/store/executeQuery").ExecuteQueryState;
20
- tabletsFilters: {
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
19
  heatmap: import("../types/store/heatmap").IHeatmapState;
58
20
  settings: import("./reducers/settings/types").SettingsState;
59
- schemaAcl: import("./reducers/schemaAcl/types").SchemaAclState;
60
21
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
61
22
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters;
62
- hotKeys: import("./reducers/hotKeys/types").HotKeysState;
63
23
  authentication: import("./reducers/authentication/types").AuthenticationState;
64
24
  header: import("./reducers/header/types").HeaderState;
65
25
  saveQuery: string | null;
66
26
  fullscreen: boolean;
67
27
  clusters: import("./reducers/clusters/types").ClustersFilters;
68
- }, any, Partial<{
28
+ }, UnknownAction | import("../types/store/tooltip").ITooltipAction | {
29
+ readonly type: "schema/SET_SHOW_PREVIEW";
30
+ readonly data: boolean;
31
+ } | import("../types/store/executeQuery").ExecuteQueryAction | import("./reducers/authentication/types").AuthenticationAction | {
32
+ readonly type: "header/SET_HEADER_BREADCRUMBS";
33
+ readonly page: import("./reducers/header/types").Page;
34
+ readonly options: {} | import("./reducers/header/types").TabletsBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
35
+ } | ({
36
+ readonly type: "SET_QUERY_NAME_TO_EDIT";
37
+ readonly data: string;
38
+ } | {
39
+ readonly type: "CLEAR_QUERY_NAME_TO_EDIT";
40
+ }) | {
41
+ readonly type: "ENABLE_FULLSCREEN_MODE";
42
+ } | {
43
+ readonly type: "DISABLE_FULLSCREEN_MODE";
44
+ } | Action<string>, Partial<{
69
45
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api"> | undefined;
70
46
  singleClusterMode: boolean | undefined;
71
47
  cluster: import("./reducers/cluster/types").ClusterState | undefined;
@@ -73,23 +49,13 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
73
49
  tooltip: never;
74
50
  tablets: import("../types/store/tablets").TabletsState | undefined;
75
51
  schema: never;
76
- host: never;
77
52
  tenants: import("./reducers/tenants/types").TenantsState | undefined;
78
53
  partitions: import("./reducers/partitions/types").PartitionsState | undefined;
79
54
  executeQuery: never;
80
- tabletsFilters: {
81
- data: undefined;
82
- loading: boolean;
83
- wasLoaded: boolean;
84
- stateFilter: never[];
85
- typeFilter: never[];
86
- } | undefined;
87
55
  heatmap: import("../types/store/heatmap").IHeatmapState | undefined;
88
- settings: never;
89
- schemaAcl: never;
56
+ settings: import("./reducers/settings/types").SettingsState | undefined;
90
57
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters | undefined;
91
58
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters | undefined;
92
- hotKeys: never;
93
59
  authentication: never;
94
60
  header: never;
95
61
  saveQuery: never;
@@ -108,59 +74,35 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
108
74
  tooltip: import("../types/store/tooltip").ITooltipState;
109
75
  tablets: import("../types/store/tablets").TabletsState;
110
76
  schema: import("./reducers/schema/types").SchemaState;
111
- host: import("../types/store/host").IHostState;
112
77
  tenants: import("./reducers/tenants/types").TenantsState;
113
78
  partitions: import("./reducers/partitions/types").PartitionsState;
114
79
  executeQuery: import("../types/store/executeQuery").ExecuteQueryState;
115
- tabletsFilters: {
116
- loading: boolean;
117
- requestTime: number;
118
- data: undefined;
119
- wasLoaded: boolean;
120
- stateFilter: never[];
121
- typeFilter: never[];
122
- } | {
123
- tabletsData: any;
124
- nodes: any;
125
- loading: boolean;
126
- wasLoaded: boolean;
127
- timeoutForRequest: number;
128
- error: undefined;
129
- data: undefined;
130
- stateFilter: never[];
131
- typeFilter: never[];
132
- } | {
133
- error: any;
134
- loading: boolean;
135
- data: undefined;
136
- wasLoaded: boolean;
137
- stateFilter: never[];
138
- typeFilter: never[];
139
- } | {
140
- stateFilter: any;
141
- data: undefined;
142
- loading: boolean;
143
- wasLoaded: boolean;
144
- typeFilter: never[];
145
- } | {
146
- typeFilter: any;
147
- data: undefined;
148
- loading: boolean;
149
- wasLoaded: boolean;
150
- stateFilter: never[];
151
- };
152
80
  heatmap: import("../types/store/heatmap").IHeatmapState;
153
81
  settings: import("./reducers/settings/types").SettingsState;
154
- schemaAcl: import("./reducers/schemaAcl/types").SchemaAclState;
155
82
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
156
83
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters;
157
- hotKeys: import("./reducers/hotKeys/types").HotKeysState;
158
84
  authentication: import("./reducers/authentication/types").AuthenticationState;
159
85
  header: import("./reducers/header/types").HeaderState;
160
86
  saveQuery: string | null;
161
87
  fullscreen: boolean;
162
88
  clusters: import("./reducers/clusters/types").ClustersFilters;
163
- }, any, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
89
+ }, UnknownAction | import("../types/store/tooltip").ITooltipAction | {
90
+ readonly type: "schema/SET_SHOW_PREVIEW";
91
+ readonly data: boolean;
92
+ } | import("../types/store/executeQuery").ExecuteQueryAction | import("./reducers/authentication/types").AuthenticationAction | {
93
+ readonly type: "header/SET_HEADER_BREADCRUMBS";
94
+ readonly page: import("./reducers/header/types").Page;
95
+ readonly options: {} | import("./reducers/header/types").TabletsBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
96
+ } | ({
97
+ readonly type: "SET_QUERY_NAME_TO_EDIT";
98
+ readonly data: string;
99
+ } | {
100
+ readonly type: "CLEAR_QUERY_NAME_TO_EDIT";
101
+ }) | {
102
+ readonly type: "ENABLE_FULLSCREEN_MODE";
103
+ } | {
104
+ readonly type: "DISABLE_FULLSCREEN_MODE";
105
+ } | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
164
106
  dispatch: import("redux-thunk").ThunkDispatch<{
165
107
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
166
108
  singleClusterMode: boolean;
@@ -169,53 +111,13 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
169
111
  tooltip: import("../types/store/tooltip").ITooltipState;
170
112
  tablets: import("../types/store/tablets").TabletsState;
171
113
  schema: import("./reducers/schema/types").SchemaState;
172
- host: import("../types/store/host").IHostState;
173
114
  tenants: import("./reducers/tenants/types").TenantsState;
174
115
  partitions: import("./reducers/partitions/types").PartitionsState;
175
116
  executeQuery: import("../types/store/executeQuery").ExecuteQueryState;
176
- tabletsFilters: {
177
- loading: boolean;
178
- requestTime: number;
179
- data: undefined;
180
- wasLoaded: boolean;
181
- stateFilter: never[];
182
- typeFilter: never[];
183
- } | {
184
- tabletsData: any;
185
- nodes: any;
186
- loading: boolean;
187
- wasLoaded: boolean;
188
- timeoutForRequest: number;
189
- error: undefined;
190
- data: undefined;
191
- stateFilter: never[];
192
- typeFilter: never[];
193
- } | {
194
- error: any;
195
- loading: boolean;
196
- data: undefined;
197
- wasLoaded: boolean;
198
- stateFilter: never[];
199
- typeFilter: never[];
200
- } | {
201
- stateFilter: any;
202
- data: undefined;
203
- loading: boolean;
204
- wasLoaded: boolean;
205
- typeFilter: never[];
206
- } | {
207
- typeFilter: any;
208
- data: undefined;
209
- loading: boolean;
210
- wasLoaded: boolean;
211
- stateFilter: never[];
212
- };
213
117
  heatmap: import("../types/store/heatmap").IHeatmapState;
214
118
  settings: import("./reducers/settings/types").SettingsState;
215
- schemaAcl: import("./reducers/schemaAcl/types").SchemaAclState;
216
119
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
217
120
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters;
218
- hotKeys: import("./reducers/hotKeys/types").HotKeysState;
219
121
  authentication: import("./reducers/authentication/types").AuthenticationState;
220
122
  header: import("./reducers/header/types").HeaderState;
221
123
  saveQuery: string | null;
@@ -5,6 +5,7 @@ import { createApi } from '../services/api';
5
5
  import { getUrlData } from './getUrlData';
6
6
  import rootReducer from './reducers';
7
7
  import { api as storeApi } from './reducers/api';
8
+ import { syncUserSettingsFromLS } from './reducers/settings/settings';
8
9
  import { UPDATE_REF } from './reducers/tooltip';
9
10
  import getLocationMiddleware from './state-url-mapping';
10
11
  export let backend, basename, clusterName;
@@ -23,6 +24,7 @@ function _configureStore(aRootReducer, history, preloadedState, middleware) {
23
24
  },
24
25
  }).concat(locationMiddleware, ...middleware),
25
26
  });
27
+ syncUserSettingsFromLS(store);
26
28
  return store;
27
29
  }
28
30
  export const webVersion = window.web_version;
@@ -40,21 +42,6 @@ export function configureStore({ aRootReducer = rootReducer, singleClusterMode =
40
42
  storeApi.middleware,
41
43
  ]);
42
44
  listenForHistoryChange(store, history);
43
- // Interceptor to process OIDC auth
44
- // @ts-expect-error
45
- api._axios.interceptors.response.use(function (response) {
46
- return Promise.resolve(response);
47
- }, function (error) {
48
- var _a;
49
- const response = error.response;
50
- // OIDC proxy returns 401 response with authUrl in it
51
- // authUrl - external auth service link, after successful auth additional cookies will be appended
52
- // that will allow access to clusters where OIDC proxy is a balancer
53
- if (response && response.status === 401 && ((_a = response.data) === null || _a === void 0 ? void 0 : _a.authUrl)) {
54
- return window.location.assign(response.data.authUrl);
55
- }
56
- return Promise.reject(error);
57
- });
58
45
  window.api = api;
59
46
  return { history, store };
60
47
  }
@@ -6,59 +6,35 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
6
6
  tooltip: import("../types/store/tooltip").ITooltipState;
7
7
  tablets: import("../types/store/tablets").TabletsState;
8
8
  schema: import("./reducers/schema/types").SchemaState;
9
- host: import("../types/store/host").IHostState;
10
9
  tenants: import("./reducers/tenants/types").TenantsState;
11
10
  partitions: import("./reducers/partitions/types").PartitionsState;
12
11
  executeQuery: import("../types/store/executeQuery").ExecuteQueryState;
13
- tabletsFilters: {
14
- loading: boolean;
15
- requestTime: number;
16
- data: undefined;
17
- wasLoaded: boolean;
18
- stateFilter: never[];
19
- typeFilter: never[];
20
- } | {
21
- tabletsData: any;
22
- nodes: any;
23
- loading: boolean;
24
- wasLoaded: boolean;
25
- timeoutForRequest: number;
26
- error: undefined;
27
- data: undefined;
28
- stateFilter: never[];
29
- typeFilter: never[];
30
- } | {
31
- error: any;
32
- loading: boolean;
33
- data: undefined;
34
- wasLoaded: boolean;
35
- stateFilter: never[];
36
- typeFilter: never[];
37
- } | {
38
- stateFilter: any;
39
- data: undefined;
40
- loading: boolean;
41
- wasLoaded: boolean;
42
- typeFilter: never[];
43
- } | {
44
- typeFilter: any;
45
- data: undefined;
46
- loading: boolean;
47
- wasLoaded: boolean;
48
- stateFilter: never[];
49
- };
50
12
  heatmap: import("../types/store/heatmap").IHeatmapState;
51
13
  settings: import("./reducers/settings/types").SettingsState;
52
- schemaAcl: import("./reducers/schemaAcl/types").SchemaAclState;
53
14
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
54
15
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters;
55
- hotKeys: import("./reducers/hotKeys/types").HotKeysState;
56
16
  authentication: import("./reducers/authentication/types").AuthenticationState;
57
17
  header: import("./reducers/header/types").HeaderState;
58
18
  saveQuery: string | null;
59
19
  fullscreen: boolean;
60
20
  clusters: import("./reducers/clusters/types").ClustersFilters;
61
- }, any, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
21
+ }, import("redux").UnknownAction | import("../types/store/tooltip").ITooltipAction | {
22
+ readonly type: "schema/SET_SHOW_PREVIEW";
23
+ readonly data: boolean;
24
+ } | import("../types/store/executeQuery").ExecuteQueryAction | import("./reducers/authentication/types").AuthenticationAction | {
25
+ readonly type: "header/SET_HEADER_BREADCRUMBS";
26
+ readonly page: import("./reducers/header/types").Page;
27
+ readonly options: {} | import("./reducers/header/types").TabletsBreadcrumbsOptions | import("./reducers/header/types").TenantBreadcrumbsOptions | import("./reducers/header/types").ClusterBreadcrumbsOptions | import("./reducers/header/types").TabletBreadcrumbsOptions | import("./reducers/header/types").NodeBreadcrumbsOptions;
28
+ } | ({
29
+ readonly type: "SET_QUERY_NAME_TO_EDIT";
30
+ readonly data: string;
31
+ } | {
32
+ readonly type: "CLEAR_QUERY_NAME_TO_EDIT";
33
+ }) | {
34
+ readonly type: "ENABLE_FULLSCREEN_MODE";
35
+ } | {
36
+ readonly type: "DISABLE_FULLSCREEN_MODE";
37
+ } | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
62
38
  dispatch: import("redux-thunk").ThunkDispatch<{
63
39
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
64
40
  singleClusterMode: boolean;
@@ -67,53 +43,13 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
67
43
  tooltip: import("../types/store/tooltip").ITooltipState;
68
44
  tablets: import("../types/store/tablets").TabletsState;
69
45
  schema: import("./reducers/schema/types").SchemaState;
70
- host: import("../types/store/host").IHostState;
71
46
  tenants: import("./reducers/tenants/types").TenantsState;
72
47
  partitions: import("./reducers/partitions/types").PartitionsState;
73
48
  executeQuery: import("../types/store/executeQuery").ExecuteQueryState;
74
- tabletsFilters: {
75
- loading: boolean;
76
- requestTime: number;
77
- data: undefined;
78
- wasLoaded: boolean;
79
- stateFilter: never[];
80
- typeFilter: never[];
81
- } | {
82
- tabletsData: any;
83
- nodes: any;
84
- loading: boolean;
85
- wasLoaded: boolean;
86
- timeoutForRequest: number;
87
- error: undefined;
88
- data: undefined;
89
- stateFilter: never[];
90
- typeFilter: never[];
91
- } | {
92
- error: any;
93
- loading: boolean;
94
- data: undefined;
95
- wasLoaded: boolean;
96
- stateFilter: never[];
97
- typeFilter: never[];
98
- } | {
99
- stateFilter: any;
100
- data: undefined;
101
- loading: boolean;
102
- wasLoaded: boolean;
103
- typeFilter: never[];
104
- } | {
105
- typeFilter: any;
106
- data: undefined;
107
- loading: boolean;
108
- wasLoaded: boolean;
109
- stateFilter: never[];
110
- };
111
49
  heatmap: import("../types/store/heatmap").IHeatmapState;
112
50
  settings: import("./reducers/settings/types").SettingsState;
113
- schemaAcl: import("./reducers/schemaAcl/types").SchemaAclState;
114
51
  executeTopQueries: import("./reducers/executeTopQueries/types").TopQueriesFilters;
115
52
  shardsWorkload: import("./reducers/shardsWorkload/types").ShardsWorkloadFilters;
116
- hotKeys: import("./reducers/hotKeys/types").HotKeysState;
117
53
  authentication: import("./reducers/authentication/types").AuthenticationState;
118
54
  header: import("./reducers/header/types").HeaderState;
119
55
  saveQuery: string | null;
@@ -6,7 +6,6 @@ export const api = createApi({
6
6
  * which is why no endpoints are shown below.
7
7
  */
8
8
  endpoints: () => ({}),
9
- refetchOnMountOrArgChange: true,
10
9
  invalidationBehavior: 'immediately',
11
10
  tagTypes: ['All'],
12
11
  });