ydb-embedded-ui 6.26.1 → 6.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/components/DiagnosticCard/DiagnosticCard.d.ts +4 -3
  2. package/dist/components/DiagnosticCard/DiagnosticCard.js +2 -2
  3. package/dist/components/DiagnosticCard/DiagnosticCard.js.map +1 -1
  4. package/dist/components/DiagnosticCard/DiagnosticCard.scss +17 -4
  5. package/dist/components/DoughnutMetrics/DoughnutMetrics.d.ts +20 -0
  6. package/dist/components/DoughnutMetrics/DoughnutMetrics.js +26 -0
  7. package/dist/components/DoughnutMetrics/DoughnutMetrics.js.map +1 -0
  8. package/dist/components/DoughnutMetrics/DoughnutMetrics.scss +58 -0
  9. package/dist/components/PaginatedTable/TableChunk.js +2 -0
  10. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  11. package/dist/components/PaginatedTable/types.d.ts +1 -0
  12. package/dist/components/ProgressViewer/ProgressViewer.js +10 -11
  13. package/dist/components/ProgressViewer/ProgressViewer.js.map +1 -1
  14. package/dist/components/ProgressViewer/ProgressViewer.scss +1 -1
  15. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +4 -2
  16. package/dist/components/Tag/Tag.scss +1 -2
  17. package/dist/components/Tags/Tags.d.ts +3 -2
  18. package/dist/components/Tags/Tags.js +3 -5
  19. package/dist/components/Tags/Tags.js.map +1 -1
  20. package/dist/components/nodesColumns/columns.d.ts +2 -1
  21. package/dist/components/nodesColumns/columns.js.map +1 -1
  22. package/dist/components/nodesColumns/constants.d.ts +4 -0
  23. package/dist/components/nodesColumns/constants.js +25 -0
  24. package/dist/components/nodesColumns/constants.js.map +1 -1
  25. package/dist/components/nodesColumns/i18n/en.json +2 -1
  26. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  27. package/dist/components/nodesColumns/types.d.ts +0 -3
  28. package/dist/containers/Cluster/Cluster.js +4 -3
  29. package/dist/containers/Cluster/Cluster.js.map +1 -1
  30. package/dist/containers/Cluster/Cluster.scss +35 -8
  31. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +10 -0
  32. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +66 -0
  33. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -0
  34. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +46 -0
  35. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.d.ts +17 -0
  36. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.js +20 -0
  37. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.js.map +1 -0
  38. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.d.ts +5 -0
  39. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.js +19 -0
  40. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.js.map +1 -0
  41. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.d.ts +5 -0
  42. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.js +20 -0
  43. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.js.map +1 -0
  44. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.d.ts +5 -0
  45. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.js +20 -0
  46. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.js.map +1 -0
  47. package/dist/containers/Cluster/ClusterDashboard/shared.d.ts +9 -0
  48. package/dist/containers/Cluster/ClusterDashboard/shared.js +3 -0
  49. package/dist/containers/Cluster/ClusterDashboard/shared.js.map +1 -0
  50. package/dist/containers/Cluster/ClusterDashboard/utils.d.ts +19 -0
  51. package/dist/containers/Cluster/ClusterDashboard/utils.js +63 -0
  52. package/dist/containers/Cluster/ClusterDashboard/utils.js.map +1 -0
  53. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +1 -3
  54. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -15
  55. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  56. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +1 -18
  57. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +4 -3
  58. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +14 -15
  59. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -1
  60. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +1 -6
  61. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +3 -2
  62. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +1 -4
  63. package/dist/containers/Cluster/ClusterInfo/utils.js +20 -107
  64. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  65. package/dist/containers/Cluster/i18n/en.json +11 -12
  66. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  67. package/dist/containers/Nodes/columns/columns.d.ts +2 -1
  68. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  69. package/dist/containers/Nodes/columns/hooks.d.ts +1 -1
  70. package/dist/containers/Nodes/getNodes.js +5 -1
  71. package/dist/containers/Nodes/getNodes.js.map +1 -1
  72. package/dist/containers/Operations/Operations.d.ts +5 -0
  73. package/dist/containers/Operations/Operations.js +33 -0
  74. package/dist/containers/Operations/Operations.js.map +1 -0
  75. package/dist/containers/Operations/OperationsControls.d.ts +12 -0
  76. package/dist/containers/Operations/OperationsControls.js +12 -0
  77. package/dist/containers/Operations/OperationsControls.js.map +1 -0
  78. package/dist/containers/Operations/columns.d.ts +3 -0
  79. package/dist/containers/Operations/columns.js +103 -0
  80. package/dist/containers/Operations/columns.js.map +1 -0
  81. package/dist/containers/Operations/constants.d.ts +23 -0
  82. package/dist/containers/Operations/constants.js +32 -0
  83. package/dist/containers/Operations/constants.js.map +1 -0
  84. package/dist/containers/Operations/i18n/en.json +16 -0
  85. package/dist/containers/Operations/i18n/index.d.ts +2 -0
  86. package/dist/containers/Operations/i18n/index.js +5 -0
  87. package/dist/containers/Operations/i18n/index.js.map +1 -0
  88. package/dist/containers/Operations/index.d.ts +1 -0
  89. package/dist/containers/Operations/index.js +2 -0
  90. package/dist/containers/Operations/index.js.map +1 -0
  91. package/dist/containers/Operations/shared.d.ts +1 -0
  92. package/dist/containers/Operations/shared.js +3 -0
  93. package/dist/containers/Operations/shared.js.map +1 -0
  94. package/dist/containers/Operations/useOperationsQueryParams.d.ts +11 -0
  95. package/dist/containers/Operations/useOperationsQueryParams.js +39 -0
  96. package/dist/containers/Operations/useOperationsQueryParams.js.map +1 -0
  97. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -3
  98. package/dist/containers/Storage/StorageGroups/columns/constants.js +25 -0
  99. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  100. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -3
  101. package/dist/containers/Storage/StorageGroups/getGroups.js +5 -1
  102. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  103. package/dist/containers/Storage/StorageNodes/columns/columns.js +3 -3
  104. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  105. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +3 -43
  106. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -15
  107. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -3
  109. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  110. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
  111. package/dist/containers/Storage/StorageNodes/getNodes.js +5 -1
  112. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  113. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  114. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  115. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -0
  116. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  117. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  118. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  119. package/dist/containers/Tenant/Query/Preview/Preview.js +1 -3
  120. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  121. package/dist/containers/Tenant/utils/schemaQueryTemplates.d.ts +1 -1
  122. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +2 -2
  123. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  124. package/dist/services/api.d.ts +2 -0
  125. package/dist/services/api.js +6 -0
  126. package/dist/services/api.js.map +1 -1
  127. package/dist/store/reducers/operationList.d.ts +4 -0
  128. package/dist/store/reducers/operationList.js +19 -0
  129. package/dist/store/reducers/operationList.js.map +1 -0
  130. package/dist/store/reducers/overview/overview.js +2 -2
  131. package/dist/store/reducers/overview/overview.js.map +1 -1
  132. package/dist/store/reducers/tableData.d.ts +1 -0
  133. package/dist/store/reducers/tableData.js +2 -1
  134. package/dist/store/reducers/tableData.js.map +1 -1
  135. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  136. package/dist/store/reducers/tenant/constants.js +1 -0
  137. package/dist/store/reducers/tenant/constants.js.map +1 -1
  138. package/dist/store/reducers/topic.js +1 -1
  139. package/dist/store/reducers/topic.js.map +1 -1
  140. package/dist/types/api/cluster.d.ts +3 -0
  141. package/dist/types/api/cluster.js.map +1 -1
  142. package/dist/types/api/operationList.d.ts +114 -0
  143. package/dist/types/api/operationList.js +42 -0
  144. package/dist/types/api/operationList.js.map +1 -0
  145. package/dist/types/api/storage.d.ts +1 -1
  146. package/dist/utils/bytesParsers/__test__/formatBytes.test.js +23 -22
  147. package/dist/utils/bytesParsers/__test__/formatBytes.test.js.map +1 -1
  148. package/dist/utils/bytesParsers/formatBytes.d.ts +2 -1
  149. package/dist/utils/bytesParsers/formatBytes.js +5 -5
  150. package/dist/utils/bytesParsers/formatBytes.js.map +1 -1
  151. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.d.ts +1 -0
  152. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.js +37 -0
  153. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.js.map +1 -0
  154. package/dist/utils/dataFormatters/dataFormatters.d.ts +3 -1
  155. package/dist/utils/dataFormatters/dataFormatters.js +33 -3
  156. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  157. package/dist/utils/numeral.js +2 -1
  158. package/dist/utils/numeral.js.map +1 -1
  159. package/dist/utils/progress.d.ts +10 -0
  160. package/dist/utils/progress.js +13 -0
  161. package/dist/utils/progress.js.map +1 -0
  162. package/dist/utils/tableUtils/getRequiredDataFields.d.ts +1 -0
  163. package/dist/utils/tableUtils/getRequiredDataFields.js +11 -0
  164. package/dist/utils/tableUtils/getRequiredDataFields.js.map +1 -0
  165. package/dist/utils/tableUtils/types.d.ts +3 -0
  166. package/dist/utils/tableUtils/types.js +2 -0
  167. package/dist/utils/tableUtils/types.js.map +1 -0
  168. package/dist/utils/utils.d.ts +1 -0
  169. package/dist/utils/utils.js +1 -0
  170. package/dist/utils/utils.js.map +1 -1
  171. package/package.json +1 -1
  172. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -3
  173. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +0 -2
  174. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +0 -5
  175. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Preview/Preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,MAAM,EA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 +22,7 @@ export declare const dropAsyncReplicationTemplate: (params?: SchemaQueryParams)
