ydb-embedded-ui 6.11.0 → 6.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +9 -5
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +5 -3
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +8 -7
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +1 -1
- package/dist/components/CriticalActionDialog/i18n/en.json +1 -0
- package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
- package/dist/components/DateRange/DateRange.d.ts +4 -4
- package/dist/components/DateRange/DateRange.js +23 -26
- package/dist/components/DateRange/DateRange.scss +14 -13
- package/dist/components/DateRange/__test__/fromDateRangeValues.test.js +80 -0
- package/dist/components/DateRange/__test__/getdatePickerSize.test.d.ts +1 -0
- package/dist/components/DateRange/__test__/getdatePickerSize.test.js +56 -0
- package/dist/components/DateRange/__test__/toDateRangeValues.test.d.ts +1 -0
- package/dist/components/DateRange/__test__/toDateRangeValues.test.js +80 -0
- package/dist/components/DateRange/i18n/en.json +4 -0
- package/dist/components/DateRange/i18n/index.d.ts +2 -0
- package/dist/components/DateRange/i18n/index.js +5 -0
- package/dist/components/DateRange/i18n/ru.json +4 -0
- package/dist/components/DateRange/utils.d.ts +5 -0
- package/dist/components/DateRange/utils.js +41 -0
- package/dist/components/DeveloperUILinkButton/DeveloperUILinkButton.d.ts +8 -0
- package/dist/components/{DeveloperUiLink/DeveloperUiLink.js → DeveloperUILinkButton/DeveloperUILinkButton.js} +3 -3
- package/dist/components/{DeveloperUiLink/DeveloperUiLink.scss → DeveloperUILinkButton/DeveloperUILinkButton.scss} +3 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +6 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +22 -12
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +45 -45
- package/dist/components/EntityStatus/EntityStatus.js +1 -1
- package/dist/components/EntityStatus/EntityStatus.scss +6 -2
- package/dist/components/Errors/PageError/PageError.d.ts +11 -0
- package/dist/components/Errors/PageError/PageError.js +19 -0
- package/dist/components/Errors/i18n/en.json +2 -1
- package/dist/components/Errors/i18n/index.d.ts +1 -1
- package/dist/components/Errors/i18n/ru.json +2 -1
- package/dist/components/Fullscreen/Fullscreen.d.ts +1 -1
- package/dist/components/Fullscreen/Fullscreen.js +34 -27
- package/dist/components/Fullscreen/Fullscreen.scss +16 -8
- package/dist/components/Graph/Graph.d.ts +13 -0
- package/dist/components/Graph/Graph.js +41 -0
- package/dist/components/LabelWithPopover/LabelWithPopover.d.ts +4 -1
- package/dist/components/LabelWithPopover/LabelWithPopover.js +1 -1
- package/dist/components/Loader/Loader.d.ts +2 -1
- package/dist/components/Loader/Loader.js +6 -1
- package/dist/components/LoaderWrapper/LoaderWrapper.d.ts +10 -0
- package/dist/components/LoaderWrapper/LoaderWrapper.js +8 -0
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/MonacoEditor/MonacoEditor.js +0 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +0 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -6
- package/dist/components/PDiskInfo/PDiskInfo.d.ts +8 -5
- package/dist/components/PDiskInfo/PDiskInfo.js +76 -26
- package/dist/components/PDiskInfo/PDiskInfo.scss +15 -1
- package/dist/components/PDiskInfo/i18n/en.json +11 -5
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +8 -2
- package/dist/components/ProgressViewer/ProgressViewer.js +3 -0
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +13 -3
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.scss +4 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.d.ts +7 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.js +8 -0
- package/dist/components/QuerySettingsDescription/QuerySettingsDescription.scss +8 -0
- package/dist/components/QuerySettingsDescription/index.d.ts +1 -0
- package/dist/components/QuerySettingsDescription/index.js +1 -0
- package/dist/components/VDisk/VDisk.js +3 -4
- package/dist/components/VDiskInfo/VDiskInfo.d.ts +4 -3
- package/dist/components/VDiskInfo/VDiskInfo.js +12 -5
- package/dist/components/VDiskInfo/VDiskInfo.scss +7 -1
- package/dist/components/VDiskInfo/i18n/en.json +2 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/containers/App/Content.js +15 -19
- package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +4 -4
- package/dist/containers/Authentication/Authentication.js +8 -10
- package/dist/containers/Authentication/utils.d.ts +8 -0
- package/dist/containers/Authentication/utils.js +15 -0
- package/dist/containers/Cluster/Cluster.scss +1 -4
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +6 -6
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +1 -1
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Heatmap/Heatmap.d.ts +2 -1
- package/dist/containers/Heatmap/Heatmap.js +7 -6
- package/dist/containers/Node/Node.js +5 -7
- package/dist/containers/Node/Node.scss +5 -4
- package/dist/containers/Node/NodeStructure/NodeStructure.js +4 -4
- package/dist/containers/Node/NodeStructure/NodeStructure.scss +4 -20
- package/dist/containers/Node/NodeStructure/Pdisk.js +3 -3
- package/dist/containers/Nodes/Nodes.js +6 -8
- package/dist/containers/Nodes/getNodesColumns.js +6 -21
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +6 -0
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +24 -0
- package/dist/containers/PDiskPage/PDiskPage.js +79 -30
- package/dist/containers/PDiskPage/PDiskPage.scss +8 -5
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.d.ts +7 -0
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js +93 -0
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.scss +52 -0
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/utils.d.ts +4 -0
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/utils.js +9 -0
- package/dist/containers/PDiskPage/i18n/en.json +9 -1
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PDisk/PDisk.js +3 -4
- package/dist/containers/Storage/Storage.js +4 -6
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +16 -6
- package/dist/containers/Tablet/Tablet.js +2 -2
- package/dist/containers/Tablet/TabletControls/TabletControls.js +2 -1
- package/dist/containers/Tablets/Tablets.js +14 -13
- package/dist/containers/Tenant/Acl/Acl.d.ts +2 -1
- package/dist/containers/Tenant/Acl/Acl.js +10 -8
- package/dist/containers/Tenant/Acl/Acl.scss +8 -8
- package/dist/containers/Tenant/Acl/i18n/en.json +6 -0
- package/dist/containers/Tenant/Acl/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Acl/i18n/index.js +4 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +2 -5
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +14 -17
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.js +1 -1
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss +1 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -3
- package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +3 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +3 -3
- package/dist/containers/Tenant/Diagnostics/Network/Network.js +8 -11
- package/dist/containers/Tenant/Diagnostics/Network/Network.scss +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +8 -10
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/en.json +14 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.js +1 -2
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +36 -17
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +3 -4
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -4
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +8 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +3 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +3 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +6 -5
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +14 -14
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +7 -6
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +4 -4
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +31 -18
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +56 -20
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +10 -6
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +7 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.js +4 -0
- package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +18 -0
- package/dist/containers/Tenant/Query/ExecuteResult/utils.js +36 -0
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +23 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +56 -111
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +1 -30
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.js +18 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.scss +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.scss +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/MetricsCell.d.ts +6 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/MetricsCell.js +11 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationCell.d.ts +13 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationCell.js +48 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationParams.d.ts +6 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationParams.js +66 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +100 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +128 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.js +1 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +59 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.d.ts +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.js +11 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.scss +14 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +8 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.js +4 -0
- package/dist/containers/Tenant/Query/Preview/Preview.js +2 -3
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -19
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.js +1 -1
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.scss +11 -0
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +96 -95
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.d.ts +5 -6
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +18 -47
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.d.ts +2 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +5 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +42 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.d.ts +5 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +19 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +56 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.d.ts +2 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.js +12 -0
- package/dist/containers/Tenant/Query/QuerySettingsBanner/QuerySettingsBanner.scss +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.d.ts +2 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +35 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +63 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +15 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +14 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.scss +19 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +215 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +131 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +13 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.js +5 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +13 -0
- package/dist/containers/Tenant/Query/i18n/en.json +17 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/CreateDirectoryDialog/CreateDirectoryDialog.d.ts +3 -2
- package/dist/containers/Tenant/Schema/CreateDirectoryDialog/CreateDirectoryDialog.js +2 -2
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +8 -8
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +6 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +2 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +13 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +1 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +3 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -0
- package/dist/containers/Tenant/Tenant.js +4 -8
- package/dist/containers/Tenant/TenantPages.d.ts +12 -1
- package/dist/containers/Tenant/TenantPages.js +1 -1
- package/dist/containers/Tenant/i18n/en.json +2 -2
- package/dist/containers/Tenant/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/utils/schema.js +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +2 -2
- package/dist/containers/Tenant/utils/schemaActions.js +2 -2
- package/dist/containers/Tenants/Tenants.js +5 -8
- package/dist/containers/Tenants/Tenants.scss +0 -4
- package/dist/containers/UserSettings/i18n/en.json +3 -3
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +2 -2
- package/dist/containers/UserSettings/settings.js +18 -19
- package/dist/containers/VDiskPage/VDiskPage.js +27 -13
- package/dist/containers/VDiskPage/i18n/en.json +1 -0
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/routes.js +2 -2
- package/dist/services/api.d.ts +59 -28
- package/dist/services/api.js +74 -98
- package/dist/services/settings.d.ts +11 -3
- package/dist/services/settings.js +7 -5
- package/dist/store/configureStore.d.ts +7 -7
- package/dist/store/defaultStore.d.ts +3 -3
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +37 -24
- package/dist/store/reducers/authentication/authentication.js +77 -57
- package/dist/store/reducers/authentication/types.d.ts +0 -8
- package/dist/store/reducers/capabilities/capabilities.d.ts +106 -0
- package/dist/store/reducers/capabilities/capabilities.js +22 -0
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +13 -0
- 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 +5 -2
- package/dist/store/reducers/describe.js +2 -2
- package/dist/store/reducers/executeQuery.d.ts +7 -14
- package/dist/store/reducers/executeQuery.js +19 -14
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +19 -14
- package/dist/store/reducers/executeTopQueries/types.d.ts +2 -2
- package/dist/store/reducers/executeTopQueries/utils.js +11 -7
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +5 -4
- package/dist/store/reducers/explainQuery/explainQuery.js +20 -5
- package/dist/store/reducers/explainQuery/types.d.ts +13 -1
- package/dist/store/reducers/explainQuery/utils.js +7 -2
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/heatmap.js +3 -3
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +3 -2
- package/dist/store/reducers/hotKeys/hotKeys.js +3 -3
- package/dist/store/reducers/index.d.ts +6 -6
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/network/network.js +1 -1
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -1
- package/dist/store/reducers/node/selectors.js +2 -2
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodesList.d.ts +3 -3
- package/dist/store/reducers/overview/overview.d.ts +5 -2
- package/dist/store/reducers/overview/overview.js +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
- package/dist/store/reducers/pdisk/pdisk.js +15 -2
- package/dist/store/reducers/pdisk/types.d.ts +17 -1
- package/dist/store/reducers/pdisk/utils.d.ts +2 -2
- package/dist/store/reducers/pdisk/utils.js +68 -8
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/preview.js +1 -1
- package/dist/store/reducers/queryActions/types.d.ts +1 -1
- package/dist/store/reducers/schema/schema.d.ts +28 -10
- package/dist/store/reducers/schema/schema.js +20 -14
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +4 -2
- package/dist/store/reducers/schemaAcl/schemaAcl.js +9 -3
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +22 -6
- package/dist/store/reducers/shardsWorkload/types.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/tablet.d.ts +3 -3
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tabletsFilters.d.ts +1 -1
- 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/executeTopTables/executeTopTables.js +1 -1
- 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/topShards/tenantOverviewTopShards.js +1 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +31 -30
- package/dist/store/reducers/tenants/selectors.js +8 -2
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
- package/dist/store/reducers/vdisk/vdisk.js +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
- package/dist/store/state-url-mapping.d.ts +70 -0
- package/dist/store/state-url-mapping.js +1 -5
- package/dist/styles/mixins.scss +13 -0
- package/dist/types/api/acl.d.ts +1 -0
- package/dist/types/api/capabilities.d.ts +7 -0
- package/dist/types/api/capabilities.js +1 -0
- package/dist/types/api/modifyDisk.d.ts +8 -0
- package/dist/types/api/modifyDisk.js +1 -0
- package/dist/types/api/pdisk.d.ts +65 -2
- package/dist/types/api/query.d.ts +39 -3
- package/dist/types/api/query.js +9 -1
- package/dist/types/api/schema/shared.d.ts +8 -0
- package/dist/types/api/vdisk.d.ts +33 -2
- package/dist/types/common.d.ts +3 -0
- package/dist/types/store/heatmap.d.ts +1 -0
- package/dist/types/store/query.d.ts +11 -1
- package/dist/utils/__test__/prepareQueryExplain.test.d.ts +1 -0
- package/dist/utils/__test__/prepareQueryExplain.test.js +115 -0
- package/dist/utils/constants.d.ts +13 -3
- package/dist/utils/constants.js +15 -3
- package/dist/utils/dataFormatters/dataFormatters.d.ts +0 -5
- package/dist/utils/dataFormatters/dataFormatters.js +3 -12
- package/dist/utils/developerUI/developerUI.d.ts +1 -0
- package/dist/utils/developerUI/developerUI.js +3 -0
- package/dist/utils/disks/getPDiskType.d.ts +3 -3
- package/dist/utils/disks/helpers.d.ts +1 -0
- package/dist/utils/disks/helpers.js +3 -0
- package/dist/utils/disks/prepareDisks.d.ts +2 -2
- package/dist/utils/disks/prepareDisks.js +17 -22
- package/dist/utils/disks/types.d.ts +7 -5
- package/dist/utils/hooks/index.d.ts +2 -1
- package/dist/utils/hooks/index.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +10 -0
- package/dist/utils/hooks/useChangedQuerySettings.js +46 -0
- package/dist/utils/hooks/useDelayed.d.ts +1 -0
- package/dist/utils/hooks/useDelayed.js +13 -0
- package/dist/utils/hooks/useEventHandler.d.ts +6 -0
- package/dist/utils/hooks/useEventHandler.js +17 -0
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +2 -0
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +5 -0
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +8 -0
- package/dist/utils/hooks/useQueryExecutionSettings.js +15 -0
- package/dist/utils/monaco/constats.d.ts +2 -0
- package/dist/utils/monaco/constats.js +2 -0
- package/dist/utils/monaco/yql/constants.d.ts +0 -1
- package/dist/utils/monaco/yql/constants.js +0 -1
- package/dist/utils/monaco/yql/yql.completionItemProvider.js +2 -2
- package/dist/utils/prepareQueryExplain.d.ts +3 -1
- package/dist/utils/prepareQueryExplain.js +54 -2
- package/dist/utils/query.d.ts +24 -1
- package/dist/utils/query.js +41 -0
- package/dist/utils/query.test.js +3 -0
- package/dist/utils/utils.d.ts +8 -7
- package/dist/utils/utils.js +23 -11
- package/package.json +8 -2
- package/dist/components/DeveloperUiLink/DeveloperUiLink.d.ts +0 -8
- package/dist/components/NodeHostWrapper/NodeHostWrapper.scss +0 -15
- package/dist/containers/Node/NodeStructure/Vdisk.d.ts +0 -6
- package/dist/containers/Node/NodeStructure/Vdisk.js +0 -13
- package/dist/containers/PDiskPage/PDiskGroups.d.ts +0 -9
- package/dist/containers/PDiskPage/PDiskGroups.js +0 -20
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/ru.json +0 -5
- package/dist/containers/Tenant/Query/ExplainResult/utils.d.ts +0 -2
- package/dist/containers/Tenant/Query/ExplainResult/utils.js +0 -4
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.d.ts +0 -5
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.js +0 -38
- package/dist/store/utils.d.ts +0 -23
- package/dist/store/utils.js +0 -49
- package/dist/types/api/restartPDisk.d.ts +0 -4
- package/dist/utils/hooks/useQueryModes.d.ts +0 -2
- package/dist/utils/hooks/useQueryModes.js +0 -5
- package/dist/utils/monaco/index.d.ts +0 -1
- package/dist/utils/monaco/index.js +0 -6
- package/dist/utils/monaco/s-expression/constants.d.ts +0 -1
- package/dist/utils/monaco/s-expression/constants.js +0 -1
- package/dist/utils/monaco/s-expression/registerLanguage.d.ts +0 -1
- package/dist/utils/monaco/s-expression/registerLanguage.js +0 -59
- package/dist/utils/monaco/yql/registerLanguage.d.ts +0 -1
- package/dist/utils/monaco/yql/registerLanguage.js +0 -8
- package/dist/utils/monaco/yql/yql.d.ts +0 -7
- package/dist/utils/monaco/yql/yql.js +0 -180
- package/dist/utils/monaco/yql/yql.keywords.d.ts +0 -3
- package/dist/utils/monaco/yql/yql.keywords.js +0 -3
- /package/dist/{types/api/restartPDisk.js → components/DateRange/__test__/fromDateRangeValues.test.d.ts} +0 -0
@@ -5,10 +5,10 @@ export declare const healthcheckApi: import("@reduxjs/toolkit/query").Api<import
|
|
5
5
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
6
6
|
database: string;
|
7
7
|
maxLevel?: number;
|
8
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
9
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
9
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
10
10
|
export declare const selectIssuesTreesRoots: ((state: {
|
11
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
11
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
12
12
|
singleClusterMode: boolean;
|
13
13
|
cluster: import("../cluster/types").ClusterState;
|
14
14
|
tenant: import("../tenant/types").TenantState;
|
@@ -40,7 +40,7 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
40
40
|
};
|
41
41
|
lastResult: () => IssueLog[];
|
42
42
|
dependencies: [((state: {
|
43
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
43
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
44
44
|
singleClusterMode: boolean;
|
45
45
|
cluster: import("../cluster/types").ClusterState;
|
46
46
|
tenant: import("../tenant/types").TenantState;
|
@@ -65,7 +65,7 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
65
65
|
resetResultsCount: () => void;
|
66
66
|
} & {
|
67
67
|
resultFunc: (resultFuncArgs_0: {
|
68
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
68
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
69
69
|
singleClusterMode: boolean;
|
70
70
|
cluster: import("../cluster/types").ClusterState;
|
71
71
|
tenant: import("../tenant/types").TenantState;
|
@@ -88,13 +88,13 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
88
88
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
89
89
|
database: string;
|
90
90
|
maxLevel?: number;
|
91
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
92
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
91
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
92
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
93
93
|
database: string;
|
94
94
|
maxLevel?: number;
|
95
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
95
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
96
96
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
97
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
97
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
98
98
|
singleClusterMode: boolean;
|
99
99
|
cluster: import("../cluster/types").ClusterState;
|
100
100
|
tenant: import("../tenant/types").TenantState;
|
@@ -117,18 +117,18 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
117
117
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
118
118
|
database: string;
|
119
119
|
maxLevel?: number;
|
120
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
121
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
120
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
121
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
122
122
|
database: string;
|
123
123
|
maxLevel?: number;
|
124
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
124
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
125
125
|
clearCache: () => void;
|
126
126
|
resultsCount: () => number;
|
127
127
|
resetResultsCount: () => void;
|
128
128
|
};
|
129
129
|
lastResult: () => IssueLog[];
|
130
130
|
dependencies: [(state: RootState) => {
|
131
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
131
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
132
132
|
singleClusterMode: boolean;
|
133
133
|
cluster: import("../cluster/types").ClusterState;
|
134
134
|
tenant: import("../tenant/types").TenantState;
|
@@ -151,11 +151,11 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
151
151
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
152
152
|
database: string;
|
153
153
|
maxLevel?: number;
|
154
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
155
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
154
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
155
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
156
156
|
database: string;
|
157
157
|
maxLevel?: number;
|
158
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
158
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
159
159
|
recomputations: () => number;
|
160
160
|
resetRecomputations: () => void;
|
161
161
|
dependencyRecomputations: () => number;
|
@@ -173,7 +173,7 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
173
173
|
memoize: typeof import("reselect").weakMapMemoize;
|
174
174
|
};
|
175
175
|
export declare const selectIssuesTrees: ((state: {
|
176
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
176
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
177
177
|
singleClusterMode: boolean;
|
178
178
|
cluster: import("../cluster/types").ClusterState;
|
179
179
|
tenant: import("../tenant/types").TenantState;
|
@@ -205,7 +205,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
205
205
|
};
|
206
206
|
lastResult: () => IssuesTree[];
|
207
207
|
dependencies: [((state: {
|
208
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
208
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
209
209
|
singleClusterMode: boolean;
|
210
210
|
cluster: import("../cluster/types").ClusterState;
|
211
211
|
tenant: import("../tenant/types").TenantState;
|
@@ -230,7 +230,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
230
230
|
resetResultsCount: () => void;
|
231
231
|
} & {
|
232
232
|
resultFunc: (resultFuncArgs_0: {
|
233
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
233
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
234
234
|
singleClusterMode: boolean;
|
235
235
|
cluster: import("../cluster/types").ClusterState;
|
236
236
|
tenant: import("../tenant/types").TenantState;
|
@@ -253,13 +253,13 @@ export declare const selectIssuesTrees: ((state: {
|
|
253
253
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
254
254
|
database: string;
|
255
255
|
maxLevel?: number;
|
256
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
257
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
256
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
257
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
258
258
|
database: string;
|
259
259
|
maxLevel?: number;
|
260
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
260
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
261
261
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
262
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
262
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
263
263
|
singleClusterMode: boolean;
|
264
264
|
cluster: import("../cluster/types").ClusterState;
|
265
265
|
tenant: import("../tenant/types").TenantState;
|
@@ -282,18 +282,18 @@ export declare const selectIssuesTrees: ((state: {
|
|
282
282
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
283
283
|
database: string;
|
284
284
|
maxLevel?: number;
|
285
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
286
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
285
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
286
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
287
287
|
database: string;
|
288
288
|
maxLevel?: number;
|
289
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
289
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
290
290
|
clearCache: () => void;
|
291
291
|
resultsCount: () => number;
|
292
292
|
resetResultsCount: () => void;
|
293
293
|
};
|
294
294
|
lastResult: () => IssueLog[];
|
295
295
|
dependencies: [(state: RootState) => {
|
296
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
296
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
297
297
|
singleClusterMode: boolean;
|
298
298
|
cluster: import("../cluster/types").ClusterState;
|
299
299
|
tenant: import("../tenant/types").TenantState;
|
@@ -316,11 +316,11 @@ export declare const selectIssuesTrees: ((state: {
|
|
316
316
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
317
317
|
database: string;
|
318
318
|
maxLevel?: number;
|
319
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
320
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
319
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
320
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
321
321
|
database: string;
|
322
322
|
maxLevel?: number;
|
323
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
323
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
324
324
|
recomputations: () => number;
|
325
325
|
resetRecomputations: () => void;
|
326
326
|
dependencyRecomputations: () => number;
|
@@ -329,7 +329,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
329
329
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
330
330
|
memoize: typeof import("reselect").weakMapMemoize;
|
331
331
|
}, ((state: {
|
332
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
332
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
333
333
|
singleClusterMode: boolean;
|
334
334
|
cluster: import("../cluster/types").ClusterState;
|
335
335
|
tenant: import("../tenant/types").TenantState;
|
@@ -361,7 +361,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
361
361
|
};
|
362
362
|
lastResult: () => IssueLog[];
|
363
363
|
dependencies: [((state: {
|
364
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
364
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
365
365
|
singleClusterMode: boolean;
|
366
366
|
cluster: import("../cluster/types").ClusterState;
|
367
367
|
tenant: import("../tenant/types").TenantState;
|
@@ -386,7 +386,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
386
386
|
resetResultsCount: () => void;
|
387
387
|
} & {
|
388
388
|
resultFunc: (resultFuncArgs_0: {
|
389
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
389
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
390
390
|
singleClusterMode: boolean;
|
391
391
|
cluster: import("../cluster/types").ClusterState;
|
392
392
|
tenant: import("../tenant/types").TenantState;
|
@@ -409,13 +409,13 @@ export declare const selectIssuesTrees: ((state: {
|
|
409
409
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
410
410
|
database: string;
|
411
411
|
maxLevel?: number;
|
412
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
413
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
412
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
413
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
414
414
|
database: string;
|
415
415
|
maxLevel?: number;
|
416
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
416
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
417
417
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
418
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
418
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
419
419
|
singleClusterMode: boolean;
|
420
420
|
cluster: import("../cluster/types").ClusterState;
|
421
421
|
tenant: import("../tenant/types").TenantState;
|
@@ -438,18 +438,18 @@ export declare const selectIssuesTrees: ((state: {
|
|
438
438
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
439
439
|
database: string;
|
440
440
|
maxLevel?: number;
|
441
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
442
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
441
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
442
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
443
443
|
database: string;
|
444
444
|
maxLevel?: number;
|
445
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
445
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
446
446
|
clearCache: () => void;
|
447
447
|
resultsCount: () => number;
|
448
448
|
resetResultsCount: () => void;
|
449
449
|
};
|
450
450
|
lastResult: () => IssueLog[];
|
451
451
|
dependencies: [(state: RootState) => {
|
452
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
452
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
453
453
|
singleClusterMode: boolean;
|
454
454
|
cluster: import("../cluster/types").ClusterState;
|
455
455
|
tenant: import("../tenant/types").TenantState;
|
@@ -472,11 +472,11 @@ export declare const selectIssuesTrees: ((state: {
|
|
472
472
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
473
473
|
database: string;
|
474
474
|
maxLevel?: number;
|
475
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
476
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
475
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
476
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
477
477
|
database: string;
|
478
478
|
maxLevel?: number;
|
479
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
479
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
480
480
|
recomputations: () => number;
|
481
481
|
resetRecomputations: () => void;
|
482
482
|
dependencyRecomputations: () => number;
|
@@ -502,7 +502,7 @@ export declare const selectIssuesTrees: ((state: {
|
|
502
502
|
memoize: typeof import("reselect").weakMapMemoize;
|
503
503
|
};
|
504
504
|
export declare const selectIssuesStatistics: ((state: {
|
505
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
505
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
506
506
|
singleClusterMode: boolean;
|
507
507
|
cluster: import("../cluster/types").ClusterState;
|
508
508
|
tenant: import("../tenant/types").TenantState;
|
@@ -534,7 +534,7 @@ export declare const selectIssuesStatistics: ((state: {
|
|
534
534
|
};
|
535
535
|
lastResult: () => [StatusFlag, number][];
|
536
536
|
dependencies: [((state: {
|
537
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
537
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
538
538
|
singleClusterMode: boolean;
|
539
539
|
cluster: import("../cluster/types").ClusterState;
|
540
540
|
tenant: import("../tenant/types").TenantState;
|
@@ -559,7 +559,7 @@ export declare const selectIssuesStatistics: ((state: {
|
|
559
559
|
resetResultsCount: () => void;
|
560
560
|
} & {
|
561
561
|
resultFunc: (resultFuncArgs_0: {
|
562
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
562
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
563
563
|
singleClusterMode: boolean;
|
564
564
|
cluster: import("../cluster/types").ClusterState;
|
565
565
|
tenant: import("../tenant/types").TenantState;
|
@@ -582,13 +582,13 @@ export declare const selectIssuesStatistics: ((state: {
|
|
582
582
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
583
583
|
database: string;
|
584
584
|
maxLevel?: number;
|
585
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
586
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
585
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
586
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
587
587
|
database: string;
|
588
588
|
maxLevel?: number;
|
589
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
589
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
|
590
590
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
591
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
591
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
592
592
|
singleClusterMode: boolean;
|
593
593
|
cluster: import("../cluster/types").ClusterState;
|
594
594
|
tenant: import("../tenant/types").TenantState;
|
@@ -611,18 +611,18 @@ export declare const selectIssuesStatistics: ((state: {
|
|
611
611
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
612
612
|
database: string;
|
613
613
|
maxLevel?: number;
|
614
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
615
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
614
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
615
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
616
616
|
database: string;
|
617
617
|
maxLevel?: number;
|
618
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
618
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
|
619
619
|
clearCache: () => void;
|
620
620
|
resultsCount: () => number;
|
621
621
|
resetResultsCount: () => void;
|
622
622
|
};
|
623
623
|
lastResult: () => IssueLog[];
|
624
624
|
dependencies: [(state: RootState) => {
|
625
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
625
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
626
626
|
singleClusterMode: boolean;
|
627
627
|
cluster: import("../cluster/types").ClusterState;
|
628
628
|
tenant: import("../tenant/types").TenantState;
|
@@ -645,11 +645,11 @@ export declare const selectIssuesStatistics: ((state: {
|
|
645
645
|
getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
646
646
|
database: string;
|
647
647
|
maxLevel?: number;
|
648
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
649
|
-
}, "All", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
648
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
|
649
|
+
}, "All" | "PDiskData" | "UserData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
650
650
|
database: string;
|
651
651
|
maxLevel?: number;
|
652
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
652
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
|
653
653
|
recomputations: () => number;
|
654
654
|
resetRecomputations: () => void;
|
655
655
|
dependencyRecomputations: () => number;
|
@@ -4,11 +4,11 @@ declare const _default: import("redux").Reducer<IHeatmapState>;
|
|
4
4
|
export default _default;
|
5
5
|
export declare const setHeatmapOptions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<IHeatmapState>, "heatmap/setHeatmapOptions">;
|
6
6
|
export declare const heatmapApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
7
|
-
getHeatmapTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<IHeatmapApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All", {
|
7
|
+
getHeatmapTabletsInfo: import("@reduxjs/toolkit/query").QueryDefinition<IHeatmapApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", {
|
8
8
|
tablets: IHeatmapTabletData[];
|
9
9
|
metrics: {
|
10
10
|
value: IHeatmapMetricValue;
|
11
11
|
content: IHeatmapMetricValue;
|
12
12
|
}[] | undefined;
|
13
13
|
} | undefined, "api">;
|
14
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
14
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -22,12 +22,12 @@ export const { setHeatmapOptions } = slice.actions;
|
|
22
22
|
export const heatmapApi = api.injectEndpoints({
|
23
23
|
endpoints: (builder) => ({
|
24
24
|
getHeatmapTabletsInfo: builder.query({
|
25
|
-
queryFn: async ({ nodes, path }, { signal, getState, dispatch }) => {
|
25
|
+
queryFn: async ({ nodes, path, database }, { signal, getState, dispatch }) => {
|
26
26
|
var _a;
|
27
27
|
try {
|
28
28
|
const response = await Promise.all([
|
29
|
-
window.api.getTabletsInfo({ nodes, path }, { signal }),
|
30
|
-
window.api.getHeatmapData({ path }, { signal }),
|
29
|
+
window.api.getTabletsInfo({ nodes, path, database }, { signal }),
|
30
|
+
window.api.getHeatmapData({ path, database }, { signal }),
|
31
31
|
]);
|
32
32
|
const data = transformResponse(response);
|
33
33
|
if ((_a = data.metrics) === null || _a === void 0 ? void 0 : _a.length) {
|
@@ -2,5 +2,6 @@ import type { HotKey } from '../../../types/api/hotkeys';
|
|
2
2
|
export declare const hotKeysApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
3
3
|
getHotKeys: import("@reduxjs/toolkit/query").QueryDefinition<{
|
4
4
|
path: string;
|
5
|
-
|
6
|
-
},
|
5
|
+
database: string;
|
6
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", HotKey[] | null, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -2,11 +2,11 @@ import { api } from '../api';
|
|
2
2
|
export const hotKeysApi = api.injectEndpoints({
|
3
3
|
endpoints: (builder) => ({
|
4
4
|
getHotKeys: builder.query({
|
5
|
-
queryFn: async ({ path }, { signal }) => {
|
5
|
+
queryFn: async ({ path, database }, { signal }) => {
|
6
6
|
var _a;
|
7
7
|
try {
|
8
8
|
// Send request that will trigger hot keys sampling (enable_sampling = true)
|
9
|
-
const initialResponse = await window.api.getHotKeys(path, true, { signal });
|
9
|
+
const initialResponse = await window.api.getHotKeys({ path, database, enableSampling: true }, { signal });
|
10
10
|
// If there are hotkeys in the initial request (hotkeys was collected before)
|
11
11
|
// we could just use colleted samples (collected hotkeys are stored only for 30 seconds)
|
12
12
|
if (Array.isArray(initialResponse.hotkeys)) {
|
@@ -22,7 +22,7 @@ export const hotKeysApi = api.injectEndpoints({
|
|
22
22
|
}),
|
23
23
|
]);
|
24
24
|
// And request these samples (enable_sampling = false)
|
25
|
-
const response = await window.api.getHotKeys(path, false, { signal });
|
25
|
+
const response = await window.api.getHotKeys({ path, database, enableSampling: false }, { signal });
|
26
26
|
return { data: (_a = response.hotkeys) !== null && _a !== void 0 ? _a : null };
|
27
27
|
}
|
28
28
|
catch (error) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import singleClusterMode from './singleClusterMode';
|
2
2
|
export declare const rootReducer: {
|
3
|
-
api: import("redux").Reducer<import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">, import("redux").UnknownAction>;
|
3
|
+
api: import("redux").Reducer<import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">, import("redux").UnknownAction>;
|
4
4
|
singleClusterMode: typeof singleClusterMode;
|
5
5
|
cluster: import("redux").Reducer<import("./cluster/types").ClusterState>;
|
6
6
|
tenant: import("redux").Reducer<import("./tenant/types").TenantState>;
|
@@ -17,7 +17,7 @@ export declare const rootReducer: {
|
|
17
17
|
settings: import("redux").Reducer<import("./settings/types").SettingsState>;
|
18
18
|
executeTopQueries: import("redux").Reducer<import("./executeTopQueries/types").TopQueriesFilters>;
|
19
19
|
shardsWorkload: import("redux").Reducer<import("./shardsWorkload/types").ShardsWorkloadFilters>;
|
20
|
-
authentication: import("redux").Reducer<import("./authentication/types").AuthenticationState
|
20
|
+
authentication: import("redux").Reducer<import("./authentication/types").AuthenticationState>;
|
21
21
|
header: import("redux").Reducer<import("./header/types").HeaderState, {
|
22
22
|
readonly type: "header/SET_HEADER_BREADCRUMBS";
|
23
23
|
readonly page: import("./header/types").Page;
|
@@ -28,7 +28,7 @@ export declare const rootReducer: {
|
|
28
28
|
clusters: import("redux").Reducer<import("./clusters/types").ClustersFilters>;
|
29
29
|
};
|
30
30
|
declare const combinedReducer: import("redux").Reducer<{
|
31
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
31
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
32
32
|
singleClusterMode: boolean;
|
33
33
|
cluster: import("./cluster/types").ClusterState;
|
34
34
|
tenant: import("./tenant/types").TenantState;
|
@@ -50,7 +50,7 @@ declare const combinedReducer: import("redux").Reducer<{
|
|
50
50
|
}, import("redux").UnknownAction | import("../../types/store/tooltip").ITooltipAction | {
|
51
51
|
readonly type: "schema/SET_SHOW_PREVIEW";
|
52
52
|
readonly data: boolean;
|
53
|
-
} | import("../../types/store/executeQuery").ExecuteQueryAction |
|
53
|
+
} | import("../../types/store/executeQuery").ExecuteQueryAction | {
|
54
54
|
readonly type: "header/SET_HEADER_BREADCRUMBS";
|
55
55
|
readonly page: import("./header/types").Page;
|
56
56
|
readonly options: {} | import("./header/types").TabletsBreadcrumbsOptions | import("./header/types").TenantBreadcrumbsOptions | import("./header/types").ClusterBreadcrumbsOptions | import("./header/types").TabletBreadcrumbsOptions | import("./header/types").NodeBreadcrumbsOptions;
|
@@ -59,7 +59,7 @@ declare const combinedReducer: import("redux").Reducer<{
|
|
59
59
|
} | {
|
60
60
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
61
61
|
} | import("redux").Action<string>, Partial<{
|
62
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api"> | undefined;
|
62
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api"> | undefined;
|
63
63
|
singleClusterMode: boolean | undefined;
|
64
64
|
cluster: import("./cluster/types").ClusterState | undefined;
|
65
65
|
tenant: import("./tenant/types").TenantState | undefined;
|
@@ -73,7 +73,7 @@ declare const combinedReducer: import("redux").Reducer<{
|
|
73
73
|
settings: import("./settings/types").SettingsState | undefined;
|
74
74
|
executeTopQueries: import("./executeTopQueries/types").TopQueriesFilters | undefined;
|
75
75
|
shardsWorkload: import("./shardsWorkload/types").ShardsWorkloadFilters | undefined;
|
76
|
-
authentication:
|
76
|
+
authentication: import("./authentication/types").AuthenticationState | undefined;
|
77
77
|
header: never;
|
78
78
|
queryActions: import("./queryActions/types").QueryActionsState | undefined;
|
79
79
|
fullscreen: never;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export declare const networkApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
2
|
-
getNetworkInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/netInfo").TNetInfo | undefined, "api">;
|
3
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
2
|
+
getNetworkInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/netInfo").TNetInfo | undefined, "api">;
|
3
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -4,7 +4,7 @@ export const networkApi = api.injectEndpoints({
|
|
4
4
|
getNetworkInfo: build.query({
|
5
5
|
queryFn: async (tenant, { signal }) => {
|
6
6
|
try {
|
7
|
-
const data = await window.api.getNetwork(tenant, { signal });
|
7
|
+
const data = await window.api.getNetwork({ path: tenant, database: tenant }, { signal });
|
8
8
|
return { data };
|
9
9
|
}
|
10
10
|
catch (error) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare const nodeApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
2
2
|
getNodeInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
|
3
3
|
nodeId: string;
|
4
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("./types").PreparedNode | undefined, "api">;
|
4
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("./types").PreparedNode | undefined, "api">;
|
5
5
|
getNodeStructure: import("@reduxjs/toolkit/query").QueryDefinition<{
|
6
6
|
nodeId: string;
|
7
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("../../../types/api/storage").TStorageInfo | undefined, "api">;
|
8
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
7
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/storage").TStorageInfo | undefined, "api">;
|
8
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { RootState } from '../../defaultStore';
|
2
2
|
import type { PreparedNodeStructure } from './types';
|
3
3
|
export declare const selectNodeStructure: ((state: {
|
4
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
4
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
5
5
|
singleClusterMode: boolean;
|
6
6
|
cluster: import("../cluster/types").ClusterState;
|
7
7
|
tenant: import("../tenant/types").TenantState;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createSelector } from '@reduxjs/toolkit';
|
2
2
|
import { stringifyVdiskId } from '../../../utils/dataFormatters/dataFormatters';
|
3
|
-
import { preparePDiskData } from '../../../utils/disks/prepareDisks';
|
3
|
+
import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepareDisks';
|
4
4
|
import { nodeApi } from './node';
|
5
5
|
const getNodeStructureSelector = createSelector((nodeId) => nodeId, (nodeId) => nodeApi.endpoints.getNodeStructure.select({ nodeId }));
|
6
6
|
const selectGetNodeStructureData = createSelector((state) => state, (_state, nodeId) => getNodeStructureSelector(nodeId), (state, selectGetNodeStructure) => selectGetNodeStructure(state).data);
|
@@ -11,7 +11,7 @@ export const selectNodeStructure = createSelector((_state, nodeId) => Number(nod
|
|
11
11
|
const groups = pool.Groups;
|
12
12
|
groups === null || groups === void 0 ? void 0 : groups.forEach((group) => {
|
13
13
|
var _a;
|
14
|
-
const vDisks = (_a = group.VDisks) === null || _a === void 0 ? void 0 : _a.filter((el) => el.NodeId === nodeId);
|
14
|
+
const vDisks = (_a = group.VDisks) === null || _a === void 0 ? void 0 : _a.filter((el) => el.NodeId === nodeId).map(prepareVDiskData);
|
15
15
|
vDisks === null || vDisks === void 0 ? void 0 : vDisks.forEach((vd) => {
|
16
16
|
const vDiskId = stringifyVdiskId(vd.VDiskId);
|
17
17
|
const preparedPDisk = preparePDiskData(vd.PDisk);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ComputeApiRequestParams, NodesApiRequestParams } from './types';
|
2
2
|
export declare const nodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
3
|
-
getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("./types").NodesHandledResponse | undefined, "api">;
|
4
|
-
getComputeNodes: import("@reduxjs/toolkit/query").QueryDefinition<ComputeApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("./types").NodesHandledResponse | undefined, "api">;
|
5
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
|
+
getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("./types").NodesHandledResponse | undefined, "api">;
|
4
|
+
getComputeNodes: import("@reduxjs/toolkit/query").QueryDefinition<ComputeApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("./types").NodesHandledResponse | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { RootState } from '../defaultStore';
|
2
2
|
export declare const nodesListApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
3
|
-
getNodesList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All", import("../../types/api/nodesList").TEvNodesInfo | undefined, "api">;
|
4
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
|
+
getNodesList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../types/api/nodesList").TEvNodesInfo | undefined, "api">;
|
4
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
5
5
|
export declare const selectNodesMap: ((state: {
|
6
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
6
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
7
7
|
singleClusterMode: boolean;
|
8
8
|
cluster: import("./cluster/types").ClusterState;
|
9
9
|
tenant: import("./tenant/types").TenantState;
|
@@ -1,6 +1,9 @@
|
|
1
1
|
export declare const overviewApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
2
|
-
getOverview: import("@reduxjs/toolkit/query").QueryDefinition<
|
2
|
+
getOverview: import("@reduxjs/toolkit/query").QueryDefinition<{
|
3
|
+
paths: string[];
|
4
|
+
database: string;
|
5
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", {
|
3
6
|
data: import("../../../utils/typecheckers").Nullable<import("../../../types/api/schema").TEvDescribeSchemeResult>;
|
4
7
|
additionalData: import("../../../utils/typecheckers").Nullable<import("../../../types/api/schema").TEvDescribeSchemeResult>[];
|
5
8
|
} | undefined, "api">;
|
6
|
-
}, "api", "All", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -2,9 +2,9 @@ import { api } from '../api';
|
|
2
2
|
export const overviewApi = api.injectEndpoints({
|
3
3
|
endpoints: (build) => ({
|
4
4
|
getOverview: build.query({
|
5
|
-
queryFn: async (paths, { signal }) => {
|
5
|
+
queryFn: async ({ paths, database }, { signal }) => {
|
6
6
|
try {
|
7
|
-
const [data, ...additionalData] = await Promise.all(paths.map((p) => window.api.getDescribe({ path: p }, { signal })));
|
7
|
+
const [data, ...additionalData] = await Promise.all(paths.map((p) => window.api.getDescribe({ path: p, database }, { signal })));
|
8
8
|
return { data: { data, additionalData } };
|
9
9
|
}
|
10
10
|
catch (error) {
|