ydb-embedded-ui 7.2.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/dist/components/Graph/Graph.d.ts +1 -2
  2. package/dist/components/Graph/Graph.js +1 -1
  3. package/dist/components/Graph/Graph.js.map +1 -1
  4. package/dist/containers/Cluster/Cluster.js +2 -2
  5. package/dist/containers/Cluster/Cluster.js.map +1 -1
  6. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +24 -8
  7. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  8. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -26
  9. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -4
  10. package/dist/containers/Cluster/ClusterInfo/utils.js +2 -19
  11. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  12. package/dist/containers/Cluster/i18n/en.json +3 -1
  13. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  14. package/dist/containers/Node/Node.d.ts +0 -1
  15. package/dist/containers/Node/Node.js +5 -3
  16. package/dist/containers/Node/Node.js.map +1 -1
  17. package/dist/containers/Operations/Operations.js +2 -1
  18. package/dist/containers/Operations/Operations.js.map +1 -1
  19. package/dist/containers/PDiskPage/PDiskPage.js +5 -2
  20. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  21. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +0 -30
  22. package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
  23. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +0 -2
  24. package/dist/containers/Storage/StorageGroups/columns/hooks.js +2 -5
  25. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  26. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -2
  27. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -0
  28. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +5 -2
  29. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  30. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
  31. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +0 -5
  32. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +1 -1
  33. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js.map +1 -1
  34. package/dist/containers/Storage/utils/index.d.ts +3 -6
  35. package/dist/containers/Storage/utils/index.js +7 -34
  36. package/dist/containers/Storage/utils/index.js.map +1 -1
  37. package/dist/containers/StorageGroupPage/StorageGroupPage.js +4 -2
  38. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  39. package/dist/containers/Tablet/Tablet.d.ts +0 -1
  40. package/dist/containers/Tablet/Tablet.js +1 -1
  41. package/dist/containers/Tablet/Tablet.js.map +1 -1
  42. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  44. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  45. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -163
  46. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +10 -10
  47. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  48. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +0 -5
  49. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +1 -1
  50. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  51. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +2 -2
  52. package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +1 -1
  53. package/dist/containers/Tenant/Query/Issues/models.d.ts +2 -2
  54. package/dist/containers/Tenant/Query/Issues/models.js +2 -2
  55. package/dist/containers/Tenant/Query/Issues/models.js.map +1 -1
  56. package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +0 -1
  57. package/dist/containers/Tenant/Query/QueryEditor/helpers.js +1 -1
  58. package/dist/containers/Tenant/Query/QueryEditor/helpers.js.map +1 -1
  59. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js +49 -8
  60. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js.map +1 -1
  61. package/dist/containers/Tenant/Query/QueryResult/i18n/en.json +2 -1
  62. package/dist/containers/Tenant/Query/QueryResult/i18n/index.d.ts +1 -1
  63. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +0 -104
  64. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +4 -4
  65. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  66. package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +0 -12
  67. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  68. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  69. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +1 -2
  70. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +1 -1
  71. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  72. package/dist/containers/Tenant/utils/schema.d.ts +0 -1
  73. package/dist/containers/Tenant/utils/schema.js +0 -18
  74. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  75. package/dist/containers/UserSettings/i18n/en.json +1 -3
  76. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  77. package/dist/containers/UserSettings/settings.d.ts +0 -1
  78. package/dist/containers/UserSettings/settings.js +2 -7
  79. package/dist/containers/UserSettings/settings.js.map +1 -1
  80. package/dist/containers/VDiskPage/VDiskPage.js +7 -2
  81. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  82. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +0 -1
  83. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +1 -1
  84. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  85. package/dist/lib.d.ts +2 -2
  86. package/dist/lib.js +1 -1
  87. package/dist/lib.js.map +1 -1
  88. package/dist/routes.d.ts +2 -2
  89. package/dist/services/settings.d.ts +0 -1
  90. package/dist/services/settings.js +1 -2
  91. package/dist/services/settings.js.map +1 -1
  92. package/dist/store/reducers/cluster/cluster.d.ts +0 -164
  93. package/dist/store/reducers/cluster/cluster.js +1 -1
  94. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  95. package/dist/store/reducers/cluster/types.d.ts +2 -6
  96. package/dist/store/reducers/executeTopQueries/types.d.ts +0 -3
  97. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +0 -195
  98. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
  99. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
  100. package/dist/store/reducers/nodes/types.d.ts +1 -6
  101. package/dist/store/reducers/query/types.d.ts +2 -1
  102. package/dist/store/reducers/schema/schema.d.ts +0 -6
  103. package/dist/store/reducers/schema/schema.js +1 -1
  104. package/dist/store/reducers/schema/schema.js.map +1 -1
  105. package/dist/store/reducers/shardsWorkload/types.d.ts +0 -3
  106. package/dist/store/reducers/storage/types.d.ts +1 -6
  107. package/dist/store/reducers/storage/types.js.map +1 -1
  108. package/dist/store/reducers/storage/utils.d.ts +2 -5
  109. package/dist/store/reducers/storage/utils.js +3 -3
  110. package/dist/store/reducers/storage/utils.js.map +1 -1
  111. package/dist/store/reducers/tableSchemaData.d.ts +2 -1
  112. package/dist/store/reducers/tablets.d.ts +0 -131
  113. package/dist/store/reducers/tablets.js +1 -1
  114. package/dist/store/reducers/tablets.js.map +1 -1
  115. package/dist/store/reducers/tenants/utils.d.ts +0 -11
  116. package/dist/store/reducers/tenants/utils.js +1 -14
  117. package/dist/store/reducers/tenants/utils.js.map +1 -1
  118. package/dist/store/reducers/tooltip.d.ts +1 -1
  119. package/dist/store/reducers/tooltip.js +1 -1
  120. package/dist/store/reducers/vdisk/types.d.ts +0 -2
  121. package/dist/types/additionalProps.d.ts +2 -2
  122. package/dist/types/api/error.d.ts +1 -1
  123. package/dist/types/components.d.ts +5 -0
  124. package/dist/types/components.js +2 -0
  125. package/dist/types/components.js.map +1 -0
  126. package/dist/types/index.d.ts +0 -1
  127. package/dist/types/index.js.map +1 -1
  128. package/dist/types/store/tablet.d.ts +1 -8
  129. package/dist/types/store/tablets.d.ts +0 -8
  130. package/dist/types/store/tooltip.d.ts +2 -4
  131. package/dist/utils/constants.d.ts +0 -38
  132. package/dist/utils/constants.js +1 -28
  133. package/dist/utils/constants.js.map +1 -1
  134. package/dist/utils/dataFormatters/__test__/formatUptime.test.js +39 -4
  135. package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -1
  136. package/dist/utils/dataFormatters/dataFormatters.d.ts +6 -3
  137. package/dist/utils/dataFormatters/dataFormatters.js +34 -16
  138. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  139. package/dist/utils/dataFormatters/i18n/en.json +3 -1
  140. package/dist/utils/dataFormatters/i18n/index.d.ts +1 -1
  141. package/dist/utils/dataFormatters/i18n/index.js +1 -2
  142. package/dist/utils/dataFormatters/i18n/index.js.map +1 -1
  143. package/dist/utils/errors/i18n/en.json +3 -0
  144. package/dist/utils/errors/i18n/index.d.ts +2 -0
  145. package/dist/utils/errors/i18n/index.js +5 -0
  146. package/dist/utils/errors/i18n/index.js.map +1 -0
  147. package/dist/utils/errors/index.d.ts +6 -0
  148. package/dist/utils/errors/index.js +33 -0
  149. package/dist/utils/errors/index.js.map +1 -0
  150. package/dist/utils/hooks/useTableSort.d.ts +1 -1
  151. package/dist/utils/monitoring.d.ts +3 -2
  152. package/dist/utils/nodes.js.map +1 -1
  153. package/dist/utils/tablet.d.ts +0 -2
  154. package/dist/utils/tablet.js +0 -10
  155. package/dist/utils/tablet.js.map +1 -1
  156. package/dist/utils/tooltip.d.ts +0 -4
  157. package/dist/utils/tooltip.js +1 -23
  158. package/dist/utils/tooltip.js.map +1 -1
  159. package/dist/utils/utils.d.ts +0 -1
  160. package/dist/utils/utils.js +0 -10
  161. package/dist/utils/utils.js.map +1 -1
  162. package/package.json +2 -2
  163. package/dist/components/GroupInfo/GroupInfo.d.ts +0 -7
  164. package/dist/components/GroupInfo/GroupInfo.js +0 -27
  165. package/dist/components/GroupInfo/GroupInfo.js.map +0 -1
  166. package/dist/components/GroupInfo/i18n/en.json +0 -6
  167. package/dist/components/GroupInfo/i18n/index.d.ts +0 -1
  168. package/dist/components/GroupInfo/i18n/index.js +0 -5
  169. package/dist/components/GroupInfo/i18n/index.js.map +0 -1
  170. package/dist/components/QuerySettingsDescription/index.d.ts +0 -1
  171. package/dist/components/QuerySettingsDescription/index.js +0 -2
  172. package/dist/components/QuerySettingsDescription/index.js.map +0 -1
  173. package/dist/components/Tablet/Tablet.d.ts +0 -8
  174. package/dist/components/Tablet/Tablet.js +0 -18
  175. package/dist/components/Tablet/Tablet.js.map +0 -1
  176. package/dist/components/Tablet/Tablet.scss +0 -40
  177. package/dist/components/Tablet/index.d.ts +0 -1
  178. package/dist/components/Tablet/index.js +0 -2
  179. package/dist/components/Tablet/index.js.map +0 -1
  180. package/dist/components/TabletsOverall/TabletsOverall.d.ts +0 -8
  181. package/dist/components/TabletsOverall/TabletsOverall.js +0 -69
  182. package/dist/components/TabletsOverall/TabletsOverall.js.map +0 -1
  183. package/dist/components/TabletsOverall/TabletsOverall.scss +0 -18
  184. package/dist/containers/ClusterModeGuard/index.d.ts +0 -1
  185. package/dist/containers/ClusterModeGuard/index.js +0 -2
  186. package/dist/containers/ClusterModeGuard/index.js.map +0 -1
  187. package/dist/containers/Nodes/columns/hooks.d.ts +0 -6
  188. package/dist/containers/Nodes/columns/hooks.js +0 -12
  189. package/dist/containers/Nodes/columns/hooks.js.map +0 -1
  190. package/dist/containers/Nodes/index.d.ts +0 -1
  191. package/dist/containers/Nodes/index.js +0 -2
  192. package/dist/containers/Nodes/index.js.map +0 -1
  193. package/dist/containers/PDiskPage/shared.d.ts +0 -1
  194. package/dist/containers/PDiskPage/shared.js +0 -3
  195. package/dist/containers/PDiskPage/shared.js.map +0 -1
  196. package/dist/containers/Storage/Storage.d.ts +0 -17
  197. package/dist/containers/Storage/Storage.js +0 -101
  198. package/dist/containers/Storage/Storage.js.map +0 -1
  199. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +0 -14
  200. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js +0 -14
  201. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +0 -1
  202. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +0 -16
  203. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js +0 -22
  204. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +0 -1
  205. package/dist/containers/Storage/StorageNodes/shared.d.ts +0 -3
  206. package/dist/containers/Storage/StorageNodes/shared.js +0 -5
  207. package/dist/containers/Storage/StorageNodes/shared.js.map +0 -1
  208. package/dist/containers/Storage/StorageWrapper.d.ts +0 -10
  209. package/dist/containers/Storage/StorageWrapper.js +0 -20
  210. package/dist/containers/Storage/StorageWrapper.js.map +0 -1
  211. package/dist/store/reducers/nodes/selectors.d.ts +0 -4
  212. package/dist/store/reducers/nodes/selectors.js +0 -13
  213. package/dist/store/reducers/nodes/selectors.js.map +0 -1
  214. package/dist/store/reducers/schema/types.d.ts +0 -10
  215. package/dist/store/reducers/schema/types.js +0 -2
  216. package/dist/store/reducers/schema/types.js.map +0 -1
  217. package/dist/store/reducers/storage/selectors.d.ts +0 -4
  218. package/dist/store/reducers/storage/selectors.js +0 -37
  219. package/dist/store/reducers/storage/selectors.js.map +0 -1
  220. package/dist/utils/dataFormatters/i18n/ru.json +0 -3
