ydb-embedded-ui 6.15.1 → 6.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  2. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  3. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  4. package/dist/components/EmptyState/EmptyState.js +6 -0
  5. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  6. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  7. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  8. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  9. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  10. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  11. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  12. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  13. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  14. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  15. package/dist/components/MetricChart/reducer.d.ts +2 -2
  16. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  17. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  18. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  19. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  20. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  21. package/dist/components/PageMeta/PageMeta.js +9 -4
  22. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  23. package/dist/components/PageMeta/PageMeta.scss +9 -6
  24. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  25. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  26. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  27. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  28. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  29. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  30. package/dist/components/PaginatedTable/TableChunk.js +51 -21
  31. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  32. package/dist/components/PaginatedTable/TableRow.js +1 -1
  33. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  34. package/dist/components/PaginatedTable/types.d.ts +8 -1
  35. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  36. package/dist/components/Skeleton/Skeleton.js +11 -0
  37. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  38. package/dist/components/Tablet/Tablet.js +2 -2
  39. package/dist/components/Tablet/Tablet.js.map +1 -1
  40. package/dist/components/TabletState/TabletState.d.ts +6 -0
  41. package/dist/components/TabletState/TabletState.js +7 -0
  42. package/dist/components/TabletState/TabletState.js.map +1 -0
  43. package/dist/containers/Cluster/Cluster.js +10 -10
  44. package/dist/containers/Cluster/Cluster.js.map +1 -1
  45. package/dist/containers/Cluster/Cluster.scss +14 -0
  46. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  47. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  48. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  49. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  50. package/dist/containers/Nodes/Nodes.js +2 -2
  51. package/dist/containers/Nodes/Nodes.js.map +1 -1
  52. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  53. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  54. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  55. package/dist/containers/Nodes/PaginatedNodes.js +6 -18
  56. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  57. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  58. package/dist/containers/Nodes/getNodes.js +19 -2
  59. package/dist/containers/Nodes/getNodes.js.map +1 -1
  60. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  61. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  62. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  63. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  64. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  65. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  66. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  67. package/dist/containers/Storage/Storage.d.ts +2 -2
  68. package/dist/containers/Storage/Storage.js +3 -3
  69. package/dist/containers/Storage/Storage.js.map +1 -1
  70. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  71. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  72. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  73. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  74. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  75. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  76. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  77. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +6 -18
  78. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  79. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  80. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  81. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  82. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  83. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  84. package/dist/containers/Tablet/Tablet.js +95 -52
  85. package/dist/containers/Tablet/Tablet.js.map +1 -1
  86. package/dist/containers/Tablet/Tablet.scss +4 -81
  87. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  88. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  89. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  90. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  91. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  92. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  93. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  94. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  95. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  96. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  97. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  98. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  99. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  100. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  101. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  102. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  103. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  104. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  105. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  106. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  107. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  108. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  109. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  110. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  111. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  112. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  113. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  114. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  115. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  116. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  117. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  118. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  119. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  120. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  121. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  122. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  123. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  124. package/dist/containers/Tablet/i18n/en.json +5 -1
  125. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  126. package/dist/containers/Tablet/utils.d.ts +1 -0
  127. package/dist/containers/Tablet/utils.js +4 -0
  128. package/dist/containers/Tablet/utils.js.map +1 -0
  129. package/dist/containers/Tablets/Tablets.js +16 -10
  130. package/dist/containers/Tablets/Tablets.js.map +1 -1
  131. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  132. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  133. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  134. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  135. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  136. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  138. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  139. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  140. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  141. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  142. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  143. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  144. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  145. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  146. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  147. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  148. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  149. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  150. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  151. package/dist/containers/Tenant/Query/Query.js +2 -14
  152. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  153. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  154. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  155. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  156. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  157. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  158. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  159. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  160. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  161. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  162. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  163. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  164. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  165. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  166. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  167. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  168. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  169. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  170. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
  171. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  172. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -1
  173. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  174. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  175. package/dist/containers/UserSettings/i18n/en.json +0 -2
  176. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  177. package/dist/containers/UserSettings/settings.d.ts +0 -1
  178. package/dist/containers/UserSettings/settings.js +2 -7
  179. package/dist/containers/UserSettings/settings.js.map +1 -1
  180. package/dist/containers/VDiskPage/VDiskPage.js +5 -6
  181. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  182. package/dist/containers/VDiskPage/VDiskPage.scss +0 -4
  183. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  184. package/dist/routes.d.ts +1 -0
  185. package/dist/routes.js +3 -0
  186. package/dist/routes.js.map +1 -1
  187. package/dist/services/api.d.ts +13 -7
  188. package/dist/services/api.js +27 -6
  189. package/dist/services/api.js.map +1 -1
  190. package/dist/services/settings.d.ts +1 -2
  191. package/dist/services/settings.js +1 -2
  192. package/dist/services/settings.js.map +1 -1
  193. package/dist/store/configureStore.d.ts +4 -8
  194. package/dist/store/defaultStore.d.ts +2 -4
  195. package/dist/store/reducers/api.d.ts +1 -1
  196. package/dist/store/reducers/api.js +1 -1
  197. package/dist/store/reducers/api.js.map +1 -1
  198. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  199. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  200. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  201. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  202. package/dist/store/reducers/capabilities/hooks.js +3 -0
  203. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  204. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  205. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
  206. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  207. package/dist/store/reducers/describe.d.ts +2 -2
  208. package/dist/store/reducers/executeQuery.d.ts +18 -4
  209. package/dist/store/reducers/executeQuery.js +50 -5
  210. package/dist/store/reducers/executeQuery.js.map +1 -1
  211. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  212. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  213. package/dist/store/reducers/header/types.d.ts +1 -1
  214. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  215. package/dist/store/reducers/heatmap.d.ts +2 -2
  216. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  217. package/dist/store/reducers/index.d.ts +3 -6
  218. package/dist/store/reducers/index.js +0 -2
  219. package/dist/store/reducers/index.js.map +1 -1
  220. package/dist/store/reducers/network/network.d.ts +2 -2
  221. package/dist/store/reducers/node/node.d.ts +3 -3
  222. package/dist/store/reducers/node/selectors.d.ts +1 -2
  223. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  224. package/dist/store/reducers/nodes/types.d.ts +11 -1
  225. package/dist/store/reducers/nodesList.d.ts +3 -4
  226. package/dist/store/reducers/overview/overview.d.ts +2 -2
  227. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  228. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  229. package/dist/store/reducers/preview.d.ts +2 -2
  230. package/dist/store/reducers/schema/schema.d.ts +3 -3
  231. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  232. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  233. package/dist/store/reducers/storage/storage.d.ts +3 -3
  234. package/dist/store/reducers/storage/types.d.ts +15 -0
  235. package/dist/store/reducers/storage/types.js.map +1 -1
  236. package/dist/store/reducers/tableData.d.ts +14 -0
  237. package/dist/store/reducers/tableData.js +25 -0
  238. package/dist/store/reducers/tableData.js.map +1 -0
  239. package/dist/store/reducers/tablet.d.ts +19 -3
  240. package/dist/store/reducers/tablet.js +82 -13
  241. package/dist/store/reducers/tablet.js.map +1 -1
  242. package/dist/store/reducers/tablets.d.ts +15 -23
  243. package/dist/store/reducers/tablets.js +2 -20
  244. package/dist/store/reducers/tablets.js.map +1 -1
  245. package/dist/store/reducers/tabletsFilters.d.ts +1 -2
  246. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  247. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  248. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  249. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  250. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  251. package/dist/store/reducers/tenants/selectors.d.ts +27 -36
  252. package/dist/store/reducers/tenants/selectors.js +1 -1
  253. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  254. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  255. package/dist/store/reducers/topic.d.ts +44 -59
  256. package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
  257. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  258. package/dist/styles/mixins.scss +0 -5
  259. package/dist/types/api/capabilities.d.ts +1 -1
  260. package/dist/types/api/schema/shared.d.ts +1 -3
  261. package/dist/types/api/schema/shared.js.map +1 -1
  262. package/dist/types/api/schema/table.d.ts +2 -0
  263. package/dist/types/api/schema/table.js.map +1 -1
  264. package/dist/types/api/tablet.d.ts +22 -0
  265. package/dist/types/store/executeQuery.d.ts +5 -2
  266. package/dist/types/store/tablets.d.ts +1 -0
  267. package/dist/utils/constants.d.ts +1 -2
  268. package/dist/utils/constants.js +1 -2
  269. package/dist/utils/constants.js.map +1 -1
  270. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  271. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  272. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  273. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  274. package/dist/utils/developerUI/developerUI.js +3 -2
  275. package/dist/utils/developerUI/developerUI.js.map +1 -1
  276. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  277. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  278. package/package.json +2 -1
  279. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  280. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  281. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  282. package/dist/components/PaginatedTable/reducer.js +0 -104
  283. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  284. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  285. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  286. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  287. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  288. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  289. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  290. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  291. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  292. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  293. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  294. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  295. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  296. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  297. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  298. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  299. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -1,12 +1,11 @@
