ydb-embedded-ui 6.37.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. package/dist/components/BasicNodeViewer/BasicNodeViewer.scss +2 -2
  2. package/dist/components/DeveloperUILinkButton/DeveloperUILinkButton.scss +2 -2
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +2 -2
  4. package/dist/components/EmptyState/EmptyState.scss +4 -4
  5. package/dist/components/EntityPageTitle/EntityPageTitle.scss +2 -2
  6. package/dist/components/EntityStatus/EntityStatus.scss +4 -4
  7. package/dist/components/ErrorBoundary/ErrorBoundary.scss +3 -3
  8. package/dist/components/FullNodeViewer/FullNodeViewer.scss +2 -2
  9. package/dist/components/Fullscreen/Fullscreen.js +1 -1
  10. package/dist/components/Fullscreen/Fullscreen.js.map +1 -1
  11. package/dist/components/Fullscreen/Fullscreen.scss +8 -1
  12. package/dist/components/MemoryViewer/MemoryViewer.js +8 -7
  13. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  14. package/dist/components/MemoryViewer/MemoryViewer.scss +0 -2
  15. package/dist/components/MemoryViewer/utils.d.ts +3 -1
  16. package/dist/components/MemoryViewer/utils.js +15 -13
  17. package/dist/components/MemoryViewer/utils.js.map +1 -1
  18. package/dist/components/MetricChart/getChartData.js +1 -1
  19. package/dist/components/MetricChart/getChartData.js.map +1 -1
  20. package/dist/components/PageMeta/PageMeta.scss +2 -2
  21. package/dist/components/PaginatedTable/PaginatedTable.scss +4 -4
  22. package/dist/components/PoolUsage/PoolUsage.scss +2 -2
  23. package/dist/components/ProgressViewer/ProgressViewer.scss +2 -2
  24. package/dist/components/QueryResultTable/QueryResultTable.js +4 -3
  25. package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
  26. package/dist/components/QueryResultTable/QueryResultTable.scss +2 -2
  27. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +4 -4
  28. package/dist/components/User/User.scss +2 -2
  29. package/dist/components/YDBDefinitionList/YDBDefinitionList.scss +3 -3
  30. package/dist/components/nodesColumns/columns.js +1 -0
  31. package/dist/components/nodesColumns/columns.js.map +1 -1
  32. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  33. package/dist/containers/App/App.scss +7 -6
  34. package/dist/containers/AsideNavigation/AsideNavigation.js +11 -2
  35. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  36. package/dist/containers/Authentication/Authentication.scss +2 -2
  37. package/dist/containers/Cluster/Cluster.scss +4 -4
  38. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +2 -2
  39. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +2 -2
  40. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +2 -2
  41. package/dist/containers/Clusters/constants.d.ts +1 -1
  42. package/dist/containers/Header/Header.scss +0 -2
  43. package/dist/containers/Heatmap/Heatmap.scss +3 -3
  44. package/dist/containers/Node/Node.scss +4 -4
  45. package/dist/containers/Node/NodeStructure/NodeStructure.scss +3 -3
  46. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  47. package/dist/containers/Nodes/Nodes.js +12 -11
  48. package/dist/containers/Nodes/Nodes.js.map +1 -1
  49. package/dist/containers/Nodes/Nodes.scss +2 -2
  50. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +2 -1
  51. package/dist/containers/Nodes/NodesControls/NodesControls.js +7 -4
  52. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  53. package/dist/containers/Nodes/NodesTable.d.ts +3 -2
  54. package/dist/containers/Nodes/NodesTable.js +12 -2
  55. package/dist/containers/Nodes/NodesTable.js.map +1 -1
  56. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.d.ts +7 -0
  57. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js +9 -0
  58. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js.map +1 -0
  59. package/dist/containers/Nodes/PeerRoleFilter/utils.d.ts +4 -0
  60. package/dist/containers/Nodes/PeerRoleFilter/utils.js +20 -0
  61. package/dist/containers/Nodes/PeerRoleFilter/utils.js.map +1 -0
  62. package/dist/containers/Nodes/columns/columns.js +4 -4
  63. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  64. package/dist/containers/Nodes/columns/constants.js +3 -6
  65. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  66. package/dist/containers/Nodes/getNodes.js +3 -2
  67. package/dist/containers/Nodes/getNodes.js.map +1 -1
  68. package/dist/containers/Nodes/i18n/en.json +6 -1
  69. package/dist/containers/Nodes/i18n/index.d.ts +1 -1
  70. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -1
  71. package/dist/containers/Nodes/useNodesPageQueryParams.js +8 -0
  72. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  74. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskPage.scss +2 -2
  76. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +2 -2
  77. package/dist/containers/Storage/Storage.scss +2 -2
  78. package/dist/containers/Storage/StorageGroups/columns/constants.js +0 -5
  79. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  80. package/dist/containers/Storage/StorageNodes/columns/columns.js +6 -6
  81. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  82. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -3
  83. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  84. package/dist/containers/Storage/StorageNodes/getNodes.js +1 -1
  85. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  86. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +2 -2
  87. package/dist/containers/Tablet/Tablet.scss +2 -2
  88. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +2 -2
  89. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +4 -4
  90. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  91. package/dist/containers/Tenant/Acl/Acl.scss +3 -3
  92. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.scss +6 -6
  93. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +2 -2
  94. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +2 -2
  95. package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +2 -2
  96. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.scss +0 -2
  97. package/dist/containers/Tenant/Diagnostics/Network/Network.scss +6 -6
  98. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +1 -1
  99. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -1
  100. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationPaths/AsyncReplicationPaths.scss +2 -2
  101. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.scss +2 -2
  102. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.scss +2 -2
  103. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.scss +6 -6
  104. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +2 -2
  105. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +2 -2
  106. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +2 -2
  107. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +2 -2
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  109. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss +3 -3
  110. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +1 -0
  111. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
  112. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.scss +0 -2
  113. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -3
  114. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +2 -2
  115. package/dist/containers/Tenant/Query/Preview/Preview.js +11 -5
  116. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  117. package/dist/containers/Tenant/Query/Preview/Preview.scss +4 -3
  118. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.scss +3 -3
  119. package/dist/containers/Tenant/Query/Query.scss +2 -2
  120. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +2 -2
  121. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +2 -2
  122. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.scss +2 -2
  123. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +4 -4
  124. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +3 -3
  125. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  126. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  127. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +3 -3
  128. package/dist/containers/Tenant/Tenant.scss +3 -3
  129. package/dist/containers/Tenants/Tenants.scss +2 -2
  130. package/dist/containers/VDiskPage/VDiskPage.js +1 -1
  131. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  132. package/dist/containers/VDiskPage/VDiskPage.scss +2 -2
  133. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
  134. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  135. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.scss +2 -5
  136. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
  137. package/dist/containers/Versions/NodesTable/NodesTable.js +16 -85
  138. package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
  139. package/dist/containers/Versions/Versions.scss +0 -2
  140. package/dist/containers/Versions/groupNodes.d.ts +4 -4
  141. package/dist/containers/Versions/groupNodes.js.map +1 -1
  142. package/dist/containers/Versions/types.d.ts +2 -2
  143. package/dist/lib.d.ts +1 -1
  144. package/dist/lib.js +1 -1
  145. package/dist/lib.js.map +1 -1
  146. package/dist/services/api/auth.d.ts +8 -0
  147. package/dist/services/api/auth.js +10 -0
  148. package/dist/services/api/auth.js.map +1 -0
  149. package/dist/services/api/base.d.ts +13 -0
  150. package/dist/services/api/base.js +57 -0
  151. package/dist/services/api/base.js.map +1 -0
  152. package/dist/services/api/index.d.ts +31 -0
  153. package/dist/services/api/index.js +32 -0
  154. package/dist/services/api/index.js.map +1 -0
  155. package/dist/services/api/meta.d.ts +12 -0
  156. package/dist/services/api/meta.js +30 -0
  157. package/dist/services/api/meta.js.map +1 -0
  158. package/dist/services/api/operation.d.ts +8 -0
  159. package/dist/services/api/operation.js +22 -0
  160. package/dist/services/api/operation.js.map +1 -0
  161. package/dist/services/api/pdisk.d.ts +25 -0
  162. package/dist/services/api/pdisk.js +43 -0
  163. package/dist/services/api/pdisk.js.map +1 -0
  164. package/dist/services/api/scheme.d.ts +11 -0
  165. package/dist/services/api/scheme.js +12 -0
  166. package/dist/services/api/scheme.js.map +1 -0
  167. package/dist/services/api/storage.d.ts +6 -0
  168. package/dist/services/api/storage.js +28 -0
  169. package/dist/services/api/storage.js.map +1 -0
  170. package/dist/services/api/tablets.d.ts +21 -0
  171. package/dist/services/api/tablets.js +44 -0
  172. package/dist/services/api/tablets.js.map +1 -0
  173. package/dist/services/api/trace.d.ts +7 -0
  174. package/dist/services/api/trace.js +33 -0
  175. package/dist/services/api/trace.js.map +1 -0
  176. package/dist/services/api/vdisk.d.ts +12 -0
  177. package/dist/services/api/vdisk.js +16 -0
  178. package/dist/services/api/vdisk.js.map +1 -0
  179. package/dist/services/api/viewer.d.ts +129 -0
  180. package/dist/services/api/viewer.js +251 -0
  181. package/dist/services/api/viewer.js.map +1 -0
  182. package/dist/store/reducers/authentication/authentication.js +3 -3
  183. package/dist/store/reducers/authentication/authentication.js.map +1 -1
  184. package/dist/store/reducers/cancelQuery.js +1 -1
  185. package/dist/store/reducers/cancelQuery.js.map +1 -1
  186. package/dist/store/reducers/capabilities/capabilities.js +1 -1
  187. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  188. package/dist/store/reducers/capabilities/hooks.js +1 -1
  189. package/dist/store/reducers/cluster/cluster.js +8 -3
  190. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  191. package/dist/store/reducers/clusters/clusters.js +7 -2
  192. package/dist/store/reducers/clusters/clusters.js.map +1 -1
  193. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +2 -2
  194. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  195. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
  196. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
  197. package/dist/store/reducers/heatmap.js +2 -2
  198. package/dist/store/reducers/heatmap.js.map +1 -1
  199. package/dist/store/reducers/hotKeys/hotKeys.js +2 -2
  200. package/dist/store/reducers/hotKeys/hotKeys.js.map +1 -1
  201. package/dist/store/reducers/network/network.js +1 -1
  202. package/dist/store/reducers/network/network.js.map +1 -1
  203. package/dist/store/reducers/node/node.js +2 -2
  204. package/dist/store/reducers/node/node.js.map +1 -1
  205. package/dist/store/reducers/nodes/nodes.js +1 -1
  206. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  207. package/dist/store/reducers/nodes/types.d.ts +2 -1
  208. package/dist/store/reducers/nodesList.js +1 -1
  209. package/dist/store/reducers/nodesList.js.map +1 -1
  210. package/dist/store/reducers/operations.js +3 -3
  211. package/dist/store/reducers/operations.js.map +1 -1
  212. package/dist/store/reducers/overview/overview.js +2 -2
  213. package/dist/store/reducers/overview/overview.js.map +1 -1
  214. package/dist/store/reducers/partitions/partitions.js +2 -2
  215. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  216. package/dist/store/reducers/pdisk/pdisk.js +3 -3
  217. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  218. package/dist/store/reducers/planToSvg.js +1 -1
  219. package/dist/store/reducers/planToSvg.js.map +1 -1
  220. package/dist/store/reducers/preview.d.ts +1 -0
  221. package/dist/store/reducers/preview.js +2 -2
  222. package/dist/store/reducers/preview.js.map +1 -1
  223. package/dist/store/reducers/query/query.js +1 -1
  224. package/dist/store/reducers/query/query.js.map +1 -1
  225. package/dist/store/reducers/schema/schema.js +2 -2
  226. package/dist/store/reducers/schema/schema.js.map +1 -1
  227. package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -1
  228. package/dist/store/reducers/schemaAcl/schemaAcl.js.map +1 -1
  229. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +1 -1
  230. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  231. package/dist/store/reducers/storage/requestStorageData.d.ts +1 -1
  232. package/dist/store/reducers/storage/requestStorageData.js +2 -2
  233. package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
  234. package/dist/store/reducers/storage/storage.js +1 -1
  235. package/dist/store/reducers/storage/storage.js.map +1 -1
  236. package/dist/store/reducers/tablet.js +10 -8
  237. package/dist/store/reducers/tablet.js.map +1 -1
  238. package/dist/store/reducers/tablets.js +1 -1
  239. package/dist/store/reducers/tablets.js.map +1 -1
  240. package/dist/store/reducers/tenant/tenant.js +2 -2
  241. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  242. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +1 -1
  243. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  244. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +1 -1
  245. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  246. package/dist/store/reducers/tenants/tenants.js +3 -1
  247. package/dist/store/reducers/tenants/tenants.js.map +1 -1
  248. package/dist/store/reducers/tooltip.d.ts +1 -1
  249. package/dist/store/reducers/topic.js +1 -1
  250. package/dist/store/reducers/topic.js.map +1 -1
  251. package/dist/store/reducers/trace.js +1 -1
  252. package/dist/store/reducers/trace.js.map +1 -1
  253. package/dist/store/reducers/vdisk/vdisk.js +3 -3
  254. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  255. package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
  256. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  257. package/dist/styles/mixins.scss +2 -1
  258. package/dist/styles/themes.scss +8 -8
  259. package/dist/types/api/nodes.d.ts +4 -1
  260. package/dist/types/api/nodes.js.map +1 -1
  261. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +2 -2
  262. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -1
  263. package/dist/utils/monaco/yql/generateSuggestions.js +6 -2
  264. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  265. package/dist/utils/query.d.ts +3 -3
  266. package/dist/utils/query.js +2 -2
  267. package/dist/utils/query.js.map +1 -1
  268. package/dist/utils/versions/getVersionsColors.d.ts +1 -1
  269. package/dist/utils/versions/getVersionsColors.js +3 -2
  270. package/dist/utils/versions/getVersionsColors.js.map +1 -1
  271. package/package.json +2 -2
  272. package/dist/services/api.d.ts +0 -219
  273. package/dist/services/api.js +0 -522
  274. package/dist/services/api.js.map +0 -1
