ydb-embedded-ui 6.17.1 → 6.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/decommission.svg +6 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
- package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
- package/dist/components/CriticalActionDialog/utils.js +4 -0
- package/dist/components/CriticalActionDialog/utils.js.map +1 -0
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
- package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/en.json +0 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +12 -14
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.js +7 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +14 -10
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +14 -6
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
- package/dist/components/VDisk/VDisk.d.ts +6 -3
- package/dist/components/VDisk/VDisk.js +6 -4
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
- package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +4 -8
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +32 -14
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
- package/dist/containers/PDiskPage/i18n/en.json +16 -2
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
- package/dist/containers/Storage/Disks/Disks.js +37 -0
- package/dist/containers/Storage/Disks/Disks.js.map +1 -0
- package/dist/containers/Storage/Disks/Disks.scss +46 -0
- package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
- package/dist/containers/Storage/PDisk/PDisk.js +14 -7
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
- package/dist/containers/Storage/PaginatedStorage.js +1 -4
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +2 -4
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +4 -5
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
- package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +41 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js +2 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +13 -11
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
- package/dist/containers/Tablet/i18n/en.json +6 -3
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.js +1 -1
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/en.json +2 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +6 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +43 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +2 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +14 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +22 -17
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +5 -4
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
- package/dist/containers/UserSettings/i18n/en.json +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +12 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +5 -8
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/i18n/en.json +2 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +12 -3
- package/dist/services/api.js +51 -8
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.js +34 -1
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +2 -1
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +5 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/explainQuery.js +3 -1
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/trace.d.ts +8 -0
- package/dist/store/reducers/trace.js +21 -0
- package/dist/store/reducers/trace.js.map +1 -0
- package/dist/types/api/cluster.d.ts +3 -0
- package/dist/types/api/meta.d.ts +2 -0
- package/dist/types/api/modifyDisk.d.ts +1 -0
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/query.d.ts +8 -4
- package/dist/types/api/trace.d.ts +7 -0
- package/dist/types/api/trace.js +2 -0
- package/dist/types/api/trace.js.map +1 -0
- package/dist/types/store/query.d.ts +4 -3
- package/dist/utils/constants.d.ts +2 -1
- package/dist/utils/constants.js +3 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +1 -1
- package/dist/utils/disks/helpers.js +5 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +10 -5
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/hooks/useDelayed.d.ts +1 -1
- package/dist/utils/hooks/useDelayed.js +6 -1
- package/dist/utils/hooks/useDelayed.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +11 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js +12 -10
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/query.d.ts +4 -3
- package/dist/utils/query.js +9 -7
- package/dist/utils/query.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/CriticalActionDialog/index.d.ts +0 -1
- package/dist/components/CriticalActionDialog/index.js +0 -2
- package/dist/components/CriticalActionDialog/index.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { StatisticsMode } from '../store/query';
|
2
2
|
interface Position {
|
3
3
|
row?: number;
|
4
4
|
column?: number;
|
@@ -180,8 +180,6 @@ export declare const TracingLevelNumber: {
|
|
180
180
|
export type Stats = StatisticsMode;
|
181
181
|
/** undefined = '60000' */
|
182
182
|
export type Timeout = number;
|
183
|
-
/** undefined = 'serializable-read-write' */
|
184
|
-
export type TransactionMode = IsolationLevel;
|
185
183
|
/** undefined = '15' */
|
186
184
|
export type TracingLevel = number;
|
187
185
|
/** undefined = 'classic' */
|
@@ -251,7 +249,13 @@ export type ExecuteResponse<Action extends ExecuteActions, Schema extends Schema
|
|
251
249
|
export type CancelResponse = {
|
252
250
|
stats?: TKqpStatsQuery;
|
253
251
|
};
|
254
|
-
export type
|
252
|
+
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;
|
253
|
+
type QueryAPIResponseMeta = {
|
254
|
+
_meta?: {
|
255
|
+
traceId?: string;
|
256
|
+
};
|
257
|
+
};
|
258
|
+
export type QueryAPIResponse<Action extends Actions, Schema extends Schemas> = QueryAPIResponseByAction<Action, Schema> & QueryAPIResponseMeta;
|
255
259
|
export type AnyExplainResponse = ExplainQueryResponse | ExplainScriptResponse;
|
256
260
|
export type ExecuteModernResponse = ExecuteQueryResponse<'modern'> | ExecuteScriptResponse<'modern'>;
|
257
261
|
export type ExecuteMultiResponse = ExecuteQueryResponse<'multi'> | ExecuteScriptResponse<'multi'>;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/types/api/trace.ts"],"names":[],"mappings":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { QUERY_ACTIONS, QUERY_MODES, QUERY_SYNTAX, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES } from '../../utils/query';
|
2
2
|
import type { IResponseError, NetworkError } from '../api/error';
|
3
3
|
import type { ColumnType, KeyValueRow, ErrorResponse as QueryErrorResponseData, QueryPlan, ScriptPlan, TKqpStatsQuery } from '../api/query';
|
4
4
|
import type { ValueOf } from '../common';
|
@@ -13,6 +13,7 @@ export interface IQueryResult {
|
|
13
13
|
stats?: TKqpStatsQuery;
|
14
14
|
plan?: ScriptPlan | QueryPlan;
|
15
15
|
ast?: string;
|
16
|
+
traceId?: string;
|
16
17
|
}
|
17
18
|
export interface QueryRequestParams {
|
18
19
|
database: string;
|
@@ -20,7 +21,7 @@ export interface QueryRequestParams {
|
|
20
21
|
}
|
21
22
|
export interface QuerySettings {
|
22
23
|
queryMode: QueryMode;
|
23
|
-
|
24
|
+
transactionMode: TransactionMode;
|
24
25
|
timeout?: string;
|
25
26
|
statisticsMode?: StatisticsMode;
|
26
27
|
tracingLevel?: TracingLevel;
|
@@ -30,7 +31,7 @@ export type QueryError = NetworkError | QueryErrorResponse;
|
|
30
31
|
export type QueryAction = ValueOf<typeof QUERY_ACTIONS>;
|
31
32
|
export type QueryMode = ValueOf<typeof QUERY_MODES>;
|
32
33
|
export type QuerySyntax = ValueOf<typeof QUERY_SYNTAX>;
|
33
|
-
export type
|
34
|
+
export type TransactionMode = ValueOf<typeof TRANSACTION_MODES>;
|
34
35
|
export type StatisticsMode = ValueOf<typeof STATISTICS_MODES>;
|
35
36
|
export type TracingLevel = ValueOf<typeof TRACING_LEVELS>;
|
36
37
|
export interface SavedQuery {
|
@@ -98,7 +98,7 @@ export declare const TENANT_OVERVIEW_TABLES_SETTINGS: {
|
|
98
98
|
};
|
99
99
|
export declare const DEFAULT_QUERY_SETTINGS: {
|
100
100
|
queryMode: "query";
|
101
|
-
|
101
|
+
transactionMode: "implicit";
|
102
102
|
timeout: string;
|
103
103
|
statisticsMode: "none";
|
104
104
|
tracingLevel: "detailed";
|
@@ -117,3 +117,4 @@ export declare const ENABLE_AUTOCOMPLETE = "enableAutocomplete";
|
|
117
117
|
export declare const AUTOCOMPLETE_ON_ENTER = "autocompleteOnEnter";
|
118
118
|
export declare const IS_HOTKEYS_HELP_HIDDEN_KEY = "isHotKeysHelpHidden";
|
119
119
|
export declare const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = "enable_tracing_for_all_requests";
|
120
|
+
export declare const USE_ADVANCED_STORAGE_KEY = "use_advanced_storage";
|
package/dist/utils/constants.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import DataTable from '@gravity-ui/react-data-table';
|
2
2
|
import { EType } from '../types/api/tablet';
|
3
|
-
import {
|
3
|
+
import { QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES } from './query';
|
4
4
|
const SECOND = 1000;
|
5
5
|
export const AUTO_RELOAD_INTERVAL = 10 * SECOND;
|
6
6
|
export const DEFAULT_POLLING_INTERVAL = 30 * SECOND;
|
@@ -99,7 +99,7 @@ export const TENANT_OVERVIEW_TABLES_SETTINGS = {
|
|
99
99
|
};
|
100
100
|
export const DEFAULT_QUERY_SETTINGS = {
|
101
101
|
queryMode: QUERY_MODES.query,
|
102
|
-
|
102
|
+
transactionMode: TRANSACTION_MODES.implicit,
|
103
103
|
timeout: '60',
|
104
104
|
statisticsMode: STATISTICS_MODES.none,
|
105
105
|
tracingLevel: TRACING_LEVELS.detailed,
|
@@ -123,4 +123,5 @@ export const ENABLE_AUTOCOMPLETE = 'enableAutocomplete';
|
|
123
123
|
export const AUTOCOMPLETE_ON_ENTER = 'autocompleteOnEnter';
|
124
124
|
export const IS_HOTKEYS_HELP_HIDDEN_KEY = 'isHotKeysHelpHidden';
|
125
125
|
export const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = 'enable_tracing_for_all_requests';
|
126
|
+
export const USE_ADVANCED_STORAGE_KEY = 'use_advanced_storage';
|
126
127
|
//# sourceMappingURL=constants.js.map
|
@@ -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;AAG1C,OAAO,EAAC,
|
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;AAG1C,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAEzF,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC;AAChD,MAAM,CAAC,MAA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VSlotId } from '../../types/api/vdisk';
|
2
2
|
export declare function isFullVDiskData(disk: TVDiskStateInfo | TVSlotId): disk is TVDiskStateInfo;
|
3
3
|
export declare function getSeverityColor(severity: number | undefined): import("../../types/api/enums").EFlag;
|
4
|
-
export declare function getPDiskId(nodeId
|
4
|
+
export declare function getPDiskId(nodeId?: string | number | null, pDiskId?: string | number | null): string | undefined;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { valueIsDefined } from '..';
|
1
2
|
import { DISK_NUMERIC_SEVERITY_TO_STATE_COLOR, NOT_AVAILABLE_SEVERITY_COLOR } from './constants';
|
2
3
|
export function isFullVDiskData(disk) {
|
3
4
|
return 'VDiskId' in disk;
|
@@ -9,6 +10,9 @@ export function getSeverityColor(severity) {
|
|
9
10
|
return DISK_NUMERIC_SEVERITY_TO_STATE_COLOR[severity] || NOT_AVAILABLE_SEVERITY_COLOR;
|
10
11
|
}
|
11
12
|
export function getPDiskId(nodeId, pDiskId) {
|
12
|
-
|
13
|
+
if (valueIsDefined(nodeId) && valueIsDefined(pDiskId)) {
|
14
|
+
return `${nodeId}-${pDiskId}`;
|
15
|
+
}
|
16
|
+
return undefined;
|
13
17
|
}
|
14
18
|
//# sourceMappingURL=helpers.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/utils/disks/helpers.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/utils/disks/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,IAAI,CAAC;AAGlC,OAAO,EAAC,oCAAoC,EAAE,4BAA4B,EAAC,MAAM,aAAa,CAAC;AAE/F,MAAM,UAAU,eAAe,CAAC,IAAgC;IAC5D,OAAO,SAAS,IAAI,IAAI,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,QAA4B;IACzD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,4BAA4B,CAAC;IACxC,CAAC;IAED,OAAO,oCAAoC,CAAC,QAAQ,CAAC,IAAI,4BAA4B,CAAC;AAC1F,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,MAA+B,EAAE,OAAgC;IACxF,IAAI,cAAc,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;QACpD,OAAO,GAAG,MAAM,IAAI,OAAO,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
@@ -2,15 +2,20 @@ import { calculatePDiskSeverity } from './calculatePDiskSeverity';
|
|
2
2
|
import { calculateVDiskSeverity } from './calculateVDiskSeverity';
|
3
3
|
import { getPDiskType } from './getPDiskType';
|
4
4
|
export function prepareVDiskData(vdiskState = {}) {
|
5
|
-
var _a, _b, _c;
|
5
|
+
var _a, _b, _c, _d;
|
6
6
|
// Prepare PDisk only if it is present
|
7
|
-
const PDisk = vdiskState.PDisk
|
8
|
-
|
9
|
-
|
7
|
+
const PDisk = vdiskState.PDisk
|
8
|
+
? preparePDiskData({
|
9
|
+
...vdiskState.PDisk,
|
10
|
+
NodeId: (_a = vdiskState.PDisk.NodeId) !== null && _a !== void 0 ? _a : vdiskState.NodeId,
|
11
|
+
})
|
12
|
+
: undefined;
|
13
|
+
const PDiskId = (_b = vdiskState.PDiskId) !== null && _b !== void 0 ? _b : PDisk === null || PDisk === void 0 ? void 0 : PDisk.PDiskId;
|
14
|
+
const available = Number((_c = vdiskState.AvailableSize) !== null && _c !== void 0 ? _c : PDisk === null || PDisk === void 0 ? void 0 : PDisk.AvailableSize);
|
10
15
|
const allocated = Number(vdiskState.AllocatedSize);
|
11
16
|
const total = allocated + available;
|
12
17
|
const allocatedPercent = Math.round((allocated * 100) / total);
|
13
|
-
const Donors = (
|
18
|
+
const Donors = (_d = vdiskState.Donors) === null || _d === void 0 ? void 0 : _d.map((donor) => {
|
14
19
|
return prepareVDiskData({ ...donor, DonorMode: true });
|
15
20
|
});
|
16
21
|
const Severity = calculateVDiskSeverity(vdiskState);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareDisks.js","sourceRoot":"","sources":["../../../src/utils/disks/prepareDisks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAG5C,MAAM,UAAU,gBAAgB,CAAC,aAA8B,EAAE;;IAC7D,sCAAsC;IACtC,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"prepareDisks.js","sourceRoot":"","sources":["../../../src/utils/disks/prepareDisks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAG5C,MAAM,UAAU,gBAAgB,CAAC,aAA8B,EAAE;;IAC7D,sCAAsC;IACtC,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK;QAC1B,CAAC,CAAC,gBAAgB,CAAC;YACb,GAAG,UAAU,CAAC,KAAK;YACnB,MAAM,EAAE,MAAA,UAAU,CAAC,KAAK,CAAC,MAAM,mCAAI,UAAU,CAAC,MAAM;SACvD,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,OAAO,GAAG,MAAA,UAAU,CAAC,OAAO,mCAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC;IAErD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAA,UAAU,CAAC,aAAa,mCAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,CAAC,CAAC;IAC3E,MAAM,SAAS,GAAG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QACxB,gBAAgB,EAAE,gBAAgB;KACrC,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare function useDelayed(delay?: number): boolean;
|
1
|
+
export declare function useDelayed(delay?: number): readonly [boolean, () => void];
|
@@ -1,14 +1,19 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export function useDelayed(delay = 600) {
|
3
3
|
const [show, setShow] = React.useState(false);
|
4
|
+
const [key, setKey] = React.useState(0);
|
4
5
|
React.useEffect(() => {
|
6
|
+
setShow(false);
|
5
7
|
const timerId = setTimeout(() => {
|
6
8
|
setShow(true);
|
7
9
|
}, delay);
|
8
10
|
return () => {
|
9
11
|
clearTimeout(timerId);
|
10
12
|
};
|
13
|
+
}, [delay, key]);
|
14
|
+
const resetDelay = React.useCallback(() => {
|
15
|
+
setKey((prevKey) => prevKey + 1);
|
11
16
|
}, []);
|
12
|
-
return show;
|
17
|
+
return [show, resetDelay];
|
13
18
|
}
|
14
19
|
//# sourceMappingURL=useDelayed.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDelayed.js","sourceRoot":"","sources":["../../../src/utils/hooks/useDelayed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,UAAU,UAAU,CAAC,KAAK,GAAG,GAAG;IAClC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"useDelayed.js","sourceRoot":"","sources":["../../../src/utils/hooks/useDelayed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,UAAU,UAAU,CAAC,KAAK,GAAG,GAAG;IAClC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAExC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5B,OAAO,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC,EAAE,KAAK,CAAC,CAAC;QAEV,OAAO,GAAG,EAAE;YACR,YAAY,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC;IAEjB,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACtC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CAAC,IAAI,EAAE,UAAU,CAAU,CAAC;AACvC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { QuerySettings } from '../../types/store/query';
|
2
|
-
export declare const useLastQueryExecutionSettings: () => [QuerySettings | undefined, (value: QuerySettings | undefined) => void];
|
2
|
+
export declare const useLastQueryExecutionSettings: () => readonly [QuerySettings | undefined, (value: QuerySettings | undefined) => void];
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { LAST_QUERY_EXECUTION_SETTINGS_KEY } from '../constants';
|
2
2
|
import { useSetting } from './useSetting';
|
3
3
|
export const useLastQueryExecutionSettings = () => {
|
4
|
-
|
4
|
+
const [lastStorageSettings, setLastSettings] = useSetting(LAST_QUERY_EXECUTION_SETTINGS_KEY);
|
5
|
+
const lastSettings = lastStorageSettings
|
6
|
+
? {
|
7
|
+
transactionMode: lastStorageSettings.transactionMode,
|
8
|
+
queryMode: lastStorageSettings.queryMode,
|
9
|
+
statisticsMode: lastStorageSettings.statisticsMode,
|
10
|
+
tracingLevel: lastStorageSettings.tracingLevel,
|
11
|
+
timeout: lastStorageSettings.timeout,
|
12
|
+
}
|
13
|
+
: undefined;
|
14
|
+
return [lastSettings, setLastSettings];
|
5
15
|
};
|
6
16
|
//# sourceMappingURL=useLastQueryExecutionSettings.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useLastQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useLastQueryExecutionSettings.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iCAAiC,EAAC,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,EAAE;IAC9C,
|
1
|
+
{"version":3,"file":"useLastQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useLastQueryExecutionSettings.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iCAAiC,EAAC,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,EAAE;IAC9C,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC,GAAG,UAAU,CACrD,iCAAiC,CACpC,CAAC;IAEF,MAAM,YAAY,GAA8B,mBAAmB;QAC/D,CAAC,CAAC;YACI,eAAe,EAAE,mBAAmB,CAAC,eAAe;YACpD,SAAS,EAAE,mBAAmB,CAAC,SAAS;YACxC,cAAc,EAAE,mBAAmB,CAAC,cAAc;YAClD,YAAY,EAAE,mBAAmB,CAAC,YAAY;YAC9C,OAAO,EAAE,mBAAmB,CAAC,OAAO;SACvC;QACH,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,CAAC,YAAY,EAAE,eAAe,CAAU,CAAC;AACpD,CAAC,CAAC"}
|
@@ -1,8 +1,2 @@
|
|
1
1
|
import type { QuerySettings } from '../../types/store/query';
|
2
|
-
export declare const useQueryExecutionSettings: () => readonly [
|
3
|
-
readonly tracingLevel: import("../../types/store/query").TracingLevel | undefined;
|
4
|
-
readonly queryMode: import("../../types/store/query").QueryMode;
|
5
|
-
readonly isolationLevel: import("../../types/store/query").IsolationLevel;
|
6
|
-
readonly timeout?: string;
|
7
|
-
readonly statisticsMode?: import("../../types/store/query").StatisticsMode;
|
8
|
-
}, (value: QuerySettings) => void];
|
2
|
+
export declare const useQueryExecutionSettings: () => readonly [QuerySettings, (value: QuerySettings) => void];
|
@@ -2,16 +2,18 @@ import { useTracingLevelOptionAvailable } from '../../store/reducers/capabilitie
|
|
2
2
|
import { DEFAULT_QUERY_SETTINGS, QUERY_EXECUTION_SETTINGS_KEY } from '../constants';
|
3
3
|
import { useSetting } from './useSetting';
|
4
4
|
export const useQueryExecutionSettings = () => {
|
5
|
+
var _a, _b, _c, _d;
|
5
6
|
const enableTracingLevel = useTracingLevelOptionAvailable();
|
6
|
-
const [
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
const [storageSettings, setSettings] = useSetting(QUERY_EXECUTION_SETTINGS_KEY);
|
8
|
+
const settings = {
|
9
|
+
queryMode: (_a = storageSettings.queryMode) !== null && _a !== void 0 ? _a : DEFAULT_QUERY_SETTINGS.queryMode,
|
10
|
+
timeout: (_b = storageSettings.timeout) !== null && _b !== void 0 ? _b : DEFAULT_QUERY_SETTINGS.timeout,
|
11
|
+
statisticsMode: (_c = storageSettings.statisticsMode) !== null && _c !== void 0 ? _c : DEFAULT_QUERY_SETTINGS.statisticsMode,
|
12
|
+
transactionMode: (_d = storageSettings.transactionMode) !== null && _d !== void 0 ? _d : DEFAULT_QUERY_SETTINGS.transactionMode,
|
13
|
+
tracingLevel: enableTracingLevel
|
14
|
+
? storageSettings.tracingLevel
|
15
|
+
: DEFAULT_QUERY_SETTINGS.tracingLevel,
|
16
|
+
};
|
17
|
+
return [settings, setSettings];
|
16
18
|
};
|
17
19
|
//# sourceMappingURL=useQueryExecutionSettings.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,sBAAsB,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAElF,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE
|
1
|
+
{"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,sBAAsB,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAElF,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;;IAC1C,MAAM,kBAAkB,GAAG,8BAA8B,EAAE,CAAC;IAC5D,MAAM,CAAC,eAAe,EAAE,WAAW,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAE/F,MAAM,QAAQ,GAAkB;QAC5B,SAAS,EAAE,MAAA,eAAe,CAAC,SAAS,mCAAI,sBAAsB,CAAC,SAAS;QACxE,OAAO,EAAE,MAAA,eAAe,CAAC,OAAO,mCAAI,sBAAsB,CAAC,OAAO;QAClE,cAAc,EAAE,MAAA,eAAe,CAAC,cAAc,mCAAI,sBAAsB,CAAC,cAAc;QACvF,eAAe,EAAE,MAAA,eAAe,CAAC,eAAe,mCAAI,sBAAsB,CAAC,eAAe;QAC1F,YAAY,EAAE,kBAAkB;YAC5B,CAAC,CAAC,eAAe,CAAC,YAAY;YAC9B,CAAC,CAAC,sBAAsB,CAAC,YAAY;KAC5C,CAAC;IAEF,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAU,CAAC;AAC5C,CAAC,CAAC"}
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
@@ -4,4 +4,9 @@ export const getArray = (arrayLength) => {
|
|
4
4
|
export function valueIsDefined(value) {
|
5
5
|
return value !== null && value !== undefined;
|
6
6
|
}
|
7
|
+
export async function wait(time) {
|
8
|
+
return new Promise((resolve) => {
|
9
|
+
setTimeout(resolve, time);
|
10
|
+
});
|
11
|
+
}
|
7
12
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC5C,OAAO,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,UAAU,cAAc,CAAI,KAA2B;IACzD,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AACjD,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC5C,OAAO,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,UAAU,cAAc,CAAI,KAA2B;IACzD,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AACjD,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,IAAY;IACnC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/utils/query.d.ts
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import type { AnyExecuteResponse, AnyExplainResponse, ErrorResponse, KeyValueRow, QueryPlan, ScriptPlan } from '../types/api/query';
|
2
|
-
import type { IQueryResult,
|
3
|
-
export declare const
|
2
|
+
import type { IQueryResult, QueryMode, StatisticsMode, TracingLevel, TransactionMode } from '../types/store/query';
|
3
|
+
export declare const TRANSACTION_MODES: {
|
4
4
|
readonly serializable: "serializable-read-write";
|
5
5
|
readonly stalero: "stale-read-only";
|
6
6
|
readonly onlinero: "online-read-only";
|
7
7
|
readonly snapshot: "snapshot-read-only";
|
8
|
+
readonly implicit: "implicit";
|
8
9
|
};
|
9
|
-
export declare const
|
10
|
+
export declare const TRANSACTION_MODES_TITLES: Record<TransactionMode, string>;
|
10
11
|
export declare const STATISTICS_MODES: {
|
11
12
|
readonly none: "none";
|
12
13
|
readonly basic: "basic";
|
package/dist/utils/query.js
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
import { YQLType } from '../types';
|
2
2
|
import { isAxiosResponse, isNetworkError } from './response';
|
3
|
-
export const
|
3
|
+
export const TRANSACTION_MODES = {
|
4
4
|
serializable: 'serializable-read-write',
|
5
5
|
stalero: 'stale-read-only',
|
6
6
|
onlinero: 'online-read-only',
|
7
7
|
snapshot: 'snapshot-read-only',
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
[
|
12
|
-
[
|
13
|
-
[
|
8
|
+
implicit: 'implicit',
|
9
|
+
};
|
10
|
+
export const TRANSACTION_MODES_TITLES = {
|
11
|
+
[TRANSACTION_MODES.serializable]: 'Serializable',
|
12
|
+
[TRANSACTION_MODES.stalero]: 'Stale Read-Only',
|
13
|
+
[TRANSACTION_MODES.onlinero]: 'Online Read-Only',
|
14
|
+
[TRANSACTION_MODES.snapshot]: 'Snapshot Read-Only',
|
15
|
+
[TRANSACTION_MODES.implicit]: 'Implicit',
|
14
16
|
};
|
15
17
|
export const STATISTICS_MODES = {
|
16
18
|
none: 'none',
|
package/dist/utils/query.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAqBjC,OAAO,EAAC,eAAe,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAE3D,MAAM,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAqBjC,OAAO,EAAC,eAAe,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,YAAY,EAAE,yBAAyB;IACvC,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,UAAU;CACd,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAoC;IACrE,CAAC,iBAAiB,CAAC,YAAY,CAAC,EAAE,cAAc;IAChD,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,iBAAiB;IAC9C,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,kBAAkB;IAChD,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,oBAAoB;IAClD,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,UAAU;CAClC,CAAC;AAEX,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAmC;IACnE,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,MAAM;IAC/B,CAAC,gBAAg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;IAED,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC,OAAO,CAAC;IACzB,CAAC;IAED,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,IAAI,MAAM,IAAI,KAAK,IAAI,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;YACtD,OAAO,KAAK,CAAC,IAAI,CAAC;QACtB,CAAC;QAED,OAAO,KAAK,CAAC,UAAU,CAAC;IAC5B,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAc,EAAE,EAAE;;IACtD,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAE3C,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,WAAW,CAAC;IACvB,CAAC;IAED,OAAO,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,0CAAE,OAAO,CAAC;AACvC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './CriticalActionDialog';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CriticalActionDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
|
3
|
-
import type { Column as PaginatedTableColumn } from '../../../components/PaginatedTable';
|
4
|
-
import type { PreparedStorageGroup, VisibleEntities } from '../../../store/reducers/storage/types';
|
5
|
-
import type { NodesMap } from '../../../types/store/nodesList';
|
6
|
-
import './StorageGroups.scss';
|
7
|
-
export declare const STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY = "storageGroupsColumnsWidth";
|
8
|
-
type StorageGroupsColumn = PaginatedTableColumn<PreparedStorageGroup> & DataTableColumn<PreparedStorageGroup>;
|
9
|
-
export declare const GROUPS_COLUMNS_IDS: {
|
10
|
-
readonly PoolName: "PoolName";
|
11
|
-
readonly MediaType: "MediaType";
|
12
|
-
readonly Erasure: "Erasure";
|
13
|
-
readonly GroupId: "GroupId";
|
14
|
-
readonly Used: "Used";
|
15
|
-
readonly Limit: "Limit";
|
16
|
-
readonly Usage: "Usage";
|
17
|
-
readonly UsedSpaceFlag: "UsedSpaceFlag";
|
18
|
-
readonly Read: "Read";
|
19
|
-
readonly Write: "Write";
|
20
|
-
readonly VDisks: "VDisks";
|
21
|
-
readonly Degraded: "Degraded";
|
22
|
-
};
|
23
|
-
export declare const getStorageTopGroupsColumns: () => StorageGroupsColumn[];
|
24
|
-
export declare const getDiskPageStorageColumns: (nodes?: NodesMap) => StorageGroupsColumn[];
|
25
|
-
export declare const getPreparedStorageGroupsColumns: (nodesMap: NodesMap | undefined, visibleEntities: VisibleEntities) => {
|
26
|
-
sortable: boolean;
|
27
|
-
name: string;
|
28
|
-
header?: React.ReactNode;
|
29
|
-
className?: string;
|
30
|
-
resizeable?: boolean;
|
31
|
-
render: ((props: {
|
32
|
-
row: PreparedStorageGroup;
|
33
|
-
index: number;
|
34
|
-
}) => React.ReactNode) & ((props: {
|
35
|
-
value?: unknown;
|
36
|
-
row: PreparedStorageGroup;
|
37
|
-
index: number;
|
38
|
-
footer?: boolean;
|
39
|
-
headerData?: boolean;
|
40
|
-
}) => React.ReactNode);
|
41
|
-
width: number;
|
42
|
-
resizeMaxWidth?: number;
|
43
|
-
resizeMinWidth?: number;
|
44
|
-
align: "center" | "left" | "right";
|
45
|
-
headerTitle?: string;
|
46
|
-
accessor?: string | ((row: PreparedStorageGroup) => any) | undefined;
|
47
|
-
title?: string | ((row: PreparedStorageGroup) => string) | undefined;
|
48
|
-
customStyle?: ((props: import("@gravity-ui/react-data-table").CustomStyleParams<PreparedStorageGroup>) => React.CSSProperties) | undefined;
|
49
|
-
onClick?: ((data: {
|
50
|
-
row: PreparedStorageGroup;
|
51
|
-
index: number;
|
52
|
-
footer?: boolean;
|
53
|
-
headerData?: boolean;
|
54
|
-
}, column: DataTableColumn<PreparedStorageGroup>, event: React.MouseEvent<HTMLTableCellElement>) => void) | undefined;
|
55
|
-
defaultOrder?: import("@gravity-ui/react-data-table").OrderType;
|
56
|
-
sortAccessor?: string | ((row: PreparedStorageGroup) => any) | undefined;
|
57
|
-
sortAscending?: import("@gravity-ui/react-data-table").Comparator<PreparedStorageGroup> | undefined;
|
58
|
-
sub?: DataTableColumn<PreparedStorageGroup>[] | undefined;
|
59
|
-
group?: boolean;
|
60
|
-
autogroup?: boolean;
|
61
|
-
}[];
|
62
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getStorageGroupsColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAE3E,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAE3E,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAE/C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAC,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