22
22
  export declare const alterAsyncReplicationTemplate: (params?: SchemaQueryParams) => string;
23
23
  export declare const addTableIndex: (params?: SchemaQueryParams) => string;
24
24
  export declare const dropTableIndex: (params?: SchemaQueryParams) => string;
25
- export declare const createCdcStreamTemplate: () => string;
25
+ export declare const createCdcStreamTemplate: (params?: SchemaQueryParams) => string;
26
26
  export declare const createGroupTemplate: () => string;
27
27
  export declare const createUserTemplate: () => string;
28
28
  export declare const deleteRowsTemplate: (params?: SchemaQueryParams) => string;
@@ -156,9 +156,9 @@ export const dropTableIndex = (params) => {
156
156
  const path = params === null || params === void 0 ? void 0 : params.relativePath.split('/').slice(0, -1).join('/');
157
157
  return `ALTER TABLE \`${path || '$path'}\` DROP INDEX \`${indexName || '$indexName'}\`;`;
158
158
  };
159
- export const createCdcStreamTemplate = () => {
159
+ export const createCdcStreamTemplate = (params) => {
160
160
  return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create_changefeed
161
- ADD CHANGEFEED $name WITH (
161
+ ALTER TABLE \`${(params === null || params === void 0 ? void 0 : params.relativePath) || '$path'}\` ADD CHANGEFEED $name WITH (
162
162
  MODE = $mode, -- KEYS_ONLY, UPDATES, NEW_IMAGE, OLD_IMAGE, or NEW_AND_OLD_IMAGES
163
163
  FORMAT = $format, -- JSON or DEBEZIUM_JSON
164
164
  VIRTUAL_TIMESTAMPS = $virtualTimestamps, -- true or false
@@ -1 +1 @@
1
- {"version":3,"file":"schemaQueryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaQueryTemplates.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,OAAO;iBACM,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,KAAI,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B9C,CAAC;AACH,CAAC,CAAC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;;;oDAIyC,CAAC;AACrD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACjC,OAAO;;;;kDAIuC,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,MAA0B,EAAE,EAAE;IACjE,OAAO;;OAEJ,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,KAAI,wBAAwB;;;;;;;;;;yEAUkB,CAAC;AAC1E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAClE,OAAO;;OAEJ,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,KAAI,wBAAwB;;;;;;;;iHAQ0D,CAAC;AAClH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,OAAO;WACA,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,KAAI,OAAO;;oBAEtB,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC5D,OAAO,gBAAgB,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,KAAI,OAAO,KAAK,CAAC;AAChE,CAAC,CAAC"}
@@ -13,6 +13,7 @@ import type { ModifyDiskResponse } from '../types/api/modifyDisk';
13
13
  import type { TNetInfo } from '../types/api/netInfo';
14
14
  import type { NodesRequestParams, TNodesInfo } from '../types/api/nodes';
15
15
  import type { TEvNodesInfo } from '../types/api/nodesList';
16
+ import type { OperationListRequestParams, TOperationList } from '../types/api/operationList';
16
17
  import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
17
18
  import type { Actions, ErrorResponse, QueryAPIResponse, Stats, Timeout, TracingLevel } from '../types/api/query';
18
19
  import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/render';
@@ -192,6 +193,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
192
193
  getClustersList(_?: never, __?: {
193
194
  signal?: AbortSignal;
194
195
  }): Promise<MetaClusters>;
196
+ getOperationList(params: OperationListRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TOperationList>;
195
197
  getClusterBaseInfo(_clusterName: string, _opts?: AxiosOptions): Promise<MetaBaseClusterInfo>;
196
198
  }
197
199
  export declare class YdbWebVersionAPI extends YdbEmbeddedAPI {
@@ -456,6 +456,12 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
456
456
  getClustersList(_, __ = {}) {
457
457
  throw new Error('Method is not implemented.');
458
458
  }
459
+ getOperationList(params, { concurrentId, signal } = {}) {
460
+ return this.get(this.getPath('/operation/list'), { ...params }, {
461
+ concurrentId,
462
+ requestConfig: { signal },
463
+ });
464
+ }
459
465
  getClusterBaseInfo(_clusterName, _opts = {}) {
460
466
  throw new Error('Method is not implemented.');
461
467
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAiDzE,OAAO,EACH,iCAAiC,EACjC,mCAAmC,EACnC,YAAY,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,MAAM,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B,EACxC;YACI,IAAI,EAAE,WAAW;SACpB,EACD,EAAC,YAAY,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC1C,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { OperationListRequestParams } from '../../types/api/operationList';
2
+ export declare const operationListApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
3
+ getOperationList: import("@reduxjs/toolkit/query").QueryDefinition<OperationListRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../types/api/operationList").TOperationList | undefined, "api">;
4
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -0,0 +1,19 @@
1
+ import { api } from './api';
2
+ export const operationListApi = api.injectEndpoints({
3
+ endpoints: (build) => ({
4
+ getOperationList: build.query({
5
+ queryFn: async (params, { signal }) => {
6
+ try {
7
+ const data = await window.api.getOperationList(params, { signal });
8
+ return { data };
9
+ }
10
+ catch (error) {
11
+ return { error };
12
+ }
13
+ },
14
+ providesTags: ['All'],
15
+ }),
16
+ }),
17
+ overrideExisting: 'throw',
18
+ });
19
+ //# sourceMappingURL=operationList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationList.js","sourceRoot":"","sources":["../../../src/store/reducers/operationList.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC,eAAe,CAAC;IAChD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,gBAAgB,EAAE,KAAK,CAAC,KAAK,CAAC;YAC1B,OAAO,EAAE,KAAK,EAAE,MAAkC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAC5D,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,MAAM,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBACjE,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -59,13 +59,13 @@ export function useGetMultiOverviewQuery({ paths, database, autoRefreshInterval,
59
59
  }, {
60
60
  pollingInterval: autoRefreshInterval,
61
61
  });
62
- const { currentData: currentChindrenDescribe = [], isFetching: childrenDescribeIsFetching, error: childrenDescribeError, } = overviewApi.useGetMultiOverviewQuery(additionalPaths.length ? { paths: additionalPaths, database } : skipToken, {
62
+ const { currentData: currentChindrenDescribe, isFetching: childrenDescribeIsFetching, error: childrenDescribeError, } = overviewApi.useGetMultiOverviewQuery(additionalPaths.length ? { paths: additionalPaths, database } : skipToken, {
63
63
  pollingInterval: autoRefreshInterval,
64
64
  });
65
65
  const childrenDescribeLoading = childrenDescribeIsFetching && currentChindrenDescribe === undefined;
66
66
  const mainDescribeLoading = mainDescribeIsFetching && mainDescribe === undefined;
67
67
  const loading = mainDescribeLoading || childrenDescribeLoading;
68
- const describe = [mainDescribe, ...currentChindrenDescribe];
68
+ const describe = [mainDescribe, ...(currentChindrenDescribe !== null && currentChindrenDescribe !== void 0 ? currentChindrenDescribe : [])];
69
69
  const mergedDescribe = describe.reduce((acc, item) => {
70
70
  if (item === null || item === void 0 ? void 0 : item.Path) {
71
71
  acc[item.Path] = item;
@@ -1 +1 @@
1
- {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/store/reducers/overview/overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,gCAAgC,EAAC,MAAM,yCAAyC,CAAC;AAIzF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAC,eAAe,CAAC;IAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,gBAAgB,EAAE,KAAK,CAAC,KAAK,CAAC;YAC1B,OAAO,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAsC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBAChF,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,GAAG,CAC1B,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACZ,MAAM,CAAC,GAAG,CAAC,WAAW,CAClB;wBACI,IAAI,EAAE,CAAC;wBACP,QAAQ;qBACX,EACD,EAAC,MAAM,EAAC,CACX,CACJ,CACJ,CAAC;oBACF,OAAO,EAAC,IAAI,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AAI,uBAAJ,IAAI,CAAE,IAAI,EAAE,CAAC;YACb,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;QAC1B,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,cAAc,EAAC,CAAC;AACxF,CAAC"}
@@ -6,6 +6,7 @@ interface PaginatedTableParams<T, F> {
6
6
  filters: F;
7
7
  limit: number;
8
8
  sortParams?: SortParams;
9
+ columnsIds: string[];
9
10
  tableName: string;
10
11
  }
11
12
  export declare const tableDataApi: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
@@ -2,13 +2,14 @@ import { api } from './api';
2
2
  function endpoints(build) {
3
3
  return {
4
4
  fetchTableChunk: build.query({
5
- queryFn: async ({ offset, limit, sortParams, filters, fetchData }, { signal }) => {
5
+ queryFn: async ({ offset, limit, sortParams, filters, columnsIds, fetchData }, { signal }) => {
6
6
  try {
7
7
  const response = await fetchData({
8
8
  limit,
9
9
  offset,
10
10
  filters,
11
11
  sortParams,
12
+ columnsIds,
12
13
  signal,
13
14
  });
14
15
  return { data: response };
@@ -1 +1 @@
1
- {"version":3,"file":"tableData.js","sourceRoot":"","sources":["../../../src/store/reducers/tableData.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAW1B,SAAS,SAAS,CAAO,KAAmD;IACxE,OAAO;QACH,eAAe,EAAE,KAAK,CAAC,KAAK,CAAoD;YAC5E,OAAO,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACzE,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC;wBAC7B,KAAK;wBAC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-23,6 +23,7 @@ export declare const TENANT_DIAGNOSTICS_TABS_IDS: {
23
23
  readonly consumers: "consumers";
24
24
  readonly partitions: "partitions";
25
25
  readonly configs: "configs";
26
+ readonly operations: "operations";
26
27
  };
27
28
  export declare const TENANT_SUMMARY_TABS_IDS: {
28
29
  readonly overview: "overview";
@@ -23,6 +23,7 @@ export const TENANT_DIAGNOSTICS_TABS_IDS = {
23
23
  consumers: 'consumers',
24
24
  partitions: 'partitions',
25
25
  configs: 'configs',
26
+ operations: 'operations',
26
27
  };
27
28
  export const TENANT_SUMMARY_TABS_IDS = {
28
29
  overview: 'overview',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenant/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACV,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CACpB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/store/reducers/tenant/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;CAClB,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACV,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CACpB,CAAC"}
@@ -24,7 +24,7 @@ export const topicApi = api.injectEndpoints({
24
24
  }),
25
25
  overrideExisting: 'throw',
26
26
  });
27
- const createGetTopicSelector = createSelector((path, database) => ({ path, database }), (params) => topicApi.endpoints.getTopic.select(params));
27
+ const createGetTopicSelector = createSelector((path) => path, (_path, database) => database, (path, database) => topicApi.endpoints.getTopic.select({ path, database }));
28
28
  const selectTopicStats = createSelector((state) => state, (_state, path, database) => createGetTopicSelector(path, database), (state, selectGetTopic) => { var _a; return (_a = selectGetTopic(state).data) === null || _a === void 0 ? void 0 : _a.topic_stats; });
29
29
  const selectConsumers = createSelector((state) => state, (_state, path, database) => createGetTopicSelector(path, database), (state, selectGetTopic) => { var _a; return (_a = selectGetTopic(state).data) === null || _a === void 0 ? void 0 : _a.consumers; });
30
30
  export const selectConsumersNames = createSelector(selectConsumers, (consumers) => {
@@ -1 +1 @@
1
- {"version":3,"file":"topic.js","sourceRoot":"","sources":["../../../src/store/reducers/topic.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,yBAAyB,EAAC,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAC,QAAQ,EAAE,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;AAG3E,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC;YAClB,OAAO,EAAE,KAAK,EAAE,MAAwC,EAAE,EAAE;gBACxD,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;oBAC/C,yEAAyE;oBACzE,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;wBAC3B,OAAO,EAAC,KAAK,E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,aAAa,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,EACF,gBAAgB,GAAG,GAAG,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,GAChB,GAAG,aAAa,IAAI,EAAE,CAAC;IAExB,OAAO;QACH,SAAS,EAAE,gBAAgB;QAC3B,kBAAkB,EAAE,wBAAwB,CAAC,mBAAmB,CAAC;QACjE,kBAAkB,EAAE,QAAQ,CAAC,kBAAkB,CAAC;QAChD,UAAU,EAAE,yBAAyB,CAAC,aAAa,CAAC;KACvD,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,cAAc,CAAC,eAAe,EAAE,CAAC,SAAS,EAAE,EAAE;IACrF,OAAO,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC/B,MAAM,EAAC,IAAI,EAAE,cAAc,EAAC,GAAG,QAAQ,IAAI,EAAE,CAAC;QAE9C,MAAM,EAAC,6BAA6B,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAU,EAAC,GACpF,cAAc,IAAI,EAAE,CAAC;QAEzB,OAAO;YACH,IAAI;YACJ,SAAS,EAAE,yBAAyB,CAAC,UAAU,CAAC;YAEhD,QAAQ,EAAE,QAAQ,CAAC,kBAAkB,CAAC;YACtC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,CAAC;YACpC,YAAY,EAAE,wBAAwB,CAAC,6BAA6B,CAAC;SACxE,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -51,6 +51,9 @@ export interface TClusterInfoV2 extends TClusterInfoV1 {
51
51
  MapDataCenters?: {
52
52
  [key: string]: number;
53
53
  };
54
+ MapNodeRoles?: {
55
+ [key: string]: number;
56
+ };
54
57
  MapNodeStates?: Partial<Record<EFlag, number>>;
55
58
  /** value is uint64 */
56
59
  MapStorageTotal?: {
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AAkFA,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"}
@@ -0,0 +1,114 @@
1
+ import type { IProtobufTimeObject } from './common';
2
+ /**
3
+ * endpoint: /operation/list
4
+ *
5
+ * source: https://github.com/ydb-platform/ydb/blob/main/ydb/public/api/protos/ydb_operation.proto
6
+ */
7
+ export declare enum EStatusCode {
8
+ STATUS_CODE_UNSPECIFIED = "STATUS_CODE_UNSPECIFIED",
9
+ SUCCESS = "SUCCESS",
10
+ BAD_REQUEST = "BAD_REQUEST",
11
+ UNAUTHORIZED = "UNAUTHORIZED",
12
+ INTERNAL_ERROR = "INTERNAL_ERROR",
13
+ ABORTED = "ABORTED",
14
+ UNAVAILABLE = "UNAVAILABLE",
15
+ OVERLOADED = "OVERLOADED",
16
+ SCHEME_ERROR = "SCHEME_ERROR",
17
+ GENERIC_ERROR = "GENERIC_ERROR",
18
+ TIMEOUT = "TIMEOUT",
19
+ BAD_SESSION = "BAD_SESSION",
20
+ PRECONDITION_FAILED = "PRECONDITION_FAILED",
21
+ ALREADY_EXISTS = "ALREADY_EXISTS",
22
+ NOT_FOUND = "NOT_FOUND",
23
+ SESSION_EXPIRED = "SESSION_EXPIRED",
24
+ CANCELLED = "CANCELLED",
25
+ UNDETERMINED = "UNDETERMINED",
26
+ UNSUPPORTED = "UNSUPPORTED",
27
+ SESSION_BUSY = "SESSION_BUSY",
28
+ EXTERNAL_ERROR = "EXTERNAL_ERROR"
29
+ }
30
+ export interface TPosition {
31
+ row?: number;
32
+ column?: number;
33
+ file?: string;
34
+ }
35
+ export interface TIssueMessage {
36
+ position?: TPosition;
37
+ message?: string;
38
+ end_position?: TPosition;
39
+ issue_code?: number;
40
+ severity?: number;
41
+ issues?: TIssueMessage[];
42
+ }
43
+ export interface IndexBuildMetadata {
44
+ '@type'?: 'type.googleapis.com/Ydb.Table.IndexBuildMetadata';
45
+ description?: IndexBuildDescription;
46
+ state?: IndexBuildState;
47
+ progress?: number;
48
+ }
49
+ interface IndexBuildDescription {
50
+ path?: string;
51
+ index?: TableIndex;
52
+ }
53
+ export type TGlobalIndex = {
54
+ _type?: 'global_index';
55
+ global_index: unknown;
56
+ };
57
+ export type TGlobalAsyncIndex = {
58
+ _type?: 'global_async_index';
59
+ global_async_index: unknown;
60
+ };
61
+ export type TGlobalUniqueIndex = {
62
+ _type?: 'global_unique_index';
63
+ global_unique_index: unknown;
64
+ };
65
+ export type TGlobalVectorKmeansTreeIndexIndex = {
66
+ _type?: 'global_vector_kmeans_tree_index';
67
+ global_vector_kmeans_tree_index: unknown;
68
+ };
69
+ export type TIndexType = TGlobalIndex | TGlobalAsyncIndex | TGlobalUniqueIndex | TGlobalVectorKmeansTreeIndexIndex;
70
+ type TableIndex = {
71
+ name?: string;
72
+ index_columns?: string[];
73
+ data_columns?: string[];
74
+ } & TIndexType;
75
+ export declare enum IndexBuildState {
76
+ STATE_UNSPECIFIED = "STATE_UNSPECIFIED",
77
+ STATE_PREPARING = "STATE_PREPARING",
78
+ STATE_TRANSFERING_DATA = "STATE_TRANSFERING_DATA",
79
+ STATE_APPLYING = "STATE_APPLYING",
80
+ STATE_DONE = "STATE_DONE",
81
+ STATE_CANCELLATION = "STATE_CANCELLATION",
82
+ STATE_CANCELLED = "STATE_CANCELLED",
83
+ STATE_REJECTION = "STATE_REJECTION",
84
+ STATE_REJECTED = "STATE_REJECTED"
85
+ }
86
+ export type TOperationMetadata = IndexBuildMetadata;
87
+ export interface TCostInfo {
88
+ consumed_units?: number;
89
+ }
90
+ export interface TOperation {
91
+ id?: string;
92
+ ready?: boolean;
93
+ status?: EStatusCode;
94
+ issues?: TIssueMessage[];
95
+ metadata?: TOperationMetadata;
96
+ cost_info?: TCostInfo;
97
+ create_time?: IProtobufTimeObject;
98
+ end_time?: IProtobufTimeObject;
99
+ created_by?: string;
100
+ }
101
+ export interface TOperationList {
102
+ status?: EStatusCode;
103
+ issues?: TIssueMessage[];
104
+ operations?: TOperation[];
105
+ next_page_token?: string;
106
+ }
107
+ export type OperationKind = 'ss/backgrounds' | 'import' | 'export' | 'buildindex' | 'scriptexec';
108
+ export interface OperationListRequestParams {
109
+ database: string;
110
+ kind: OperationKind;
111
+ page_size?: number;
112
+ page_token?: string;
113
+ }
114
+ export {};
@@ -0,0 +1,42 @@
1
+ /**
2
+ * endpoint: /operation/list
3
+ *
4
+ * source: https://github.com/ydb-platform/ydb/blob/main/ydb/public/api/protos/ydb_operation.proto
5
+ */
6
+ export var EStatusCode;
7
+ (function (EStatusCode) {
8
+ EStatusCode["STATUS_CODE_UNSPECIFIED"] = "STATUS_CODE_UNSPECIFIED";
9
+ EStatusCode["SUCCESS"] = "SUCCESS";
10
+ EStatusCode["BAD_REQUEST"] = "BAD_REQUEST";
11
+ EStatusCode["UNAUTHORIZED"] = "UNAUTHORIZED";
12
+ EStatusCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
13
+ EStatusCode["ABORTED"] = "ABORTED";
14
+ EStatusCode["UNAVAILABLE"] = "UNAVAILABLE";
15
+ EStatusCode["OVERLOADED"] = "OVERLOADED";
16
+ EStatusCode["SCHEME_ERROR"] = "SCHEME_ERROR";
17
+ EStatusCode["GENERIC_ERROR"] = "GENERIC_ERROR";
18
+ EStatusCode["TIMEOUT"] = "TIMEOUT";
19
+ EStatusCode["BAD_SESSION"] = "BAD_SESSION";
20
+ EStatusCode["PRECONDITION_FAILED"] = "PRECONDITION_FAILED";
21
+ EStatusCode["ALREADY_EXISTS"] = "ALREADY_EXISTS";
22
+ EStatusCode["NOT_FOUND"] = "NOT_FOUND";
23
+ EStatusCode["SESSION_EXPIRED"] = "SESSION_EXPIRED";
24
+ EStatusCode["CANCELLED"] = "CANCELLED";
25
+ EStatusCode["UNDETERMINED"] = "UNDETERMINED";
26
+ EStatusCode["UNSUPPORTED"] = "UNSUPPORTED";
27
+ EStatusCode["SESSION_BUSY"] = "SESSION_BUSY";
28
+ EStatusCode["EXTERNAL_ERROR"] = "EXTERNAL_ERROR";
29
+ })(EStatusCode || (EStatusCode = {}));
30
+ export var IndexBuildState;
31
+ (function (IndexBuildState) {
32
+ IndexBuildState["STATE_UNSPECIFIED"] = "STATE_UNSPECIFIED";
33
+ IndexBuildState["STATE_PREPARING"] = "STATE_PREPARING";
34
+ IndexBuildState["STATE_TRANSFERING_DATA"] = "STATE_TRANSFERING_DATA";
35
+ IndexBuildState["STATE_APPLYING"] = "STATE_APPLYING";
36
+ IndexBuildState["STATE_DONE"] = "STATE_DONE";
37
+ IndexBuildState["STATE_CANCELLATION"] = "STATE_CANCELLATION";
38
+ IndexBuildState["STATE_CANCELLED"] = "STATE_CANCELLED";
39
+ IndexBuildState["STATE_REJECTION"] = "STATE_REJECTION";
40
+ IndexBuildState["STATE_REJECTED"] = "STATE_REJECTED";
41
+ })(IndexBuildState || (IndexBuildState = {}));
42
+ //# sourceMappingURL=operationList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationList.js","sourceRoot":"","sources":["../../../src/types/api/operationList.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAN,IAAY,WAsBX;AAtBD,WAAY,WAAW;IACnB,kEAAmD,CAAA;IACnD,kCAAmB,CAAA;IACnB,0CAA2B,CAAA;IAC3B,4CAA6B,CAAA;IAC7B,gDAAiC,CAAA;IACjC,kCAAmB,CAAA;IACnB,0CAA2B,CAAA;IAC3B,wCAAyB,CAAA;IACzB,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,kCAAmB,CAAA;IACnB,0CAA2B,CAAA;IAC3B,0DAA2C,CAAA;IAC3C,gDAAiC,CAAA;IACjC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,4CAA6B,CAAA;IAC7B,0CAA2B,CAAA;IAC3B,4CAA6B,CAAA;IAC7B,gDAAiC,CAAA;AACrC,CAAC,EAtBW,WAAW,KAAX,WAAW,QAsBtB;AAiDD,MAAM,CAAN,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,0DAAuC,CAAA;IACvC,sDAAmC,CAAA;IACnC,oEAAiD,CAAA;IACjD,oDAAiC,CAAA;IACjC,4CAAyB,CAAA;IACzB,4DAAyC,CAAA;IACzC,sDAAmC,CAAA;IACnC,sDAAmC,CAAA;IACnC,oDAAiC,CAAA;AACrC,CAAC,EAVW,eAAe,KAAf,eAAe,QAU1B"}
@@ -214,7 +214,7 @@ export type StorageV2Sort = BackendSortParam<StorageV2SortValue>;
214
214
  export type GroupsSort = BackendSortParam<GroupsSortField>;
215
215
  export type StorageWithFilter = 'space' | 'missing' | 'all';
216
216
  export type GroupsGroupByField = 'GroupId' | 'Erasure' | 'Usage' | 'DiskSpaceUsage' | 'PoolName' | 'Kind' | 'Encryption' | 'MediaType' | 'MissingDisks' | 'State' | 'Latency';
217
- export type GroupsRequiredField = 'GroupId' | 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'MissingDisks' | 'Degraded' | 'State' | 'Usage' | 'Used' | 'Limit' | 'Usage' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits' | 'Read' | 'Write' | 'PDisk' | 'VDisk' | 'Latency';
217
+ export type GroupsRequiredField = 'GroupId' | 'PoolName' | 'Kind' | 'MediaType' | 'Erasure' | 'MissingDisks' | 'Degraded' | 'State' | 'Used' | 'Limit' | 'Usage' | 'Available' | 'DiskSpaceUsage' | 'Encryption' | 'AllocationUnits' | 'Read' | 'Write' | 'PDisk' | 'VDisk' | 'Latency';
218
218
  interface BaseStorageRequestParams {
219
219
  /** @deprecated use database instead */
220
220
  tenant?: string;
@@ -1,29 +1,30 @@
1
+ import { UNBREAKABLE_GAP } from '../../utils';
1
2
  import { formatBytes } from '../formatBytes';
2
3
  describe('formatBytes', () => {
3
4
  it('should work with only value', () => {
4
- expect(formatBytes({ value: 100 })).toBe('100 B');
5
- expect(formatBytes({ value: 100000 })).toBe('100 KB');
6
- expect(formatBytes({ value: 100000000 })).toBe('100 MB');
7
- expect(formatBytes({ value: 100000000000 })).toBe('100 GB');
8
- expect(formatBytes({ value: 100000000000000 })).toBe('100 TB');
5
+ expect(formatBytes({ value: 100 })).toBe(`100${UNBREAKABLE_GAP}B`);
6
+ expect(formatBytes({ value: 100000 })).toBe(`100${UNBREAKABLE_GAP}KB`);
7
+ expect(formatBytes({ value: 100000000 })).toBe(`100${UNBREAKABLE_GAP}MB`);
8
+ expect(formatBytes({ value: 100000000000 })).toBe(`100${UNBREAKABLE_GAP}GB`);
9
+ expect(formatBytes({ value: 100000000000000 })).toBe(`100${UNBREAKABLE_GAP}TB`);
9
10
  });
10
11
  it('should convert to size', () => {
11
- expect(formatBytes({ value: 100000, size: 'b' })).toBe('100 000 B');
12
- expect(formatBytes({ value: 100000000000000, size: 'gb' })).toBe('100 000 GB');
12
+ expect(formatBytes({ value: 100000, size: 'b' })).toBe(`100${UNBREAKABLE_GAP}000${UNBREAKABLE_GAP}B`);
13
+ expect(formatBytes({ value: 100000000000000, size: 'gb' })).toBe(`100${UNBREAKABLE_GAP}000${UNBREAKABLE_GAP}GB`);
13
14
  });
14
15
  it('should convert without labels', () => {
15
- expect(formatBytes({ value: 100000, size: 'b', withSizeLabel: false })).toBe('100 000');
16
- expect(formatBytes({ value: 100000000000000, size: 'gb', withSizeLabel: false })).toBe('100 000');
16
+ expect(formatBytes({ value: 100000, size: 'b', withSizeLabel: false })).toBe(`100${UNBREAKABLE_GAP}000`);
17
+ expect(formatBytes({ value: 100000000000000, size: 'gb', withSizeLabel: false })).toBe(`100${UNBREAKABLE_GAP}000`);
17
18
  });
18
19
  it('should convert to speed', () => {
19
- expect(formatBytes({ value: 100000, withSpeedLabel: true })).toBe('100 KB/s');
20
- expect(formatBytes({ value: 100000, size: 'b', withSpeedLabel: true })).toBe('100 000 B/s');
20
+ expect(formatBytes({ value: 100000, withSpeedLabel: true })).toBe(`100${UNBREAKABLE_GAP}KB/s`);
21
+ expect(formatBytes({ value: 100000, size: 'b', withSpeedLabel: true })).toBe(`100${UNBREAKABLE_GAP}000${UNBREAKABLE_GAP}B/s`);
21
22
  });
22
23
  it('should return fixed amount of significant digits', () => {
23
- expect(formatBytes({ value: 99000, significantDigits: 2 })).toEqual('99 000 B');
24
- expect(formatBytes({ value: 100000, significantDigits: 2 })).toEqual('100 KB');
25
- expect(formatBytes({ value: 99000000000000, significantDigits: 2 })).toEqual('99 000 GB');
26
- expect(formatBytes({ value: 100000000000000, significantDigits: 2 })).toEqual('100 TB');
24
+ expect(formatBytes({ value: 99000, significantDigits: 2 })).toEqual(`99${UNBREAKABLE_GAP}000${UNBREAKABLE_GAP}B`);
25
+ expect(formatBytes({ value: 100000, significantDigits: 2 })).toEqual(`100${UNBREAKABLE_GAP}KB`);
26
+ expect(formatBytes({ value: 99000000000000, significantDigits: 2 })).toEqual(`99${UNBREAKABLE_GAP}000${UNBREAKABLE_GAP}GB`);
27
+ expect(formatBytes({ value: 100000000000000, significantDigits: 2 })).toEqual(`100${UNBREAKABLE_GAP}TB`);
27
28
  });
28
29
  it('should return empty string on invalid data', () => {
29
30
  expect(formatBytes({ value: undefined })).toEqual('');
@@ -33,13 +34,13 @@ describe('formatBytes', () => {
33
34
  expect(formatBytes({ value: '123qwe' })).toEqual('');
34
35
  });
35
36
  it('should work with precision', () => {
36
- expect(formatBytes({ value: 123.123, precision: 2 })).toBe('123 B');
37
- expect(formatBytes({ value: 12.123, precision: 2 })).toBe('12 B');
38
- expect(formatBytes({ value: 1.123, precision: 2 })).toBe('1.1 B');
39
- expect(formatBytes({ value: 0.123, precision: 2 })).toBe('0.12 B');
40
- expect(formatBytes({ value: 0.012, precision: 2 })).toBe('0.01 B');
41
- expect(formatBytes({ value: 0.001, precision: 2 })).toBe('0 B');
42
- expect(formatBytes({ value: 0, precision: 2 })).toBe('0 B');
37
+ expect(formatBytes({ value: 123.123, precision: 2 })).toBe(`123${UNBREAKABLE_GAP}B`);
38
+ expect(formatBytes({ value: 12.123, precision: 2 })).toBe(`12${UNBREAKABLE_GAP}B`);
39
+ expect(formatBytes({ value: 1.123, precision: 2 })).toBe(`1.1${UNBREAKABLE_GAP}B`);
40
+ expect(formatBytes({ value: 0.123, precision: 2 })).toBe(`0.12${UNBREAKABLE_GAP}B`);
41
+ expect(formatBytes({ value: 0.012, precision: 2 })).toBe(`0.01${UNBREAKABLE_GAP}B`);
42
+ expect(formatBytes({ value: 0.001, precision: 2 })).toBe(`0${UNBREAKABLE_GAP}B`);
43
+ expect(formatBytes({ value: 0, precision: 2 })).toBe(`0${UNBREAKABLE_GAP}B`);
43
44
  });
44
45
  });
45
46
  //# sourceMappingURL=formatBytes.test.js.map