ydb-embedded-ui 6.15.0 → 6.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/README.md +1 -1
  2. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  3. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  4. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  5. package/dist/components/EmptyState/EmptyState.js +6 -0
  6. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  7. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  8. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  9. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  10. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  11. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  12. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  13. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  14. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  15. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  16. package/dist/components/MetricChart/reducer.d.ts +2 -2
  17. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  18. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  19. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  20. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  21. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  22. package/dist/components/PageMeta/PageMeta.js +9 -4
  23. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  24. package/dist/components/PageMeta/PageMeta.scss +9 -6
  25. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  26. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  27. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  28. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  29. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  30. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  31. package/dist/components/PaginatedTable/TableChunk.js +51 -21
  32. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  33. package/dist/components/PaginatedTable/TableRow.js +1 -1
  34. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  35. package/dist/components/PaginatedTable/types.d.ts +8 -1
  36. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  37. package/dist/components/Skeleton/Skeleton.js +11 -0
  38. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  39. package/dist/components/Tablet/Tablet.js +2 -2
  40. package/dist/components/Tablet/Tablet.js.map +1 -1
  41. package/dist/components/TabletState/TabletState.d.ts +6 -0
  42. package/dist/components/TabletState/TabletState.js +7 -0
  43. package/dist/components/TabletState/TabletState.js.map +1 -0
  44. package/dist/containers/Cluster/Cluster.js +10 -10
  45. package/dist/containers/Cluster/Cluster.js.map +1 -1
  46. package/dist/containers/Cluster/Cluster.scss +14 -0
  47. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  48. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  49. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  51. package/dist/containers/Nodes/Nodes.js +2 -2
  52. package/dist/containers/Nodes/Nodes.js.map +1 -1
  53. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  54. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  55. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  56. package/dist/containers/Nodes/PaginatedNodes.js +6 -18
  57. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  58. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  59. package/dist/containers/Nodes/getNodes.js +19 -2
  60. package/dist/containers/Nodes/getNodes.js.map +1 -1
  61. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  62. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  63. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  64. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  65. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  66. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  67. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  68. package/dist/containers/Storage/Storage.d.ts +2 -2
  69. package/dist/containers/Storage/Storage.js +3 -3
  70. package/dist/containers/Storage/Storage.js.map +1 -1
  71. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  72. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  73. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  74. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  75. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  76. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  77. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  78. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +6 -18
  79. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  80. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  81. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  82. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  83. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  84. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  85. package/dist/containers/Tablet/Tablet.js +95 -52
  86. package/dist/containers/Tablet/Tablet.js.map +1 -1
  87. package/dist/containers/Tablet/Tablet.scss +4 -81
  88. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  89. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  90. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  91. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  92. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  93. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  94. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  95. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  96. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  97. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  98. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  99. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  100. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  101. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  102. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  103. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  104. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  105. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  106. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  107. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  108. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  109. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  110. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  111. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  112. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  113. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  114. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  115. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  116. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  117. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  118. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  119. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  120. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  121. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  122. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  123. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  124. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  125. package/dist/containers/Tablet/i18n/en.json +5 -1
  126. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  127. package/dist/containers/Tablet/utils.d.ts +1 -0
  128. package/dist/containers/Tablet/utils.js +4 -0
  129. package/dist/containers/Tablet/utils.js.map +1 -0
  130. package/dist/containers/Tablets/Tablets.js +16 -10
  131. package/dist/containers/Tablets/Tablets.js.map +1 -1
  132. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  133. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  134. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  135. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  136. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  140. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  141. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  142. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  143. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  144. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  145. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  146. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  147. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  148. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  149. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  150. package/dist/containers/Tenant/Query/Preview/Preview.scss +0 -8
  151. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  152. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  153. package/dist/containers/Tenant/Query/Query.js +2 -14
  154. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  155. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  156. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  157. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  158. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  159. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  160. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  161. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  162. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  163. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  164. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  165. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  166. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  167. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  168. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  169. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  170. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  171. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  172. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
  173. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  174. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -1
  175. package/dist/containers/Tenant/Tenant.js +5 -1
  176. package/dist/containers/Tenant/Tenant.js.map +1 -1
  177. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  178. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  179. package/dist/containers/UserSettings/i18n/en.json +0 -2
  180. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  181. package/dist/containers/UserSettings/settings.d.ts +0 -1
  182. package/dist/containers/UserSettings/settings.js +2 -7
  183. package/dist/containers/UserSettings/settings.js.map +1 -1
  184. package/dist/containers/VDiskPage/VDiskPage.js +5 -6
  185. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  186. package/dist/containers/VDiskPage/VDiskPage.scss +0 -4
  187. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  188. package/dist/routes.d.ts +1 -0
  189. package/dist/routes.js +3 -0
  190. package/dist/routes.js.map +1 -1
  191. package/dist/services/api.d.ts +13 -7
  192. package/dist/services/api.js +29 -7
  193. package/dist/services/api.js.map +1 -1
  194. package/dist/services/settings.d.ts +1 -2
  195. package/dist/services/settings.js +1 -2
  196. package/dist/services/settings.js.map +1 -1
  197. package/dist/store/configureStore.d.ts +4 -8
  198. package/dist/store/defaultStore.d.ts +2 -4
  199. package/dist/store/reducers/api.d.ts +1 -1
  200. package/dist/store/reducers/api.js +1 -1
  201. package/dist/store/reducers/api.js.map +1 -1
  202. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  203. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  204. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  205. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  206. package/dist/store/reducers/capabilities/hooks.js +3 -0
  207. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  208. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  209. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
  210. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  211. package/dist/store/reducers/describe.d.ts +2 -2
  212. package/dist/store/reducers/executeQuery.d.ts +18 -4
  213. package/dist/store/reducers/executeQuery.js +50 -5
  214. package/dist/store/reducers/executeQuery.js.map +1 -1
  215. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  216. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  217. package/dist/store/reducers/header/types.d.ts +1 -1
  218. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  219. package/dist/store/reducers/heatmap.d.ts +2 -2
  220. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  221. package/dist/store/reducers/index.d.ts +3 -6
  222. package/dist/store/reducers/index.js +0 -2
  223. package/dist/store/reducers/index.js.map +1 -1
  224. package/dist/store/reducers/network/network.d.ts +2 -2
  225. package/dist/store/reducers/node/node.d.ts +3 -3
  226. package/dist/store/reducers/node/selectors.d.ts +1 -2
  227. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  228. package/dist/store/reducers/nodes/types.d.ts +11 -1
  229. package/dist/store/reducers/nodesList.d.ts +3 -4
  230. package/dist/store/reducers/overview/overview.d.ts +2 -2
  231. package/dist/store/reducers/overview/overview.js +1 -0
  232. package/dist/store/reducers/overview/overview.js.map +1 -1
  233. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  234. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  235. package/dist/store/reducers/preview.d.ts +2 -2
  236. package/dist/store/reducers/schema/schema.d.ts +3 -3
  237. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  238. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  239. package/dist/store/reducers/storage/storage.d.ts +3 -3
  240. package/dist/store/reducers/storage/types.d.ts +15 -0
  241. package/dist/store/reducers/storage/types.js.map +1 -1
  242. package/dist/store/reducers/tableData.d.ts +14 -0
  243. package/dist/store/reducers/tableData.js +25 -0
  244. package/dist/store/reducers/tableData.js.map +1 -0
  245. package/dist/store/reducers/tablet.d.ts +19 -3
  246. package/dist/store/reducers/tablet.js +82 -13
  247. package/dist/store/reducers/tablet.js.map +1 -1
  248. package/dist/store/reducers/tablets.d.ts +15 -23
  249. package/dist/store/reducers/tablets.js +2 -20
  250. package/dist/store/reducers/tablets.js.map +1 -1
  251. package/dist/store/reducers/tabletsFilters.d.ts +1 -2
  252. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  253. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  254. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  255. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  256. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  257. package/dist/store/reducers/tenants/selectors.d.ts +27 -36
  258. package/dist/store/reducers/tenants/selectors.js +1 -1
  259. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  260. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  261. package/dist/store/reducers/topic.d.ts +44 -59
  262. package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
  263. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  264. package/dist/styles/mixins.scss +0 -5
  265. package/dist/types/api/capabilities.d.ts +1 -1
  266. package/dist/types/api/schema/shared.d.ts +1 -3
  267. package/dist/types/api/schema/shared.js.map +1 -1
  268. package/dist/types/api/schema/table.d.ts +2 -0
  269. package/dist/types/api/schema/table.js.map +1 -1
  270. package/dist/types/api/tablet.d.ts +22 -0
  271. package/dist/types/store/executeQuery.d.ts +5 -2
  272. package/dist/types/store/tablets.d.ts +1 -0
  273. package/dist/utils/constants.d.ts +1 -2
  274. package/dist/utils/constants.js +1 -2
  275. package/dist/utils/constants.js.map +1 -1
  276. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  277. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  278. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  279. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  280. package/dist/utils/developerUI/developerUI.js +3 -2
  281. package/dist/utils/developerUI/developerUI.js.map +1 -1
  282. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  283. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  284. package/package.json +4 -3
  285. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  286. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  287. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  288. package/dist/components/PaginatedTable/reducer.js +0 -104
  289. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  290. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  291. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  292. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  293. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  294. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  295. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  296. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  297. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  298. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  299. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  300. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  301. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  302. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  303. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  304. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  305. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -65,18 +65,27 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
