ydb-embedded-ui 5.2.1 → 5.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +1 -1
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +13 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +32 -0
- package/dist/components/CellWithPopover/CellWithPopover.js +1 -11
- package/dist/components/ClipboardButton/ClipboardButton.js +1 -11
- package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
- package/dist/components/ComponentsProvider/componentsRegistry.d.ts +1 -1
- package/dist/components/ComponentsProvider/registry.d.ts +3 -3
- package/dist/components/ContentWithPopup/ContentWithPopup.js +1 -11
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +6 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +32 -7
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +8 -19
- package/dist/components/CriticalActionDialog/i18n/en.json +7 -0
- package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -0
- package/dist/components/CriticalActionDialog/i18n/index.js +4 -0
- package/dist/components/EnableFullscreenButton/EnableFullscreenButton.js +2 -2
- package/dist/components/EntityStatus/EntityStatus.d.ts +20 -37
- package/dist/components/EntityStatus/EntityStatus.js +17 -66
- package/dist/components/EntityStatus/EntityStatus.scss +1 -57
- package/dist/components/Errors/403/AccessDenied.js +1 -11
- package/dist/components/FormattedBytes/FormattedBytes.d.ts +1 -1
- package/dist/components/FormattedBytes/FormattedBytes.js +1 -11
- package/dist/components/FormattedBytes/utils.d.ts +1 -1
- package/dist/components/Fullscreen/Fullscreen.js +11 -11
- package/dist/components/Illustration/Illustration.js +1 -11
- package/dist/components/InfoViewer/InfoViewer.d.ts +2 -2
- package/dist/components/InfoViewer/InfoViewer.js +1 -1
- package/dist/components/InfoViewer/formatters/cdcStream.d.ts +1 -1
- package/dist/components/InfoViewer/formatters/common.d.ts +1 -1
- package/dist/components/InfoViewer/formatters/pqGroup.d.ts +3 -3
- package/dist/components/InfoViewer/formatters/schema.d.ts +1 -1
- package/dist/components/InfoViewer/formatters/table.d.ts +4 -4
- package/dist/components/InfoViewer/utils.d.ts +3 -3
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +7 -0
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +7 -0
- package/dist/{containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.scss → components/InfoViewerSkeleton/InfoViewerSkeleton.scss} +1 -9
- package/dist/components/InternalLink/InternalLink.js +1 -11
- package/dist/components/LinkToSchemaObject/LinkToSchemaObject.js +1 -11
- package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +8 -0
- package/dist/components/LinkWithIcon/LinkWithIcon.js +14 -0
- package/dist/components/{ExternalLinkWithIcon/ExternalLinkWithIcon.scss → LinkWithIcon/LinkWithIcon.scss} +1 -1
- package/dist/components/MetricChart/MetricChart.d.ts +2 -1
- package/dist/components/MetricChart/MetricChart.js +17 -7
- package/dist/components/MetricChart/colors.d.ts +2 -0
- package/dist/components/MetricChart/colors.js +21 -0
- package/dist/components/MetricChart/getChartData.d.ts +2 -1
- package/dist/components/MetricChart/getChartData.js +2 -2
- package/dist/components/MetricChart/getDefaultDataFormatter.d.ts +1 -1
- package/dist/components/MetricChart/getDefaultDataFormatter.js +9 -0
- package/dist/components/MetricChart/i18n/en.json +3 -0
- package/dist/components/MetricChart/i18n/index.d.ts +2 -0
- package/dist/components/MetricChart/i18n/index.js +4 -0
- package/dist/components/MetricChart/reducer.d.ts +1 -1
- package/dist/components/MetricChart/types.d.ts +10 -5
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.d.ts +11 -0
- package/dist/components/PDiskInfo/PDiskInfo.js +71 -0
- package/dist/components/PDiskInfo/PDiskInfo.scss +8 -0
- package/dist/components/PDiskInfo/i18n/en.json +14 -0
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -0
- package/dist/components/PDiskInfo/i18n/index.js +4 -0
- package/dist/components/PageMeta/PageMeta.d.ts +8 -0
- package/dist/components/PageMeta/PageMeta.js +7 -0
- package/dist/components/PageMeta/PageMeta.scss +10 -0
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
- package/dist/components/QueryResultTable/Cell/Cell.js +2 -2
- package/dist/components/QueryResultTable/QueryResultTable.js +1 -11
- package/dist/components/ShortyString/ShortyString.d.ts +1 -1
- package/dist/components/StatusIcon/StatusIcon.d.ts +12 -0
- package/dist/components/StatusIcon/StatusIcon.js +23 -0
- package/dist/components/StatusIcon/StatusIcon.scss +69 -0
- package/dist/components/Tablet/Tablet.scss +1 -1
- package/dist/components/TabletsOverall/TabletsOverall.js +6 -6
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +1 -1
- package/dist/components/TabletsStatistic/TabletsStatistic.scss +1 -1
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/UsageLabel/UsageLabel.js +1 -11
- package/dist/components/VirtualTable/TableHead.js +2 -2
- package/dist/components/VirtualTable/reducer.d.ts +2 -2
- package/dist/components/VirtualTable/types.d.ts +13 -13
- package/dist/components/slots/types.d.ts +1 -1
- package/dist/containers/App/App.d.ts +1 -1
- package/dist/containers/App/Content.js +10 -4
- package/dist/containers/App/Providers.d.ts +1 -1
- package/dist/containers/App/appSlots.d.ts +6 -0
- package/dist/containers/App/appSlots.js +1 -0
- package/dist/containers/AppWithClusters/AppWithClusters.d.ts +1 -1
- package/dist/containers/AppWithClusters/AppWithClusters.js +1 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -3
- package/dist/containers/Authentication/Authentication.js +2 -5
- package/dist/containers/Cluster/Cluster.js +4 -5
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +4 -4
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +4 -0
- package/dist/containers/Cluster/ClusterInfo/utils.d.ts +1 -1
- package/dist/containers/Cluster/utils.d.ts +2 -2
- package/dist/containers/Clusters/Clusters.js +2 -4
- package/dist/containers/Clusters/Clusters.scss +1 -1
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Clusters/useClustersList.js +2 -2
- package/dist/containers/Clusters/useSelectedColumns.d.ts +1 -1
- package/dist/containers/Header/Header.js +4 -5
- package/dist/containers/Header/breadcrumbs.js +28 -5
- package/dist/containers/Header/i18n/en.json +7 -0
- package/dist/containers/Header/i18n/index.d.ts +1 -0
- package/dist/containers/Header/i18n/index.js +4 -0
- package/dist/containers/Heatmap/Heatmap.js +3 -4
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +1 -1
- package/dist/containers/Node/Node.js +2 -3
- package/dist/containers/Node/NodeStructure/NodeStructure.d.ts +0 -1
- package/dist/containers/Node/NodeStructure/NodeStructure.js +2 -6
- package/dist/containers/Node/NodeStructure/Pdisk.js +9 -65
- package/dist/containers/Node/NodeStructure/Vdisk.d.ts +1 -1
- package/dist/containers/Node/NodeStructure/Vdisk.js +5 -3
- package/dist/containers/Nodes/Nodes.js +2 -3
- package/dist/containers/Nodes/NodesWrapper.js +1 -11
- package/dist/containers/Nodes/getNodes.js +1 -11
- package/dist/containers/Nodes/getNodesColumns.d.ts +1 -1
- package/dist/containers/PDisk/PDisk.d.ts +3 -0
- package/dist/containers/PDisk/PDisk.js +86 -0
- package/dist/containers/PDisk/PDisk.scss +42 -0
- package/dist/containers/PDisk/PDiskGroups.d.ts +10 -0
- package/dist/containers/PDisk/PDiskGroups.js +20 -0
- package/dist/containers/PDisk/i18n/en.json +8 -0
- package/dist/containers/PDisk/i18n/index.d.ts +1 -0
- package/dist/containers/PDisk/i18n/index.js +4 -0
- package/dist/containers/PDisk/shared.d.ts +10 -0
- package/dist/containers/PDisk/shared.js +2 -0
- package/dist/containers/ReduxTooltip/ReduxTooltip.d.ts +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +3 -2
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.d.ts +1 -9
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.js +2 -12
- package/dist/containers/Storage/PDisk/PDisk.d.ts +3 -3
- package/dist/containers/Storage/PDisk/PDisk.js +6 -53
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.d.ts +3 -3
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.js +3 -14
- package/dist/containers/Storage/Storage.js +2 -3
- package/dist/containers/Storage/StorageGroups/getGroups.js +1 -11
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +2 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +22 -8
- package/dist/containers/Storage/StorageNodes/getNodes.js +1 -11
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
- package/dist/containers/Storage/StorageWrapper.js +1 -11
- package/dist/containers/Storage/UsageFilter/UsageFilter.js +1 -1
- package/dist/containers/Storage/VDisk/VDisk.d.ts +2 -3
- package/dist/containers/Storage/VDisk/VDisk.js +4 -64
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.js +2 -12
- package/dist/containers/Storage/VirtualStorage.js +2 -3
- package/dist/containers/Storage/utils/index.d.ts +1 -3
- package/dist/containers/Storage/utils/index.js +0 -6
- package/dist/containers/Tablet/Tablet.js +4 -5
- package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +3 -2
- package/dist/containers/Tablet/TabletControls/TabletControls.js +2 -49
- package/dist/containers/Tablet/TabletTable/TabletTable.js +1 -1
- package/dist/containers/Tablets/Tablets.js +2 -3
- package/dist/containers/TabletsFilters/TabletsFilters.d.ts +2 -2
- package/dist/containers/Tenant/Acl/Acl.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +3 -3
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +6 -4
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Network/Network.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.js +7 -5
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.scss +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +9 -5
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.d.ts +5 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +0 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +3 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +3 -12
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.js +11 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +6 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +1 -11
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +3 -4
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +2 -5
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -3
- package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +1 -1
- package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.js +3 -3
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +1 -0
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -2
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +2 -3
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +2 -3
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +3 -3
- package/dist/containers/Tenant/Query/Issues/models.d.ts +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.js +2 -3
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +2 -3
- package/dist/containers/Tenant/Query/Query.js +2 -3
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +3 -8
- package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +4 -0
- package/dist/containers/Tenant/Query/QueryEditor/helpers.js +17 -0
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +4 -4
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +2 -2
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +5 -3
- package/dist/containers/Tenant/Tenant.js +24 -8
- package/dist/containers/Tenant/utils/index.d.ts +1 -1
- package/dist/containers/Tenant/utils/schema.d.ts +12 -12
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
- package/dist/containers/Tenants/Tenants.js +3 -4
- package/dist/containers/UserSettings/Setting.d.ts +1 -1
- package/dist/containers/UserSettings/i18n/en.json +4 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +4 -1
- package/dist/containers/UserSettings/settings.js +21 -6
- package/dist/containers/Versions/NodesTable/NodesTable.js +1 -1
- package/dist/containers/Versions/Versions.js +2 -3
- package/dist/reportWebVitals.d.ts +1 -1
- package/dist/routes.d.ts +5 -2
- package/dist/routes.js +6 -1
- package/dist/services/api.d.ts +9 -7
- package/dist/services/api.js +16 -13
- package/dist/services/settings.d.ts +1 -1
- package/dist/services/settings.js +2 -1
- package/dist/store/configureStore.d.ts +310 -0
- package/dist/store/configureStore.js +56 -0
- package/dist/store/defaultStore.d.ts +168 -0
- package/dist/store/defaultStore.js +2 -0
- package/dist/store/getUrlData.d.ts +3 -3
- package/dist/store/getUrlData.js +4 -4
- package/dist/store/index.d.ts +3 -97
- package/dist/store/index.js +2 -49
- package/dist/store/reducers/authentication/authentication.d.ts +247 -4
- package/dist/store/reducers/authentication/types.d.ts +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +83 -2
- package/dist/store/reducers/cluster/types.d.ts +3 -3
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +83 -2
- package/dist/store/reducers/clusterNodes/types.d.ts +1 -1
- package/dist/store/reducers/clusters/clusters.d.ts +83 -2
- package/dist/store/reducers/clusters/selectors.d.ts +20 -6
- package/dist/store/reducers/clusters/selectors.js +1 -1
- package/dist/store/reducers/clusters/types.d.ts +1 -1
- package/dist/store/reducers/describe.d.ts +165 -3
- package/dist/store/reducers/describe.js +4 -3
- package/dist/store/reducers/executeQuery.d.ts +83 -2
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +3 -3
- package/dist/store/reducers/executeTopQueries/types.d.ts +1 -1
- package/dist/store/reducers/explainQuery.d.ts +165 -3
- package/dist/store/reducers/header/header.d.ts +1 -1
- package/dist/store/reducers/header/types.d.ts +7 -4
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +101 -0
- package/dist/store/reducers/{healthcheckInfo.js → healthcheckInfo/healthcheckInfo.js} +2 -2
- package/dist/store/reducers/healthcheckInfo/types.d.ts +19 -0
- package/dist/store/reducers/healthcheckInfo/utils.d.ts +3 -0
- package/dist/store/reducers/healthcheckInfo/utils.js +11 -0
- package/dist/store/reducers/heatmap.d.ts +83 -2
- package/dist/store/reducers/heatmap.js +2 -2
- package/dist/store/reducers/host.d.ts +83 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +1 -1
- package/dist/store/reducers/hotKeys/types.d.ts +1 -1
- package/dist/store/reducers/index.d.ts +95 -45
- package/dist/store/reducers/index.js +4 -2
- package/dist/store/reducers/network/network.d.ts +83 -2
- package/dist/store/reducers/network/types.d.ts +1 -1
- package/dist/store/reducers/node/node.d.ts +165 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -1
- package/dist/store/reducers/node/selectors.js +5 -4
- package/dist/store/reducers/node/types.d.ts +6 -6
- package/dist/store/reducers/nodes/nodes.d.ts +165 -3
- package/dist/store/reducers/nodes/nodes.js +1 -11
- package/dist/store/reducers/nodes/selectors.d.ts +1 -1
- package/dist/store/reducers/nodes/selectors.js +1 -1
- package/dist/store/reducers/nodes/types.d.ts +4 -3
- package/dist/store/reducers/nodes/utils.d.ts +1 -1
- package/dist/store/reducers/nodesList.d.ts +83 -2
- package/dist/store/reducers/olapStats.d.ts +83 -2
- package/dist/store/reducers/overview/overview.d.ts +166 -4
- package/dist/store/reducers/overview/overview.js +3 -3
- package/dist/store/reducers/overview/types.d.ts +6 -5
- package/dist/store/reducers/partitions/partitions.d.ts +83 -2
- package/dist/store/reducers/partitions/types.d.ts +1 -1
- package/dist/store/reducers/partitions/utils.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +210 -0
- package/dist/store/reducers/pdisk/pdisk.js +64 -0
- package/dist/store/reducers/pdisk/types.d.ts +23 -0
- package/dist/store/reducers/pdisk/types.js +1 -0
- package/dist/store/reducers/pdisk/utils.d.ts +32 -0
- package/dist/store/reducers/pdisk/utils.js +32 -0
- package/dist/store/reducers/preview.d.ts +82 -1
- package/dist/store/reducers/saveQuery.d.ts +3 -3
- package/dist/store/reducers/schema/schema.d.ts +84 -4
- package/dist/store/reducers/schema/schema.js +4 -4
- package/dist/store/reducers/schema/types.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +83 -2
- package/dist/store/reducers/schemaAcl/types.d.ts +1 -1
- package/dist/store/reducers/settings/settings.d.ts +2 -2
- package/dist/store/reducers/settings/types.d.ts +3 -3
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +83 -2
- package/dist/store/reducers/shardsWorkload/types.d.ts +1 -1
- package/dist/store/reducers/storage/selectors.d.ts +1 -1
- package/dist/store/reducers/storage/selectors.js +1 -1
- package/dist/store/reducers/storage/storage.d.ts +165 -3
- package/dist/store/reducers/storage/storage.js +1 -11
- package/dist/store/reducers/storage/types.d.ts +10 -10
- package/dist/store/reducers/storage/utils.d.ts +4 -2
- package/dist/store/reducers/storage/utils.js +21 -15
- package/dist/store/reducers/tablet.d.ts +165 -3
- package/dist/store/reducers/tablet.js +1 -1
- package/dist/store/reducers/tablets.d.ts +83 -2
- package/dist/store/reducers/tabletsFilters.d.ts +101 -2
- package/dist/store/reducers/tabletsFilters.js +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +83 -2
- package/dist/store/reducers/tenant/types.d.ts +6 -6
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/types.d.ts +1 -1
- package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.js +1 -11
- package/dist/store/reducers/tenantOverview/topNodesByCpu/types.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.js +1 -11
- package/dist/store/reducers/tenantOverview/topNodesByLoad/types.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.js +1 -11
- package/dist/store/reducers/tenantOverview/topNodesByMemory/types.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topQueries/types.d.ts +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topShards/types.d.ts +1 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +83 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +1 -11
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.js +1 -1
- package/dist/store/reducers/tenants/tenants.d.ts +83 -2
- package/dist/store/reducers/tenants/types.d.ts +2 -2
- package/dist/store/reducers/tenants/utils.d.ts +6 -6
- package/dist/store/reducers/tooltip.d.ts +4 -3
- package/dist/store/reducers/tooltip.js +2 -4
- package/dist/store/reducers/topic.d.ts +83 -3
- package/dist/store/reducers/topic.js +1 -1
- package/dist/store/state-url-mapping.d.ts +5 -3
- package/dist/store/state-url-mapping.js +9 -18
- package/dist/store/utils.d.ts +4 -4
- package/dist/types/additionalProps.d.ts +2 -2
- package/dist/types/api/enums.d.ts +1 -0
- package/dist/types/api/enums.js +1 -0
- package/dist/types/api/error.d.ts +1 -1
- package/dist/types/api/nodes.d.ts +1 -1
- package/dist/types/api/nodesList.d.ts +1 -1
- package/dist/types/api/query.d.ts +19 -19
- package/dist/types/api/render.d.ts +6 -3
- package/dist/types/api/storage.d.ts +1 -1
- package/dist/types/api/tablet.d.ts +1 -1
- package/dist/types/common.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/store/describe.d.ts +3 -3
- package/dist/types/store/executeQuery.d.ts +2 -2
- package/dist/types/store/explainQuery.d.ts +3 -3
- package/dist/types/store/heatmap.d.ts +3 -3
- package/dist/types/store/host.d.ts +1 -1
- package/dist/types/store/nodesList.d.ts +2 -2
- package/dist/types/store/olapStats.d.ts +1 -1
- package/dist/types/store/query.d.ts +5 -5
- package/dist/types/store/tablet.d.ts +3 -3
- package/dist/types/store/tablets.d.ts +2 -2
- package/dist/types/store/tooltip.d.ts +3 -5
- package/dist/types/store/topic.d.ts +1 -1
- package/dist/types/versions.d.ts +2 -2
- package/dist/utils/additionalProps.d.ts +1 -1
- package/dist/utils/additionalProps.js +1 -1
- package/dist/utils/bytesParsers/formatBytes.d.ts +2 -2
- package/dist/utils/bytesParsers/formatBytes.js +1 -11
- package/dist/utils/clusterVersionColors.d.ts +1 -1
- package/dist/utils/clusterVersionColors.js +2 -2
- package/dist/utils/constants.d.ts +2 -1
- package/dist/utils/constants.js +5 -4
- package/dist/utils/dataFormatters/dataFormatters.d.ts +12 -11
- package/dist/utils/developerUI/developerUI.d.ts +1 -1
- package/dist/utils/diagnostics.d.ts +2 -2
- package/dist/utils/disks/__test__/calculatePDiskSeverity.test.d.ts +1 -0
- package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js +36 -0
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.d.ts +1 -0
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +142 -0
- package/dist/utils/disks/calculatePDiskSeverity.d.ts +2 -0
- package/dist/utils/disks/calculatePDiskSeverity.js +18 -0
- package/dist/utils/disks/calculateVDiskSeverity.d.ts +2 -0
- package/dist/utils/disks/calculateVDiskSeverity.js +36 -0
- package/dist/utils/disks/constants.d.ts +25 -0
- package/dist/utils/disks/constants.js +38 -0
- package/dist/utils/disks/getPDiskType.d.ts +7 -0
- package/dist/utils/{pdisk.js → disks/getPDiskType.js} +13 -15
- package/dist/utils/disks/helpers.d.ts +3 -0
- package/dist/utils/disks/helpers.js +10 -0
- package/dist/utils/disks/prepareDisks.d.ts +5 -0
- package/dist/utils/disks/prepareDisks.js +40 -0
- package/dist/utils/disks/types.d.ts +15 -0
- package/dist/utils/disks/types.js +1 -0
- package/dist/utils/hooks/index.d.ts +1 -0
- package/dist/utils/hooks/index.js +1 -0
- package/dist/utils/hooks/useSetting.js +2 -2
- package/dist/utils/hooks/useTableResize.d.ts +3 -3
- package/dist/utils/hooks/useTableSort.d.ts +1 -1
- package/dist/utils/hooks/useTypedDispatch.d.ts +2 -0
- package/dist/utils/hooks/useTypedDispatch.js +2 -0
- package/dist/utils/hooks/useTypedSelector.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/monaco.d.ts +1 -0
- package/dist/utils/monaco.js +14 -0
- package/dist/utils/monitoring.d.ts +3 -3
- package/dist/utils/nodes.d.ts +2 -2
- package/dist/utils/prepareBackend.d.ts +2 -2
- package/dist/utils/query.d.ts +2 -2
- package/dist/utils/query.js +1 -11
- package/dist/utils/storage.d.ts +1 -3
- package/dist/utils/storage.js +0 -1
- package/dist/utils/tablet.d.ts +1 -1
- package/dist/utils/timeframes.d.ts +1 -1
- package/dist/utils/typecheckers.d.ts +1 -0
- package/dist/utils/versions/getVersionsColors.d.ts +1 -1
- package/dist/utils/versions/getVersionsColors.js +2 -2
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
- package/dist/utils/yqlSuggestions/constants.d.ts +7 -0
- package/dist/utils/yqlSuggestions/constants.js +696 -0
- package/dist/utils/yqlSuggestions/generateSuggestions.d.ts +27 -0
- package/dist/utils/yqlSuggestions/generateSuggestions.js +252 -0
- package/dist/utils/yqlSuggestions/yqlSuggestions.d.ts +4 -0
- package/dist/utils/yqlSuggestions/yqlSuggestions.js +76 -0
- package/package.json +16 -11
- package/dist/assets/icons/flask.svg +0 -3
- package/dist/assets/icons/star.svg +0 -1
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.d.ts +0 -7
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.js +0 -9
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.d.ts +0 -7
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.js +0 -7
- package/dist/containers/Storage/utils/constants.d.ts +0 -2
- package/dist/containers/Storage/utils/constants.js +0 -2
- package/dist/store/reducers/healthcheckInfo.d.ts +0 -21
- package/dist/types/store/healthcheck.d.ts +0 -20
- package/dist/utils/pdisk.d.ts +0 -17
- /package/dist/{types/store/healthcheck.js → store/reducers/healthcheckInfo/types.js} +0 -0
@@ -1,5 +1,4 @@
|
|
1
|
-
import type { Reducer } from '
|
2
|
-
import type { Selector } from 'reselect';
|
1
|
+
import type { Selector, Reducer } from '@reduxjs/toolkit';
|
3
2
|
import type { EPathType } from '../../../types/api/schema';
|
4
3
|
import type { SchemaAction, SchemaData, SchemaHandledResponse, SchemaStateSlice, SchemaState } from './types';
|
5
4
|
export declare const FETCH_SCHEMA: {
|
@@ -18,7 +17,88 @@ export declare const initialState: {
|
|
18
17
|
declare const schema: Reducer<SchemaState, SchemaAction>;
|
19
18
|
export declare function getSchema({ path }: {
|
20
19
|
path: string;
|
21
|
-
}): (dispatch: import("redux").Dispatch<import("redux").
|
20
|
+
}): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
21
|
+
singleClusterMode: boolean;
|
22
|
+
nodes: import("../nodes/types").NodesState;
|
23
|
+
topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
|
24
|
+
topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
|
25
|
+
topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
|
26
|
+
cluster: import("../cluster/types").ClusterState;
|
27
|
+
clusterNodes: import("../clusterNodes/types").ClusterNodesState;
|
28
|
+
tenant: import("../tenant/types").TenantState;
|
29
|
+
storage: import("../storage/types").StorageState;
|
30
|
+
topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
|
31
|
+
node: import("../node/types").NodeState;
|
32
|
+
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
33
|
+
tablets: import("../../../types/store/tablets").ITabletsState;
|
34
|
+
schema: SchemaState;
|
35
|
+
overview: import("../overview/types").OverviewState;
|
36
|
+
olapStats: import("../../../types/store/olapStats").OlapStatsState;
|
37
|
+
host: import("../../../types/store/host").IHostState;
|
38
|
+
network: import("../network/types").NetworkState;
|
39
|
+
tenants: import("../tenants/types").TenantsState;
|
40
|
+
tablet: import("../../../types/store/tablet").ITabletState;
|
41
|
+
topic: import("../../../types/store/topic").ITopicState;
|
42
|
+
partitions: import("../partitions/types").PartitionsState;
|
43
|
+
pDisk: import("../pdisk/types").PDiskState;
|
44
|
+
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
45
|
+
explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
|
46
|
+
tabletsFilters: {
|
47
|
+
loading: boolean;
|
48
|
+
requestTime: number;
|
49
|
+
data: undefined;
|
50
|
+
wasLoaded: boolean;
|
51
|
+
stateFilter: never[];
|
52
|
+
typeFilter: never[];
|
53
|
+
} | {
|
54
|
+
tabletsData: any;
|
55
|
+
nodes: any;
|
56
|
+
loading: boolean;
|
57
|
+
wasLoaded: boolean;
|
58
|
+
timeoutForRequest: number;
|
59
|
+
error: undefined;
|
60
|
+
data: undefined;
|
61
|
+
stateFilter: never[];
|
62
|
+
typeFilter: never[];
|
63
|
+
} | {
|
64
|
+
error: any;
|
65
|
+
loading: boolean;
|
66
|
+
data: undefined;
|
67
|
+
wasLoaded: boolean;
|
68
|
+
stateFilter: never[];
|
69
|
+
typeFilter: never[];
|
70
|
+
} | {
|
71
|
+
stateFilter: any;
|
72
|
+
data: undefined;
|
73
|
+
loading: boolean;
|
74
|
+
wasLoaded: boolean;
|
75
|
+
typeFilter: never[];
|
76
|
+
} | {
|
77
|
+
typeFilter: any;
|
78
|
+
data: undefined;
|
79
|
+
loading: boolean;
|
80
|
+
wasLoaded: boolean;
|
81
|
+
stateFilter: never[];
|
82
|
+
};
|
83
|
+
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
84
|
+
settings: import("../settings/types").SettingsState;
|
85
|
+
preview: any;
|
86
|
+
nodesList: import("../../../types/store/nodesList").NodesListState;
|
87
|
+
describe: import("../../../types/store/describe").IDescribeState;
|
88
|
+
schemaAcl: import("../schemaAcl/types").SchemaAclState;
|
89
|
+
executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
|
90
|
+
executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
|
91
|
+
tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
|
92
|
+
healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
|
93
|
+
shardsWorkload: import("../shardsWorkload/types").IShardsWorkloadState;
|
94
|
+
tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
|
95
|
+
hotKeys: import("../hotKeys/types").HotKeysState;
|
96
|
+
authentication: import("../authentication/types").AuthenticationState;
|
97
|
+
header: import("../header/types").HeaderState;
|
98
|
+
saveQuery: string | null;
|
99
|
+
fullscreen: boolean;
|
100
|
+
clusters: import("../clusters/types").ClustersState;
|
101
|
+
}) => Promise<SchemaHandledResponse | undefined>;
|
22
102
|
export declare function setCurrentSchemaPath(currentSchemaPath: string): {
|
23
103
|
readonly type: "schema/SET_SCHEMA";
|
24
104
|
readonly data: string;
|
@@ -40,7 +120,7 @@ export declare function preloadSchemas(data: SchemaData): {
|
|
40
120
|
export declare function resetLoadingState(): {
|
41
121
|
readonly type: "schema/RESET_LOADING_STATE";
|
42
122
|
};
|
43
|
-
export declare const selectSchemaData: (state: SchemaStateSlice, path?: string
|
123
|
+
export declare const selectSchemaData: (state: SchemaStateSlice, path?: string) => import("../../../types/api/schema").TEvDescribeSchemeResult | undefined;
|
44
124
|
export declare const selectSchemaMergedChildrenPaths: Selector<SchemaStateSlice, string[] | undefined, [
|
45
125
|
string | undefined,
|
46
126
|
EPathType | undefined
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createSelector } from '
|
1
|
+
import { createSelector } from '@reduxjs/toolkit';
|
2
2
|
import { isEntityWithMergedImplementation } from '../../../containers/Tenant/utils/schema';
|
3
3
|
import { createRequestActionTypes, createApiRequest } from '../../utils';
|
4
4
|
export const FETCH_SCHEMA = createRequestActionTypes('schema', 'FETCH_SCHEMA');
|
@@ -65,12 +65,12 @@ export function getSchema({ path }) {
|
|
65
65
|
actions: FETCH_SCHEMA,
|
66
66
|
dataHandler: (data) => {
|
67
67
|
const newData = {};
|
68
|
-
if (data.Path) {
|
68
|
+
if (data === null || data === void 0 ? void 0 : data.Path) {
|
69
69
|
newData[data.Path] = data;
|
70
70
|
}
|
71
71
|
return {
|
72
|
-
path: data.Path,
|
73
|
-
currentSchema: data,
|
72
|
+
path: data === null || data === void 0 ? void 0 : data.Path,
|
73
|
+
currentSchema: data !== null && data !== void 0 ? data : undefined,
|
74
74
|
data: newData,
|
75
75
|
};
|
76
76
|
},
|
@@ -2,7 +2,7 @@ import type { ApiRequestAction } from '../../utils';
|
|
2
2
|
import type { IResponseError } from '../../../types/api/error';
|
3
3
|
import type { TEvDescribeSchemeResult } from '../../../types/api/schema';
|
4
4
|
import { disableAutorefresh, enableAutorefresh, FETCH_SCHEMA, preloadSchemas, resetLoadingState, setCurrentSchemaPath, setShowPreview } from './schema';
|
5
|
-
export
|
5
|
+
export type SchemaData = Record<string, TEvDescribeSchemeResult>;
|
6
6
|
export interface SchemaState {
|
7
7
|
loading: boolean;
|
8
8
|
wasLoaded: boolean;
|
@@ -18,8 +18,8 @@ export interface SchemaHandledResponse {
|
|
18
18
|
currentSchema?: TEvDescribeSchemeResult;
|
19
19
|
data?: SchemaData;
|
20
20
|
}
|
21
|
-
|
22
|
-
export
|
21
|
+
type SchemaApiRequestAction = ApiRequestAction<typeof FETCH_SCHEMA, SchemaHandledResponse, IResponseError>;
|
22
|
+
export type SchemaAction = SchemaApiRequestAction | (ReturnType<typeof setCurrentSchemaPath> | ReturnType<typeof enableAutorefresh> | ReturnType<typeof disableAutorefresh> | ReturnType<typeof setShowPreview> | ReturnType<typeof preloadSchemas> | ReturnType<typeof resetLoadingState>);
|
23
23
|
export interface SchemaStateSlice {
|
24
24
|
schema: SchemaState;
|
25
25
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Reducer } from '
|
1
|
+
import type { Reducer } from '@reduxjs/toolkit';
|
2
2
|
import type { SchemaAclAction, SchemaAclState } from './types';
|
3
3
|
export declare const FETCH_SCHEMA_ACL: {
|
4
4
|
readonly REQUEST: "schemaAcl/FETCH_SCHEMA_ACL_REQUEST";
|
@@ -8,7 +8,88 @@ export declare const FETCH_SCHEMA_ACL: {
|
|
8
8
|
declare const schemaAcl: Reducer<SchemaAclState, SchemaAclAction>;
|
9
9
|
export declare function getSchemaAcl({ path }: {
|
10
10
|
path: string;
|
11
|
-
}): (dispatch: import("redux").Dispatch<import("redux").
|
11
|
+
}): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
12
|
+
singleClusterMode: boolean;
|
13
|
+
nodes: import("../nodes/types").NodesState;
|
14
|
+
topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
|
15
|
+
topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
|
16
|
+
topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
|
17
|
+
cluster: import("../cluster/types").ClusterState;
|
18
|
+
clusterNodes: import("../clusterNodes/types").ClusterNodesState;
|
19
|
+
tenant: import("../tenant/types").TenantState;
|
20
|
+
storage: import("../storage/types").StorageState;
|
21
|
+
topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
|
22
|
+
node: import("../node/types").NodeState;
|
23
|
+
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
24
|
+
tablets: import("../../../types/store/tablets").ITabletsState;
|
25
|
+
schema: import("../schema/types").SchemaState;
|
26
|
+
overview: import("../overview/types").OverviewState;
|
27
|
+
olapStats: import("../../../types/store/olapStats").OlapStatsState;
|
28
|
+
host: import("../../../types/store/host").IHostState;
|
29
|
+
network: import("../network/types").NetworkState;
|
30
|
+
tenants: import("../tenants/types").TenantsState;
|
31
|
+
tablet: import("../../../types/store/tablet").ITabletState;
|
32
|
+
topic: import("../../../types/store/topic").ITopicState;
|
33
|
+
partitions: import("../partitions/types").PartitionsState;
|
34
|
+
pDisk: import("../pdisk/types").PDiskState;
|
35
|
+
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
36
|
+
explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
|
37
|
+
tabletsFilters: {
|
38
|
+
loading: boolean;
|
39
|
+
requestTime: number;
|
40
|
+
data: undefined;
|
41
|
+
wasLoaded: boolean;
|
42
|
+
stateFilter: never[];
|
43
|
+
typeFilter: never[];
|
44
|
+
} | {
|
45
|
+
tabletsData: any;
|
46
|
+
nodes: any;
|
47
|
+
loading: boolean;
|
48
|
+
wasLoaded: boolean;
|
49
|
+
timeoutForRequest: number;
|
50
|
+
error: undefined;
|
51
|
+
data: undefined;
|
52
|
+
stateFilter: never[];
|
53
|
+
typeFilter: never[];
|
54
|
+
} | {
|
55
|
+
error: any;
|
56
|
+
loading: boolean;
|
57
|
+
data: undefined;
|
58
|
+
wasLoaded: boolean;
|
59
|
+
stateFilter: never[];
|
60
|
+
typeFilter: never[];
|
61
|
+
} | {
|
62
|
+
stateFilter: any;
|
63
|
+
data: undefined;
|
64
|
+
loading: boolean;
|
65
|
+
wasLoaded: boolean;
|
66
|
+
typeFilter: never[];
|
67
|
+
} | {
|
68
|
+
typeFilter: any;
|
69
|
+
data: undefined;
|
70
|
+
loading: boolean;
|
71
|
+
wasLoaded: boolean;
|
72
|
+
stateFilter: never[];
|
73
|
+
};
|
74
|
+
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
75
|
+
settings: import("../settings/types").SettingsState;
|
76
|
+
preview: any;
|
77
|
+
nodesList: import("../../../types/store/nodesList").NodesListState;
|
78
|
+
describe: import("../../../types/store/describe").IDescribeState;
|
79
|
+
schemaAcl: SchemaAclState;
|
80
|
+
executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
|
81
|
+
executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
|
82
|
+
tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
|
83
|
+
healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
|
84
|
+
shardsWorkload: import("../shardsWorkload/types").IShardsWorkloadState;
|
85
|
+
tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
|
86
|
+
hotKeys: import("../hotKeys/types").HotKeysState;
|
87
|
+
authentication: import("../authentication/types").AuthenticationState;
|
88
|
+
header: import("../header/types").HeaderState;
|
89
|
+
saveQuery: string | null;
|
90
|
+
fullscreen: boolean;
|
91
|
+
clusters: import("../clusters/types").ClustersState;
|
92
|
+
}) => Promise<unknown>;
|
12
93
|
export declare const setAclWasNotLoaded: () => {
|
13
94
|
readonly type: "schemaAcl/SET_DATA_WAS_NOT_LOADED";
|
14
95
|
};
|
@@ -9,4 +9,4 @@ export interface SchemaAclState {
|
|
9
9
|
owner?: string;
|
10
10
|
error?: IResponseError;
|
11
11
|
}
|
12
|
-
export
|
12
|
+
export type SchemaAclAction = ApiRequestAction<typeof FETCH_SCHEMA_ACL, TMetaInfo, IResponseError> | ReturnType<typeof setAclWasNotLoaded>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { Reducer } from '
|
1
|
+
import type { Reducer } from '@reduxjs/toolkit';
|
2
2
|
import type { ThunkAction } from 'redux-thunk';
|
3
3
|
import { SettingsObject } from '../../../services/settings';
|
4
|
-
import type { RootState } from '
|
4
|
+
import type { RootState } from '../..';
|
5
5
|
import type { ProblemFilterValue, SetSettingValueAction, SettingsAction, SettingsRootStateSlice, SettingsState } from './types';
|
6
6
|
export declare const SET_SETTING_VALUE = "settings/SET_VALUE";
|
7
7
|
export declare const SET_USER_SETTINGS = "settings/SET_USER_SETTINGS";
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import type { ValueOf } from '../../../types/common';
|
2
2
|
import type { SettingsObject } from '../../../services/settings';
|
3
3
|
import { changeFilter, setUserSettings, ProblemFilterValues, SET_SETTING_VALUE } from './settings';
|
4
|
-
export
|
4
|
+
export type ProblemFilterValue = ValueOf<typeof ProblemFilterValues>;
|
5
5
|
export interface SettingsState {
|
6
6
|
problemFilter: ProblemFilterValue;
|
7
7
|
userSettings: SettingsObject;
|
8
8
|
systemSettings: SettingsObject;
|
9
9
|
}
|
10
|
-
export
|
10
|
+
export type SetSettingValueAction = {
|
11
11
|
type: typeof SET_SETTING_VALUE;
|
12
12
|
data: {
|
13
13
|
name: string;
|
14
14
|
value: unknown;
|
15
15
|
};
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type SettingsAction = ReturnType<typeof changeFilter> | ReturnType<typeof setUserSettings> | SetSettingValueAction;
|
18
18
|
export interface SettingsRootStateSlice {
|
19
19
|
settings: SettingsState;
|
20
20
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Reducer } from '
|
1
|
+
import type { Reducer } from '@reduxjs/toolkit';
|
2
2
|
import type { IShardsWorkloadAction, IShardsWorkloadFilters, IShardsWorkloadState } from './types';
|
3
3
|
export declare const SEND_SHARD_QUERY: {
|
4
4
|
readonly REQUEST: "query/SEND_SHARD_QUERY_REQUEST";
|
@@ -16,7 +16,88 @@ interface SendShardQueryParams {
|
|
16
16
|
sortOrder?: SortOrder[];
|
17
17
|
filters?: IShardsWorkloadFilters;
|
18
18
|
}
|
19
|
-
export declare const sendShardQuery: ({ database, path, sortOrder, filters }: SendShardQueryParams) => ((dispatch: import("redux").Dispatch<import("redux").
|
19
|
+
export declare const sendShardQuery: ({ database, path, sortOrder, filters }: SendShardQueryParams) => ((dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
20
|
+
singleClusterMode: boolean;
|
21
|
+
nodes: import("../nodes/types").NodesState;
|
22
|
+
topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
|
23
|
+
topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
|
24
|
+
topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
|
25
|
+
cluster: import("../cluster/types").ClusterState;
|
26
|
+
clusterNodes: import("../clusterNodes/types").ClusterNodesState;
|
27
|
+
tenant: import("../tenant/types").TenantState;
|
28
|
+
storage: import("../storage/types").StorageState;
|
29
|
+
topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
|
30
|
+
node: import("../node/types").NodeState;
|
31
|
+
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
32
|
+
tablets: import("../../../types/store/tablets").ITabletsState;
|
33
|
+
schema: import("../schema/types").SchemaState;
|
34
|
+
overview: import("../overview/types").OverviewState;
|
35
|
+
olapStats: import("../../../types/store/olapStats").OlapStatsState;
|
36
|
+
host: import("../../../types/store/host").IHostState;
|
37
|
+
network: import("../network/types").NetworkState;
|
38
|
+
tenants: import("../tenants/types").TenantsState;
|
39
|
+
tablet: import("../../../types/store/tablet").ITabletState;
|
40
|
+
topic: import("../../../types/store/topic").ITopicState;
|
41
|
+
partitions: import("../partitions/types").PartitionsState;
|
42
|
+
pDisk: import("../pdisk/types").PDiskState;
|
43
|
+
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
44
|
+
explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
|
45
|
+
tabletsFilters: {
|
46
|
+
loading: boolean;
|
47
|
+
requestTime: number;
|
48
|
+
data: undefined;
|
49
|
+
wasLoaded: boolean;
|
50
|
+
stateFilter: never[];
|
51
|
+
typeFilter: never[];
|
52
|
+
} | {
|
53
|
+
tabletsData: any;
|
54
|
+
nodes: any;
|
55
|
+
loading: boolean;
|
56
|
+
wasLoaded: boolean;
|
57
|
+
timeoutForRequest: number;
|
58
|
+
error: undefined;
|
59
|
+
data: undefined;
|
60
|
+
stateFilter: never[];
|
61
|
+
typeFilter: never[];
|
62
|
+
} | {
|
63
|
+
error: any;
|
64
|
+
loading: boolean;
|
65
|
+
data: undefined;
|
66
|
+
wasLoaded: boolean;
|
67
|
+
stateFilter: never[];
|
68
|
+
typeFilter: never[];
|
69
|
+
} | {
|
70
|
+
stateFilter: any;
|
71
|
+
data: undefined;
|
72
|
+
loading: boolean;
|
73
|
+
wasLoaded: boolean;
|
74
|
+
typeFilter: never[];
|
75
|
+
} | {
|
76
|
+
typeFilter: any;
|
77
|
+
data: undefined;
|
78
|
+
loading: boolean;
|
79
|
+
wasLoaded: boolean;
|
80
|
+
stateFilter: never[];
|
81
|
+
};
|
82
|
+
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
83
|
+
settings: import("../settings/types").SettingsState;
|
84
|
+
preview: any;
|
85
|
+
nodesList: import("../../../types/store/nodesList").NodesListState;
|
86
|
+
describe: import("../../../types/store/describe").IDescribeState;
|
87
|
+
schemaAcl: import("../schemaAcl/types").SchemaAclState;
|
88
|
+
executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
|
89
|
+
executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
|
90
|
+
tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
|
91
|
+
healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
|
92
|
+
shardsWorkload: IShardsWorkloadState;
|
93
|
+
tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
|
94
|
+
hotKeys: import("../hotKeys/types").HotKeysState;
|
95
|
+
authentication: import("../authentication/types").AuthenticationState;
|
96
|
+
header: import("../header/types").HeaderState;
|
97
|
+
saveQuery: string | null;
|
98
|
+
fullscreen: boolean;
|
99
|
+
clusters: import("../clusters/types").ClustersState;
|
100
|
+
}) => Promise<import("../../../types/store/query").IQueryResult | undefined>) | {
|
20
101
|
type: "query/SEND_SHARD_QUERY_FAILURE";
|
21
102
|
error: unknown;
|
22
103
|
};
|
@@ -19,7 +19,7 @@ export interface IShardsWorkloadState {
|
|
19
19
|
error?: QueryErrorResponse;
|
20
20
|
filters: IShardsWorkloadFilters;
|
21
21
|
}
|
22
|
-
export
|
22
|
+
export type IShardsWorkloadAction = ApiRequestAction<typeof SEND_SHARD_QUERY, IQueryResult, QueryErrorResponse> | ReturnType<typeof setShardsState> | ReturnType<typeof setShardsQueryFilters>;
|
23
23
|
export interface IShardsWorkloadRootStateSlice {
|
24
24
|
shardsWorkload: IShardsWorkloadState;
|
25
25
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Selector } from '
|
1
|
+
import { Selector } from '@reduxjs/toolkit';
|
2
2
|
import type { OrderType } from '@gravity-ui/react-data-table';
|
3
3
|
import { type NodesSortValue } from '../../../utils/nodes';
|
4
4
|
import { type StorageSortValue } from '../../../utils/storage';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createSelector } from '
|
1
|
+
import { createSelector } from '@reduxjs/toolkit';
|
2
2
|
import { ASCENDING, DESCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
|
3
3
|
import { NODES_SORT_VALUES } from '../../../utils/nodes';
|
4
4
|
import { STORAGE_SORT_VALUES, getUsage } from '../../../utils/storage';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Reducer } from '
|
1
|
+
import type { Reducer } from '@reduxjs/toolkit';
|
2
2
|
import { NodesUptimeFilterValues } from '../../../utils/nodes';
|
3
3
|
import type { NodesApiRequestParams, NodesSortParams } from '../nodes/types';
|
4
4
|
import type { StorageAction, StorageApiRequestParams, StorageSortParams, StorageState, StorageType, VisibleEntities } from './types';
|
@@ -8,8 +8,170 @@ export declare const FETCH_STORAGE: {
|
|
8
8
|
readonly FAILURE: "storage/FETCH_STORAGE_FAILURE";
|
9
9
|
};
|
10
10
|
declare const storage: Reducer<StorageState, StorageAction>;
|
11
|
-
export declare const getStorageNodesInfo: ({ tenant, visibleEntities, ...params }: Omit<NodesApiRequestParams, 'type'>) => (dispatch: import("redux").Dispatch<import("redux").
|
12
|
-
|
11
|
+
export declare const getStorageNodesInfo: ({ tenant, visibleEntities, ...params }: Omit<NodesApiRequestParams, 'type'>) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
12
|
+
singleClusterMode: boolean;
|
13
|
+
nodes: import("../nodes/types").NodesState;
|
14
|
+
topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
|
15
|
+
topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
|
16
|
+
topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
|
17
|
+
cluster: import("../cluster/types").ClusterState;
|
18
|
+
clusterNodes: import("../clusterNodes/types").ClusterNodesState;
|
19
|
+
tenant: import("../tenant/types").TenantState;
|
20
|
+
storage: StorageState;
|
21
|
+
topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
|
22
|
+
node: import("../node/types").NodeState;
|
23
|
+
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
24
|
+
tablets: import("../../../types/store/tablets").ITabletsState;
|
25
|
+
schema: import("../schema/types").SchemaState;
|
26
|
+
overview: import("../overview/types").OverviewState;
|
27
|
+
olapStats: import("../../../types/store/olapStats").OlapStatsState;
|
28
|
+
host: import("../../../types/store/host").IHostState;
|
29
|
+
network: import("../network/types").NetworkState;
|
30
|
+
tenants: import("../tenants/types").TenantsState;
|
31
|
+
tablet: import("../../../types/store/tablet").ITabletState;
|
32
|
+
topic: import("../../../types/store/topic").ITopicState;
|
33
|
+
partitions: import("../partitions/types").PartitionsState;
|
34
|
+
pDisk: import("../pdisk/types").PDiskState;
|
35
|
+
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
36
|
+
explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
|
37
|
+
tabletsFilters: {
|
38
|
+
loading: boolean;
|
39
|
+
requestTime: number;
|
40
|
+
data: undefined;
|
41
|
+
wasLoaded: boolean;
|
42
|
+
stateFilter: never[];
|
43
|
+
typeFilter: never[];
|
44
|
+
} | {
|
45
|
+
tabletsData: any;
|
46
|
+
nodes: any;
|
47
|
+
loading: boolean;
|
48
|
+
wasLoaded: boolean;
|
49
|
+
timeoutForRequest: number;
|
50
|
+
error: undefined;
|
51
|
+
data: undefined;
|
52
|
+
stateFilter: never[];
|
53
|
+
typeFilter: never[];
|
54
|
+
} | {
|
55
|
+
error: any;
|
56
|
+
loading: boolean;
|
57
|
+
data: undefined;
|
58
|
+
wasLoaded: boolean;
|
59
|
+
stateFilter: never[];
|
60
|
+
typeFilter: never[];
|
61
|
+
} | {
|
62
|
+
stateFilter: any;
|
63
|
+
data: undefined;
|
64
|
+
loading: boolean;
|
65
|
+
wasLoaded: boolean;
|
66
|
+
typeFilter: never[];
|
67
|
+
} | {
|
68
|
+
typeFilter: any;
|
69
|
+
data: undefined;
|
70
|
+
loading: boolean;
|
71
|
+
wasLoaded: boolean;
|
72
|
+
stateFilter: never[];
|
73
|
+
};
|
74
|
+
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
75
|
+
settings: import("../settings/types").SettingsState;
|
76
|
+
preview: any;
|
77
|
+
nodesList: import("../../../types/store/nodesList").NodesListState;
|
78
|
+
describe: import("../../../types/store/describe").IDescribeState;
|
79
|
+
schemaAcl: import("../schemaAcl/types").SchemaAclState;
|
80
|
+
executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
|
81
|
+
executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
|
82
|
+
tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
|
83
|
+
healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
|
84
|
+
shardsWorkload: import("../shardsWorkload/types").IShardsWorkloadState;
|
85
|
+
tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
|
86
|
+
hotKeys: import("../hotKeys/types").HotKeysState;
|
87
|
+
authentication: import("../authentication/types").AuthenticationState;
|
88
|
+
header: import("../header/types").HeaderState;
|
89
|
+
saveQuery: string | null;
|
90
|
+
fullscreen: boolean;
|
91
|
+
clusters: import("../clusters/types").ClustersState;
|
92
|
+
}) => Promise<import("./types").PreparedStorageResponse | undefined>;
|
93
|
+
export declare const getStorageGroupsInfo: ({ tenant, visibleEntities, nodeId, version, ...params }: StorageApiRequestParams) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
94
|
+
singleClusterMode: boolean;
|
95
|
+
nodes: import("../nodes/types").NodesState;
|
96
|
+
topNodesByLoad: import("../tenantOverview/topNodesByLoad/types").TopNodesByLoadState;
|
97
|
+
topNodesByCpu: import("../tenantOverview/topNodesByCpu/types").TopNodesByCpuState;
|
98
|
+
topNodesByMemory: import("../tenantOverview/topNodesByMemory/types").TopNodesByMemoryState;
|
99
|
+
cluster: import("../cluster/types").ClusterState;
|
100
|
+
clusterNodes: import("../clusterNodes/types").ClusterNodesState;
|
101
|
+
tenant: import("../tenant/types").TenantState;
|
102
|
+
storage: StorageState;
|
103
|
+
topStorageGroups: import("../tenantOverview/topStorageGroups/types").TopStorageGroupsState;
|
104
|
+
node: import("../node/types").NodeState;
|
105
|
+
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
106
|
+
tablets: import("../../../types/store/tablets").ITabletsState;
|
107
|
+
schema: import("../schema/types").SchemaState;
|
108
|
+
overview: import("../overview/types").OverviewState;
|
109
|
+
olapStats: import("../../../types/store/olapStats").OlapStatsState;
|
110
|
+
host: import("../../../types/store/host").IHostState;
|
111
|
+
network: import("../network/types").NetworkState;
|
112
|
+
tenants: import("../tenants/types").TenantsState;
|
113
|
+
tablet: import("../../../types/store/tablet").ITabletState;
|
114
|
+
topic: import("../../../types/store/topic").ITopicState;
|
115
|
+
partitions: import("../partitions/types").PartitionsState;
|
116
|
+
pDisk: import("../pdisk/types").PDiskState;
|
117
|
+
executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
|
118
|
+
explainQuery: import("../../../types/store/explainQuery").ExplainQueryState;
|
119
|
+
tabletsFilters: {
|
120
|
+
loading: boolean;
|
121
|
+
requestTime: number;
|
122
|
+
data: undefined;
|
123
|
+
wasLoaded: boolean;
|
124
|
+
stateFilter: never[];
|
125
|
+
typeFilter: never[];
|
126
|
+
} | {
|
127
|
+
tabletsData: any;
|
128
|
+
nodes: any;
|
129
|
+
loading: boolean;
|
130
|
+
wasLoaded: boolean;
|
131
|
+
timeoutForRequest: number;
|
132
|
+
error: undefined;
|
133
|
+
data: undefined;
|
134
|
+
stateFilter: never[];
|
135
|
+
typeFilter: never[];
|
136
|
+
} | {
|
137
|
+
error: any;
|
138
|
+
loading: boolean;
|
139
|
+
data: undefined;
|
140
|
+
wasLoaded: boolean;
|
141
|
+
stateFilter: never[];
|
142
|
+
typeFilter: never[];
|
143
|
+
} | {
|
144
|
+
stateFilter: any;
|
145
|
+
data: undefined;
|
146
|
+
loading: boolean;
|
147
|
+
wasLoaded: boolean;
|
148
|
+
typeFilter: never[];
|
149
|
+
} | {
|
150
|
+
typeFilter: any;
|
151
|
+
data: undefined;
|
152
|
+
loading: boolean;
|
153
|
+
wasLoaded: boolean;
|
154
|
+
stateFilter: never[];
|
155
|
+
};
|
156
|
+
heatmap: import("../../../types/store/heatmap").IHeatmapState;
|
157
|
+
settings: import("../settings/types").SettingsState;
|
158
|
+
preview: any;
|
159
|
+
nodesList: import("../../../types/store/nodesList").NodesListState;
|
160
|
+
describe: import("../../../types/store/describe").IDescribeState;
|
161
|
+
schemaAcl: import("../schemaAcl/types").SchemaAclState;
|
162
|
+
executeTopQueries: import("../executeTopQueries/types").ITopQueriesState;
|
163
|
+
executeTopTables: import("../tenantOverview/executeTopTables/types").TopTablesState;
|
164
|
+
tenantOverviewTopQueries: import("../tenantOverview/topQueries/types").TenantOverviewTopQueriesState;
|
165
|
+
healthcheckInfo: import("../healthcheckInfo/types").HealthcheckInfoState;
|
166
|
+
shardsWorkload: import("../shardsWorkload/types").IShardsWorkloadState;
|
167
|
+
tenantOverviewTopShards: import("../tenantOverview/topShards/types").TenantOverviewTopShardsState;
|
168
|
+
hotKeys: import("../hotKeys/types").HotKeysState;
|
169
|
+
authentication: import("../authentication/types").AuthenticationState;
|
170
|
+
header: import("../header/types").HeaderState;
|
171
|
+
saveQuery: string | null;
|
172
|
+
fullscreen: boolean;
|
173
|
+
clusters: import("../clusters/types").ClustersState;
|
174
|
+
}) => Promise<import("./types").PreparedStorageResponse | undefined>;
|
13
175
|
export declare function setInitialState(): {
|
14
176
|
readonly type: "storage/SET_INITIAL";
|
15
177
|
};
|
@@ -1,14 +1,4 @@
|
|
1
|
-
|
2
|
-
var t = {};
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4
|
-
t[p] = s[p];
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8
|
-
t[p[i]] = s[p[i]];
|
9
|
-
}
|
10
|
-
return t;
|
11
|
-
};
|
1
|
+
import { __rest } from "tslib";
|
12
2
|
import { EVersion } from '../../../types/api/storage';
|
13
3
|
import { NodesUptimeFilterValues } from '../../../utils/nodes';
|
14
4
|
import { createRequestActionTypes, createApiRequest } from '../../utils';
|