@@ -16,7 +16,7 @@ export interface PreparedPlan {
16
16
  pristine?: QueryPlan | ScriptPlan;
17
17
  DurationUs?: string | number;
18
18
  }
19
- export interface SimplifiedPlan {
19
+ interface SimplifiedPlan {
20
20
  plan?: SimplifiedPlanItem[];
21
21
  pristine?: SimplifiedNode;
22
22
  }
@@ -55,3 +55,4 @@ export interface QueryState {
55
55
  };
56
56
  tenantPath?: string;
57
57
  }
58
+ export {};
@@ -1,10 +1,4 @@
1
1
  import type { TEvDescribeSchemeResult } from '../../../types/api/schema';
2
- export declare const initialState: {
3
- loading: boolean;
4
- data: {};
5
- currentSchemaPath: undefined;
6
- showPreview: boolean;
7
- };
8
2
  declare const _default: import("redux").Reducer<{
9
3
  loading: boolean;
10
4
  data: {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
3
  import { api } from '../api';
4
- export const initialState = {
4
+ const initialState = {
5
5
  loading: true,
6
6
  data: {},
7
7
  currentSchemaPath: undefined,
@@ -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,E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,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"}
@@ -9,6 +9,3 @@ export interface ShardsWorkloadFilters {
9
9
  to?: string;
10
10
  mode?: EShardsWorkloadMode;
11
11
  }
12
- export interface ShardsWorkloadRootStateSlice {
13
- shardsWorkload: ShardsWorkloadFilters;
14
- }
@@ -1,8 +1,7 @@
1
- import type { OrderType } from '@gravity-ui/react-data-table';
2
1
  import { z } from 'zod';
3
2
  import type { EFlag } from '../../../types/api/enums';
4
3
  import type { NodesGroupByField } from '../../../types/api/nodes';
5
- import type { GroupsGroupByField, StorageV2SortValue } from '../../../types/api/storage';
4
+ import type { GroupsGroupByField } from '../../../types/api/storage';
6
5
  import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
7
6
  import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
8
7
  export declare const visibleEntitiesSchema: z.ZodCatch<z.ZodNativeEnum<{
@@ -78,10 +77,6 @@ export interface PreparedStorageGroup {
78
77
  LatencyPutUserDataMs?: number;
79
78
  LatencyGetFastMs?: number;
80
79
  }
81
- export interface StorageSortParams {
82
- sortOrder: OrderType;
83
- sortValue: StorageV2SortValue;
84
- }
85
80
  export type TableGroup = {
86
81
  name: string;
87
82
  count: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAQtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/store/reducers/storage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAQtB,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import type { TNodesInfo } from '../../../types/api/nodes';
2
- import type { StorageGroupsResponse, TStorageGroupInfo, TStorageGroupInfoV2, TStorageInfo, TStoragePoolInfo } from '../../../types/api/storage';
3
- import type { PreparedStorageGroup, PreparedStorageResponse } from './types';
4
- export declare const prepareStorageGroupData: (group: TStorageGroupInfo, pool: TStoragePoolInfo) => PreparedStorageGroup;
5
- export declare const prepareStorageGroupDataV2: (group: TStorageGroupInfoV2) => PreparedStorageGroup;
6
- export declare const prepareStorageGroups: (StorageGroups?: TStorageGroupInfoV2[], StoragePools?: TStoragePoolInfo[]) => PreparedStorageGroup[];
2
+ import type { StorageGroupsResponse, TStorageInfo } from '../../../types/api/storage';
3
+ import type { PreparedStorageResponse } from './types';
7
4
  export declare const prepareStorageNodesResponse: (data: TNodesInfo) => PreparedStorageResponse;
8
5
  export declare const prepareStorageResponse: (data: TStorageInfo) => PreparedStorageResponse;
9
6
  export declare function prepareGroupsResponse(data: StorageGroupsResponse): PreparedStorageResponse;
@@ -25,7 +25,7 @@ const prepareVDisk = (vDisk, poolName) => {
25
25
  })),
26
26
  };
27
27
  };
28
- export const prepareStorageGroupData = (group, pool) => {
28
+ const prepareStorageGroupData = (group, pool) => {
29
29
  var _a;
30
30
  let missing = 0;
31
31
  let usedSpaceBytes = 0;
@@ -73,7 +73,7 @@ export const prepareStorageGroupData = (group, pool) => {
73
73
  DiskSpace: diskSpaceStatus,
74
74
  };
75
75
  };
76
- export const prepareStorageGroupDataV2 = (group) => {
76
+ const prepareStorageGroupDataV2 = (group) => {
77
77
  const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, Overall, GroupGeneration, } = group;
78
78
  const vDisks = VDisks.map((vdisk) => prepareVDisk(vdisk, PoolName));
79
79
  const usage = Number(Usage) * 100;
@@ -95,7 +95,7 @@ export const prepareStorageGroupDataV2 = (group) => {
95
95
  DiskSpace: diskSpaceStatus,
96
96
  };
97
97
  };
98
- export const prepareStorageGroups = (StorageGroups, StoragePools) => {
98
+ const prepareStorageGroups = (StorageGroups, StoragePools) => {
99
99
  let preparedGroups = [];
100
100
  if (StorageGroups) {
101
101
  preparedGroups = StorageGroups.map(prepareStorageGroupDataV2);
@@ -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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lB,kBAAkB,CAAE,GAAG,CAAC,CAAC,EAAC,SAAS,EAAE,UAAU,EAAC,EAAE,EAAE;QACpE,IAAI,SAAS,IAAI,UAAU,EAAE,CAAC;YAC1B,OAAO;gBACH,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC;aAC5B,CAAC;QACN,CAAC;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"}
@@ -1,6 +1,6 @@
1
1
  import type { SchemaData } from '../../containers/Tenant/Schema/SchemaViewer/types';
2
2
  import type { EPathType } from '../../types/api/schema';
3
- export interface GetTableSchemaDataParams {
3
+ interface GetTableSchemaDataParams {
4
4
  path: string;
5
5
  tenantName: string;
6
6
  type: EPathType;
@@ -8,3 +8,4 @@ export interface GetTableSchemaDataParams {
8
8
  export declare const tableSchemaDataApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
9
9
  getTableSchemaData: import("@reduxjs/toolkit/query").QueryDefinition<GetTableSchemaDataParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", SchemaData[], "api">;
10
10
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
11
+ export {};
@@ -4,137 +4,6 @@ import type { RootState } from '../defaultStore';
4
4
  export declare const tabletsApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
5
5
  getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
6
6
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
7
- export declare const selectGetTabletsInfo: ((state: {
8
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
9
- singleClusterMode: boolean;
10
- cluster: import("./cluster/types").ClusterState;
11
- tenant: import("./tenant/types").TenantState;
12
- tooltip: import("../../types/store/tooltip").ITooltipState;
13
- schema: {
14
- loading: boolean;
15
- data: {};
16
- currentSchemaPath: undefined;
17
- showPreview: boolean;
18
- };
19
- tenants: import("./tenants/types").TenantsState;
20
- partitions: {
21
- selectedConsumer?: string;
22
- };
23
- query: import("./query/types").QueryState;
24
- heatmap: import("../../types/store/heatmap").IHeatmapState;
25
- settings: import("./settings/types").SettingsState;
26
- executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
27
- shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
28
- authentication: import("./authentication/types").AuthenticationState;
29
- header: import("./header/types").HeaderState;
30
- queryActions: import("./queryActions/types").QueryActionsState;
31
- fullscreen: boolean;
32
- clusters: import("./clusters/types").ClustersFilters;
33
- }, params: TabletsApiRequestParams) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
34
- clearCache: () => void;
35
- resultsCount: () => number;
36
- resetResultsCount: () => void;
37
- } & {
38
- resultFunc: (resultFuncArgs_0: {
39
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
40
- singleClusterMode: boolean;
41
- cluster: import("./cluster/types").ClusterState;
42
- tenant: import("./tenant/types").TenantState;
43
- tooltip: import("../../types/store/tooltip").ITooltipState;
44
- schema: {
45
- loading: boolean;
46
- data: {};
47
- currentSchemaPath: undefined;
48
- showPreview: boolean;
49
- };
50
- tenants: import("./tenants/types").TenantsState;
51
- partitions: {
52
- selectedConsumer?: string;
53
- };
54
- query: import("./query/types").QueryState;
55
- heatmap: import("../../types/store/heatmap").IHeatmapState;
56
- settings: import("./settings/types").SettingsState;
57
- executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
58
- shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
59
- authentication: import("./authentication/types").AuthenticationState;
60
- header: import("./header/types").HeaderState;
61
- queryActions: import("./queryActions/types").QueryActionsState;
62
- fullscreen: boolean;
63
- clusters: import("./clusters/types").ClustersFilters;
64
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
65
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
66
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
67
- memoizedResultFunc: ((resultFuncArgs_0: {
68
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
69
- singleClusterMode: boolean;
70
- cluster: import("./cluster/types").ClusterState;
71
- tenant: import("./tenant/types").TenantState;
72
- tooltip: import("../../types/store/tooltip").ITooltipState;
73
- schema: {
74
- loading: boolean;
75
- data: {};
76
- currentSchemaPath: undefined;
77
- showPreview: boolean;
78
- };
79
- tenants: import("./tenants/types").TenantsState;
80
- partitions: {
81
- selectedConsumer?: string;
82
- };
83
- query: import("./query/types").QueryState;
84
- heatmap: import("../../types/store/heatmap").IHeatmapState;
85
- settings: import("./settings/types").SettingsState;
86
- executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
87
- shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
88
- authentication: import("./authentication/types").AuthenticationState;
89
- header: import("./header/types").HeaderState;
90
- queryActions: import("./queryActions/types").QueryActionsState;
91
- fullscreen: boolean;
92
- clusters: import("./clusters/types").ClustersFilters;
93
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
94
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
95
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>) => import("../../types/api/tablet").TEvTabletStateResponse | undefined) & {
96
- clearCache: () => void;
97
- resultsCount: () => number;
98
- resetResultsCount: () => void;
99
- };
100
- lastResult: () => import("../../types/api/tablet").TEvTabletStateResponse | undefined;
101
- dependencies: [(state: RootState) => {
102
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
103
- singleClusterMode: boolean;
104
- cluster: import("./cluster/types").ClusterState;
105
- tenant: import("./tenant/types").TenantState;
106
- tooltip: import("../../types/store/tooltip").ITooltipState;
107
- schema: {
108
- loading: boolean;
109
- data: {};
110
- currentSchemaPath: undefined;
111
- showPreview: boolean;
112
- };
113
- tenants: import("./tenants/types").TenantsState;
114
- partitions: {
115
- selectedConsumer?: string;
116
- };
117
- query: import("./query/types").QueryState;
118
- heatmap: import("../../types/store/heatmap").IHeatmapState;
119
- settings: import("./settings/types").SettingsState;
120
- executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters;
121
- shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters;
122
- authentication: import("./authentication/types").AuthenticationState;
123
- header: import("./header/types").HeaderState;
124
- queryActions: import("./queryActions/types").QueryActionsState;
125
- fullscreen: boolean;
126
- clusters: import("./clusters/types").ClustersFilters;
127
- }, (_state: RootState, params: TabletsApiRequestParams) => (state: import("@reduxjs/toolkit/query").RootState<{
128
- getTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">;
129
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<TabletsApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/tablet").TEvTabletStateResponse | undefined, "api">>];
130
- recomputations: () => number;
131
- resetRecomputations: () => void;
132
- dependencyRecomputations: () => number;
133
- resetDependencyRecomputations: () => void;
134
- } & {
135
- argsMemoize: typeof import("reselect").weakMapMemoize;
136
- memoize: typeof import("reselect").weakMapMemoize;
137
- };
138
7
  export declare const selectTabletsWithFqdn: ((state: {
139
8
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
140
9
  singleClusterMode: boolean;
@@ -23,7 +23,7 @@ const getTabletsInfoSelector = createSelector((params) => params, (params) => ta
23
23
  argsMemoize: lruMemoize,
24
24
  argsMemoizeOptions: { equalityCheck: isEqual },
25
25
  });
26
- export const selectGetTabletsInfo = createSelector((state) => state, (_state, params) => getTabletsInfoSelector(params), (state, selectTabletsInfo) => selectTabletsInfo(state).data);
26
+ const selectGetTabletsInfo = createSelector((state) => state, (_state, params) => getTabletsInfoSelector(params), (state, selectTabletsInfo) => selectTabletsInfo(state).data);
27
27
  export const selectTabletsWithFqdn = createSelector((state, params) => selectGetTabletsInfo(state, params), (state) => selectNodeHostsMap(state), (data, nodeHostsMap) => {
28
28
  if (!(data === null || data === void 0 ? void 0 : data.TabletStateInfo)) {
29
29
  return [];
@@ -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,OA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,MAAM,CAAC,EAC1F,CAAC,KAAgB,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAC/C,CAAC,IAAI,EAAE,YAAY,EAA0C,EAAE;IAC3D,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,CAAA,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,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"}
@@ -24,8 +24,6 @@ export declare const calculateTenantMetrics: (tenant?: TTenant) => {
24
24
  tabletStorageStats: TenantStorageStats[] | undefined;
25
25
  };
26
26
  export declare const prepareTenants: (tenants: TTenant[], useNodeAsBackend: boolean) => PreparedTenant[];
27
- export declare function calculateUsage(valueUsed?: number, valueLimit?: number): number | undefined;
28
- export declare const formatUsage: (usage?: number) => string | undefined;
29
27
  export declare const TENANT_CPU_DANGER_TRESHOLD = 70;
30
28
  export declare const TENANT_CPU_WARNING_TRESHOLD = 60;
31
29
  export declare const TENANT_STORAGE_DANGER_TRESHOLD = 85;
@@ -35,13 +33,4 @@ export declare const TENANT_MEMORY_WARNING_TRESHOLD = 60;
35
33
  export declare const cpuUsageToStatus: (usage?: number) => "Unspecified" | "Good" | "Warning" | "Danger";
36
34
  export declare const storageUsageToStatus: (usage?: number) => "Unspecified" | "Good" | "Warning" | "Danger";
37
35
  export declare const memoryUsageToStatus: (usage?: number) => "Unspecified" | "Good" | "Warning" | "Danger";
38
- export declare const formatTenantMetrics: ({ cpu, storage, memory, }: {
39
- cpu?: number;
40
- storage?: number;
41
- memory?: number;
42
- }) => {
43
- cpu: string | undefined;
44
- storage: string | undefined;
45
- memory: string | undefined;
46
- };
47
36
  export declare const normalizeProgress: (progress: number) => number;
@@ -1,6 +1,4 @@
1
1
  import { EType } from '../../../types/api/tenant';
2
- import { formatBytes } from '../../../utils/bytesParsers';
3
- import { formatCPUWithLabel } from '../../../utils/dataFormatters/dataFormatters';
4
2
  import { isNumeric } from '../../../utils/utils';
5
3
  import { METRIC_STATUS } from './contants';
6
4
  const getControlPlaneValue = (tenant) => {
@@ -149,18 +147,12 @@ export const prepareTenants = (tenants, useNodeAsBackend) => {
149
147
  };
150
148
  });
151
149
  };
152
- export function calculateUsage(valueUsed, valueLimit) {
150
+ function calculateUsage(valueUsed, valueLimit) {
153
151
  if (valueUsed && valueLimit) {
154
152
  return (valueUsed * 100) / valueLimit;
155
153
  }
156
154
  return undefined;
157
155
  }
158
- export const formatUsage = (usage) => {
159
- if (usage) {
160
- return `${usage.toFixed()}%`;
161
- }
162
- return undefined;
163
- };
164
156
  export const TENANT_CPU_DANGER_TRESHOLD = 70;
165
157
  export const TENANT_CPU_WARNING_TRESHOLD = 60;
166
158
  export const TENANT_STORAGE_DANGER_TRESHOLD = 85;
@@ -203,11 +195,6 @@ export const memoryUsageToStatus = (usage) => {
203
195
  }
204
196
  return METRIC_STATUS.Good;
205
197
  };
206
- export const formatTenantMetrics = ({ cpu, storage, memory, }) => ({
207
- cpu: formatCPUWithLabel(cpu),
208
- storage: formatBytes({ value: storage, significantDigits: 2 }) || undefined,
209
- memory: formatBytes({ value: memory, significantDigits: 2 }) || undefined,
210
- });
211
198
  export const normalizeProgress = (progress) => {
212
199
  if (progress >= 100) {
213
200
  return 100;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenants/utils.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M,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAc,EAAE,EAAE;IAClD,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,aAAa,CAAC,WAAW,CAAC;IACrC,CAAC;IAED,IAAI,KAAK,GAAG,6BAA6B,EAAE,CAAC;QACxC,OAAO,aAAa,CAAC,MAAM,CAAC;IAChC,CAAC;IACD,IAAI,KAAK,GAAG,8BAA8B,EAAE,CAAC;QACzC,OAAO,aAAa,CAAC,OAAO,CAAC;IACjC,CAAC;IAED,OAAO,aAAa,CAAC,IAAI,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAgB,EAAE,EAAE;IAClD,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QAClB,OAAO,GAAG,CAAC;IACf,CAAC;IACD,IAAI,QAAQ,IAAI,CAAC,EAAE,CAAC;QAChB,OAAO,CAAC,CAAC;IACb,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,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: "pool" | "json" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell";
12
+ templateType: "node" | "tablet" | "histogram" | "cell";
13
13
  additionalData: any;
14
14
  positions: ITooltipPositions | undefined;
15
15
  };
@@ -5,7 +5,7 @@ const initialState = {
5
5
  toolTipVisible: false,
6
6
  currentHoveredRef: undefined,
7
7
  data: undefined,
8
- templateType: 'pool',
8
+ templateType: 'cell',
9
9
  };
10
10
  const tooltip = (state = initialState, action) => {
11
11
  switch (action.type) {
@@ -1,6 +1,4 @@
1
1
  import type { PreparedVDisk } from '../../../utils/disks/types';
2
- import type { PreparedStorageGroup } from '../storage/types';
3
- export type VDiskGroup = PreparedStorageGroup;
4
2
  export interface VDiskData extends PreparedVDisk {
5
3
  NodeId?: number;
6
4
  NodeHost?: string;
@@ -1,6 +1,6 @@
1
- import type { InfoViewerItem } from '../components/InfoViewer';
2
1
  import type { TSystemStateInfo } from './api/nodes';
3
2
  import type { ETenantType } from './api/tenant';
3
+ import type { InfoItem } from './components';
4
4
  import type { VersionToColorMap } from './versions';
5
5
  export interface AdditionalVersionsProps {
6
6
  getVersionToColorMap?: () => VersionToColorMap;
@@ -10,7 +10,7 @@ export interface ClusterLink {
10
10
  url: string;
11
11
  }
12
12
  export interface AdditionalClusterProps {
13
- info?: InfoViewerItem[];
13
+ info?: InfoItem[];
14
14
  links?: ClusterLink[];
15
15
  }
16
16
  export interface AdditionalTenantsProps {
@@ -13,7 +13,7 @@ export interface NetworkError {
13
13
  description?: unknown;
14
14
  fileName?: unknown;
15
15
  lineNumber?: unknown;
16
- message?: 'Network Error';
16
+ message: 'Network Error';
17
17
  name?: string;
18
18
  number?: unknown;
19
19
  stack?: string;
@@ -0,0 +1,5 @@
1
+ import type React from 'react';
2
+ export interface InfoItem {
3
+ label: string;
4
+ value: React.ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/types/components.ts"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- export type RequiredField<Src, Fields extends keyof Src> = Src & Required<Pick<Src, Fields>>;
2
1
  export declare enum YQLType {
3
2
  Bool = "Bool",
4
3
  Int8 = "Int8",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,OA+BX;AA/BD,WAAY,OAAO;IACf,UAAU;IACV,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IAEnB,SAAS;IACT,4BAAiB,CAAA;IACjB,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,wCAA6B,CAAA;IAC7B,wBAAa,CAAA;IACb,wBAAa,CAAA;IAEb,gBAAgB;IAChB,wBAAa,CAAA;IACb,gCAAqB,CAAA;IACrB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,oCAAyB,CAAA;IACzB,sCAA2B,CAAA;AAC/B,CAAC,EA/BW,OAAO,KAAP,OAAO,QA+BlB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,OA+BX;AA/BD,WAAY,OAAO;IACf,UAAU;IACV,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IAEnB,SAAS;IACT,4BAAiB,CAAA;IACjB,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,wCAA6B,CAAA;IAC7B,wBAAa,CAAA;IACb,wBAAa,CAAA;IAEb,gBAAgB;IAChB,wBAAa,CAAA;IACb,gCAAqB,CAAA;IACrB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,oCAAyB,CAAA;IACzB,sCAA2B,CAAA;AAC/B,CAAC,EA/BW,OAAO,KAAP,OAAO,QA+BlB"}
@@ -1,4 +1,4 @@
1
- import type { ETabletState, TTabletStateInfo } from '../api/tablet';
1
+ import type { ETabletState } from '../api/tablet';
2
2
  export interface ITabletPreparedHistoryItem {
3
3
  nodeId: string;
4
4
  generation: number | undefined;
@@ -8,10 +8,3 @@ export interface ITabletPreparedHistoryItem {
8
8
  followerId: number | undefined;
9
9
  fqdn: string | undefined;
10
10
  }
11
- export interface ITabletHandledResponse {
12
- tabletData: TTabletStateInfo;
13
- historyData: ITabletPreparedHistoryItem[];
14
- }
15
- export interface ITabletDescribeHandledResponse {
16
- tenantPath: string;
17
- }
@@ -1,13 +1,5 @@
1
- import type { ETabletState, EType } from '../api/tablet';
2
- export interface TabletsState {
3
- stateFilter: ETabletState[];
4
- typeFilter: EType[];
5
- }
6
1
  export interface TabletsApiRequestParams {
7
2
  nodeId?: string | number;
8
3
  path?: string;
9
4
  database?: string;
10
5
  }
11
- export interface TabletsRootStateSlice {
12
- tablets: TabletsState;
13
- }
@@ -13,8 +13,6 @@ export interface ITooltipState {
13
13
  data?: any;
14
14
  additionalData?: any;
15
15
  }
16
- export type ShowTooltipFunction = typeof showTooltip;
16
+ type ShowTooltipFunction = typeof showTooltip;
17
17
  export type ITooltipAction = ReturnType<typeof hideTooltip> | ReturnType<ShowTooltipFunction>;
18
- export interface ITooltipRootStateSlice {
19
- tooltip: ITooltipState;
20
- }
18
+ export {};