ydb-embedded-ui 6.23.0 → 6.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
  2. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  3. package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
  4. package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
  5. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  6. package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
  7. package/dist/components/PaginatedTable/TableChunk.js +5 -19
  8. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  9. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
  10. package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
  11. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
  12. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  13. package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
  14. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  15. package/dist/components/VDisk/VDisk.js +2 -21
  16. package/dist/components/VDisk/VDisk.js.map +1 -1
  17. package/dist/components/VDisk/VDisk.scss +2 -0
  18. package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
  19. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  20. package/dist/components/VDisk/utils.d.ts +2 -0
  21. package/dist/components/VDisk/utils.js +23 -0
  22. package/dist/components/VDisk/utils.js.map +1 -0
  23. package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
  24. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  25. package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
  26. package/dist/components/VDiskPopup/VDiskPopup.js +22 -3
  27. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  28. package/dist/components/nodesColumns/columns.d.ts +55 -0
  29. package/dist/components/nodesColumns/columns.js +187 -0
  30. package/dist/components/nodesColumns/columns.js.map +1 -0
  31. package/dist/components/nodesColumns/constants.d.ts +39 -0
  32. package/dist/components/nodesColumns/constants.js +73 -0
  33. package/dist/components/nodesColumns/constants.js.map +1 -0
  34. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
  35. package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
  36. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
  37. package/dist/components/nodesColumns/i18n/index.js.map +1 -0
  38. package/dist/components/nodesColumns/types.d.ts +8 -0
  39. package/dist/components/nodesColumns/types.js.map +1 -0
  40. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
  41. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  42. package/dist/containers/Authentication/Authentication.js +12 -10
  43. package/dist/containers/Authentication/Authentication.js.map +1 -1
  44. package/dist/containers/Cluster/Cluster.js +1 -1
  45. package/dist/containers/Cluster/Cluster.js.map +1 -1
  46. package/dist/containers/Cluster/Cluster.scss +1 -0
  47. package/dist/containers/Node/Node.js +1 -1
  48. package/dist/containers/Node/Node.js.map +1 -1
  49. package/dist/containers/Nodes/Nodes.js +1 -1
  50. package/dist/containers/Nodes/Nodes.js.map +1 -1
  51. package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
  52. package/dist/containers/Nodes/NodesWrapper.js +2 -2
  53. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  54. package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
  55. package/dist/containers/Nodes/PaginatedNodes.js +3 -3
  56. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  57. package/dist/containers/Nodes/columns/columns.d.ts +2 -7
  58. package/dist/containers/Nodes/columns/columns.js +13 -187
  59. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  60. package/dist/containers/Nodes/columns/constants.d.ts +1 -38
  61. package/dist/containers/Nodes/columns/constants.js +0 -68
  62. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  63. package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
  64. package/dist/containers/Nodes/columns/hooks.js +2 -1
  65. package/dist/containers/Nodes/columns/hooks.js.map +1 -1
  66. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  67. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  68. package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
  69. package/dist/containers/Storage/Disks/Disks.js +5 -6
  70. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  71. package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
  72. package/dist/containers/Storage/PDisk/PDisk.js +3 -6
  73. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  74. package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
  75. package/dist/containers/Storage/PaginatedStorage.js +3 -2
  76. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  77. package/dist/containers/Storage/PaginatedStorageGroups.js +5 -5
  78. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  79. package/dist/containers/Storage/PaginatedStorageNodes.js +7 -7
  80. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  81. package/dist/containers/Storage/Storage.d.ts +3 -1
  82. package/dist/containers/Storage/Storage.js +3 -3
  83. package/dist/containers/Storage/Storage.js.map +1 -1
  84. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  85. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
  86. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
  87. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
  88. package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
  89. package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
  90. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  91. package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
  92. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  93. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
  94. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
  95. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  96. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
  97. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
  99. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
  100. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
  101. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  102. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
  103. package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
  104. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  105. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
  106. package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
  107. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
  109. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
  110. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  111. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
  112. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  113. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
  114. package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
  115. package/dist/containers/Storage/StorageWrapper.js +10 -3
  116. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  117. package/dist/containers/Storage/types.d.ts +6 -0
  118. package/dist/containers/Storage/types.js +2 -0
  119. package/dist/containers/Storage/types.js.map +1 -0
  120. package/dist/containers/Storage/utils/index.d.ts +4 -6
  121. package/dist/containers/Storage/utils/index.js +35 -9
  122. package/dist/containers/Storage/utils/index.js.map +1 -1
  123. package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
  124. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  125. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
  126. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
  127. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  128. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
  129. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
  130. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  131. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
  132. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  133. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
  134. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  135. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  136. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  137. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
  138. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
  144. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  145. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
  146. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  147. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
  148. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  149. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
  150. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  151. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -4
  152. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  153. package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
  154. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  155. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
  156. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  157. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
  158. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
  159. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  160. package/dist/containers/Tenants/Tenants.js +10 -2
  161. package/dist/containers/Tenants/Tenants.js.map +1 -1
  162. package/dist/containers/UserSettings/i18n/en.json +0 -2
  163. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  164. package/dist/containers/UserSettings/settings.d.ts +0 -1
  165. package/dist/containers/UserSettings/settings.js +2 -7
  166. package/dist/containers/UserSettings/settings.js.map +1 -1
  167. package/dist/containers/VDiskPage/VDiskPage.js +3 -4
  168. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  169. package/dist/services/api.d.ts +3 -4
  170. package/dist/services/api.js +1 -3
  171. package/dist/services/api.js.map +1 -1
  172. package/dist/services/settings.d.ts +1 -2
  173. package/dist/services/settings.js +1 -2
  174. package/dist/services/settings.js.map +1 -1
  175. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
  176. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
  177. package/dist/store/reducers/cluster/cluster.js +0 -1
  178. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  179. package/dist/store/reducers/cluster/utils.d.ts +1 -1
  180. package/dist/store/reducers/cluster/utils.js +2 -1
  181. package/dist/store/reducers/cluster/utils.js.map +1 -1
  182. package/dist/store/reducers/executeQuery.d.ts +0 -2
  183. package/dist/store/reducers/executeQuery.js +1 -2
  184. package/dist/store/reducers/executeQuery.js.map +1 -1
  185. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
  186. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
  187. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  188. package/dist/store/reducers/nodes/types.d.ts +2 -7
  189. package/dist/store/reducers/nodes/utils.js +0 -6
  190. package/dist/store/reducers/nodes/utils.js.map +1 -1
  191. package/dist/store/reducers/preview.js +1 -1
  192. package/dist/store/reducers/preview.js.map +1 -1
  193. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
  194. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  195. package/dist/store/reducers/storage/types.d.ts +6 -7
  196. package/dist/store/reducers/storage/utils.js +23 -9
  197. package/dist/store/reducers/storage/utils.js.map +1 -1
  198. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
  199. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  200. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
  201. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  202. package/dist/store/reducers/tenants/types.d.ts +1 -0
  203. package/dist/store/reducers/tenants/utils.js +4 -2
  204. package/dist/store/reducers/tenants/utils.js.map +1 -1
  205. package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
  206. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  207. package/dist/types/additionalProps.d.ts +1 -1
  208. package/dist/types/api/cluster.d.ts +2 -0
  209. package/dist/types/api/cluster.js +3 -1
  210. package/dist/types/api/cluster.js.map +1 -1
  211. package/dist/types/api/nodes.d.ts +3 -0
  212. package/dist/types/api/nodes.js.map +1 -1
  213. package/dist/types/api/query.d.ts +16 -30
  214. package/dist/types/api/storage.d.ts +2 -2
  215. package/dist/types/store/query.d.ts +0 -1
  216. package/dist/utils/constants.d.ts +0 -1
  217. package/dist/utils/constants.js +0 -2
  218. package/dist/utils/constants.js.map +1 -1
  219. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
  220. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  221. package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
  222. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  223. package/dist/utils/disks/prepareDisks.js +3 -0
  224. package/dist/utils/disks/prepareDisks.js.map +1 -1
  225. package/dist/utils/disks/types.d.ts +1 -0
  226. package/dist/utils/nodes.d.ts +4 -2
  227. package/dist/utils/nodes.js +10 -1
  228. package/dist/utils/nodes.js.map +1 -1
  229. package/dist/utils/query.d.ts +5 -5
  230. package/dist/utils/query.js +7 -22
  231. package/dist/utils/query.js.map +1 -1
  232. package/dist/utils/query.test.js +221 -56
  233. package/dist/utils/query.test.js.map +1 -1
  234. package/dist/utils/storage.d.ts +1 -0
  235. package/dist/utils/storage.js +3 -0
  236. package/dist/utils/storage.js.map +1 -1
  237. package/package.json +1 -1
  238. package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
  239. package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
  240. package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
  241. package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
  242. package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
  243. package/dist/containers/Nodes/columns/types.d.ts +0 -9
  244. package/dist/containers/Nodes/columns/types.js.map +0 -1
  245. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
  246. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
  247. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
  248. /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -1 +1 @@
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,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,MAAM,YAAY,GAA0B,EAAE,CAAC;AAO/C,SAAS,eAAe,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAY;IACjD,OAAO,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAAC,OAA+B;;IACzD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,MAAM,EAAE,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAC,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,E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C;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { OrderType } from '@gravity-ui/react-data-table';
2
2
  import { z } from 'zod';