65
65
  }
66
66
  getNodes({ visibleEntities, type = 'any', tablets = false, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
67
67
  const sort = prepareSortValue(sortValue, sortOrder);
68
- return this.get(this.getPath('/viewer/json/nodes?enums=true'), { with: visibleEntities, type, tablets, sort, database: params.tenant, ...params }, { concurrentId, requestConfig: { signal } });
68
+ return this.get(this.getPath('/viewer/json/nodes?enums=true'), {
69
+ with: visibleEntities,
70
+ type,
71
+ tablets,
72
+ sort,
73
+ ...params,
74
+ // TODO: remove after remove tenant param
75
+ database: params.database || params.tenant,
76
+ tenant: params.tenant || params.database,
77
+ }, { concurrentId, requestConfig: { signal } });
69
78
  }
70
79
  /** @deprecated use getNodes instead */
71
80
  getCompute({ sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
72
81
  const sort = prepareSortValue(sortValue, sortOrder);
73
82
  return this.get(this.getPath('/viewer/json/compute?enums=true'), { sort, ...params }, { concurrentId, requestConfig: { signal } });
74
83
  }
75
- getStorageInfo({ tenant, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
84
+ getStorageInfo({ tenant, database, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
76
85
  const sort = prepareSortValue(sortValue, sortOrder);
77
86
  return this.get(this.getPath(`/viewer/json/storage?enums=true`), {
78
- database: tenant,
79
- tenant,
87
+ database: database || tenant,
88
+ tenant: tenant || database,
80
89
  node_id: nodeId,
81
90
  pool: poolName,
82
91
  group_id: groupId,
@@ -180,18 +189,20 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
180
189
  consumer,
181
190
  }, { concurrentId: concurrentId || 'getConsumer', requestConfig: { signal } });
182
191
  }
183
- getTablet({ id }, { concurrentId, signal } = {}) {
192
+ getTablet({ id, database }, { concurrentId, signal } = {}) {
184
193
  return this.get(this.getPath(`/viewer/json/tabletinfo?filter=(TabletId=${id})`), {
185
194
  enums: true,
195
+ database,
186
196
  }, {
187
197
  concurrentId,
188
198
  requestConfig: { signal },
189
199
  });
190
200
  }
191
- getTabletHistory({ id }, { concurrentId, signal } = {}) {
201
+ getTabletHistory({ id, database }, { concurrentId, signal } = {}) {
192
202
  return this.get(this.getPath(`/viewer/json/tabletinfo?filter=(TabletId=${id})`), {
193
203
  enums: true,
194
204
  merge: false,
205
+ database,
195
206
  }, {
196
207
  concurrentId,
197
208
  requestConfig: { signal },
@@ -222,7 +233,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
222
233
  const base64 = !settingsManager.readUserSettingsValue(BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, true);
223
234
  // FIXME: after backend fix
224
235
  const { schema, ...rest } = params;
225
- return this.post(this.getPath('/viewer/json/query'), { ...rest, base64 }, { schema }, {
236
+ // FIXME: base64 is passed both to params and body to work on versions before and after 24-3
237
+ return this.post(this.getPath('/viewer/json/query'), { ...rest, base64 }, { schema, base64 }, {
226
238
  concurrentId,
227
239
  timeout: params.timeout,
228
240
  requestConfig: {
@@ -275,6 +287,16 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
275
287
  resumeTablet(id, hiveId) {
276
288
  return this.get(this.getPath(`/tablets/app?TabletID=${hiveId}&page=ResumeTablet&tablet=${id}`), {}, { requestConfig: { 'axios-retry': { retries: 0 } } });
277
289
  }
290
+ getTabletFromHive({ id, hiveId }, { concurrentId, signal } = {}) {
291
+ return this.get(this.getPath('/tablets/app'), {
292
+ TabletID: hiveId,
293
+ page: 'TabletInfo',
294
+ tablet: id,
295
+ }, {
296
+ concurrentId,
297
+ requestConfig: { signal },
298
+ });
299
+ }
278
300
  getTabletDescribe(tenantId, { concurrentId, signal } = {}) {
279
301
  return this.get(this.getPath('/viewer/json/describe'), {
280
302
  schemeshard_id: tenantId === null || tenantId === void 0 ? void 0 : tenantId.SchemeShard,
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAyCzE,OAAO,EAAC,iCAAiC,EAAC,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAQ3C,MAAM,OAAO,cAAe,SAAQ,YAAY;IAG5C,YAAY,OAA6B;QACrC,KAAK,CAAC,OAAO,CAAC,CAAC;QAHnB,0BAAqB,GAAG,CAAC,CAAC;QAKtB,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB;YACnC,UA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R,IAAI;SACP,EACD;YACI,aAAa,EAAE,EAAC,MAAM,EAAC;SAC1B,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAChD,cAAc,CAAC,WAAmB,EAAE,EAAC,MAAM,KAAkB,EAAE;QAC3D,OAAO,IAAI,CAAC,GAAG,CACX,GAAG,YAAY,IAAI,EAAE,eAAe,EACpC;YACI,IAAI,EAAE,WAAW;SACpB,EACD,EAAC,YAAY,EAAE,aAAa,WAAW,EAAE,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CACtE,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;IAED,UAAU,CAAC,WAAmB,EAAE,EAAC,YAAY,EAAE,MAAM,KAAkB,EAAE;QACrE,OAAO,IAAI,CAAC,GAAG,CACX,GAAG,YAAY,IAAI,EAAE,oBAAoB,EACzC;YACI,YAAY,EAAE,WAAW;SAC5B,EACD,EAAC,YAAY,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC1C,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -18,12 +18,11 @@ export declare const DEFAULT_USER_SETTINGS: {
18
18
  readonly autocompleteOnEnter: true;
19
19
  readonly isHotKeysHelpHidden: false;
20
20
  readonly "auto-refresh-interval": 0;
21
- readonly enableTracingLevel: false;
22
21
  readonly showDomainDatabase: false;
23
22
  readonly last_query_execution_settings: undefined;
24
23
  readonly querySettingsBannerLastClosed: undefined;
25
24
  readonly queryExecutionSettings: {
26
- queryMode: "script";
25
+ queryMode: "query";
27
26
  isolationLevel: "serializable-read-write";
28
27
  timeout: string;
29
28
  statisticsMode: "none";
@@ -1,5 +1,5 @@
1
1
  import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
2
- import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, ENABLE_TRACING_LEVEL_KEY, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
2
+ import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
3
3
  import { QUERY_ACTIONS } from '../utils/query';
4
4
  import { parseJson } from '../utils/utils';
5
5
  /** User settings keys and their default values */
@@ -21,7 +21,6 @@ export const DEFAULT_USER_SETTINGS = {
21
21
  [AUTOCOMPLETE_ON_ENTER]: true,
22
22
  [IS_HOTKEYS_HELP_HIDDEN_KEY]: false,
23
23
  [AUTO_REFRESH_INTERVAL]: 0,
24
- [ENABLE_TRACING_LEVEL_KEY]: false,
25
24
  [SHOW_DOMAIN_DATABASE_KEY]: false,
26
25
  [LAST_QUERY_EXECUTION_SETTINGS_KEY]: undefined,
27
26
  [QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY]: undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,g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eAAe,CAAC,GAAG,CAAC,mCAAI,YAAY,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,GAAW,EAAE,KAAc;QAC5C,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;CA+BJ;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC"}
@@ -6,12 +6,11 @@ export declare const customBackend: string | undefined;
6
6
  export declare const metaBackend: string | undefined;
7
7
  export declare function configureStore({ aRootReducer, singleClusterMode, api, }?: {
8
8
  aRootReducer?: Reducer<{
9
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
9
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
10
10
  singleClusterMode: boolean;
11
11
  cluster: import("./reducers/cluster/types").ClusterState;
12
12
  tenant: import("./reducers/tenant/types").TenantState;
13
13
  tooltip: import("../types/store/tooltip").ITooltipState;
14
- tablets: import("../types/store/tablets").TabletsState;
15
14
  schema: import("./reducers/schema/types").SchemaState;
16
15
  tenants: import("./reducers/tenants/types").TenantsState;
17
16
  partitions: import("./reducers/partitions/types").PartitionsState;
@@ -37,12 +36,11 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
37
36
  } | {
38
37
  readonly type: "DISABLE_FULLSCREEN_MODE";
39
38
  } | Action<string>, Partial<{
40
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api"> | undefined;
39
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api"> | undefined;
41
40
  singleClusterMode: boolean | undefined;
42
41
  cluster: import("./reducers/cluster/types").ClusterState | undefined;
43
42
  tenant: import("./reducers/tenant/types").TenantState | undefined;
44
43
  tooltip: never;
45
- tablets: import("../types/store/tablets").TabletsState | undefined;
46
44
  schema: never;
47
45
  tenants: import("./reducers/tenants/types").TenantsState | undefined;
48
46
  partitions: import("./reducers/partitions/types").PartitionsState | undefined;
@@ -62,12 +60,11 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
62
60
  }): {
63
61
  history: History<unknown>;
64
62
  store: import("@reduxjs/toolkit").EnhancedStore<{
65
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
63
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
66
64
  singleClusterMode: boolean;
67
65
  cluster: import("./reducers/cluster/types").ClusterState;
68
66
  tenant: import("./reducers/tenant/types").TenantState;
69
67
  tooltip: import("../types/store/tooltip").ITooltipState;
70
- tablets: import("../types/store/tablets").TabletsState;
71
68
  schema: import("./reducers/schema/types").SchemaState;
72
69
  tenants: import("./reducers/tenants/types").TenantsState;
73
70
  partitions: import("./reducers/partitions/types").PartitionsState;
@@ -94,12 +91,11 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
94
91
  readonly type: "DISABLE_FULLSCREEN_MODE";
95
92
  } | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
96
93
  dispatch: import("redux-thunk").ThunkDispatch<{
97
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
94
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
98
95
  singleClusterMode: boolean;
99
96
  cluster: import("./reducers/cluster/types").ClusterState;
100
97
  tenant: import("./reducers/tenant/types").TenantState;
101
98
  tooltip: import("../types/store/tooltip").ITooltipState;
102
- tablets: import("../types/store/tablets").TabletsState;
103
99
  schema: import("./reducers/schema/types").SchemaState;
104
100
  tenants: import("./reducers/tenants/types").TenantsState;
105
101
  partitions: import("./reducers/partitions/types").PartitionsState;
@@ -1,10 +1,9 @@
1
1
  export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
2
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
3
3
  singleClusterMode: boolean;
4
4
  cluster: import("./reducers/cluster/types").ClusterState;
5
5
  tenant: import("./reducers/tenant/types").TenantState;
6
6
  tooltip: import("../types/store/tooltip").ITooltipState;
7
- tablets: import("../types/store/tablets").TabletsState;
8
7
  schema: import("./reducers/schema/types").SchemaState;
9
8
  tenants: import("./reducers/tenants/types").TenantsState;
10
9
  partitions: import("./reducers/partitions/types").PartitionsState;
@@ -31,12 +30,11 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
31
30
  readonly type: "DISABLE_FULLSCREEN_MODE";
32
31
  } | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
33
32
  dispatch: import("redux-thunk").ThunkDispatch<{
34
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
33
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
35
34
  singleClusterMode: boolean;
36
35
  cluster: import("./reducers/cluster/types").ClusterState;
37
36
  tenant: import("./reducers/tenant/types").TenantState;
38
37
  tooltip: import("../types/store/tooltip").ITooltipState;
39
- tablets: import("../types/store/tablets").TabletsState;
40
38
  schema: import("./reducers/schema/types").SchemaState;
41
39
  tenants: import("./reducers/tenants/types").TenantsState;
42
40
  partitions: import("./reducers/partitions/types").PartitionsState;
@@ -1,3 +1,3 @@
1
1
  import type { BaseQueryFn } from '@reduxjs/toolkit/query';
2
- export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
2
+ export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
3
3
  export declare const _NEVER: unique symbol;
@@ -7,7 +7,7 @@ export const api = createApi({
7
7
  */
8
8
  endpoints: () => ({}),
9
9
  invalidationBehavior: 'immediately',
10
- tagTypes: ['All', 'PDiskData', 'UserData', 'PreviewData'],
10
+ tagTypes: ['All', 'PDiskData', 'UserData', 'PreviewData', 'Tablet'],
11
11
  });
12
12
  export const _NEVER = Symbol();
13
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,CAAC;CAC5D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC;AAG/B;;;;;GAKG;AACH,SAAS,aAAa;IAClB,OAAO;QACH,MAAM,IAAI,KAAK,CACX,+FAA+F,CAClG,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,CAAC;CACtE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC;AAG/B;;;;;GAKG;AACH,SAAS,aAAa;IAClB,OAAO;QACH,MAAM,IAAI,KAAK,CACX,+FAA+F,CAClG,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
@@ -29,10 +29,10 @@ export declare const selectIsUserAllowedToMakeChanges: import("reselect").Select
29
29
  unwrapped: (state: AuthenticationState) => string | undefined;
30
30
  };
31
31
  export declare const authenticationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
32
- whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", TUserToken | undefined, "api">;
32
+ whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", TUserToken | undefined, "api">;
33
33
  authenticate: import("@reduxjs/toolkit/query").MutationDefinition<{
34
34
  user: string;
35
35
  password: string;
36
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
37
- logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
38
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
36
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", any, "api">;
37
+ logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", any, "api">;
38
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,6 +3,6 @@ interface SendQueryParams extends Omit<QueryRequestParams, 'query'> {
3
3
  queryId: string;
4
4
  }
5
5
  export declare const cancelQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
6
- cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
7
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
+ cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IQueryResult, "api">;
7
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
8
8
  export {};
@@ -1,15 +1,14 @@
1
1
  import type { Capability } from '../../../types/api/capabilities';
2
2
  import type { RootState } from '../../defaultStore';
3
3
  export declare const capabilitiesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, {
4
- getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
5
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
4
+ getClusterCapabilities: 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/capabilities").CapabilitiesResponse | undefined, "api">;
5
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
6
  export declare const selectCapabilityVersion: ((state: {
7
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
7
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
8
8
  singleClusterMode: boolean;
9
9
  cluster: import("../cluster/types").ClusterState;
10
10
  tenant: import("../tenant/types").TenantState;
11
11
  tooltip: import("../../../types/store/tooltip").ITooltipState;
12
- tablets: import("../../../types/store/tablets").TabletsState;
13
12
  schema: import("../schema/types").SchemaState;
14
13
  tenants: import("../tenants/types").TenantsState;
15
14
  partitions: import("../partitions/types").PartitionsState;
@@ -29,12 +28,11 @@ export declare const selectCapabilityVersion: ((state: {
29
28
  resetResultsCount: () => void;
30
29
  } & {
31
30
  resultFunc: (resultFuncArgs_0: {
32
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
31
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
33
32
  singleClusterMode: boolean;
34
33
  cluster: import("../cluster/types").ClusterState;
35
34
  tenant: import("../tenant/types").TenantState;
36
35
  tooltip: import("../../../types/store/tooltip").ITooltipState;
37
- tablets: import("../../../types/store/tablets").TabletsState;
38
36
  schema: import("../schema/types").SchemaState;
39
37
  tenants: import("../tenants/types").TenantsState;
40
38
  partitions: import("../partitions/types").PartitionsState;
@@ -50,12 +48,11 @@ export declare const selectCapabilityVersion: ((state: {
50
48
  clusters: import("../clusters/types").ClustersFilters;
51
49
  }, resultFuncArgs_1: Capability) => number | undefined;
52
50
  memoizedResultFunc: ((resultFuncArgs_0: {
53
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
51
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
54
52
  singleClusterMode: boolean;
55
53
  cluster: import("../cluster/types").ClusterState;
56
54
  tenant: import("../tenant/types").TenantState;
57
55
  tooltip: import("../../../types/store/tooltip").ITooltipState;
58
- tablets: import("../../../types/store/tablets").TabletsState;
59
56
  schema: import("../schema/types").SchemaState;
60
57
  tenants: import("../tenants/types").TenantsState;
61
58
  partitions: import("../partitions/types").PartitionsState;
@@ -76,12 +73,11 @@ export declare const selectCapabilityVersion: ((state: {
76
73
  };
77
74
  lastResult: () => number | undefined;
78
75
  dependencies: [(state: RootState) => {
79
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
76
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", "api">;
80
77
  singleClusterMode: boolean;
81
78
  cluster: import("../cluster/types").ClusterState;
82
79
  tenant: import("../tenant/types").TenantState;
83
80
  tooltip: import("../../../types/store/tooltip").ITooltipState;
84
- tablets: import("../../../types/store/tablets").TabletsState;
85
81
  schema: import("../schema/types").SchemaState;
86
82
  tenants: import("../tenants/types").TenantsState;
87
83
  partitions: import("../partitions/types").PartitionsState;
@@ -1,2 +1,3 @@
1
1
  export declare const useCreateDirectoryFeatureAvailable: () => boolean;
2
2
  export declare const useDiskPagesAvailable: () => boolean;
3
+ export declare const useTracingLevelOptionAvailable: () => boolean;
@@ -11,4 +11,7 @@ export const useDiskPagesAvailable = () => {
11
11
  // It's enough to check only pdisk handler
12
12
  return useGetFeatureVersion('/pdisk/info') > 0;
13
13
  };
14
+ export const useTracingLevelOptionAvailable = () => {
15
+ return useGetFeatureVersion('/viewer/query') > 2;
16
+ };
14
17
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAEvD,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,iFAAiF;IACjF,0CAA0C;IAC1C,OAAO,oBAAoB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,CAAC,CAAC"}
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAEvD,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,iFAAiF;IACjF,0CAA0C;IAC1C,OAAO,oBAAoB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC,CAAC"}
@@ -5,8 +5,8 @@ export declare function updateDefaultClusterTab(tab: string): (dispatch: Dispatc
5
5
  declare const _default: import("redux").Reducer<ClusterState>;
6
6
  export default _default;
7
7
  export declare const clusterApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
8
- getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
8
+ getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", {
9
9
  clusterData: TClusterInfo;
10
10
  groupsStats?: ClusterGroupsStats;
11
11
  }, "api">;
12
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
12
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -1,5 +1,5 @@
1
1
  import type { PreparedNodeSystemState } from '../../../utils/nodes';
2
2
  export type PreparedClusterNode = PreparedNodeSystemState;
3
3
  export declare const clusterNodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
4
- getClusterNodes: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedNodeSystemState[] | undefined, "api">;
5
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
4
+ getClusterNodes: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", PreparedNodeSystemState[] | undefined, "api">;
5
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,5 +3,5 @@ declare const _default: import("redux").Reducer<ClustersFilters>;
3
3
  export default _default;
4
4
  export declare const changeClustersFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ClustersFilters>, "clusters/changeClustersFilters">;
5
5
  export declare const clustersApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
6
- getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedCluster[] | undefined, "api">;
7
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
+ getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedCluster[] | undefined, "api">;
7
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -3,5 +3,5 @@ export declare const describeApi: import("@reduxjs/toolkit/query").Api<import("@
3
3
  getDescribe: import("@reduxjs/toolkit/query").QueryDefinition<{
4
4
  paths: string[];
5
5
  database: string;
6
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IDescribeData | undefined, "api">;
7
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
6
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IDescribeData | undefined, "api">;
7
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -9,12 +9,26 @@ interface SendQueryParams extends QueryRequestParams {
9
9
  schema?: Schemas;
10
10
  enableTracingLevel?: boolean;
11
11
  }
12
+ interface QueryStats {
13
+ durationUs?: string | number;
14
+ endTime?: string | number;
15
+ }
12
16
  export declare const executeQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
13
- executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
14
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
15
- export declare const saveQueryToHistory: (queryText: string) => {
17
+ executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", IQueryResult, "api">;
18
+ }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
19
+ export declare const saveQueryToHistory: (queryText: string, queryId: string) => {
16
20
  readonly type: "query/SAVE_QUERY_TO_HISTORY";
17
- readonly data: string;
21
+ readonly data: {
22
+ readonly queryText: string;
23
+ readonly queryId: string;
24
+ };
25
+ };
26
+ export declare function updateQueryInHistory(stats: QueryStats, queryId: string): {
27
+ readonly type: "query/UPDATE_QUERY_IN_HISTORY";
28
+ readonly data: {
29
+ readonly queryId: string;
30
+ readonly stats: QueryStats;
31
+ };
18
32
  };
19
33
  export declare const goToPreviousQuery: () => {
20
34
  readonly type: "query/GO_TO_PREVIOUS_QUERY";
@@ -7,6 +7,7 @@ import { api } from './api';
7
7
  const MAXIMUM_QUERIES_IN_HISTORY = 20;
8
8
  const CHANGE_USER_INPUT = 'query/CHANGE_USER_INPUT';
9
9
  const SAVE_QUERY_TO_HISTORY = 'query/SAVE_QUERY_TO_HISTORY';
10
+ const UPDATE_QUERY_IN_HISTORY = 'query/UPDATE_QUERY_IN_HISTORY';
10
11
  const SET_QUERY_HISTORY_FILTER = 'query/SET_QUERY_HISTORY_FILTER';
11
12
  const GO_TO_PREVIOUS_QUERY = 'query/GO_TO_PREVIOUS_QUERY';
12
13
  const GO_TO_NEXT_QUERY = 'query/GO_TO_NEXT_QUERY';
@@ -35,8 +36,8 @@ const executeQuery = (state = initialState, action) => {
35
36
  };
36
37
  }
37
38
  case SAVE_QUERY_TO_HISTORY: {
38
- const queryText = action.data;
39
- const newQueries = [...state.history.queries, { queryText }].slice(state.history.queries.length >= MAXIMUM_QUERIES_IN_HISTORY ? 1 : 0);
39
+ const { queryText, queryId } = action.data;
40
+ const newQueries = [...state.history.queries, { queryText, queryId }].slice(state.history.queries.length >= MAXIMUM_QUERIES_IN_HISTORY ? 1 : 0);
40
41
  settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
41
42
  const currentIndex = newQueries.length - 1;
42
43
  return {
@@ -47,6 +48,31 @@ const executeQuery = (state = initialState, action) => {
47
48
  },
48
49
  };
49
50
  }
51
+ case UPDATE_QUERY_IN_HISTORY: {
52
+ const { queryId, stats } = action.data;
53
+ if (!stats) {
54
+ return state;
55
+ }
56
+ const index = state.history.queries.findIndex((item) => item.queryId === queryId);
57
+ if (index === -1) {
58
+ return state;
59
+ }
60
+ const newQueries = [...state.history.queries];
61
+ const { durationUs, endTime } = stats;
62
+ newQueries.splice(index, 1, {
63
+ ...state.history.queries[index],
64
+ durationUs,
65
+ endTime,
66
+ });
67
+ settingsManager.setUserSettingsValue(QUERIES_HISTORY_KEY, newQueries);
68
+ return {
69
+ ...state,
70
+ history: {
71
+ ...state.history,
72
+ queries: newQueries,
73
+ },
74
+ };
75
+ }
50
76
  case GO_TO_PREVIOUS_QUERY: {
51
77
  const currentIndex = state.history.currentIndex;
52
78
  if (currentIndex <= 0) {
@@ -102,7 +128,7 @@ const executeQuery = (state = initialState, action) => {
102
128
  export const executeQueryApi = api.injectEndpoints({
103
129
  endpoints: (build) => ({
104
130
  executeQuery: build.mutation({
105
- queryFn: async ({ query, database, querySettings = {}, schema = 'modern', enableTracingLevel, queryId, }, { signal }) => {
131
+ queryFn: async ({ query, database, querySettings = {}, schema = 'modern', enableTracingLevel, queryId, }, { signal, dispatch }) => {
106
132
  let action = 'execute';
107
133
  let syntax = QUERY_SYNTAX.yql;
108
134
  if (querySettings.queryMode === 'pg') {
@@ -113,6 +139,7 @@ export const executeQueryApi = api.injectEndpoints({
113
139
  action = `execute-${querySettings.queryMode}`;
114
140
  }
115
141
  try {
142
+ const timeStart = Date.now();
116
143
  const response = await window.api.sendQuery({
117
144
  schema,
118
145
  query,
@@ -133,6 +160,18 @@ export const executeQueryApi = api.injectEndpoints({
133
160
  return { error: response };
134
161
  }
135
162
  const data = parseQueryAPIExecuteResponse(response);
163
+ const queryStats = {};
164
+ if (data.stats) {
165
+ const { DurationUs, Executions: [{ FinishTimeMs }] = [{}] } = data.stats;
166
+ queryStats.durationUs = DurationUs;
167
+ queryStats.endTime = FinishTimeMs;
168
+ }
169
+ else {
170
+ const now = Date.now();
171
+ queryStats.durationUs = (now - timeStart) * 1000;
172
+ queryStats.endTime = now;
173
+ }
174
+ dispatch(updateQueryInHistory(queryStats, queryId));
136
175
  return { data };
137
176
  }
138
177
  catch (error) {
@@ -143,12 +182,18 @@ export const executeQueryApi = api.injectEndpoints({
143
182
  }),
144
183
  overrideExisting: 'throw',
145
184
  });
146
- export const saveQueryToHistory = (queryText) => {
185
+ export const saveQueryToHistory = (queryText, queryId) => {
147
186
  return {
148
187
  type: SAVE_QUERY_TO_HISTORY,
149
- data: queryText,
188
+ data: { queryText, queryId },
150
189
  };
151
190
  };
191
+ export function updateQueryInHistory(stats, queryId) {
192
+ return {
193
+ type: UPDATE_QUERY_IN_HISTORY,
194
+ data: { queryId, stats },
195
+ };
196
+ }
152
197
  export const goToPreviousQuery = () => {
153
198
  return {
154
199
  type: GO_TO_PREVIOUS_QUERY,