1
1
  import type { RootState } from '../../defaultStore';
2
2
  import type { PreparedNodeStructure } from './types';
3
3
  export declare const selectNodeStructure: ((state: {
4
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
4
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
5
5
  singleClusterMode: boolean;
6
6
  cluster: import("../cluster/types").ClusterState;
7
7
  tenant: import("../tenant/types").TenantState;
8
8
  tooltip: import("../../../types/store/tooltip").ITooltipState;
9
- tablets: import("../../../types/store/tablets").TabletsState;
10
9
  schema: import("../schema/types").SchemaState;
11
10
  tenants: import("../tenants/types").TenantsState;
12
11
  partitions: import("../partitions/types").PartitionsState;
@@ -1,5 +1,5 @@
1
1
  import type { ComputeApiRequestParams, NodesApiRequestParams } from './types';
2
2
  export declare const nodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
3
- getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").NodesHandledResponse | undefined, "api">;
4
- getComputeNodes: import("@reduxjs/toolkit/query").QueryDefinition<ComputeApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").NodesHandledResponse | undefined, "api">;
5
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
3
+ getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").NodesHandledResponse | undefined, "api">;
4
+ getComputeNodes: import("@reduxjs/toolkit/query").QueryDefinition<ComputeApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").NodesHandledResponse | undefined, "api">;
5
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,7 +3,8 @@ import type { EVersion, TTabletStateInfo as TComputeTabletStateInfo } from '../.
3
3
  import type { EFlag } from '../../../types/api/enums';
4
4
  import type { TEndpoint, TPoolStats } from '../../../types/api/nodes';
5
5
  import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
6
- import type { NodesSortValue } from '../../../utils/nodes';
6
+ import type { NodesSortValue, NodesUptimeFilterValues } from '../../../utils/nodes';
7
+ import type { ProblemFilterValue } from '../settings/types';
7
8
  import type { VisibleEntities } from '../storage/types';
8
9
  export interface NodesPreparedEntity {
9
10
  NodeId: number;
@@ -33,6 +34,13 @@ export interface NodesSortParams {
33
34
  sortOrder: OrderType | undefined;
34
35
  sortValue: NodesSortValue | undefined;
35
36
  }
37
+ export interface NodesFilters {
38
+ searchValue: string;
39
+ problemFilter: ProblemFilterValue;
40
+ uptimeFilter: NodesUptimeFilterValues;
41
+ path?: string;
42
+ database?: string;
43
+ }
36
44
  export interface NodesGeneralRequestParams extends Partial<NodesSortParams> {
37
45
  filter?: string;
38
46
  uptime?: number;
@@ -43,6 +51,8 @@ export interface NodesGeneralRequestParams extends Partial<NodesSortParams> {
43
51
  export interface NodesApiRequestParams extends NodesGeneralRequestParams {
44
52
  node_id?: number | string;
45
53
  path?: string;
54
+ database?: string;
55
+ /** @deprecated use database instead */
46
56
  tenant?: string;
47
57
  type?: NodeType;
48
58
  visibleEntities?: VisibleEntities;
@@ -1,14 +1,13 @@
1
1
  import type { RootState } from '../defaultStore';
2
2
  export declare const nodesListApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
3
- getNodesList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/nodesList").TEvNodesInfo | undefined, "api">;
4
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
3
+ getNodesList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/nodesList").TEvNodesInfo | undefined, "api">;
4
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
5
5
  export declare const selectNodesMap: ((state: {
6
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
6
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
7
7
  singleClusterMode: boolean;
8
8
  cluster: import("./cluster/types").ClusterState;
9
9
  tenant: import("./tenant/types").TenantState;
10
10
  tooltip: import("../../types/store/tooltip").ITooltipState;
11
- tablets: import("../../types/store/tablets").TabletsState;
12
11
  schema: import("./schema/types").SchemaState;
13
12
  tenants: import("./tenants/types").TenantsState;
14
13
  partitions: import("./partitions/types").PartitionsState;
@@ -2,8 +2,8 @@ export declare const overviewApi: import("@reduxjs/toolkit/query").Api<import("@
2
2
  getOverview: import("@reduxjs/toolkit/query").QueryDefinition<{
3
3
  paths: string[];
4
4
  database: string;
5
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
5
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
6
6
  data: import("../../../utils/typecheckers").Nullable<import("../../../types/api/schema").TEvDescribeSchemeResult>;
7
7
  additionalData: import("../../../utils/typecheckers").Nullable<import("../../../types/api/schema").TEvDescribeSchemeResult>[];
8
8
  } | undefined, "api">;
9
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
9
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -7,5 +7,5 @@ export declare const partitionsApi: import("@reduxjs/toolkit/query").Api<import(
7
7
  path: string;
8
8
  database: string;
9
9
  consumerName?: string;
10
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedPartitionData[] | undefined, "api">;
11
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
10
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedPartitionData[] | undefined, "api">;
11
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,7 +3,7 @@ interface PDiskParams {
3
3
  pDiskId: number | string;
4
4
  }
5
5
  export declare const pDiskApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
6
- getPdiskInfo: import("@reduxjs/toolkit/query").QueryDefinition<PDiskParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PDiskData | undefined, "api">;
7
- getStorageInfo: import("@reduxjs/toolkit/query").QueryDefinition<PDiskParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../storage/types").PreparedStorageGroup[] | undefined, "api">;
8
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
+ getPdiskInfo: import("@reduxjs/toolkit/query").QueryDefinition<PDiskParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PDiskData | undefined, "api">;
7
+ getStorageInfo: import("@reduxjs/toolkit/query").QueryDefinition<PDiskParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../storage/types").PreparedStorageGroup[] | undefined, "api">;
8
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
9
9
  export {};
@@ -5,6 +5,6 @@ interface SendQueryParams {
5
5
  action?: ExecuteActions;
6
6
  }
7
7
  export declare const previewApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
8
- sendQuery: import("@reduxjs/toolkit/query").QueryDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/store/query").IQueryResult | undefined, "api">;
9
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
8
+ sendQuery: import("@reduxjs/toolkit/query").QueryDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/store/query").IQueryResult | undefined, "api">;
9
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
10
10
  export {};
@@ -17,16 +17,16 @@ export declare const schemaApi: import("@reduxjs/toolkit/query").Api<import("@re
17
17
  createDirectory: import("@reduxjs/toolkit/query").MutationDefinition<{
18
18
  database: string;
19
19
  path: string;
20
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", unknown, "api">;
20
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", unknown, "api">;
21
21
  getSchema: import("@reduxjs/toolkit/query").QueryDefinition<{
22
22
  path: string;
23
23
  database: string;
24
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
24
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
25
25
  [path: string]: TEvDescribeSchemeResult & {
26
26
  partial?: boolean;
27
27
  };
28
28
  }, "api">;
29
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
29
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
30
30
  export declare const selectSchemaMergedChildrenPaths: ((state: any, path: any, _type: any, database: string) => string[] | undefined) & {
31
31
  clearCache: () => void;
32
32
  resultsCount: () => number;
@@ -2,10 +2,10 @@ export declare const schemaAclApi: import("@reduxjs/toolkit/query").Api<import("
2
2
  getSchemaAcl: import("@reduxjs/toolkit/query").QueryDefinition<{
3
3
  path: string;
4
4
  database: string;
5
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
5
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
6
6
  acl: import("../../../types/api/acl").TACE[] | undefined;
7
7
  effectiveAcl: import("../../../types/api/acl").TACE[] | undefined;
8
8
  owner: string | undefined;
9
9
  interruptInheritance: boolean | undefined;
10
10
  } | undefined, "api">;
11
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
11
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -13,5 +13,5 @@ interface SendShardQueryParams {
13
13
  filters?: ShardsWorkloadFilters;
14
14
  }
15
15
  export declare const shardApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
16
- sendShardQuery: import("@reduxjs/toolkit/query").QueryDefinition<SendShardQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/store/query").IQueryResult | undefined, "api">;
17
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
16
+ sendShardQuery: import("@reduxjs/toolkit/query").QueryDefinition<SendShardQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../../types/store/query").IQueryResult | undefined, "api">;
17
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1,6 +1,6 @@
1
1
  import type { NodesApiRequestParams } from '../nodes/types';
2
2
  import type { StorageApiRequestParams } from './types';
3
3
  export declare const storageApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
4
- getStorageNodesInfo: import("@reduxjs/toolkit/query").QueryDefinition<Omit<NodesApiRequestParams, "type">, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedStorageResponse | undefined, "api">;
5
- getStorageGroupsInfo: import("@reduxjs/toolkit/query").QueryDefinition<StorageApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedStorageResponse | undefined, "api">;
6
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
4
+ getStorageNodesInfo: import("@reduxjs/toolkit/query").QueryDefinition<Omit<NodesApiRequestParams, "type">, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedStorageResponse | undefined, "api">;
5
+ getStorageGroupsInfo: import("@reduxjs/toolkit/query").QueryDefinition<StorageApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedStorageResponse | undefined, "api">;
6
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,6 +3,7 @@ import { z } from 'zod';
3
3
  import type { TSystemStateInfo } from '../../../types/api/nodes';
4
4
  import type { EVersion, TStorageGroupInfo } from '../../../types/api/storage';
5
5
  import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
6
+ import type { NodesUptimeFilterValues } from '../../../utils/nodes';
6
7
  import type { StorageSortValue } from '../../../utils/storage';
7
8
  export declare const visibleEntitiesSchema: z.ZodCatch<z.ZodNativeEnum<{
8
9
  readonly all: "all";
@@ -15,6 +16,12 @@ export declare const storageTypeSchema: z.ZodCatch<z.ZodNativeEnum<{
15
16
  readonly nodes: "nodes";
16
17
  }>>;
17
18
  export type StorageType = z.infer<typeof storageTypeSchema>;
19
+ export interface PreparedStorageNodeFilters {
20
+ searchValue: string;
21
+ nodesUptimeFilter: NodesUptimeFilterValues;
22
+ visibleEntities: VisibleEntities;
23
+ database?: string;
24
+ }
18
25
  export interface PreparedStorageNode extends TSystemStateInfo {
19
26
  NodeId: number;
20
27
  PDisks?: PreparedPDisk[];
@@ -24,6 +31,12 @@ export interface PreparedStorageNode extends TSystemStateInfo {
24
31
  Missing: number;
25
32
  Uptime: string;
26
33
  }
34
+ export interface PreparedStorageGroupFilters {
35
+ searchValue: string;
36
+ visibleEntities: VisibleEntities;
37
+ database?: string;
38
+ nodeId?: string;
39
+ }
27
40
  export interface PreparedStorageGroup extends TStorageGroupInfo {
28
41
  PoolName: string | undefined;
29
42
  Usage: number;
@@ -50,7 +63,9 @@ export interface StorageSortAndFilterParams extends Partial<StorageSortParams> {
50
63
  limit?: number;
51
64
  }
52
65
  export interface StorageApiRequestParams extends StorageSortAndFilterParams {
66
+ /** @deprecated use database instead */
53
67
  tenant?: string;
68
+ database?: string;
54
69
  nodeId?: string | number;
55
70
  poolName?: string;
56
71
  groupId?: string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAOtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAQtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { BaseQueryFn } from '@reduxjs/toolkit/query';
2
+ import type { FetchData, PaginatedTableData, SortParams } from '../../components/PaginatedTable';
3
+ interface PaginatedTableParams<T, F> {
4
+ offset: number;
5
+ fetchData: FetchData<T, F>;
6
+ filters: F;
7
+ limit: number;
8
+ sortParams?: SortParams;
9
+ tableName: string;
10
+ }
11
+ export declare const tableDataApi: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
12
+ fetchTableChunk: import("@reduxjs/toolkit/query").QueryDefinition<PaginatedTableParams<unknown, unknown>, BaseQueryFn, string, PaginatedTableData<unknown>, string>;
13
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
14
+ export {};
@@ -0,0 +1,25 @@
1
+ import { api } from './api';
2
+ function endpoints(build) {
3
+ return {
4
+ fetchTableChunk: build.query({
5
+ queryFn: async ({ offset, limit, sortParams, filters, fetchData }, { signal }) => {
6
+ try {
7
+ const response = await fetchData({
8
+ limit,
9
+ offset,
10
+ filters,
11
+ sortParams,
12
+ signal,
13
+ });
14
+ return { data: response };
15
+ }
16
+ catch (error) {
17
+ return { error: error };
18
+ }
19
+ },
20
+ providesTags: ['All'],
21
+ }),
22
+ };
23
+ }
24
+ export const tableDataApi = api.injectEndpoints({ endpoints });
25
+ //# sourceMappingURL=tableData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableData.js","sourceRoot":"","sources":["../../../src/store/reducers/tableData.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAW1B,SAAS,SAAS,CAAO,KAAmD;IACxE,OAAO;QACH,eAAe,EAAE,KAAK,CAAC,KAAK,CAAoD;YAC5E,OAAO,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACzE,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC;wBAC7B,KAAK;wBACL,MAAM;wBACN,OAAO;wBACP,UAAU;wBACV,MAAM;qBACT,CAAC,CAAC;oBACH,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC,EAAC,SAAS,EAAC,CAAC,CAAC"}
@@ -3,12 +3,28 @@ import type { ITabletPreparedHistoryItem } from '../../types/store/tablet';
3
3
  export declare const tabletApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
4
4
  getTablet: import("@reduxjs/toolkit/query").QueryDefinition<{
5
5
  id: string;
6
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
6
+ database?: string;
7
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
7
8
  id: string | undefined;
8
9
  data: import("../../types/api/tablet").TTabletStateInfo;
9
10
  history: ITabletPreparedHistoryItem[];
10
11
  } | undefined, "api">;
11
12
  getTabletDescribe: import("@reduxjs/toolkit/query").QueryDefinition<{
12
13
  tenantId: TDomainKey;
13
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", string | undefined, "api">;
14
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
14
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", string | undefined, "api">;
15
+ getAdvancedTableInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
16
+ id: string;
17
+ hiveId: string;
18
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TTabletHiveResponse | null | undefined, "api">;
19
+ killTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
20
+ id: string;
21
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", string | undefined, "api">;
22
+ stopTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
23
+ id: string;
24
+ hiveId: string;
25
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", string | undefined, "api">;
26
+ resumeTablet: import("@reduxjs/toolkit/query").MutationDefinition<{
27
+ id: string;
28
+ hiveId: string;
29
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", string | undefined, "api">;
30
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,11 +3,11 @@ import { api } from './api';
3
3
  export const tabletApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
5
5
  getTablet: build.query({
6
- queryFn: async ({ id }, { signal }) => {
6
+ queryFn: async ({ id, database }, { signal }) => {
7
7
  try {
8
8
  const [tabletResponseData, historyResponseData, nodesList] = await Promise.all([
9
- window.api.getTablet({ id }, { signal }),
10
- window.api.getTabletHistory({ id }, { signal }),
9
+ window.api.getTablet({ id, database }, { signal }),
10
+ window.api.getTabletHistory({ id, database }, { signal }),
11
11
  window.api.getNodesList({ signal }),
12
12
  ]);
13
13
  const nodesMap = prepareNodesMap(nodesList);
@@ -18,15 +18,17 @@ export const tabletApi = api.injectEndpoints({
18
18
  const leaderTablet = tabletInfo.find((t) => t.Leader) || tabletInfo[0];
19
19
  const { ChangeTime, Generation, State, Leader, FollowerId } = leaderTablet;
20
20
  const fqdn = nodesMap && nodeId ? nodesMap.get(Number(nodeId)) : undefined;
21
- list.push({
22
- nodeId,
23
- generation: Generation,
24
- changeTime: ChangeTime,
25
- state: State,
26
- leader: Leader,
27
- followerId: FollowerId,
28
- fqdn,
29
- });
21
+ if (State !== 'Dead') {
22
+ list.push({
23
+ nodeId,
24
+ generation: Generation,
25
+ changeTime: ChangeTime,
26
+ state: State,
27
+ leader: Leader,
28
+ followerId: FollowerId,
29
+ fqdn,
30
+ });
31
+ }
30
32
  }
31
33
  return list;
32
34
  }, []);
@@ -39,7 +41,9 @@ export const tabletApi = api.injectEndpoints({
39
41
  return { error };
40
42
  }
41
43
  },
42
- providesTags: ['All'],
44
+ providesTags: (_result, _error, arg) => {
45
+ return ['All', { type: 'Tablet', id: arg.id }];
46
+ },
43
47
  }),
44
48
  getTabletDescribe: build.query({
45
49
  queryFn: async ({ tenantId }, { signal }) => {
@@ -55,6 +59,71 @@ export const tabletApi = api.injectEndpoints({
55
59
  },
56
60
  providesTags: ['All'],
57
61
  }),
62
+ getAdvancedTableInfo: build.query({
63
+ queryFn: async ({ id, hiveId }, { signal }) => {
64
+ try {
65
+ const tabletResponseData = await window.api.getTabletFromHive({ id, hiveId }, { signal });
66
+ return { data: tabletResponseData };
67
+ }
68
+ catch (error) {
69
+ return { error };
70
+ }
71
+ },
72
+ providesTags: (_result, _error, arg) => {
73
+ return ['All', { type: 'Tablet', id: arg.id }];
74
+ },
75
+ }),
76
+ killTablet: build.mutation({
77
+ queryFn: async ({ id }) => {
78
+ try {
79
+ const data = await window.api.killTablet(id);
80
+ return { data };
81
+ }
82
+ catch (error) {
83
+ return { error };
84
+ }
85
+ },
86
+ invalidatesTags: (_result, _error, arg) => {
87
+ return [
88
+ { type: 'Tablet', id: arg.id },
89
+ { type: 'Tablet', id: 'LIST' },
90
+ ];
91
+ },
92
+ }),
93
+ stopTablet: build.mutation({
94
+ queryFn: async ({ id, hiveId }) => {
95
+ try {
96
+ const data = await window.api.stopTablet(id, hiveId);
97
+ return { data };
98
+ }
99
+ catch (error) {
100
+ return { error };
101
+ }
102
+ },
103
+ invalidatesTags: (_result, _error, arg) => {
104
+ return [
105
+ { type: 'Tablet', id: arg.id },
106
+ { type: 'Tablet', id: 'LIST' },
107
+ ];
108
+ },
109
+ }),
110
+ resumeTablet: build.mutation({
111
+ queryFn: async ({ id, hiveId }) => {
112
+ try {
113
+ const data = await window.api.resumeTablet(id, hiveId);
114
+ return { data };
115
+ }
116
+ catch (error) {
117
+ return { error };
118
+ }
119
+ },
120
+ invalidatesTags: (_result, _error, arg) => {
121
+ return [
122
+ { type: 'Tablet', id: arg.id },
123
+ { type: 'Tablet', id: 'LIST' },
124
+ ];
125
+ },
126
+ }),
58
127
  }),
59
128
  overrideExisting: 'throw',
60
129
  });
@@ -1 +1 @@
1
- {"version":3,"file":"tablet.js","sourceRoot":"","sources":["../../../src/store/reducers/tablet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC,eAAe,CAAC;IACzC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC;YACnB,OAAO,EAAE,KAAK,EAAE,EAAC,EAAE,EAAe,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC5C,IAAI,CAAC;oBACD,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC3E,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBACpC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAC,EAAE,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBAC3C,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAC,CAAC;qBACpC,CAAC,CAAC;oBACH,MAAM,QAAQ,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;oBAE5C,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAEzD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;;wBACf,MAAM,UAAU,GAAG,MAAA,mBAAmB,CAAC,MAAM,CAAC,0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E,GAAG,CAAC,EAAE,EAAC;oBAC5B,EAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAC;iBAC/B,CAAC;YACN,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,19 +1,15 @@
1
- import type { ETabletState, EType, TTabletStateInfo } from '../../types/api/tablet';
2
- import type { TabletsApiRequestParams, TabletsState } from '../../types/store/tablets';
1
+ import type { TTabletStateInfo } from '../../types/api/tablet';
2
+ import type { TabletsApiRequestParams } from '../../types/store/tablets';
3
3
  import type { RootState } from '../defaultStore';
4
- export declare const setStateFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<ETabletState[], "tablets/setStateFilter">, setTypeFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<EType[], "tablets/setTypeFilter">;
5
- declare const _default: import("redux").Reducer<TabletsState>;
6
- export default _default;
7
4
  export declare const tabletsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
8
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
9
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
5
+ getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
6
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
10
7
  export declare const selectGetTabletsInfo: ((state: {
11
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
8
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
12
9
  singleClusterMode: boolean;
13
10
  cluster: import("./cluster/types").ClusterState;
14
11
  tenant: import("./tenant/types").TenantState;
15
12
  tooltip: import("../../types/store/tooltip").ITooltipState;
16
- tablets: TabletsState;
17
13
  schema: import("./schema/types").SchemaState;
18
14
  tenants: import("./tenants/types").TenantsState;
19
15
  partitions: import("./partitions/types").PartitionsState;
@@ -33,12 +29,11 @@ export declare const selectGetTabletsInfo: ((state: {
33
29
  resetResultsCount: () => void;
34
30
  } & {
35
31
  resultFunc: (resultFuncArgs_0: {
36
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
32
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
37
33
  singleClusterMode: boolean;
38
34
  cluster: import("./cluster/types").ClusterState;
39
35
  tenant: import("./tenant/types").TenantState;
40
36
  tooltip: import("../../types/store/tooltip").ITooltipState;
41
- tablets: TabletsState;
42
37
  schema: import("./schema/types").SchemaState;
43
38
  tenants: import("./tenants/types").TenantsState;
44
39
  partitions: import("./partitions/types").PartitionsState;
@@ -53,15 +48,14 @@ export declare const selectGetTabletsInfo: ((state: {
53
48
  fullscreen: boolean;
54
49
  clusters: import("./clusters/types").ClustersFilters;
55
50
  }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
56
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
57
- }, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
51
+ getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
52
+ }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
58
53
  memoizedResultFunc: ((resultFuncArgs_0: {
59
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
54
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
60
55
  singleClusterMode: boolean;
61
56
  cluster: import("./cluster/types").ClusterState;
62
57
  tenant: import("./tenant/types").TenantState;
63
58
  tooltip: import("../../types/store/tooltip").ITooltipState;
64
- tablets: TabletsState;
65
59
  schema: import("./schema/types").SchemaState;
66
60
  tenants: import("./tenants/types").TenantsState;
67
61
  partitions: import("./partitions/types").PartitionsState;
@@ -76,20 +70,19 @@ export declare const selectGetTabletsInfo: ((state: {
76
70
  fullscreen: boolean;
77
71
  clusters: import("./clusters/types").ClustersFilters;
78
72
  }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
79
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
80
- }, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
73
+ getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
74
+ }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
81
75
  clearCache: () => void;
82
76
  resultsCount: () => number;
83
77
  resetResultsCount: () => void;
84
78
  };
85
79
  lastResult: () => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
86
80
  dependencies: [(state: RootState) => {
87
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
81
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
88
82
  singleClusterMode: boolean;
89
83
  cluster: import("./cluster/types").ClusterState;
90
84
  tenant: import("./tenant/types").TenantState;
91
85
  tooltip: import("../../types/store/tooltip").ITooltipState;
92
- tablets: TabletsState;
93
86
  schema: import("./schema/types").SchemaState;
94
87
  tenants: import("./tenants/types").TenantsState;
95
88
  partitions: import("./partitions/types").PartitionsState;
@@ -104,8 +97,8 @@ export declare const selectGetTabletsInfo: ((state: {
104
97
  fullscreen: boolean;
105
98
  clusters: import("./clusters/types").ClustersFilters;
106
99
  }, (_state: RootState, params: TabletsApiRequestParams) => (state: import("@reduxjs/toolkit/query").RootState<{
107
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
108
- }, "All" | "PDiskData" | "UserData" | "PreviewData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
100
+ getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
101
+ }, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
109
102
  recomputations: () => number;
110
103
  resetRecomputations: () => void;
111
104
  dependencyRecomputations: () => number;
@@ -115,12 +108,11 @@ export declare const selectGetTabletsInfo: ((state: {
115
108
  memoize: typeof import("reselect").weakMapMemoize;
116
109
  };
117
110
  export declare const selectTabletsWithFqdn: ((state: {
118
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
111
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
119
112
  singleClusterMode: boolean;
120
113
  cluster: import("./cluster/types").ClusterState;
121
114
  tenant: import("./tenant/types").TenantState;
122
115
  tooltip: import("../../types/store/tooltip").ITooltipState;
123
- tablets: TabletsState;
124
116
  schema: import("./schema/types").SchemaState;
125
117
  tenants: import("./tenants/types").TenantsState;
126
118
  partitions: import("./partitions/types").PartitionsState;