3
3
  import type { EFlag } from '../../../types/api/enums';
4
- import type { NodesGroupByField, TSystemStateInfo } from '../../../types/api/nodes';
4
+ import type { NodesGroupByField } from '../../../types/api/nodes';
5
5
  import type { GroupsGroupByField, StorageV2SortValue } from '../../../types/api/storage';
6
6
  import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
7
- import type { NodesUptimeFilterValues } from '../../../utils/nodes';
7
+ import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
8
8
  export declare const visibleEntitiesSchema: z.ZodCatch<z.ZodNativeEnum<{
9
9
  readonly all: "all";
10
10
  readonly missing: "missing";
@@ -26,14 +26,12 @@ export interface PreparedStorageNodeFilters {
26
26
  filterGroup?: string;
27
27
  filterGroupBy?: NodesGroupByField;
28
28
  }
29
- export interface PreparedStorageNode extends TSystemStateInfo {
29
+ export interface PreparedStorageNode extends PreparedNodeSystemState {
30
30
  NodeId: number;
31
+ DiskSpaceUsage?: number;
31
32
  PDisks?: PreparedPDisk[];
32
33
  VDisks?: PreparedVDisk[];
33
- DC?: string;
34
- Rack?: string;
35
34
  Missing: number;
36
- Uptime: string;
37
35
  }
38
36
  export interface PreparedStorageGroupFilters {
39
37
  searchValue: string;
@@ -53,11 +51,12 @@ export interface PreparedStorageGroup {
53
51
  Degraded: number;
54
52
  Overall?: EFlag;
55
53
  GroupId?: string | number;
56
- Usage: number;
54
+ Usage?: number;
57
55
  Read: number;
58
56
  Write: number;
59
57
  Used: number;
60
58
  Limit: number;
59
+ DiskSpaceUsage?: number;
61
60
  DiskSpace: EFlag;
62
61
  VDisks?: PreparedVDisk[];
63
62
  Kind?: string;
@@ -50,7 +50,10 @@ export const prepareStorageGroupData = (group, pool) => {
50
50
  }
51
51
  }
52
52
  const vDisks = (_a = group.VDisks) === null || _a === void 0 ? void 0 : _a.map((vdisk) => prepareVDisk(vdisk, poolName));
53
- const usage = getUsage({ Used: usedSpaceBytes, Limit: limitSizeBytes }, 5);
53
+ // Do not calculate usage if there is no limit
54
+ const usage = limitSizeBytes
55
+ ? getUsage({ Used: usedSpaceBytes, Limit: limitSizeBytes }, 5)
56
+ : undefined;
54
57
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
55
58
  return {
56
59
  ...group,
@@ -72,7 +75,7 @@ export const prepareStorageGroupData = (group, pool) => {
72
75
  export const prepareStorageGroupDataV2 = (group) => {
73
76
  const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, Overall, GroupGeneration, } = group;
74
77
  const vDisks = VDisks.map((vdisk) => prepareVDisk(vdisk, PoolName));
75
- const usage = Math.floor(Number(Usage) * 100);
78
+ const usage = Number(Usage) * 100;
76
79
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
77
80
  return {
78
81
  ...group,
@@ -127,6 +130,7 @@ const prepareStorageNodeData = (node) => {
127
130
  return {
128
131
  ...prepareNodeSystemState(node.SystemState),
129
132
  NodeId: node.NodeId,
133
+ DiskSpaceUsage: node.DiskSpaceUsage,
130
134
  PDisks: pDisks,
131
135
  VDisks: vDisks,
132
136
  Missing: missing,
@@ -164,25 +168,35 @@ export const prepareStorageResponse = (data) => {
164
168
  export function prepareGroupsResponse(data) {
165
169
  const { FoundGroups, TotalGroups, StorageGroups = [], StorageGroupGroups } = data;
166
170
  const preparedGroups = StorageGroups.map((group) => {
167
- const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall, LatencyPutTabletLog, LatencyPutUserData, LatencyGetFast, } = group;
171
+ const { Usage, DiskSpaceUsage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall, LatencyPutTabletLog, LatencyPutUserData, LatencyGetFast, } = group;
168
172
  const vDisks = VDisks.map((disk) => {
169
- var _a;
170
- const whiteboardVDisk = disk.Whiteboard;
171
- const whiteboardPDisk = (_a = disk.PDisk) === null || _a === void 0 ? void 0 : _a.Whiteboard;
172
- const NodeId = disk.NodeId;
173
+ const { Whiteboard: whiteboardVDisk, PDisk, VDiskId, NodeId, AllocatedSize, AvailableSize, DiskSpace, Status, } = disk;
174
+ const whiteboardPDisk = PDisk === null || PDisk === void 0 ? void 0 : PDisk.Whiteboard;
173
175
  const PDiskId = whiteboardPDisk === null || whiteboardPDisk === void 0 ? void 0 : whiteboardPDisk.PDiskId;
174
176
  const whiteboardVDiskData = {
175
177
  ...whiteboardVDisk,
176
178
  PDiskId,
177
179
  NodeId,
180
+ AllocatedSize,
181
+ AvailableSize,
182
+ DiskSpace,
183
+ Status,
178
184
  PDisk: { ...whiteboardPDisk, NodeId },
179
185
  };
180
- return prepareVDiskData(whiteboardVDiskData);
186
+ const preparedVDiskData = prepareVDiskData(whiteboardVDiskData);
187
+ return {
188
+ ...preparedVDiskData,
189
+ // There might be no Whiteboard data if cluster is not healthy
190
+ // StringifiedId is formed from Whiteboard.VDiskId object
191
+ // Use VDiskId string from backend in such case
192
+ StringifiedId: preparedVDiskData.StringifiedId || VDiskId,
193
+ };
181
194
  });
182
195
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
183
196
  return {
184
197
  ...group,
185
- Usage: Math.floor(Number(Usage)) || 0,
198
+ Usage,
199
+ DiskSpaceUsage,
186
200
  Read: Number(Read),
187
201
  Write: Number(Write),
188
202
  Used: Number(Used),
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AASrD,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MA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AC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC,EAAE,MAAM,CAAC,CAAC,KAAK,EAAuB,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAE1D,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,cAAc,CAAC,MAAM;QACnD,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;QAC1B,WAAW;KACd,CAAC;AACN,CAAC"}
@@ -17,7 +17,6 @@ export const topTablesApi = api.injectEndpoints({
17
17
  queryFn: async ({ path }, { signal }) => {
18
18
  try {
19
19
  const response = await window.api.sendQuery({
20
- schema: 'modern',
21
20
  query: getQueryText(path),
22
21
  database: path,
23
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,4BAA4B,EAAC,MAAM,yBAAyB,CAAC;AAC3F,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,MAAM,EAAE,QAAQ;wBAChB,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,4BAA4B,CAAC,QAAQ,CAAC,EAAC,CAAC;gBAC1D,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,4BAA4B,EAAC,MAAM,yBAAyB,CAAC;AAC3F,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,4BAA4B,CAAC,QAAQ,CAAC,EAAC,CAAC;gBAC1D,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"}
@@ -23,7 +23,6 @@ export const topShardsApi = api.injectEndpoints({
23
23
  queryFn: async ({ database, path = '' }, { signal }) => {
24
24
  try {
25
25
  const response = await window.api.sendQuery({
26
- schema: 'modern',
27
26
  query: createShardQuery(path, database),
28
27
  database,
29
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,4BAA4B,EAAC,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAC,GAAG,EAAC,MAAM,WAAW,CAAC;AAE9B,SAAS,gBAAgB,CAAC,IAAY,EAAE,UAAmB;IACvD,MAAM,UAAU,GAAG,UAAU;QACzB,CAAC,CAAC,w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gBAC1D,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"}
@@ -4,6 +4,7 @@ import type { METRIC_STATUS } from './contants';
4
4
  export interface PreparedTenant extends TTenant {
5
5
  backend: string | undefined;
6
6
  sharedTenantName: string | undefined;
7
+ sharedNodeIds: number[] | undefined;
7
8
  controlPlaneName: string;
8
9
  cpu: number | undefined;
9
10
  memory: number | undefined;
@@ -128,9 +128,10 @@ const calculateTenantEntities = (tenant) => {
128
128
  };
129
129
  export const prepareTenants = (tenants, useNodeAsBackend) => {
130
130
  return tenants.map((tenant) => {
131
- var _a;
132
131
  const backend = useNodeAsBackend ? getTenantBackend(tenant) : undefined;
133
- const sharedTenantName = (_a = tenants.find((item) => item.Id === tenant.ResourceId)) === null || _a === void 0 ? void 0 : _a.Name;
132
+ const sharedDatabase = tenants.find((item) => item.Id === tenant.ResourceId);
133
+ const sharedTenantName = sharedDatabase === null || sharedDatabase === void 0 ? void 0 : sharedDatabase.Name;
134
+ const sharedNodeIds = sharedDatabase === null || sharedDatabase === void 0 ? void 0 : sharedDatabase.NodeIds;
134
135
  const controlPlaneName = getControlPlaneValue(tenant);
135
136
  const { cpu, memory, blobStorage } = calculateTenantMetrics(tenant);
136
137
  const { nodesCount, groupsCount } = calculateTenantEntities(tenant);
@@ -138,6 +139,7 @@ export const prepareTenants = (tenants, useNodeAsBackend) => {
138
139
  ...tenant,
139
140
  backend,
140
141
  sharedTenantName,
142
+ sharedNodeIds,
141
143
  controlPlaneName,
142
144
  cpu,
143
145
  memory,
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenants/utils.ts"],"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oints: (build) => ({
8
8
  getViewSchema: build.query({
9
9
  queryFn: async ({ database, path }) => {
10
+ var _a, _b;
10
11
  try {
11
12
  const response = await window.api.sendQuery({
12
- schema: 'modern',
13
13
  query: createViewSchemaQuery(path),
14
14
  database,
15
15
  action: 'execute-scan',
@@ -17,7 +17,7 @@ export const viewSchemaApi = api.injectEndpoints({
17
17
  if (isQueryErrorResponse(response)) {
18
18
  return { error: response };
19
19
  }
20
- return { data: (response === null || response === void 0 ? void 0 : response.columns) || [] };
20
+ return { data: ((_b = (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.columns) || [] };
21
21
  }
22
22
  catch (error) {
23
23
  return { error: error };
@@ -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,EAAC,QAAQ,EAAE,IAAI,EAAmC,EAAE,EAAE;gBAClE,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,SAAS,CACvC;wBACI,MAAM,EAAE,QAAQ;wBAChB,KAAK,EAAE,qBAAqB,CAAC,IAAI,CAAC;wBAClC,QAAQ;wBACR,MAAM,EAAE,cAAc;qBACzB,EACD,EAAC,WAAW,EAAE,IAAI,EAAC,CACtB,CAAC;o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C;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"}
@@ -14,7 +14,7 @@ export interface AdditionalClusterProps {
14
14
  links?: ClusterLink[];
15
15
  }
16
16
  export interface AdditionalTenantsProps {
17
- prepareTenantBackend?: (backend: string | undefined) => string | undefined;
17
+ prepareTenantBackend?: (backend: string | NodeAddress | undefined) => string | undefined;
18
18
  getMonitoringLink?: (name?: string, type?: ETenantType) => React.ReactNode;
19
19
  }
20
20
  export type NodeAddress = Pick<TSystemStateInfo, 'Host' | 'Endpoints' | 'NodeId'>;
@@ -65,6 +65,8 @@ export interface TClusterInfoV2 extends TClusterInfoV1 {
65
65
  };
66
66
  StorageStats?: TStorageStats[];
67
67
  Version?: number;
68
+ /** value is uint64 */
69
+ CoresUsed?: string;
68
70
  }
69
71
  export type TClusterInfo = TClusterInfoV1 | TClusterInfoV2;
70
72
  export declare function isClusterInfoV2(info?: TClusterInfo): info is TClusterInfoV2;
@@ -1,4 +1,6 @@
1
1
  export function isClusterInfoV2(info) {
2
- return info ? 'Version' in info && info.Version === 2 : false;
2
+ return info
3
+ ? 'Version' in info && typeof info.Version === 'number' && info.Version >= 2
4
+ : false;
3
5
  }
4
6
  //# sourceMappingURL=cluster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AA6EA,MAAM,UAAU,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClE,CAAC"}
1
+ {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AA+EA,MAAM,UAAU,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI;QACP,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC;QAC5E,CAAC,CAAC,KAAK,CAAC;AAChB,CAAC"}
@@ -19,6 +19,9 @@ export interface TNodesInfo {
19
19
  }
20
20
  export interface TNodeInfo {
21
21
  NodeId: number;
22
+ CpuUsage?: number;
23
+ DiskSpaceUsage?: number;
24
+ UptimeSeconds?: number;
22
25
  SystemState: TSystemStateInfo;
23
26
  PDisks?: TPDiskStateInfo[];
24
27
  VDisks?: TVDiskStateInfo[];
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AAqIA,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":"AA0IA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
@@ -182,8 +182,6 @@ export type Stats = StatisticsMode;
182
182
  export type Timeout = number;
183
183
  /** undefined = '15' */
184
184
  export type TracingLevel = number;
185
- /** undefined = 'classic' */
186
- export type Schemas = 'classic' | 'modern' | 'ydb' | 'multi' | undefined;
187
185
  /** undefined = 'execute' */
188
186
  export type ExecuteActions = 'execute' | 'execute-scan' | 'execute-script' | 'execute-data' | 'execute-query' | undefined;
189
187
  export type ExplainActions = 'explain' | 'explain-scan' | 'explain-script' | 'explain-data' | 'explain-query' | 'explain-ast';
@@ -210,57 +208,45 @@ export interface ExplainQueryResponse {
210
208
  ast?: string;
211
209
  plan?: QueryPlan;
212
210
  }
213
- export type ExplainResponse<Action extends ExplainActions> = Action extends 'explain-script' ? ExplainScriptResponse : ExplainQueryResponse;
214
- interface ModernSchemaResult {
215
- result?: ArrayRow[];
211
+ export type GenericExplainResponse<Action extends ExplainActions> = Action extends 'explain-script' ? ExplainScriptResponse : ExplainQueryResponse;
212
+ type SchemaResult = {
213
+ rows?: ArrayRow[] | null;
216
214
  columns?: ColumnType[];
217
- }
218
- interface MultiSchemaResult {
219
- result?: {
220
- rows?: ArrayRow[] | null;
221
- columns?: ColumnType[];
222
- truncated?: boolean;
223
- }[];
224
- }
225
- interface DefaultSchemaResult {
226
- result?: KeyValueRow[];
227
- }
228
- type ResultFields<Schema extends Schemas> = Schema extends 'modern' ? ModernSchemaResult : Schema extends 'multi' ? MultiSchemaResult : DefaultSchemaResult;
215
+ truncated?: boolean;
216
+ }[];
229
217
  /**
230
218
  * meta.type = 'query'
231
219
  *
232
220
  * execute-scan, execute-data, execute-query
233
221
  */
234
- export type ExecuteQueryResponse<Schema extends Schemas> = {
222
+ export type ExecuteQueryResponse = {
235
223
  plan?: QueryPlan;
236
224
  ast?: string;
237
225
  stats?: TKqpStatsQuery;
238
- } & ResultFields<Schema>;
226
+ result?: SchemaResult;
227
+ };
239
228
  /**
240
229
  * meta.type = 'script'
241
230
  *
242
231
  * execute, execute-script
243
232
  */
244
- export type ExecuteScriptResponse<Schema extends Schemas> = {
233
+ export type ExecuteScriptResponse = {
245
234
  plan?: ScriptPlan;
246
235
  ast?: string;
247
236
  stats?: TKqpStatsQuery;
248
- } & ResultFields<Schema>;
249
- export type ExecuteResponse<Action extends ExecuteActions, Schema extends Schemas> = Action extends 'execute-scan' | 'execute-data' | 'execute-query' ? ExecuteQueryResponse<Schema> : ExecuteScriptResponse<Schema>;
237
+ result?: SchemaResult;
238
+ };
239
+ export type GenericExecuteResponse<Action extends ExecuteActions> = Action extends 'execute-scan' | 'execute-data' | 'execute-query' ? ExecuteQueryResponse : ExecuteScriptResponse;
250
240
  export type CancelResponse = {
251
241
  stats?: TKqpStatsQuery;
252
242
  };
253
- export type QueryAPIResponseByAction<Action extends Actions, Schema extends Schemas> = Action extends ExplainActions ? ExplainResponse<Action> : Action extends ExecuteActions ? ExecuteResponse<Action, Schema> : Action extends CancelActions ? CancelResponse : never;
243
+ export type QueryAPIResponseByAction<Action extends Actions> = Action extends ExplainActions ? GenericExplainResponse<Action> : Action extends ExecuteActions ? GenericExecuteResponse<Action> : Action extends CancelActions ? CancelResponse : never;
254
244
  type QueryAPIResponseMeta = {
255
245
  _meta?: {
256
246
  traceId?: string;
257
247
  };
258
248
  };
259
- export type QueryAPIResponse<Action extends Actions, Schema extends Schemas> = QueryAPIResponseByAction<Action, Schema> & QueryAPIResponseMeta;
260
- export type AnyExplainResponse = ExplainQueryResponse | ExplainScriptResponse;
261
- export type ExecuteModernResponse = ExecuteQueryResponse<'modern'> | ExecuteScriptResponse<'modern'>;
262
- export type ExecuteMultiResponse = ExecuteQueryResponse<'multi'> | ExecuteScriptResponse<'multi'>;
263
- export type ExecuteClassicResponse = ExecuteQueryResponse<'classic'> | ExecuteScriptResponse<'classic'>;
264
- export type ExecuteYdbResponse = ExecuteQueryResponse<'ydb'> | ExecuteScriptResponse<'ydb'>;
265
- export type AnyExecuteResponse = ExecuteModernResponse | ExecuteMultiResponse | ExecuteClassicResponse | ExecuteYdbResponse;
249
+ export type QueryAPIResponse<Action extends Actions> = QueryAPIResponseByAction<Action> & QueryAPIResponseMeta;
250
+ export type ExplainResponse = ExplainQueryResponse | ExplainScriptResponse;
251
+ export type ExecuteResponse = ExecuteQueryResponse | ExecuteScriptResponse;
266
252
  export {};
@@ -205,11 +205,11 @@ export type EVersion = 'v1' | 'v2';
205
205
  /**
206
206
  * Values to sort /viewer/storage v2 response
207
207
  */
208
- export type StorageV2SortValue = 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'Degraded' | 'Usage' | 'GroupId' | 'Used' | 'Limit' | 'Read' | 'Write' | 'AllocationUnits' | 'Latency';
208
+ export type StorageV2SortValue = 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'Degraded' | 'Usage' | 'GroupId' | 'Used' | 'Limit' | 'Read' | 'Write' | 'AllocationUnits' | 'Latency' | 'DiskSpaceUsage';
209
209
  /**
210
210
  * Values to sort /storage/groups response
211
211
  */
212
- export type GroupsSortField = StorageV2SortValue | 'MissingDisks' | 'State' | 'Available' | 'DiskSpaceUsage' | 'Encryption';
212
+ export type GroupsSortField = StorageV2SortValue | 'MissingDisks' | 'State' | 'Available' | 'Encryption';
213
213
  export type StorageV2Sort = BackendSortParam<StorageV2SortValue>;
214
214
  export type GroupsSort = BackendSortParam<GroupsSortField>;
215
215
  export type StorageWithFilter = 'space' | 'missing' | 'all';
@@ -10,7 +10,6 @@ export interface ParsedResultSet {
10
10
  }
11
11
  export interface IQueryResult {
12
12
  resultSets?: ParsedResultSet[];
13
- result?: KeyValueRow[];
14
13
  columns?: ColumnType[];
15
14
  stats?: TKqpStatsQuery;
16
15
  plan?: ScriptPlan | QueryPlan;
@@ -103,7 +103,6 @@ export declare const PARTITIONS_HIDDEN_COLUMNS_KEY = "partitionsHiddenColumns";
103
103
  export declare const TENANT_INITIAL_PAGE_KEY = "saved_tenant_initial_tab";
104
104
  export declare const USE_PAGINATED_TABLES_KEY = "useBackendParamsForTables";
105
105
  export declare const SHOW_DOMAIN_DATABASE_KEY = "showDomainDatabase";
106
- export declare const QUERY_USE_MULTI_SCHEMA_KEY = "queryUseMultiSchema";
107
106
  export declare const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = "useClusterBalancerAsBacked";
108
107
  export declare const ENABLE_AUTOCOMPLETE = "enableAutocomplete";
109
108
  export declare const AUTOCOMPLETE_ON_ENTER = "autocompleteOnEnter";
@@ -107,8 +107,6 @@ export const TENANT_INITIAL_PAGE_KEY = 'saved_tenant_initial_tab';
107
107
  export const USE_PAGINATED_TABLES_KEY = 'useBackendParamsForTables';
108
108
  // Setting to hide domain in database list
109
109
  export const SHOW_DOMAIN_DATABASE_KEY = 'showDomainDatabase';
110
- // Enable schema that supports multiple resultsets
111
- export const QUERY_USE_MULTI_SCHEMA_KEY = 'queryUseMultiSchema';
112
110
  export const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = 'useClusterBalancerAsBacked';
113
111
  export const ENABLE_AUTOCOMPLETE = 'enableAutocomplete';
114
112
  export const AUTOCOMPLETE_ON_ENTER = 'autocompleteOnEnter';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAE1C,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC;AAChD,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,GAAG,MAAM,CAAC;AACpD,yDAAyD;AACzD,6DAA6D;AAC7D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAK,CAAC;AAC9B,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAS,CAAC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAa,CAAC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;A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BAAoB,CAAC;AAE7D,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
@@ -134,8 +134,7 @@ describe('VDisk state', () => {
134
134
  Replicated: false,
135
135
  DonorMode: true,
136
136
  });
137
- expect(severity1).not.toEqual(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Blue);
138
- expect(severity1).toEqual(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Green);
137
+ expect(severity1).toEqual(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Blue);
139
138
  expect(severity2).toEqual(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Yellow);
140
139
  expect(severity3).toEqual(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red);
141
140
  });
@@ -1 +1 @@
1
- {"version":3,"file":"calculateVDiskSeverity.test.js","sourceRoot":"","sources":["../../../../src/utils/disks/__test__/calculateVDiskSeverity.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,sBAAsB,EAAC,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAC,oCAAoC,EAAC,MAAM,cAAc,CAAC;AAElE,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,kGAAkG,EAAE,GAAG,EAAE;QACxG,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,oBAAoB;YAChD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CAAC;QACvE,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,GAAG,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"calculateVDiskSeverity.test.js","sourceRoot":"","sources":["../../../../src/utils/disks/__test__/calculateVDiskSeverity.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,sBAAsB,EAAC,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAC,oCAAoC,EAAC,MAAM,cAAc,CAAC;AAElE,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,kGAAkG,EAAE,GAAG,EAAE;QACxG,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,oBAAoB;YAChD,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,qBAAqB;YAC9C,WAAW,EAAE,KAAK,CAAC,KAAK,EAAE,oBAAoB;SACjD,CAAC,CAAC;QACH,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,UAAU,EAAE,kBAAkB;YACtD,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,qBAAqB;YAC9C,WAAW,EAAE,KAAK,CAAC,KAAK,EAAE,oBAAoB;SACjD,CAAC,CAAC;QACH,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,oBAAoB;YAChD,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,qBAA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,IAAI;SAClB,CAAC,CAAC;QACH,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,OAAO,EAAE,qBAAqB;YACtD,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAClB,CAAC,CAAC;QACH,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACrC,OAAO,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC;YACpB,UAAU,EAAE,WAAW,CAAC,UAAU,EAAE,kBAAkB;YACtD,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAClB,CAAC,CAAC;QAEH,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,IAAI,CAAC,CAAC;QACrE,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,MAAM,CAAC,CAAC;QACvE,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,GAAG,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -4,7 +4,7 @@ export function calculateVDiskSeverity(vDisk) {
4
4
  if (!isFullVDiskData(vDisk)) {
5
5
  return NOT_AVAILABLE_SEVERITY;
6
6
  }
7
- const { DiskSpace, VDiskState, FrontQueues, Replicated, DonorMode } = vDisk;
7
+ const { DiskSpace, VDiskState, FrontQueues, Replicated } = vDisk;
8
8
  // if the disk is not available, this determines its status severity regardless of other features
9
9
  if (!VDiskState) {
10
10
  return NOT_AVAILABLE_SEVERITY;
@@ -14,8 +14,7 @@ export function calculateVDiskSeverity(vDisk) {
14
14
  const FrontQueuesSeverity = Math.min(DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Orange, getColorSeverity(FrontQueues));
15
15
  let severity = Math.max(DiskSpaceSeverity, VDiskSpaceSeverity, FrontQueuesSeverity);
16
16
  // donors are always in the not replicated state since they are leftovers
17
- // painting them blue is useless
18
- if (!Replicated && !DonorMode && severity === DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Green) {
17
+ if (!Replicated && severity === DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Green) {
19
18
  severity = DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Blue;
20
19
  }
21
20
  return severity;
@@ -1 +1 @@
1
- {"version":3,"file":"calculateVDiskSeverity.js","sourceRoot":"","sources":["../../../src/utils/disks/calculateVDiskSeverity.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,oCAAoC,EACpC,sBAAsB,EACtB,oBAAoB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,eAAe,EAAC,MAAM,WAAW,CAAC;AAE1C,MAAM,UAAU,sBAAsB,CAAC,KAAsB;IACzD,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,MAAM,EAAC,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IAE1E,iGAAiG;IACjG,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACxD,MAAM,mBAAmB,GAAG,IAAI,CAAC,GAAG,CAChC,oCAAoC,CAAC,MAAM,EAC3C,gBAAgB,CAAC,WAAW,CAAC,CAChC,CAAC;IAEF,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;IAEpF,yEAAyE;IACzE,gCAAgC;IAChC,IAAI,CAAC,UAAU,IAAI,CAAC,SAAS,IAAI,QAAQ,KAAK,oCAAoC,CAAC,KAAK,EAAE,CAAC;QACvF,QAAQ,GAAG,oCAAoC,CAAC,IAAI,CAAC;IACzD,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,SAAS,gBAAgB,CAAC,UAAwB;;IAC9C,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,OAAO,MAAA,oBAAoB,CAAC,UAAU,CAAC,mCAAI,sBAAsB,CAAC;AACtE,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa;;IACnC,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,OAAO,MAAA,oCAAoC,CAAC,KAAK,CAAC,mCAAI,sBAAsB,CAAC;AACjF,CAAC"}
1
+ {"version":3,"file":"calculateVDiskSeverity.js","sourceRoot":"","sources":["../../../src/utils/disks/calculateVDiskSeverity.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,oCAAoC,EACpC,sBAAsB,EACtB,oBAAoB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,eAAe,EAAC,MAAM,WAAW,CAAC;AAE1C,MAAM,UAAU,sBAAsB,CAAC,KAAsB;IACzD,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,MAAM,EAAC,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAC,GAAG,KAAK,CAAC;IAE/D,iGAAiG;IACjG,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACxD,MAAM,mBAAmB,GAAG,IAAI,CAAC,GAAG,CAChC,oCAAoC,CAAC,MAAM,EAC3C,gBAAgB,CAAC,WAAW,CAAC,CAChC,CAAC;IAEF,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;IAEpF,yEAAyE;IACzE,IAAI,CAAC,UAAU,IAAI,QAAQ,KAAK,oCAAoC,CAAC,KAAK,EAAE,CAAC;QACzE,QAAQ,GAAG,oCAAoC,CAAC,IAAI,CAAC;IACzD,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,SAAS,gBAAgB,CAAC,UAAwB;;IAC9C,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,OAAO,MAAA,oBAAoB,CAAC,UAAU,CAAC,mCAAI,sBAAsB,CAAC;AACtE,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa;;IACnC,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,sBAAsB,CAAC;IAClC,CAAC;IAED,OAAO,MAAA,oCAAoC,CAAC,KAAK,CAAC,mCAAI,sBAAsB,CAAC;AACjF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { stringifyVdiskId } from '../dataFormatters/dataFormatters';
1
2
  import { calculatePDiskSeverity } from './calculatePDiskSeverity';
2
3
  import { calculateVDiskSeverity } from './calculateVDiskSeverity';
3
4
  import { getPDiskType } from './getPDiskType';
@@ -19,12 +20,14 @@ export function prepareVDiskData(vdiskState = {}) {
19
20
  return prepareVDiskData({ ...donor, DonorMode: true });
20
21
  });
21
22
  const Severity = calculateVDiskSeverity(vdiskState);
23
+ const StringifiedId = stringifyVdiskId(vdiskState.VDiskId);
22
24
  return {
23
25
  ...vdiskState,
24
26
  PDisk,
25
27
  PDiskId,
26
28
  Donors,
27
29
  Severity,
30
+ StringifiedId,
28
31
  TotalSize: total,
29
32
  AllocatedPercent: allocatedPercent,
30
33
  };