@@ -27,7 +27,7 @@ export const schemaApi = api.injectEndpoints({
27
27
  createDirectory: builder.mutation({
28
28
  queryFn: async ({ database, path }, { signal }) => {
29
29
  try {
30
- const data = await window.api.createSchemaDirectory({ database, path }, { signal });
30
+ const data = await window.api.scheme.createSchemaDirectory({ database, path }, { signal });
31
31
  return { data };
32
32
  }
33
33
  catch (error) {
@@ -38,7 +38,7 @@ export const schemaApi = api.injectEndpoints({
38
38
  getSchema: builder.query({
39
39
  queryFn: async ({ path, database }, { signal }) => {
40
40
  try {
41
- const data = await window.api.getSchema({ path, database }, { signal });
41
+ const data = await window.api.viewer.getSchema({ path, database }, { signal });
42
42
  if (!data) {
43
43
  return { error: new Error('Schema is not available') };
44
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/store/reducers/schema/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,EAAE;IACR,iBAAiB,EAAE,SAAS;IAC5B,WAAW,EAAE,KAAK;CACrB,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,QAAQ;IACd,YAAY;IACZ,QAAQ,EAAE;QACN,cAAc,EAAE,CAAC,KAAK,EAAE,MAA8B,EAAE,EAAE;YACtD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;KACJ;IACD,SAAS,EAAE;QACP,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW;KAClD;CACJ,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,EAAC,cAAc,EAAC,GAAG,KAAK,CAAC,OAAO,CAAC;AAC9C,MAAM,CAAC,MAAM,EAAC,iBAAiB,EAAC,GAAG,KAAK,CAAC,SAAS,CAAC;AAEnD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC,eAAe,CAAC;IACzC,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,eAAe,EAAE,OAAO,CAAC,QAAQ,CAA4C;YACzE,OAAO,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gB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AAC,GAAG,EAAC,eAAe,EAAE,EAAC,IAAI,EAAE,KAAK,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;IAC3F,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAmC;IAChF,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAC,GAAG,SAAS,CAAC,iBAAiB,CAAC;QACxF,IAAI;QACJ,QAAQ;KACX,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,IAAI,CAAC,CAAC;IACjC,MAAM,SAAS,GAAG,UAAU,IAAI,IAAI,KAAK,SAAS,CAAC;IACnD,MAAM,gBAAgB,GAAG,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,IAAI,MAAK,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAEzE,MAAM,UAAU,GAAG,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAA,CAAC,CAAC;IACtE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,IAAI,UAAU,EAAE,CAAC;YACb,OAAO,EAAE,CAAC;QACd,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAEhC,OAAO,EAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,EAAC,CAAC;AACtD,CAAC"}
@@ -4,7 +4,7 @@ export const schemaAclApi = api.injectEndpoints({
4
4
  getSchemaAcl: build.query({
5
5
  queryFn: async ({ path, database }, { signal }) => {
6
6
  try {
7
- const data = await window.api.getSchemaAcl({ path, database }, { signal });
7
+ const data = await window.api.viewer.getSchemaAcl({ path, database }, { signal });
8
8
  return {
9
9
  data: {
10
10
  acl: data.Common.ACL,
@@ -1 +1 @@
1
- {"version":3,"file":"schemaAcl.js","sourceRoot":"","sources":["../../../../src/store/reducers/schemaAcl/schemaAcl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC;YACtB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAmC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC5E,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBACvE,OAAO;wBACH,IAAI,EAAE;4BACF,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG;4BACpB,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY;4BACtC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK;4BACxB,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB;yBACzD;qBACJ,CAAC;gBACN,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"schemaAcl.js","sourceRoot":"","sources":["../../../../src/store/reducers/schemaAcl/schemaAcl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC;YACtB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAmC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC5E,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC9E,OAAO;wBACH,IAAI,EAAE;4BACF,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG;4BACpB,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY;4BACtC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK;4BACxB,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB;yBACzD;qBACJ,CAAC;gBACN,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -89,7 +89,7 @@ export const shardApi = api.injectEndpoints({
89
89
  sendShardQuery: build.query({
90
90
  queryFn: async ({ database, path = '', sortOrder, filters }, { signal }) => {
91
91
  try {
92
- const response = await window.api.sendQuery({
92
+ const response = await window.api.viewer.sendQuery({
93
93
  query: (filters === null || filters === void 0 ? void 0 : filters.mode) === EShardsWorkloadMode.Immediate
94
94
  ? createShardQueryImmediate(path, sortOrder, database)
95
95
  : createShardQueryHistorical(path, filters, sortOrder, database),
@@ -1 +1 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,EACT,QAAQ,CACX;wBACX,QAAQ;wBACR,MAAM,EAAE,WAAW;qBACtB,EACD;wBACI,MAAM;wBACN,WAAW,EAAE,IAAI;qBACpB,CACJ,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAC7C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;YACrB,YAAY,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE;;gBAC3B,IAAI,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,MAAK,WAAW,EAAE,CAAC;oBAC5C,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,IACI,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,CAAC;oBACzC,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,EAAE,CAAC,EACzC,CAAC;oBACC,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,KAAK,CAAC;YACjB,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"shardsWorkload.js","sourceRoot":"","sources":["../../../../src/store/reducers/shardsWorkload/shardsWorkload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OA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AAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,MAAM,IAAI,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;oBAC7C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;YACrB,YAAY,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE;;gBAC3B,IAAI,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,MAAK,WAAW,EAAE,CAAC;oBAC5C,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,IACI,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,IAAI,CAAC;oBACzC,cAAc,CAAC,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,0CAAE,EAAE,CAAC,EACzC,CAAC;oBACC,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,KAAK,CAAC;YACjB,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AxiosOptions } from '../../../services/api';
1
+ import type { AxiosOptions } from '../../../services/api/base';
2
2
  import type { GroupsRequestParams, StorageRequestParams } from '../../../types/api/storage';
3
3
  export declare function requestStorageData({ version, shouldUseGroupsHandler, ...params }: StorageRequestParams & GroupsRequestParams & {
4
4
  shouldUseGroupsHandler?: boolean;
@@ -1,11 +1,11 @@
1
1
  import { prepareGroupsResponse, prepareStorageResponse } from './utils';
2
2
  export async function requestStorageData({ version = 'v2', shouldUseGroupsHandler, ...params }, options) {
3
3
  if (shouldUseGroupsHandler && version !== 'v1') {
4
- const result = await window.api.getStorageGroups({ ...params }, options);
4
+ const result = await window.api.storage.getStorageGroups({ ...params }, options);
5
5
  return prepareGroupsResponse(result);
6
6
  }
7
7
  else {
8
- const result = await window.api.getStorageInfo({ version, ...params }, options);
8
+ const result = await window.api.viewer.getStorageInfo({ version, ...params }, options);
9
9
  return prepareStorageResponse(result);
10
10
  }
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"requestStorageData.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/requestStorageData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAEtE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,EACI,OAAO,GAAG,IAAI,EACd,sBAAsB,EACtB,GAAG,MAAM,EACqE,EAClF,OAAsB;IAEtB,IAAI,sBAAsB,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAC,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;SAAM,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,EAAC,OAAO,EAAE,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QAC9E,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"requestStorageData.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/requestStorageData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAEtE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,EACI,OAAO,GAAG,IAAI,EACd,sBAAsB,EACtB,GAAG,MAAM,EACqE,EAClF,OAAsB;IAEtB,IAAI,sBAAsB,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAC,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QAC/E,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;SAAM,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAC,OAAO,EAAE,GAAG,MAAM,EAAC,EAAE,OAAO,CAAC,CAAC;QACrF,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACL,CAAC"}
@@ -6,7 +6,7 @@ export const storageApi = api.injectEndpoints({
6
6
  getStorageNodesInfo: builder.query({
7
7
  queryFn: async (params, { signal }) => {
8
8
  try {
9
- const result = await window.api.getNodes({ storage: true, type: 'static', ...params }, { signal });
9
+ const result = await window.api.viewer.getNodes({ storage: true, type: 'static', ...params }, { signal });
10
10
  return { data: prepareStorageNodesResponse(result) };
11
11
  }
12
12
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/storage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,2BAA2B,EAAC,MAAM,SAAS,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,mBAAmB,EAAE,OAAO,CAAC,KAAK,CAAC;YAC/B,OAAO,EAAE,KAAK,EAAE,MAAwC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAClE,IAAI,CAAC;oBACD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ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AAC;YAC/B,OAAO,EAAE,KAAK,EAAE,MAAwC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAClE,IAAI,CAAC;oBACD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAC3C,EAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAC,EAC1C,EAAC,MAAM,EAAC,CACX,CAAC;oBACF,OAAO,EAAC,IAAI,EAAE,2BAA2B,CAAC,MAAM,CAAC,EAAC,CAAC;gBACvD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;SACvC,CAAC;QACF,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAAC;YAChC,OAAO,EAAE,KAAK,EACV,MAC4D,EAC5D,EAAC,MAAM,EAAC,EACV,EAAE;gBACA,IAAI,CAAC;oBACD,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC1D,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;gBAC1B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;SACvC,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -6,9 +6,9 @@ export const tabletApi = api.injectEndpoints({
6
6
  queryFn: async ({ id, database }, { signal }) => {
7
7
  try {
8
8
  const [tabletResponseData, historyResponseData, nodesList] = await Promise.all([
9
- window.api.getTablet({ id, database }, { signal }),
10
- window.api.getTabletHistory({ id, database }, { signal }),
11
- window.api.getNodesList({ signal }),
9
+ window.api.viewer.getTablet({ id, database }, { signal }),
10
+ window.api.viewer.getTabletHistory({ id, database }, { signal }),
11
+ window.api.viewer.getNodesList({ signal }),
12
12
  ]);
13
13
  const nodeHostsMap = prepareNodeHostsMap(nodesList);
14
14
  const historyData = Object.keys(historyResponseData).reduce((list, nodeId) => {
@@ -50,7 +50,9 @@ export const tabletApi = api.injectEndpoints({
50
50
  getTabletDescribe: build.query({
51
51
  queryFn: async ({ tenantId }, { signal }) => {
52
52
  try {
53
- const tabletDescribe = await window.api.getTabletDescribe(tenantId, { signal });
53
+ const tabletDescribe = await window.api.viewer.getTabletDescribe(tenantId, {
54
+ signal,
55
+ });
54
56
  const { SchemeShard, PathId } = tenantId;
55
57
  const tenantPath = (tabletDescribe === null || tabletDescribe === void 0 ? void 0 : tabletDescribe.Path) || `${SchemeShard}:${PathId}`;
56
58
  return { data: tenantPath };
@@ -64,7 +66,7 @@ export const tabletApi = api.injectEndpoints({
64
66
  getAdvancedTableInfo: build.query({
65
67
  queryFn: async ({ id, hiveId }, { signal }) => {
66
68
  try {
67
- const tabletResponseData = await window.api.getTabletFromHive({ id, hiveId }, { signal });
69
+ const tabletResponseData = await window.api.tablets.getTabletFromHive({ id, hiveId }, { signal });
68
70
  return { data: tabletResponseData };
69
71
  }
70
72
  catch (error) {
@@ -78,7 +80,7 @@ export const tabletApi = api.injectEndpoints({
78
80
  killTablet: build.mutation({
79
81
  queryFn: async ({ id }) => {
80
82
  try {
81
- const data = await window.api.killTablet(id);
83
+ const data = await window.api.tablets.killTablet(id);
82
84
  return { data };
83
85
  }
84
86
  catch (error) {
@@ -95,7 +97,7 @@ export const tabletApi = api.injectEndpoints({
95
97
  stopTablet: build.mutation({
96
98
  queryFn: async ({ id, hiveId }) => {
97
99
  try {
98
- const data = await window.api.stopTablet(id, hiveId);
100
+ const data = await window.api.tablets.stopTablet(id, hiveId);
99
101
  return { data };
100
102
  }
101
103
  catch (error) {
@@ -112,7 +114,7 @@ export const tabletApi = api.injectEndpoints({
112
114
  resumeTablet: build.mutation({
113
115
  queryFn: async ({ id, hiveId }) => {
114
116
  try {
115
- const data = await window.api.resumeTablet(id, hiveId);
117
+ const data = await window.api.tablets.resumeTablet(id, hiveId);
116
118
  return { data };
117
119
  }
118
120
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"tablet.js","sourceRoot":"","sources":["../../../src/store/reducers/tablet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAEtD,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,EACV,EAAC,EAAE,EAAE,QAAQ,EAAmD,EAChE,EAAC,MAAM,EAAC,EACV,EAAE;gBACA,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,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBAC9C,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC;wBACrD,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAC,MAAM,EAAC,CAAC;qBACpC,CAAC,CAAC;oBACH,MAAM,YAAY,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;oBAEpD,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAEzD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;;wBACf,MAAM,UAAU,GAAG,MAAA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CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;oBAC/D,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;gBACtC,OAAO;oBACH,EAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,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"}
@@ -7,7 +7,7 @@ export const tabletsApi = api.injectEndpoints({
7
7
  getTabletsInfo: build.query({
8
8
  queryFn: async (params, { signal }) => {
9
9
  try {
10
- const data = await window.api.getTabletsInfo(params, { signal });
10
+ const data = await window.api.viewer.getTabletsInfo(params, { signal });
11
11
  return { data };
12
12
  }
13
13
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"tablets.js","sourceRoot":"","sources":["../../../src/store/reducers/tablets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAMrC,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC;YACxB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AAI,CAAC,YAAY,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QACvC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvF,OAAO,EAAC,GAAG,MAAM,EAAE,IAAI,EAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC,CACJ,CAAC"}
@@ -38,7 +38,7 @@ export const tenantApi = api.injectEndpoints({
38
38
  queryFn: async ({ path }, { signal }) => {
39
39
  var _a, _b;
40
40
  try {
41
- const tenantData = await window.api.getTenantInfo({ path }, { signal });
41
+ const tenantData = await window.api.viewer.getTenantInfo({ path }, { signal });
42
42
  return { data: (_b = (_a = tenantData.TenantInfo) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null };
43
43
  }
44
44
  catch (error) {
@@ -50,7 +50,7 @@ export const tenantApi = api.injectEndpoints({
50
50
  getClusterConfig: builder.query({
51
51
  queryFn: async ({ database }, { signal }) => {
52
52
  try {
53
- const res = await window.api.getClusterConfig(database, { signal });
53
+ const res = await window.api.viewer.getClusterConfig(database, { signal });
54
54
  const db = res.Databases[0];
55
55
  return { data: db.FeatureFlags };
56
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenant/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,qBAAqB,EAAE,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,uBAAuB,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;A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AC,CAAC;gBACnB,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -16,7 +16,7 @@ export const topTablesApi = api.injectEndpoints({
16
16
  getTopTables: builder.query({
17
17
  queryFn: async ({ path }, { signal }) => {
18
18
  try {
19
- const response = await window.api.sendQuery({
19
+ const response = await window.api.viewer.sendQuery({
20
20
  query: getQueryText(path),
21
21
  database: path,
22
22
  action: 'execute-scan',
@@ -1 +1 @@
1
- {"version":3,"file":"executeTopTables.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;IAClC,OAAO;;;SAGF,IAAI;;;YAGD,4BAA4B;CACvC,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAiB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC;wBACzB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAC,CAAC;gBACnD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,cAAc,EAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"executeTopTables.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;IAClC,OAAO;;;SAGF,IAAI;;;YAGD,4BAA4B;CACvC,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,IAAI,EAAiB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAC9C;wBACI,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC;wBACzB,QAAQ,EAAE,IAAI;wBACd,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAC,CAAC;gBACnD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,cAAc,EAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -22,7 +22,7 @@ export const topShardsApi = api.injectEndpoints({
22
22
  getTopShards: builder.query({
23
23
  queryFn: async ({ database, path = '' }, { signal }) => {
24
24
  try {
25
- const response = await window.api.sendQuery({
25
+ const response = await window.api.viewer.sendQuery({
26
26
  query: createShardQuery(path, database),
27
27
  database,
28
28
  action: queryAction,
@@ -1 +1 @@
1
- {"version":3,"file":"tenantOverviewTopShards.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,SAAS,gBAAgB,CAAC,IAAY,EAAE,UAAmB;IACvD,MAAM,UAAU,GAAG,UAAU;QACzB,CAAC,CAAC,wCAAwC,UAAU,CAAC,MAAM,oBAAoB;QAC/E,CAAC,CAAC,MAAM,CAAC;IAEb,OAAO;MACL,UAAU;;;;;YAKJ,IAAI;oBACI,IAAI;;QAEhB,4BAA4B,EAAE,CAAC;AACvC,CAAC;AAED,MAAM,WAAW,GAAG,cAAc,CAAC;AAEnC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAE,IAAI,GAAG,EAAE,EAAoC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAClF,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC;wBACvC,QAAQ;wBACR,MAAM,EAAE,WAAW;qBACtB,EACD,EAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAC,CAC9B,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAC,CAAC;gBACnD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,IAAI,IAAI,KAAK,CAAC,cAAc,CAAC,EAAC,CAAC;gBACvD,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"tenantOverviewTopShards.js","sourceRoot":"","sources":["../../../../../src/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAC,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;A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,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -18,7 +18,9 @@ export const tenantsApi = api.injectEndpoints({
18
18
  getTenantsInfo: build.query({
19
19
  queryFn: async ({ clusterName }, { signal, getState }) => {
20
20
  try {
21
- const response = await window.api.getTenants(clusterName, { signal });
21
+ const response = window.api.meta
22
+ ? await window.api.meta.getTenants(clusterName, { signal })
23
+ : await window.api.viewer.getTenants(clusterName, { signal });
22
24
  let data;
23
25
  if (Array.isArray(response.TenantInfo)) {
24
26
  const { singleClusterMode } = getState();
@@ -1 +1 @@
1
- {"version":3,"file":"tenants.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenants/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAEvC,MAAM,YAAY,GAAiB,EAAC,WAAW,EAAE,EAAE,EAAC,CAAC;AAErD,MAAM,KAAK,GAAG,WAAW,CAAC;IACtB,IAAI,EAAE,SAAS;IACf,YAAY;IACZ,QAAQ,EAAE;QACN,cAAc,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YACrD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAC,cAAc,EAAC,GAAG,KAAK,CAAC,OAAO,CAAC;AAC9C,eAAe,KAAK,CAAC,OAAO,CAAC;AAE7B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC;YACxB,OAAO,EAAE,KAAK,EAAE,EAAC,WAAW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AAO;CAC5B,CAAC,CAAC"}
@@ -9,7 +9,7 @@ export declare const showTooltip: (node: EventTarget | null, data: any, template
9
9
  type: string;
10
10
  node: EventTarget | null;
11
11
  data: any;
12
- templateType: "json" | "pool" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell";
12
+ templateType: "pool" | "json" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell";
13
13
  additionalData: any;
14
14
  positions: ITooltipPositions | undefined;
15
15
  };
@@ -8,7 +8,7 @@ export const topicApi = api.injectEndpoints({
8
8
  getTopic: build.query({
9
9
  queryFn: async (params) => {
10
10
  try {
11
- const data = await window.api.getTopic(params);
11
+ const data = await window.api.viewer.getTopic(params);
12
12
  // On older version it can return HTML page of Developer UI with an error
13
13
  if (typeof data !== 'object') {
14
14
  return { error: {} };
@@ -1 +1 @@
1
- {"version":3,"file":"topic.js","sourceRoot":"","sources":["../../../src/store/reducers/topic.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,yBAAyB,EAAC,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAC,QAAQ,EAAE,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;AAG3E,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC;YAClB,OAAO,EAAE,KAAK,EAAE,MAAwC,EAAE,EAAE;gBACxD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;oBAC/C,yEAAyE;oBACzE,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;wBAC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BAAwB,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC,aAAa,EAAE,EAAE;IACvF,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,EACF,gBAAgB,GAAG,GAAG,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,GAChB,GAAG,aAAa,IAAI,EAAE,CAAC;IAExB,OAAO;QACH,SAAS,EAAE,gBAAgB;QAC3B,kBAAkB,EAAE,wBAAwB,CAAC,mBAAmB,CAAC;QACjE,kBAAkB,EAAE,QAAQ,CAAC,kBAAkB,CAAC;QAChD,UAAU,EAAE,yBAAyB,CAAC,aAAa,CAAC;KACvD,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,cAAc,CAAC,eAAe,EAAE,CAAC,SAAS,EAAE,EAAE;IACrF,OAAO,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC/B,MAAM,EAAC,IAAI,EAAE,cAAc,EAAC,GAAG,QAAQ,IAAI,EAAE,CAAC;QAE9C,MAAM,EAAC,6BAA6B,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAU,EAAC,GACpF,cAAc,IAAI,EAAE,CAAC;QAEzB,OAAO;YACH,IAAI;YACJ,SAAS,EAAE,yBAAyB,CAAC,UAAU,CAAC;YAEhD,QAAQ,EAAE,QAAQ,CAAC,kBAAkB,CAAC;YACtC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,CAAC;YACpC,YAAY,EAAE,wBAAwB,CAAC,6BAA6B,CAAC;SACxE,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -5,7 +5,7 @@ export const traceApi = api.injectEndpoints({
5
5
  checkTrace: build.query({
6
6
  queryFn: async ({ url }, { signal, dispatch }) => {
7
7
  try {
8
- const response = await window.api.checkTrace({ url }, { signal });
8
+ const response = await window.api.trace.checkTrace({ url }, { signal });
9
9
  dispatch(setQueryTraceReady());
10
10
  return { data: response };
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAMjD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAE,EAAE;gBAC3D,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAE9D,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;oBAC/B,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;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAMjD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAE,EAAE;gBAC3D,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAEpE,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;oBAC/B,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;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -7,9 +7,9 @@ export const vDiskApi = api.injectEndpoints({
7
7
  queryFn: async ({ nodeId, pDiskId, vDiskSlotId }, { signal }) => {
8
8
  try {
9
9
  const response = await Promise.all([
10
- window.api.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
11
- window.api.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
12
- window.api.getNodeInfo(nodeId, { signal }),
10
+ window.api.viewer.getVDiskInfo({ nodeId, pDiskId, vDiskSlotId }, { signal }),
11
+ window.api.viewer.getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }, { signal }),
12
+ window.api.viewer.getNodeInfo(nodeId, { signal }),
13
13
  ]);
14
14
  const data = prepareVDiskDataResponse(response);
15
15
  return { data };
@@ -1 +1 @@
1
- {"version":3,"file":"vdisk.js","sourceRoot":"","sources":["../../../../src/store/reducers/vdisk/vdisk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAC,GA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C,KAAK;gBACL;oBACI,IAAI,EAAE,WAAW;oBACjB,EAAE,EAAE,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC;iBACpE;aACJ;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -9,7 +9,7 @@ export const viewSchemaApi = api.injectEndpoints({
9
9
  queryFn: async ({ database, path, timeout, }) => {
10
10
  var _a, _b;
11
11
  try {
12
- const response = await window.api.sendQuery({
12
+ const response = await window.api.viewer.sendQuery({
13
13
  query: createViewSchemaQuery(path),
14
14
  database,
15
15
  action: 'execute-scan',
@@ -1 +1 @@
1
- {"version":3,"file":"viewSchema.js","sourceRoot":"","sources":["../../../../src/store/reducers/viewSchema/viewSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,SAAS,qBAAqB,CAAC,IAAY;IACvC,OAAO,mBAAmB,IAAI,YAAY,CAAC;AAC/C,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAC,eAAe,CAAC;IAC7C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC;YACvB,OAAO,EAAE,KAAK,EAAE,EACZ,QAAQ,EACR,IAAI,EACJ,OAAO,GAKV,EAAE,EAAE;;gBACD,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,KAAK,EAAE,qBAAqB,CAAC,IAAI,CAAC;wBAClC,QAAQ;wBACR,MAAM,EAAE,cAAc;wBACtB,OAAO;qBACV,EACD,EAAC,WAAW,EAAE,IAAI,EAAC,CACtB,CAAC;oBAEF,IAAI,oBAAoB,CAAC,QA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AEF,IAAI,oBAAoB,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,OAAO,EAAC,IAAI,EAAE,CAAA,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,0CAAG,CAAC,CAAC,0CAAE,OAAO,KAAI,EAAE,EAAC,CAAC;gBACxD,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;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- @import '@gravity-ui/uikit/styles/mixins.scss';
1
+ @forward '@gravity-ui/uikit/styles/mixins.scss';
2
2
 
3
3
  @mixin container() {
4
4
  max-width: 1170px;
@@ -83,6 +83,7 @@
83
83
  max-width: 600px;
84
84
 
85
85
  cursor: pointer;
86
+ vertical-align: middle;
86
87
  white-space: nowrap;
87
88
  text-overflow: ellipsis;
88
89
  }
@@ -1,7 +1,7 @@
1
- @import './themes/light';
2
- @import './themes/light-hc';
3
- @import './themes/dark';
4
- @import './themes/dark-hc';
1
+ @use './themes/light';
2
+ @use './themes/light-hc';
3
+ @use './themes/dark';
4
+ @use './themes/dark-hc';
5
5
 
6
6
  // Override @gravity-ui/uikit color palette with our own colors
7
7
 
@@ -23,7 +23,7 @@
23
23
  --g-color-text-brand-contrast: var(--g-color-text-light-primary);
24
24
  --g-color-text-link: var(--g-color-private-blue-600-solid);
25
25
  --g-color-text-link-hover: var(--g-color-private-blue-800-solid);
26
- @include colors-private-light;
26
+ @include light.colors-private-light;
27
27
  }
28
28
 
29
29
  &_theme_light-hc {
@@ -38,7 +38,7 @@
38
38
  --g-color-text-brand-contrast: var(--g-color-text-light-primary);
39
39
  --g-color-text-link: var(--g-color-private-blue-650-solid);
40
40
  --g-color-text-link-hover: var(--g-color-private-blue-850-solid);
41
- @include colors-private-light-hc;
41
+ @include light-hc.colors-private-light-hc;
42
42
  }
43
43
 
44
44
  &_theme_dark {
@@ -53,7 +53,7 @@
53
53
  --g-color-text-brand-contrast: var(--g-color-text-light-primary);
54
54
  --g-color-text-link: var(--g-color-private-blue-550-solid);
55
55
  --g-color-text-link-hover: var(--g-color-private-blue-700-solid);
56
- @include colors-private-dark;
56
+ @include dark.colors-private-dark;
57
57
  }
58
58
 
59
59
  &_theme_dark-hc {
@@ -68,6 +68,6 @@
68
68
  --g-color-text-brand-contrast: var(--g-color-text-light-primary);
69
69
  --g-color-text-link: var(--g-color-private-blue-650-solid);
70
70
  --g-color-text-link-hover: var(--g-color-private-blue-800-solid);
71
- @include colors-private-dark-hc;
71
+ @include dark-hc.colors-private-dark-hc;
72
72
  }
73
73
  }
@@ -61,9 +61,10 @@ export interface TNodesGroup {
61
61
  NodeCount: number;
62
62
  }
63
63
  export interface TMemoryStats {
64
- AnonRss: string;
64
+ AnonRss?: string;
65
65
  ExternalConsumption?: string;
66
66
  AllocatorCachesMemory?: string;
67
+ AllocatedMemory?: string;
67
68
  SharedCacheConsumption?: string;
68
69
  SharedCacheLimit?: string;
69
70
  MemTableConsumption?: string;
@@ -194,6 +195,7 @@ declare enum EConfigState {
194
195
  'Outdated' = "Outdated"
195
196
  }
196
197
  type NodesType = 'static' | 'dynamic' | 'storage' | 'any';
198
+ export type NodesPeerRole = 'database' | 'static' | 'other' | 'any';
197
199
  type NodesWithFilter = 'space' | 'missing' | 'all';
198
200
  export type NodesGroupByField = 'NodeId' | 'Host' | 'NodeName' | 'Database' | 'DiskSpaceUsage' | 'DC' | 'Rack' | 'Missing' | 'Uptime' | 'Version' | 'SystemState' | 'ConnectStatus' | 'NetworkUtilization' | 'ClockSkew' | 'PingTime';
199
201
  export type NodesRequiredField = 'NodeId' | 'SystemState' | 'PDisks' | 'VDisks' | 'Tablets' | 'Peers' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'Memory' | 'MemoryDetailed' | 'CPU' | 'LoadAverage' | 'Missing' | 'DiskSpaceUsage' | 'SubDomainKey' | 'DisconnectTime' | 'Database' | `Connections` | `ConnectStatus` | `NetworkUtilization` | `ClockSkew` | `PingTime` | `SendThroughput` | `ReceiveThroughput`;
@@ -217,6 +219,7 @@ export interface NodesRequestParams {
217
219
  problems_only?: boolean;
218
220
  /** filter nodes by id or host */
219
221
  filter?: string;
222
+ filter_peer_role?: NodesPeerRole;
220
223
  sort?: NodesSort;
221
224
  group?: NodesGroupByField;
222
225
  filter_group_by?: NodesGroupByField;
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AA6NA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
1
+ {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AA8NA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
@@ -1,12 +1,12 @@
1
1
  export declare const useLastQueryExecutionSettings: () => readonly [{
2
- queryMode: "scan" | "script" | "data" | "query" | "pg";
2
+ queryMode: "query" | "scan" | "script" | "data" | "pg";
3
3
  transactionMode: "serializable-read-write" | "stale-read-only" | "online-read-only" | "snapshot-read-only" | "implicit";
4
4
  statisticsMode: "none" | "basic" | "full" | "profile";
5
5
  tracingLevel: "basic" | "off" | "toplevel" | "detailed" | "diagnostic" | "trace";
6
6
  timeout?: number | undefined;
7
7
  limitRows?: number | undefined;
8
8
  } | undefined, (value: {
9
- queryMode: "scan" | "script" | "data" | "query" | "pg";
9
+ queryMode: "query" | "scan" | "script" | "data" | "pg";
10
10
  transactionMode: "serializable-read-write" | "stale-read-only" | "online-read-only" | "snapshot-read-only" | "implicit";
11
11
  statisticsMode: "none" | "basic" | "full" | "profile";
12
12
  tracingLevel: "basic" | "off" | "toplevel" | "detailed" | "diagnostic" | "trace";
@@ -1,6 +1,6 @@
1
1
  import type { QuerySettings } from '../../types/store/query';
2
2
  export declare const useQueryExecutionSettings: () => readonly [{
3
- queryMode: "scan" | "script" | "data" | "query" | "pg";
3
+ queryMode: "query" | "scan" | "script" | "data" | "pg";
4
4
  transactionMode: "serializable-read-write" | "stale-read-only" | "online-read-only" | "snapshot-read-only" | "implicit";
5
5
  statisticsMode: "none" | "basic" | "full" | "profile";
6
6
  tracingLevel: "basic" | "off" | "toplevel" | "detailed" | "diagnostic" | "trace";
@@ -168,7 +168,7 @@ export async function generateColumnsSuggestion(rangeToInsertSuggestion, suggest
168
168
  })) !== null && _b !== void 0 ? _b : [];
169
169
  // remove duplicates if any
170
170
  const filteredTableNames = Array.from(new Set(normalizedTableNames));
171
- const autocompleteResponse = await window.api.autocomplete({
171
+ const autocompleteResponse = await window.api.viewer.autocomplete({
172
172
  database,
173
173
  table: filteredTableNames,
174
174
  limit: 1000,
@@ -270,7 +270,11 @@ export function generateKeywordsSuggestion(rangeToInsertSuggestion, suggestKeywo
270
270
  }
271
271
  export async function generateEntitiesSuggestion(rangeToInsertSuggestion, suggestEntities, database, prefix) {
272
272
  const normalizedPrefix = normalizeEntityPrefix(prefix, database);
273
- const data = await window.api.autocomplete({ database, prefix: normalizedPrefix, limit: 1000 });
273
+ const data = await window.api.viewer.autocomplete({
274
+ database,
275
+ prefix: normalizedPrefix,
276
+ limit: 1000,
277
+ });
274
278
  const withBackticks = prefix === null || prefix === void 0 ? void 0 : prefix.startsWith('`');
275
279
  if (data.Success) {
276
280
  const filteredEntities = filterAutocompleteEntities(data.Result.Entities, suggestEntities);