ydb-embedded-ui 6.15.0 → 6.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
- package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +6 -0
- package/dist/components/EmptyState/EmptyState.js +6 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
- package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
- package/dist/components/PageMeta/PageMeta.d.ts +2 -1
- package/dist/components/PageMeta/PageMeta.js +9 -4
- package/dist/components/PageMeta/PageMeta.js.map +1 -1
- package/dist/components/PageMeta/PageMeta.scss +9 -6
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
- package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
- package/dist/components/PaginatedTable/TableChunk.js +51 -21
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +1 -1
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +8 -1
- package/dist/components/Skeleton/Skeleton.d.ts +6 -0
- package/dist/components/Skeleton/Skeleton.js +11 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Tablet/Tablet.js +2 -2
- package/dist/components/Tablet/Tablet.js.map +1 -1
- package/dist/components/TabletState/TabletState.d.ts +6 -0
- package/dist/components/TabletState/TabletState.js +7 -0
- package/dist/components/TabletState/TabletState.js.map +1 -0
- package/dist/containers/Cluster/Cluster.js +10 -10
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +14 -0
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
- package/dist/containers/Nodes/Nodes.d.ts +2 -1
- package/dist/containers/Nodes/Nodes.js +2 -2
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
- package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
- package/dist/containers/Nodes/PaginatedNodes.js +6 -18
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodes.d.ts +3 -6
- package/dist/containers/Nodes/getNodes.js +19 -2
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +4 -5
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
- package/dist/containers/Storage/PaginatedStorage.js +3 -3
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +2 -2
- package/dist/containers/Storage/Storage.js +3 -3
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +6 -18
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.js +95 -52
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/Tablet.scss +4 -81
- package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
- package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
- package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
- package/dist/containers/Tablet/i18n/en.json +5 -1
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablet/utils.d.ts +1 -0
- package/dist/containers/Tablet/utils.js +4 -0
- package/dist/containers/Tablet/utils.js.map +1 -0
- package/dist/containers/Tablets/Tablets.js +16 -10
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Acl/Acl.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.scss +0 -8
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/Query.js +2 -14
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -1
- package/dist/containers/Tenant/Tenant.js +5 -1
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +5 -6
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +0 -4
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/routes.d.ts +1 -0
- package/dist/routes.js +3 -0
- package/dist/routes.js.map +1 -1
- package/dist/services/api.d.ts +13 -7
- package/dist/services/api.js +29 -7
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -2
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +4 -8
- package/dist/store/defaultStore.d.ts +2 -4
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +2 -2
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +18 -4
- package/dist/store/reducers/executeQuery.js +50 -5
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
- package/dist/store/reducers/header/types.d.ts +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +3 -6
- package/dist/store/reducers/index.js +0 -2
- package/dist/store/reducers/index.js.map +1 -1
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -2
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/types.d.ts +11 -1
- package/dist/store/reducers/nodesList.d.ts +3 -4
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/overview/overview.js +1 -0
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/storage/types.d.ts +15 -0
- package/dist/store/reducers/storage/types.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +14 -0
- package/dist/store/reducers/tableData.js +25 -0
- package/dist/store/reducers/tableData.js.map +1 -0
- package/dist/store/reducers/tablet.d.ts +19 -3
- package/dist/store/reducers/tablet.js +82 -13
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +15 -23
- package/dist/store/reducers/tablets.js +2 -20
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tabletsFilters.d.ts +1 -2
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +27 -36
- package/dist/store/reducers/tenants/selectors.js +1 -1
- package/dist/store/reducers/tenants/selectors.js.map +1 -1
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -59
- package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/styles/mixins.scss +0 -5
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/schema/shared.d.ts +1 -3
- package/dist/types/api/schema/shared.js.map +1 -1
- package/dist/types/api/schema/table.d.ts +2 -0
- package/dist/types/api/schema/table.js.map +1 -1
- package/dist/types/api/tablet.d.ts +22 -0
- package/dist/types/store/executeQuery.d.ts +5 -2
- package/dist/types/store/tablets.d.ts +1 -0
- package/dist/utils/constants.d.ts +1 -2
- package/dist/utils/constants.js +1 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
- package/dist/utils/dataFormatters/dataFormatters.js +5 -0
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/developerUI/developerUI.d.ts +1 -1
- package/dist/utils/developerUI/developerUI.js +3 -2
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/package.json +4 -3
- package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
- package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
- package/dist/components/PaginatedTable/reducer.d.ts +0 -43
- package/dist/components/PaginatedTable/reducer.js +0 -104
- package/dist/components/PaginatedTable/reducer.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
- package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
- package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -20,22 +20,22 @@ export declare const ISOLATION_LEVEL_SELECT_OPTIONS: ({
|
|
20
20
|
isDefault?: undefined;
|
21
21
|
})[];
|
22
22
|
export declare const QUERY_MODE_SELECT_OPTIONS: ({
|
23
|
-
value: "
|
23
|
+
value: "query";
|
24
24
|
content: string;
|
25
25
|
text: string;
|
26
26
|
isDefault: boolean;
|
27
27
|
} | {
|
28
|
-
value: "
|
28
|
+
value: "script";
|
29
29
|
content: string;
|
30
30
|
text: string;
|
31
31
|
isDefault?: undefined;
|
32
32
|
} | {
|
33
|
-
value: "
|
33
|
+
value: "scan";
|
34
34
|
content: string;
|
35
35
|
text: string;
|
36
36
|
isDefault?: undefined;
|
37
37
|
} | {
|
38
|
-
value: "
|
38
|
+
value: "data";
|
39
39
|
content: string;
|
40
40
|
text: string;
|
41
41
|
isDefault?: undefined;
|
@@ -125,22 +125,22 @@ export declare const QUERY_SETTINGS_FIELD_SETTINGS: {
|
|
125
125
|
readonly queryMode: {
|
126
126
|
readonly title: string;
|
127
127
|
readonly options: ({
|
128
|
-
value: "
|
128
|
+
value: "query";
|
129
129
|
content: string;
|
130
130
|
text: string;
|
131
131
|
isDefault: boolean;
|
132
132
|
} | {
|
133
|
-
value: "
|
133
|
+
value: "script";
|
134
134
|
content: string;
|
135
135
|
text: string;
|
136
136
|
isDefault?: undefined;
|
137
137
|
} | {
|
138
|
-
value: "
|
138
|
+
value: "scan";
|
139
139
|
content: string;
|
140
140
|
text: string;
|
141
141
|
isDefault?: undefined;
|
142
142
|
} | {
|
143
|
-
value: "
|
143
|
+
value: "data";
|
144
144
|
content: string;
|
145
145
|
text: string;
|
146
146
|
isDefault?: undefined;
|
@@ -25,11 +25,16 @@ export const ISOLATION_LEVEL_SELECT_OPTIONS = [
|
|
25
25
|
},
|
26
26
|
];
|
27
27
|
export const QUERY_MODE_SELECT_OPTIONS = [
|
28
|
+
{
|
29
|
+
value: QUERY_MODES.query,
|
30
|
+
content: QUERY_MODES_TITLES[QUERY_MODES.query],
|
31
|
+
text: i18n('method-description.query'),
|
32
|
+
isDefault: true,
|
33
|
+
},
|
28
34
|
{
|
29
35
|
value: QUERY_MODES.script,
|
30
36
|
content: QUERY_MODES_TITLES[QUERY_MODES.script],
|
31
37
|
text: i18n('method-description.script'),
|
32
|
-
isDefault: true,
|
33
38
|
},
|
34
39
|
{
|
35
40
|
value: QUERY_MODES.scan,
|
@@ -41,11 +46,6 @@ export const QUERY_MODE_SELECT_OPTIONS = [
|
|
41
46
|
content: QUERY_MODES_TITLES[QUERY_MODES.data],
|
42
47
|
text: i18n('method-description.data'),
|
43
48
|
},
|
44
|
-
{
|
45
|
-
value: QUERY_MODES.query,
|
46
|
-
content: QUERY_MODES_TITLES[QUERY_MODES.query],
|
47
|
-
text: i18n('method-description.query'),
|
48
|
-
},
|
49
49
|
{
|
50
50
|
value: QUERY_MODES.pg,
|
51
51
|
content: QUERY_MODES_TITLES[QUERY_MODES.pg],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC1C;QACI,KAAK,EAAE,gBAAgB,CAAC,YAAY;QACpC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,YAAY,CAAC;QAC/D,IAAI,EAAE,IAAI,CAAC,0CAA0C,CAAC;QACtD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,OAAO;QAC/B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAC1D,IAAI,EAAE,IAAI,CAAC,qCAAqC,CAAC;KACpD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC;QACI,KAAK,EAAE,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC1C;QACI,KAAK,EAAE,gBAAgB,CAAC,YAAY;QACpC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,YAAY,CAAC;QAC/D,IAAI,EAAE,IAAI,CAAC,0CAA0C,CAAC;QACtD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,OAAO;QAC/B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAC1D,IAAI,EAAE,IAAI,CAAC,qCAAqC,CAAC;KACpD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;CACJ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;KAChD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,cAAc,EAAE;QACZ,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,SAAS,EAAE;QACP,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC;QAClC,OAAO,EAAE,yBAAyB;KACrC;IACD,cAAc,EAAE;QACZ,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,YAAY,EAAE;QACV,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC;QACrC,OAAO,EAAE,4BAA4B;KACxC;IACD,OAAO,EAAE;QACL,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC;KAClC;CACK,CAAC"}
|
@@ -40,5 +40,8 @@
|
|
40
40
|
"action.save-query": "Save query",
|
41
41
|
"filter.text.placeholder": "Search by query text...",
|
42
42
|
"gear.tooltip": "Query execution settings have been changed for ",
|
43
|
-
"banner.query-settings.message": "Query results are displayed for "
|
43
|
+
"banner.query-settings.message": "Query results are displayed for ",
|
44
|
+
"history.queryText": "Query text",
|
45
|
+
"history.endTime": "End time",
|
46
|
+
"history.duration": "Duration"
|
44
47
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "isolation-level-description.serializable" | "isolation-level-description.onlinero" | "isolation-level-description.stalero" | "isolation-level-description.snapshot" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "isolation-level-description.serializable" | "isolation-level-description.onlinero" | "isolation-level-description.stalero" | "isolation-level-description.snapshot" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { SAVED_QUERIES_KEY, useSetting, useTypedSelector } from '../../../../lib';
|
2
1
|
import { selectSavedQueriesFilter } from '../../../../store/reducers/queryActions/queryActions';
|
2
|
+
import { SAVED_QUERIES_KEY } from '../../../../utils/constants';
|
3
|
+
import { useSetting, useTypedSelector } from '../../../../utils/hooks';
|
3
4
|
export function useSavedQueries() {
|
4
5
|
const [savedQueries] = useSetting(SAVED_QUERIES_KEY, []);
|
5
6
|
const filter = useTypedSelector(selectSavedQueriesFilter).toLowerCase();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useSavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/useSavedQueries.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"useSavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/useSavedQueries.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAC,MAAM,sDAAsD,CAAC;AAE9F,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAErE,MAAM,UAAU,eAAe;IAC3B,MAAM,CAAC,YAAY,CAAC,GAAG,UAAU,CAAe,iBAAiB,EAAE,EAAE,CAAC,CAAC;IACvE,MAAM,MAAM,GAAG,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,WAAW,EAAE,CAAC;IAExE,OAAO,MAAM;QACT,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACzE,CAAC,CAAC,YAAY,CAAC;AACvB,CAAC"}
|
@@ -91,7 +91,7 @@ const defaultValueColumn = {
|
|
91
91
|
return i18n('column-title.defaultValue');
|
92
92
|
},
|
93
93
|
width: 100,
|
94
|
-
render: ({ row }) => row.defaultValue,
|
94
|
+
render: ({ row }) => String(row.defaultValue),
|
95
95
|
};
|
96
96
|
const familyColumn = {
|
97
97
|
name: SCHEMA_TABLE_COLUMS_IDS.familyName,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,IAAI,MA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B,EAAE,CAAC;QACnB,eAAe,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC9C,CAAC;IAED,OAAO,eAAe,CAAC;AAC3B,CAAC"}
|
@@ -36,7 +36,7 @@ function prepareRowTableSchema(data = {}) {
|
|
36
36
|
const { Columns, KeyColumnIds } = data;
|
37
37
|
const keyAccessorsMap = getKeyColumnsSortAccessorMap(KeyColumnIds);
|
38
38
|
const preparedColumns = Columns === null || Columns === void 0 ? void 0 : Columns.map((column) => {
|
39
|
-
var _a, _b
|
39
|
+
var _a, _b;
|
40
40
|
const { Id, Name, NotNull, Type, Family, DefaultFromSequence, DefaultFromLiteral } = column;
|
41
41
|
const isKeyColumn = Boolean(KeyColumnIds === null || KeyColumnIds === void 0 ? void 0 : KeyColumnIds.find((keyColumnId) => keyColumnId === Id));
|
42
42
|
// Values in keyAccessorsMap are always negative, so it will be 1 for not key columns
|
@@ -54,7 +54,7 @@ function prepareRowTableSchema(data = {}) {
|
|
54
54
|
type: Type,
|
55
55
|
notNull: NotNull,
|
56
56
|
autoIncrement: Boolean(DefaultFromSequence),
|
57
|
-
defaultValue: (
|
57
|
+
defaultValue: Object.values((DefaultFromLiteral === null || DefaultFromLiteral === void 0 ? void 0 : DefaultFromLiteral.value) || {})[0] || '-',
|
58
58
|
familyName,
|
59
59
|
prefferedPoolKind,
|
60
60
|
columnCodec,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/prepareData.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAI3F,SAAS,4BAA4B,CAA4B,MAAW,EAAE;IAC1E,OAAO,GAAG,CAAC,MAAM,CACb,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE;QAC3B,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,IAAI;SACpB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,IAAI,EAAE,CAAC;AACjC,CAAC"}
|
@@ -11,7 +11,7 @@ export interface SchemaData {
|
|
11
11
|
familyName?: string;
|
12
12
|
prefferedPoolKind?: string;
|
13
13
|
columnCodec?: string;
|
14
|
-
defaultValue?: string;
|
14
|
+
defaultValue?: string | number | boolean;
|
15
15
|
}
|
16
16
|
export interface SchemaColumn extends Column<SchemaData> {
|
17
17
|
name: keyof SchemaData;
|
@@ -59,7 +59,11 @@ export function Tenant(props) {
|
|
59
59
|
const onSplitStartDragAdditional = () => {
|
60
60
|
dispatchSummaryVisibilityAction(PaneVisibilityActionTypes.clear);
|
61
61
|
};
|
62
|
+
const [initialLoading, setInitialLoading] = React.useState(true);
|
63
|
+
if (initialLoading && !isLoading) {
|
64
|
+
setInitialLoading(false);
|
65
|
+
}
|
62
66
|
const title = path || i18n('page.title');
|
63
|
-
return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { defaultTitle: `${title} — YDB Monitoring`, titleTemplate: `%s — ${title} — YDB Monitoring` }), _jsx(LoaderWrapper, { loading:
|
67
|
+
return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { defaultTitle: `${title} — YDB Monitoring`, titleTemplate: `%s — ${title} — YDB Monitoring` }), _jsx(LoaderWrapper, { loading: initialLoading, children: _jsx(PageError, { error: showBlockingError ? error : undefined, children: _jsxs(SplitPane, { defaultSizePaneKey: DEFAULT_SIZE_TENANT_KEY, defaultSizes: [25, 75], triggerCollapse: summaryVisibilityState.triggerCollapse, triggerExpand: summaryVisibilityState.triggerExpand, minSize: [36, 200], onSplitStartDragAdditional: onSplitStartDragAdditional, children: [_jsx(ObjectSummary, { type: currentPathType, subType: currentPathSubType, tenantName: tenantName, path: path, onCollapseSummary: onCollapseSummaryHandler, onExpandSummary: onExpandSummaryHandler, isCollapsed: summaryVisibilityState.collapsed }), _jsx("div", { className: b('main'), children: _jsx(ObjectGeneral, { type: currentPathType, additionalTenantProps: props.additionalTenantProps, additionalNodesProps: props.additionalNodesProps, tenantName: tenantName, path: path }) })] }) }) })] }));
|
64
68
|
}
|
65
69
|
//# sourceMappingURL=Tenant.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tenant.js","sourceRoot":"","sources":["../../../src/containers/Tenant/Tenant.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,SAAS,EAAE,aAAa,EAAC,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,mCAAmC,EAAE,uBAAuB,EAAC,MAAM,uBAAuB,CAAC;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAEnD,OAAO,aAAa,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EACH,yBAAyB,EACzB,kCAAkC,GACrC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC;AAE5B,MAAM,qBAAqB,GAAG,GAAG,EAAE;IAC/B,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC,CAAC;IAErF,O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BAA0B,aAEtD,KAAC,aAAa,IACV,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,wBAAwB,EAC3C,eAAe,EAAE,sBAAsB,EACvC,WAAW,EAAE,sBAAsB,CAAC,SAAS,GAC/C,EACF,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YACrB,KAAC,aAAa,IACV,IAAI,EAAE,eAAe,EACrB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,EAClD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,EAChD,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,GACZ,GACA,IACE,GACJ,GACA,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -17,16 +17,17 @@ WITH (
|
|
17
17
|
AUTO_PARTITIONING_PARTITION_SIZE_MB = 2048,
|
18
18
|
AUTO_PARTITIONING_BY_LOAD = ENABLED,
|
19
19
|
AUTO_PARTITIONING_MIN_PARTITIONS_COUNT = 4,
|
20
|
-
AUTO_PARTITIONING_MAX_PARTITIONS_COUNT = 1024
|
20
|
+
AUTO_PARTITIONING_MAX_PARTITIONS_COUNT = 1024
|
21
21
|
-- uncomment to create a table with predefined partitions
|
22
|
-
-- UNIFORM_PARTITIONS = 4
|
22
|
+
-- , UNIFORM_PARTITIONS = 4 -- The number of partitions for uniform initial table partitioning.
|
23
23
|
-- The primary key's first column must have type Uint64 or Uint32.
|
24
24
|
-- A created table is immediately divided into the specified number of partitions
|
25
25
|
-- uncomment to launch read only replicas in every AZ
|
26
|
-
-- READ_REPLICAS_SETTINGS = 'PER_AZ:1'
|
26
|
+
-- , READ_REPLICAS_SETTINGS = 'PER_AZ:1' -- Enable read replicas for stale read, launch one replica in every availability zone
|
27
27
|
-- uncomment to enable ttl
|
28
|
-
-- TTL = Interval("PT1H") ON expire_at
|
29
|
-
|
28
|
+
-- , TTL = Interval("PT1H") ON expire_at -- Enable background deletion of expired rows https://ydb.tech/en/docs/concepts/ttl
|
29
|
+
-- uncomment to create a table with a bloom filter
|
30
|
+
-- , KEY_BLOOM_FILTER = ENABLED -- With a Bloom filter, you can more efficiently determine
|
30
31
|
-- if some keys are missing in a table when making multiple single queries by the primary key.
|
31
32
|
)`;
|
32
33
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI
|
1
|
+
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,OAAO,iBAAiB,IAAI;gCACA,CAAC;AACjC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;aACE,IAAI;cACH,CAAC;AACf,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO,iBAAiB,IAAI;;YAEpB,CAAC;AACb,CAAC,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G,CAAC,IAAY,EAAE,EAAE;IAC1D,OAAO,6BAA6B,IAAI,mDAAmD,CAAC;AAChG,CAAC,CAAC"}
|
@@ -26,8 +26,6 @@
|
|
26
26
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
27
27
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
28
28
|
"settings.showDomainDatabase.title": "Show domain database",
|
29
|
-
"settings.enableTracingLevel.title": "Enable tracing level select",
|
30
|
-
"settings.enableTracingLevel.description": "Caution: Enabling this setting may break running of queries",
|
31
29
|
"settings.queryUseMultiSchema.title": "Allow queries with multiple result sets",
|
32
30
|
"settings.queryUseMultiSchema.description": "Use 'multi' schema for queries. It enables queries with multiple result sets. It returns nothing on versions 23-3 and older",
|
33
31
|
"settings.useClusterBalancerAsBackend.title": "Use cluster balancer as backend",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.binaryDataInPlainTextDisplay.description" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.
|
1
|
+
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.binaryDataInPlainTextDisplay.description" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -19,7 +19,6 @@ export declare const invertedDisksSetting: SettingProps;
|
|
19
19
|
export declare const useNodesEndpointSetting: SettingProps;
|
20
20
|
export declare const usePaginatedTables: SettingProps;
|
21
21
|
export declare const showDomainDatabase: SettingProps;
|
22
|
-
export declare const enableTracingLevel: SettingProps;
|
23
22
|
export declare const queryUseMultiSchemaSetting: SettingProps;
|
24
23
|
export declare const useClusterBalancerAsBackendSetting: SettingProps;
|
25
24
|
export declare const enableAutocompleteSetting: SettingProps;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
3
3
|
import { createNextState } from '@reduxjs/toolkit';
|
4
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE,
|
4
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
5
5
|
import { Lang, defaultLang } from '../../utils/i18n';
|
6
6
|
import { ClusterModeGuard } from '../ClusterModeGuard';
|
7
7
|
import i18n from './i18n';
|
@@ -69,11 +69,6 @@ export const showDomainDatabase = {
|
|
69
69
|
settingKey: SHOW_DOMAIN_DATABASE_KEY,
|
70
70
|
title: i18n('settings.showDomainDatabase.title'),
|
71
71
|
};
|
72
|
-
export const enableTracingLevel = {
|
73
|
-
settingKey: ENABLE_TRACING_LEVEL_KEY,
|
74
|
-
title: i18n('settings.enableTracingLevel.title'),
|
75
|
-
description: i18n('settings.enableTracingLevel.description'),
|
76
|
-
};
|
77
72
|
export const queryUseMultiSchemaSetting = {
|
78
73
|
settingKey: QUERY_USE_MULTI_SCHEMA_KEY,
|
79
74
|
title: i18n('settings.queryUseMultiSchema.title'),
|
@@ -117,7 +112,7 @@ export const experimentsSection = {
|
|
117
112
|
export const devSettingsSection = {
|
118
113
|
id: 'devSettingsSection',
|
119
114
|
title: i18n('section.dev-setting'),
|
120
|
-
settings: [enableAutocompleteSetting, autocompleteOnEnterSetting
|
115
|
+
settings: [enableAutocompleteSetting, autocompleteOnEnterSetting],
|
121
116
|
};
|
122
117
|
export const aboutSettingsSection = {
|
123
118
|
id: 'aboutSettingsSection',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,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C,kCAAkC,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IAET,MAAM,QAAQ,GAA0B,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1F,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@@ -5,13 +5,12 @@ import { Icon } from '@gravity-ui/uikit';
|
|
5
5
|
import { skipToken } from '@reduxjs/toolkit/query';
|
6
6
|
import { Helmet } from 'react-helmet-async';
|
7
7
|
import { StringParam, useQueryParams } from 'use-query-params';
|
8
|
-
import { AutoRefreshControl } from '../../components/AutoRefreshControl/AutoRefreshControl';
|
9
8
|
import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
|
10
|
-
import {
|
9
|
+
import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
|
11
10
|
import { ResponseError } from '../../components/Errors/ResponseError';
|
12
11
|
import { GroupInfo } from '../../components/GroupInfo/GroupInfo';
|
13
12
|
import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
|
14
|
-
import {
|
13
|
+
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
15
14
|
import { VDiskWithDonorsStack } from '../../components/VDisk/VDiskWithDonorsStack';
|
16
15
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
17
16
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
@@ -94,13 +93,13 @@ export function VDiskPage() {
|
|
94
93
|
const hostItem = NodeHost ? `${vDiskPageKeyset('fqdn')}: ${NodeHost}` : undefined;
|
95
94
|
const nodeIdItem = NodeId ? `${vDiskPageKeyset('node')}: ${NodeId}` : undefined;
|
96
95
|
const pDiskIdItem = NodeId ? `${vDiskPageKeyset('pdisk')}: ${PDiskId}` : undefined;
|
97
|
-
return (_jsx(
|
96
|
+
return (_jsx(PageMetaWithAutorefresh, { loading: loading, items: [hostItem, nodeIdItem, NodeType, NodeDC, pDiskIdItem, PDiskType] }));
|
98
97
|
};
|
99
98
|
const renderPageTitle = () => {
|
100
|
-
return (_jsx(
|
99
|
+
return (_jsx(EntityPageTitle, { entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: stringifyVdiskId(vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.VDiskId) }));
|
101
100
|
};
|
102
101
|
const renderControls = () => {
|
103
|
-
return (
|
102
|
+
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal", dialogContent: vDiskPageKeyset('evict-vdisk-dialog'), retryButtonText: vDiskPageKeyset('force-evict-vdisk-button'), withPopover: true, popoverContent: vDiskPageKeyset('evict-vdisk-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowsOppositeToDots }), vDiskPageKeyset('evict-vdisk-button')] }) }));
|
104
103
|
};
|
105
104
|
const renderInfo = () => {
|
106
105
|
return _jsx(VDiskInfo, { data: vDiskData });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDi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AAS,EAAE,WAAW,CAAC,aAAa,CAAC,YACrC,MAAA,SAAS,CAAC,MAAM,0CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;4BAC7B,OAAO,CACH,KAAC,oBAAoB,IAEjB,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,QAAQ,EACf,SAAS,EAAE,WAAW,CAAC,YAAY,CAAC,IAH/B,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,CAItC,CACL,CAAC;wBACN,CAAC,CAAC,GACA,IACO,CACpB,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,OAAO,EAAE,CAAC;YACV,OAAO,KAAC,kBAAkB,IAAC,IAAI,EAAE,EAAE,GAAI,CAAC;QAC5C,CAAC;QAED,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACV,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9C,UAAU,EAAE,EACZ,eAAe,EAAE,IACL,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const vDiskPageKeyset: (key: "node" | "
|
1
|
+
export declare const vDiskPageKeyset: (key: "node" | "group" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
package/dist/routes.d.ts
CHANGED
@@ -30,3 +30,4 @@ export declare function getLocationObjectFromHref(href: string): {
|
|
30
30
|
};
|
31
31
|
export declare function getPDiskPagePath(pDiskId: string | number, nodeId: string | number, query?: Query): string;
|
32
32
|
export declare function getVDiskPagePath(vDiskSlotId: string | number, pDiskId: string | number, nodeId: string | number, query?: Query): string;
|
33
|
+
export declare function getTabletPagePath(tabletId: string | number, query?: Query): string;
|
package/dist/routes.js
CHANGED
@@ -70,4 +70,7 @@ export function getPDiskPagePath(pDiskId, nodeId, query = {}) {
|
|
70
70
|
export function getVDiskPagePath(vDiskSlotId, pDiskId, nodeId, query = {}) {
|
71
71
|
return createHref(routes.vDisk, undefined, { ...query, nodeId, pDiskId, vDiskSlotId });
|
72
72
|
}
|
73
|
+
export function getTabletPagePath(tabletId, query = {}) {
|
74
|
+
return createHref(routes.tablet, { id: tabletId }, { ...query });
|
75
|
+
}
|
73
76
|
//# sourceMappingURL=routes.js.map
|
package/dist/routes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,SAAS,CAAC;AAEzD,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC/B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAE/B,MAAM,MAAM,GAAG;IACX,QAAQ,EAAE,IAAI,QAAQ,EAAE;IACxB,OAAO,EAAE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EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAC,CAAC,CAAC;AACzF,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAyB,EAAE,QAAe,EAAE;IAC1E,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAC,EAAE,EAAE,QAAQ,EAAC,EAAE,EAAC,GAAG,KAAK,EAAC,CAAC,CAAC;AACjE,CAAC"}
|
package/dist/services/api.d.ts
CHANGED
@@ -21,7 +21,7 @@ import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/r
|
|
21
21
|
import type { TEvDescribeSchemeResult } from '../types/api/schema';
|
22
22
|
import type { TStorageInfo } from '../types/api/storage';
|
23
23
|
import type { TEvSystemStateResponse } from '../types/api/systemState';
|
24
|
-
import type { TDomainKey, TEvTabletStateResponse, UnmergedTEvTabletStateResponse } from '../types/api/tablet';
|
24
|
+
import type { TDomainKey, TEvTabletStateResponse, TTabletHiveResponse, UnmergedTEvTabletStateResponse } from '../types/api/tablet';
|
25
25
|
import type { TTenantInfo, TTenants } from '../types/api/tenant';
|
26
26
|
import type { DescribeTopicResult } from '../types/api/topic';
|
27
27
|
import type { TEvVDiskStateResponse } from '../types/api/vdisk';
|
@@ -49,7 +49,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
49
49
|
getNodes({ visibleEntities, type, tablets, sortOrder, sortValue, ...params }: NodesApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TNodesInfo>;
|
50
50
|
/** @deprecated use getNodes instead */
|
51
51
|
getCompute({ sortOrder, sortValue, ...params }: ComputeApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TComputeInfo>;
|
52
|
-
getStorageInfo({ tenant, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }: StorageApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
52
|
+
getStorageInfo({ tenant, database, visibleEntities, nodeId, poolName, groupId, sortOrder, sortValue, ...params }: StorageApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
53
53
|
getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }: {
|
54
54
|
nodeId: string | number;
|
55
55
|
pDiskId: string | number;
|
@@ -98,11 +98,13 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
98
98
|
consumer: string;
|
99
99
|
database: string;
|
100
100
|
}, { concurrentId, signal }?: AxiosOptions): Promise<DescribeConsumerResult>;
|
101
|
-
getTablet({ id }: {
|
101
|
+
getTablet({ id, database }: {
|
102
102
|
id?: string;
|
103
|
+
database?: string;
|
103
104
|
}, { concurrentId, signal }?: AxiosOptions): Promise<TEvTabletStateResponse>;
|
104
|
-
getTabletHistory({ id }: {
|
105
|
+
getTabletHistory({ id, database }: {
|
105
106
|
id?: string;
|
107
|
+
database?: string;
|
106
108
|
}, { concurrentId, signal }?: AxiosOptions): Promise<UnmergedTEvTabletStateResponse>;
|
107
109
|
getNodesList({ concurrentId, signal }?: AxiosOptions): Promise<TEvNodesInfo>;
|
108
110
|
getTenantsList({ concurrentId, signal }?: AxiosOptions): Promise<TTenants>;
|
@@ -140,9 +142,13 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
140
142
|
pDiskId: number | string;
|
141
143
|
force?: boolean;
|
142
144
|
}): Promise<ModifyDiskResponse>;
|
143
|
-
killTablet(id
|
144
|
-
stopTablet(id
|
145
|
-
resumeTablet(id
|
145
|
+
killTablet(id: string): Promise<string>;
|
146
|
+
stopTablet(id: string, hiveId: string): Promise<string>;
|
147
|
+
resumeTablet(id: string, hiveId: string): Promise<string>;
|
148
|
+
getTabletFromHive({ id, hiveId }: {
|
149
|
+
id: string;
|
150
|
+
hiveId: string;
|
151
|
+
}, { concurrentId, signal }?: AxiosOptions): Promise<Nullable<TTabletHiveResponse>>;
|
146
152
|
getTabletDescribe(tenantId: TDomainKey, { concurrentId, signal }?: AxiosOptions): Promise<Nullable<TEvDescribeSchemeResult>>;
|
147
153
|
getChartData({ target, from, until, maxDataPoints, database }: JsonRenderRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<JsonRenderResponse>;
|
148
154
|
authenticate(params: {
|