ydb-embedded-ui 5.2.0 → 5.3.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/FullNodeViewer/FullNodeViewer.js +1 -2
- 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 +8 -3
- 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/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 +5 -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/Cluster.scss +3 -0
- 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 +68 -0
- package/dist/containers/PDisk/PDisk.scss +41 -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 +6 -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/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/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 +8 -12
- 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/Query/i18n/en.json +5 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/i18n/index.js +2 -5
- 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 +8 -7
- package/dist/services/api.js +3 -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 +8 -10
- package/dist/store/reducers/node/utils.js +3 -2
- 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/nodes/utils.js +3 -2
- 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 +23 -30
- 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 +8 -2
- package/dist/utils/nodes.js +11 -0
- 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 +14 -10
- 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/containers/Tenant/Query/i18n/ru.json +0 -21
- 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
@@ -0,0 +1,696 @@
|
|
1
|
+
export const SimpleTypes = [
|
2
|
+
'String',
|
3
|
+
'Bool',
|
4
|
+
'Int32',
|
5
|
+
'Uint32',
|
6
|
+
'Int64',
|
7
|
+
'Uint64',
|
8
|
+
'Float',
|
9
|
+
'Double',
|
10
|
+
'Void',
|
11
|
+
'Yson',
|
12
|
+
'Utf8',
|
13
|
+
'Unit',
|
14
|
+
'Json',
|
15
|
+
'Date',
|
16
|
+
'Datetime',
|
17
|
+
'Timestamp',
|
18
|
+
'Interval',
|
19
|
+
'Null',
|
20
|
+
'Int8',
|
21
|
+
'Uint8',
|
22
|
+
'Int16',
|
23
|
+
'Uint16',
|
24
|
+
'TzDate',
|
25
|
+
'TzDatetime',
|
26
|
+
'TzTimestamp',
|
27
|
+
'Uuid',
|
28
|
+
'EmptyList',
|
29
|
+
'EmptyDict',
|
30
|
+
'JsonDocument',
|
31
|
+
'DyNumber',
|
32
|
+
];
|
33
|
+
export const SimpleFunctions = [
|
34
|
+
'CAST',
|
35
|
+
'COALESCE',
|
36
|
+
'LENGTH',
|
37
|
+
'LEN',
|
38
|
+
'SUBSTRING',
|
39
|
+
'FIND',
|
40
|
+
'RFIND',
|
41
|
+
'StartsWith',
|
42
|
+
'EndsWith',
|
43
|
+
'IF',
|
44
|
+
'NANVL',
|
45
|
+
'Random',
|
46
|
+
'RandomNumber',
|
47
|
+
'RandomUuid',
|
48
|
+
'CurrentUtcDate',
|
49
|
+
'CurrentUtcDatetime',
|
50
|
+
'CurrentUtcTimestamp',
|
51
|
+
'CurrentTzDate',
|
52
|
+
'CurrentTzDatetime',
|
53
|
+
'CurrentTzTimestamp',
|
54
|
+
'AddTimezone',
|
55
|
+
'RemoveTimezone',
|
56
|
+
'MAX_OF',
|
57
|
+
'MIN_OF',
|
58
|
+
'GREATEST',
|
59
|
+
'LEAST',
|
60
|
+
'AsTuple',
|
61
|
+
'AsStruct',
|
62
|
+
'AsList',
|
63
|
+
'AsDict',
|
64
|
+
'AsSet',
|
65
|
+
'AsListStrict',
|
66
|
+
'AsDictStrict',
|
67
|
+
'AsSetStrict',
|
68
|
+
'Variant',
|
69
|
+
'AsVariant',
|
70
|
+
'Enum',
|
71
|
+
'AsEnum',
|
72
|
+
'AsTagged',
|
73
|
+
'Untag',
|
74
|
+
'TableRow',
|
75
|
+
'JoinTableRow',
|
76
|
+
'Ensure',
|
77
|
+
'EnsureType',
|
78
|
+
'EnsureConvertibleTo',
|
79
|
+
'ToBytes',
|
80
|
+
'FromBytes',
|
81
|
+
'ByteAt',
|
82
|
+
'TestBit',
|
83
|
+
'ClearBit',
|
84
|
+
'SetBit',
|
85
|
+
'FlipBit',
|
86
|
+
'Abs',
|
87
|
+
'Just',
|
88
|
+
'Unwrap',
|
89
|
+
'Nothing',
|
90
|
+
'Callable',
|
91
|
+
'StaticMap',
|
92
|
+
'StaticZip',
|
93
|
+
'ListCreate',
|
94
|
+
'AsListStrict',
|
95
|
+
'ListLength',
|
96
|
+
'ListHasItems',
|
97
|
+
'ListCollect',
|
98
|
+
'ListSort',
|
99
|
+
'ListSortAsc',
|
100
|
+
'ListSortDesc',
|
101
|
+
'ListExtend',
|
102
|
+
'ListExtendStrict',
|
103
|
+
'ListUnionAll',
|
104
|
+
'ListZip',
|
105
|
+
'ListZipAll',
|
106
|
+
'ListEnumerate',
|
107
|
+
'ListReverse',
|
108
|
+
'ListSkip',
|
109
|
+
'ListTake',
|
110
|
+
'ListIndexOf',
|
111
|
+
'ListMap',
|
112
|
+
'ListFilter',
|
113
|
+
'ListFlatMap',
|
114
|
+
'ListNotNull',
|
115
|
+
'ListFlatten',
|
116
|
+
'ListUniq',
|
117
|
+
'ListAny',
|
118
|
+
'ListAll',
|
119
|
+
'ListHas',
|
120
|
+
'ListHead',
|
121
|
+
'ListLast',
|
122
|
+
'ListMin',
|
123
|
+
'ListMax',
|
124
|
+
'ListSum',
|
125
|
+
'ListAvg',
|
126
|
+
'ListFold',
|
127
|
+
'ListFold1',
|
128
|
+
'ListFoldMap',
|
129
|
+
'ListFold1Map',
|
130
|
+
'ListFromRange',
|
131
|
+
'ListReplicate',
|
132
|
+
'ListConcat',
|
133
|
+
'ListExtract',
|
134
|
+
'ListTakeWhile',
|
135
|
+
'ListSkipWhile',
|
136
|
+
'ListAggregate',
|
137
|
+
'ToDict',
|
138
|
+
'ToMultiDict',
|
139
|
+
'ToSet',
|
140
|
+
'DictCreate',
|
141
|
+
'SetCreate',
|
142
|
+
'DictLength',
|
143
|
+
'DictHasItems',
|
144
|
+
'DictItems',
|
145
|
+
'DictKeys',
|
146
|
+
'DictPayloads',
|
147
|
+
'DictLookup',
|
148
|
+
'DictContains',
|
149
|
+
'DictAggregate',
|
150
|
+
'SetIsDisjoint',
|
151
|
+
'SetIntersection',
|
152
|
+
'SetIncludes',
|
153
|
+
'SetUnion',
|
154
|
+
'SetDifference',
|
155
|
+
'SetSymmetricDifference',
|
156
|
+
'TryMember',
|
157
|
+
'ExpandStruct',
|
158
|
+
'AddMember',
|
159
|
+
'RemoveMember',
|
160
|
+
'ForceRemoveMember',
|
161
|
+
'ChooseMembers',
|
162
|
+
'RemoveMembers',
|
163
|
+
'ForceRemoveMembers',
|
164
|
+
'CombineMembers',
|
165
|
+
'FlattenMembers',
|
166
|
+
'StructMembers',
|
167
|
+
'RenameMembers',
|
168
|
+
'ForceRenameMembers',
|
169
|
+
'GatherMembers',
|
170
|
+
'SpreadMembers',
|
171
|
+
'ForceSpreadMembers',
|
172
|
+
'FormatType',
|
173
|
+
'ParseType',
|
174
|
+
'TypeOf',
|
175
|
+
'InstanceOf',
|
176
|
+
'DataType',
|
177
|
+
'OptionalType',
|
178
|
+
'ListType',
|
179
|
+
'StreamType',
|
180
|
+
'DictType',
|
181
|
+
'TupleType',
|
182
|
+
'StructType',
|
183
|
+
'VariantType',
|
184
|
+
'ResourceType',
|
185
|
+
'CallableType',
|
186
|
+
'GenericType',
|
187
|
+
'UnitType',
|
188
|
+
'VoidType',
|
189
|
+
'OptionalItemType',
|
190
|
+
'ListItemType',
|
191
|
+
'StreamItemType',
|
192
|
+
'DictKeyType',
|
193
|
+
'DictPayloadType',
|
194
|
+
'TupleElementType',
|
195
|
+
'StructMemberType',
|
196
|
+
'CallableResultType',
|
197
|
+
'CallableArgumentType',
|
198
|
+
'VariantUnderlyingType',
|
199
|
+
'JSON_EXISTS',
|
200
|
+
'JSON_VALUE',
|
201
|
+
'JSON_QUERY',
|
202
|
+
];
|
203
|
+
export const AggregateFunctions = [
|
204
|
+
'COUNT',
|
205
|
+
'MIN',
|
206
|
+
'MAX',
|
207
|
+
'SUM',
|
208
|
+
'AVG',
|
209
|
+
'COUNT_IF',
|
210
|
+
'SUM_IF',
|
211
|
+
'AVG_IF',
|
212
|
+
'SOME',
|
213
|
+
'CountDistinctEstimate',
|
214
|
+
'HyperLogLog',
|
215
|
+
'AGGREGATE_LIST',
|
216
|
+
'AGGREGATE_LIST_DISTINCT',
|
217
|
+
'AGG_LIST',
|
218
|
+
'AGG_LIST_DISTINCT',
|
219
|
+
'MAX_BY',
|
220
|
+
'MIN_BY',
|
221
|
+
'AGGREGATE_BY',
|
222
|
+
'MULTI_AGGREGATE_BY',
|
223
|
+
'TOP',
|
224
|
+
'BOTTOM',
|
225
|
+
'TOP_BY',
|
226
|
+
'BOTTOM_BY',
|
227
|
+
'TOPFREQ',
|
228
|
+
'MODE',
|
229
|
+
'STDDEV',
|
230
|
+
'VARIANCE',
|
231
|
+
'CORRELATION',
|
232
|
+
'COVARIANCE',
|
233
|
+
'PERCENTILE',
|
234
|
+
'MEDIAN',
|
235
|
+
'HISTOGRAM',
|
236
|
+
'LogarithmicHistogram',
|
237
|
+
'LogHistogram',
|
238
|
+
'LinearHistogram',
|
239
|
+
'BOOL_AND',
|
240
|
+
'BOOL_OR',
|
241
|
+
'BOOL_XOR',
|
242
|
+
'BIT_AND',
|
243
|
+
'BIT_OR',
|
244
|
+
'BIT_XOR',
|
245
|
+
'SessionStart',
|
246
|
+
];
|
247
|
+
const RawUdfs = {
|
248
|
+
DateTime: [
|
249
|
+
'EndOfMonth',
|
250
|
+
'Format',
|
251
|
+
'FromMicroseconds',
|
252
|
+
'FromMilliseconds',
|
253
|
+
'FromSeconds',
|
254
|
+
'GetDayOfMonth',
|
255
|
+
'GetDayOfWeek',
|
256
|
+
'GetDayOfWeekName',
|
257
|
+
'GetDayOfYear',
|
258
|
+
'GetHour',
|
259
|
+
'GetMicrosecondOfSecond',
|
260
|
+
'GetMillisecondOfSecond',
|
261
|
+
'GetMinute',
|
262
|
+
'GetMonth',
|
263
|
+
'GetMonthName',
|
264
|
+
'GetSecond',
|
265
|
+
'GetTimezoneId',
|
266
|
+
'GetTimezoneName',
|
267
|
+
'GetWeekOfYear',
|
268
|
+
'GetWeekOfYearIso8601',
|
269
|
+
'GetYear',
|
270
|
+
'IntervalFromDays',
|
271
|
+
'IntervalFromHours',
|
272
|
+
'IntervalFromMicroseconds',
|
273
|
+
'IntervalFromMilliseconds',
|
274
|
+
'IntervalFromMinutes',
|
275
|
+
'IntervalFromSeconds',
|
276
|
+
'MakeDate',
|
277
|
+
'MakeDatetime',
|
278
|
+
'MakeTimestamp',
|
279
|
+
'MakeTzDate',
|
280
|
+
'MakeTzDatetime',
|
281
|
+
'MakeTzTimestamp',
|
282
|
+
'Parse',
|
283
|
+
'ParseHttp',
|
284
|
+
'ParseIso8601',
|
285
|
+
'ParseRfc822',
|
286
|
+
'ParseX509',
|
287
|
+
'ShiftMonths',
|
288
|
+
'ShiftQuarters',
|
289
|
+
'ShiftYears',
|
290
|
+
'Split',
|
291
|
+
'StartOf',
|
292
|
+
'StartOfDay',
|
293
|
+
'StartOfMonth',
|
294
|
+
'StartOfQuarter',
|
295
|
+
'StartOfWeek',
|
296
|
+
'StartOfYear',
|
297
|
+
'TimeOfDay',
|
298
|
+
'ToDays',
|
299
|
+
'ToHours',
|
300
|
+
'ToMicroseconds',
|
301
|
+
'ToMilliseconds',
|
302
|
+
'ToMinutes',
|
303
|
+
'ToSeconds',
|
304
|
+
'Update',
|
305
|
+
],
|
306
|
+
Dsv: ['Parse', 'ReadRecord', 'Serialize'],
|
307
|
+
String: [
|
308
|
+
'AsciiToLower',
|
309
|
+
'AsciiToTitle',
|
310
|
+
'AsciiToUpper',
|
311
|
+
'Base32Decode',
|
312
|
+
'Base32Encode',
|
313
|
+
'Base32StrictDecode',
|
314
|
+
'Base64Decode',
|
315
|
+
'Base64Encode',
|
316
|
+
'Base64EncodeUrl',
|
317
|
+
'Base64StrictDecode',
|
318
|
+
'Bin',
|
319
|
+
'BinText',
|
320
|
+
'CgiEscape',
|
321
|
+
'CgiUnescape',
|
322
|
+
'Collapse',
|
323
|
+
'CollapseText',
|
324
|
+
'Contains',
|
325
|
+
'DecodeHtml',
|
326
|
+
'EncodeHtml',
|
327
|
+
'EndsWith',
|
328
|
+
'EndsWithIgnoreCase',
|
329
|
+
'EscapeC',
|
330
|
+
'FromByteList',
|
331
|
+
'HasPrefix',
|
332
|
+
'HasPrefixIgnoreCase',
|
333
|
+
'HasSuffix',
|
334
|
+
'HasSuffixIgnoreCase',
|
335
|
+
'Hex',
|
336
|
+
'HexDecode',
|
337
|
+
'HexEncode',
|
338
|
+
'HexText',
|
339
|
+
'HumanReadableBytes',
|
340
|
+
'HumanReadableDuration',
|
341
|
+
'HumanReadableQuantity',
|
342
|
+
'IsAscii',
|
343
|
+
'IsAsciiAlnum',
|
344
|
+
'IsAsciiAlpha',
|
345
|
+
'IsAsciiDigit',
|
346
|
+
'IsAsciiHex',
|
347
|
+
'IsAsciiLower',
|
348
|
+
'IsAsciiSpace',
|
349
|
+
'IsAsciiUpper',
|
350
|
+
'JoinFromList',
|
351
|
+
'LeftPad',
|
352
|
+
'LevensteinDistance',
|
353
|
+
'Prec',
|
354
|
+
'RemoveAll',
|
355
|
+
'RemoveFirst',
|
356
|
+
'RemoveLast',
|
357
|
+
'ReplaceAll',
|
358
|
+
'ReplaceFirst',
|
359
|
+
'ReplaceLast',
|
360
|
+
'RightPad',
|
361
|
+
'SBin',
|
362
|
+
'SHex',
|
363
|
+
'SplitToList',
|
364
|
+
'StartsWith',
|
365
|
+
'StartsWithIgnoreCase',
|
366
|
+
'Strip',
|
367
|
+
'ToByteList',
|
368
|
+
'UnescapeC',
|
369
|
+
],
|
370
|
+
Unicode: [
|
371
|
+
'Find',
|
372
|
+
'Fold',
|
373
|
+
'FromCodePointList',
|
374
|
+
'GetLength',
|
375
|
+
'IsAlnum',
|
376
|
+
'IsAlpha',
|
377
|
+
'IsAscii',
|
378
|
+
'IsDigit',
|
379
|
+
'IsHex',
|
380
|
+
'IsLower',
|
381
|
+
'IsSpace',
|
382
|
+
'IsUnicodeSet',
|
383
|
+
'IsUpper',
|
384
|
+
'IsUtf',
|
385
|
+
'JoinFromList',
|
386
|
+
'LevensteinDistance',
|
387
|
+
'Normalize',
|
388
|
+
'NormalizeNFC',
|
389
|
+
'NormalizeNFD',
|
390
|
+
'NormalizeNFKC',
|
391
|
+
'NormalizeNFKD',
|
392
|
+
'RFind',
|
393
|
+
'RemoveAll',
|
394
|
+
'RemoveFirst',
|
395
|
+
'RemoveLast',
|
396
|
+
'ReplaceAll',
|
397
|
+
'ReplaceFirst',
|
398
|
+
'ReplaceLast',
|
399
|
+
'Reverse',
|
400
|
+
'SplitToList',
|
401
|
+
'Strip',
|
402
|
+
'Substring',
|
403
|
+
'ToCodePointList',
|
404
|
+
'ToLower',
|
405
|
+
'ToTitle',
|
406
|
+
'ToUint64',
|
407
|
+
'ToUpper',
|
408
|
+
'Translit',
|
409
|
+
'TryToUint64',
|
410
|
+
],
|
411
|
+
Url: [
|
412
|
+
'BuildQueryString',
|
413
|
+
'CanBePunycodeHostName',
|
414
|
+
'CutQueryStringAndFragment',
|
415
|
+
'CutScheme',
|
416
|
+
'CutWWW',
|
417
|
+
'CutWWW2',
|
418
|
+
'Decode',
|
419
|
+
'Encode',
|
420
|
+
'ForceHostNameToPunycode',
|
421
|
+
'ForcePunycodeToHostName',
|
422
|
+
'GetCGIParam',
|
423
|
+
'GetDomain',
|
424
|
+
'GetDomainLevel',
|
425
|
+
'GetFragment',
|
426
|
+
'GetHost',
|
427
|
+
'GetHostPort',
|
428
|
+
'GetOwner',
|
429
|
+
'GetPath',
|
430
|
+
'GetPort',
|
431
|
+
'GetScheme',
|
432
|
+
'GetSchemeHost',
|
433
|
+
'GetSchemeHostPort',
|
434
|
+
'GetSignificantDomain',
|
435
|
+
'GetTLD',
|
436
|
+
'GetTail',
|
437
|
+
'HostNameToPunycode',
|
438
|
+
'IsAllowedByRobotsTxt',
|
439
|
+
'IsKnownTLD',
|
440
|
+
'IsWellKnownTLD',
|
441
|
+
'Normalize',
|
442
|
+
'NormalizeWithDefaultHttpScheme',
|
443
|
+
'Parse',
|
444
|
+
'PunycodeToHostName',
|
445
|
+
'QueryStringToDict',
|
446
|
+
'QueryStringToList',
|
447
|
+
],
|
448
|
+
Yson: [
|
449
|
+
'Attributes',
|
450
|
+
'Contains',
|
451
|
+
'ConvertTo',
|
452
|
+
'ConvertToBool',
|
453
|
+
'ConvertToBoolDict',
|
454
|
+
'ConvertToBoolList',
|
455
|
+
'ConvertToDict',
|
456
|
+
'ConvertToDouble',
|
457
|
+
'ConvertToDoubleDict',
|
458
|
+
'ConvertToDoubleList',
|
459
|
+
'ConvertToInt64',
|
460
|
+
'ConvertToInt64Dict',
|
461
|
+
'ConvertToInt64List',
|
462
|
+
'ConvertToList',
|
463
|
+
'ConvertToString',
|
464
|
+
'ConvertToStringDict',
|
465
|
+
'ConvertToStringList',
|
466
|
+
'ConvertToUint64',
|
467
|
+
'ConvertToUint64Dict',
|
468
|
+
'ConvertToUint64List',
|
469
|
+
'Equals',
|
470
|
+
'From',
|
471
|
+
'GetHash',
|
472
|
+
'GetLength',
|
473
|
+
'IsBool',
|
474
|
+
'IsDict',
|
475
|
+
'IsDouble',
|
476
|
+
'IsEntity',
|
477
|
+
'IsInt64',
|
478
|
+
'IsList',
|
479
|
+
'IsString',
|
480
|
+
'IsUint64',
|
481
|
+
'Lookup',
|
482
|
+
'LookupBool',
|
483
|
+
'LookupDict',
|
484
|
+
'LookupDouble',
|
485
|
+
'LookupInt64',
|
486
|
+
'LookupList',
|
487
|
+
'LookupString',
|
488
|
+
'LookupUint64',
|
489
|
+
'Options',
|
490
|
+
'Parse',
|
491
|
+
'ParseJson',
|
492
|
+
'ParseJsonDecodeUtf8',
|
493
|
+
'Serialize',
|
494
|
+
'SerializeJson',
|
495
|
+
'SerializePretty',
|
496
|
+
'SerializeText',
|
497
|
+
'WithAttributes',
|
498
|
+
'YPath',
|
499
|
+
'YPathBool',
|
500
|
+
'YPathDict',
|
501
|
+
'YPathDouble',
|
502
|
+
'YPathInt64',
|
503
|
+
'YPathList',
|
504
|
+
'YPathString',
|
505
|
+
'YPathUint64',
|
506
|
+
],
|
507
|
+
HyperLogLog: ['AddValue', 'Create', 'Deserialize', 'GetResult', 'Merge', 'Serialize'],
|
508
|
+
Hyperscan: [
|
509
|
+
'BacktrackingGrep',
|
510
|
+
'BacktrackingMatch',
|
511
|
+
'Capture',
|
512
|
+
'Grep',
|
513
|
+
'Match',
|
514
|
+
'MultiGrep',
|
515
|
+
'MultiMatch',
|
516
|
+
'Replace',
|
517
|
+
],
|
518
|
+
Ip: [
|
519
|
+
'ConvertToIPv6',
|
520
|
+
'FromString',
|
521
|
+
'GetSubnet',
|
522
|
+
'GetSubnetByMask',
|
523
|
+
'IsEmbeddedIPv4',
|
524
|
+
'IsIPv4',
|
525
|
+
'IsIPv6',
|
526
|
+
'SubnetFromString',
|
527
|
+
'SubnetMatch',
|
528
|
+
'SubnetToString',
|
529
|
+
'ToFixedIPv6String',
|
530
|
+
'ToString',
|
531
|
+
],
|
532
|
+
Json: [
|
533
|
+
'BoolAsJsonNode',
|
534
|
+
'CompilePath',
|
535
|
+
'DoubleAsJsonNode',
|
536
|
+
'JsonAsJsonNode',
|
537
|
+
'JsonDocumentSqlExists',
|
538
|
+
'JsonDocumentSqlQuery',
|
539
|
+
'JsonDocumentSqlQueryConditionalWrap',
|
540
|
+
'JsonDocumentSqlQueryWrap',
|
541
|
+
'JsonDocumentSqlTryExists',
|
542
|
+
'JsonDocumentSqlValueBool',
|
543
|
+
'JsonDocumentSqlValueConvertToUtf8',
|
544
|
+
'JsonDocumentSqlValueInt64',
|
545
|
+
'JsonDocumentSqlValueNumber',
|
546
|
+
'JsonDocumentSqlValueUtf8',
|
547
|
+
'Parse',
|
548
|
+
'Serialize',
|
549
|
+
'SerializeToJsonDocument',
|
550
|
+
'SqlExists',
|
551
|
+
'SqlQuery',
|
552
|
+
'SqlQueryConditionalWrap',
|
553
|
+
'SqlQueryWrap',
|
554
|
+
'SqlTryExists',
|
555
|
+
'SqlValueBool',
|
556
|
+
'SqlValueConvertToUtf8',
|
557
|
+
'SqlValueInt64',
|
558
|
+
'SqlValueNumber',
|
559
|
+
'SqlValueUtf8',
|
560
|
+
'Utf8AsJsonNode',
|
561
|
+
],
|
562
|
+
Math: [
|
563
|
+
'Abs',
|
564
|
+
'Acos',
|
565
|
+
'Asin',
|
566
|
+
'Asinh',
|
567
|
+
'Atan',
|
568
|
+
'Atan2',
|
569
|
+
'Cbrt',
|
570
|
+
'Ceil',
|
571
|
+
'Cos',
|
572
|
+
'Cosh',
|
573
|
+
'E',
|
574
|
+
'Eps',
|
575
|
+
'Erf',
|
576
|
+
'ErfInv',
|
577
|
+
'ErfcInv',
|
578
|
+
'Exp',
|
579
|
+
'Exp2',
|
580
|
+
'Fabs',
|
581
|
+
'Floor',
|
582
|
+
'Fmod',
|
583
|
+
'FuzzyEquals',
|
584
|
+
'Hypot',
|
585
|
+
'IsFinite',
|
586
|
+
'IsInf',
|
587
|
+
'IsNaN',
|
588
|
+
'Ldexp',
|
589
|
+
'Lgamma',
|
590
|
+
'Log',
|
591
|
+
'Log10',
|
592
|
+
'Log2',
|
593
|
+
'Mod',
|
594
|
+
'NearbyInt',
|
595
|
+
'Pi',
|
596
|
+
'Pow',
|
597
|
+
'Rem',
|
598
|
+
'Remainder',
|
599
|
+
'Rint',
|
600
|
+
'Round',
|
601
|
+
'RoundDownward',
|
602
|
+
'RoundToNearest',
|
603
|
+
'RoundTowardZero',
|
604
|
+
'RoundUpward',
|
605
|
+
'Sigmoid',
|
606
|
+
'Sin',
|
607
|
+
'Sinh',
|
608
|
+
'Sqrt',
|
609
|
+
'Tan',
|
610
|
+
'Tanh',
|
611
|
+
'Tgamma',
|
612
|
+
'Trunc',
|
613
|
+
],
|
614
|
+
Pire: ['Capture', 'Grep', 'Match', 'MultiGrep', 'MultiMatch', 'Replace'],
|
615
|
+
Re2: [
|
616
|
+
'Capture',
|
617
|
+
'Count',
|
618
|
+
'Escape',
|
619
|
+
'FindAndConsume',
|
620
|
+
'Grep',
|
621
|
+
'Match',
|
622
|
+
'Options',
|
623
|
+
'PatternFromLike',
|
624
|
+
'Replace',
|
625
|
+
],
|
626
|
+
Re2posix: [
|
627
|
+
'Capture',
|
628
|
+
'Count',
|
629
|
+
'Escape',
|
630
|
+
'FindAndConsume',
|
631
|
+
'Grep',
|
632
|
+
'Match',
|
633
|
+
'Options',
|
634
|
+
'PatternFromLike',
|
635
|
+
'Replace',
|
636
|
+
],
|
637
|
+
Digest: [
|
638
|
+
'Argon2',
|
639
|
+
'Blake2B',
|
640
|
+
'CityHash',
|
641
|
+
'CityHash128',
|
642
|
+
'Crc32c',
|
643
|
+
'Crc64',
|
644
|
+
'FarmHashFingerprint',
|
645
|
+
'FarmHashFingerprint128',
|
646
|
+
'FarmHashFingerprint2',
|
647
|
+
'FarmHashFingerprint32',
|
648
|
+
'FarmHashFingerprint64',
|
649
|
+
'Fnv32',
|
650
|
+
'Fnv64',
|
651
|
+
'HighwayHash',
|
652
|
+
'IntHash64',
|
653
|
+
'Md5HalfMix',
|
654
|
+
'Md5Hex',
|
655
|
+
'Md5Raw',
|
656
|
+
'MurMurHash',
|
657
|
+
'MurMurHash2A',
|
658
|
+
'MurMurHash2A32',
|
659
|
+
'MurMurHash32',
|
660
|
+
'NumericHash',
|
661
|
+
'Sha1',
|
662
|
+
'Sha256',
|
663
|
+
'SipHash',
|
664
|
+
'SuperFastHash',
|
665
|
+
'XXH3',
|
666
|
+
'XXH3_128',
|
667
|
+
],
|
668
|
+
Histogram: [
|
669
|
+
'CalcLowerBound',
|
670
|
+
'CalcLowerBoundSafe',
|
671
|
+
'CalcUpperBound',
|
672
|
+
'CalcUpperBoundSafe',
|
673
|
+
'GetSumAboveBound',
|
674
|
+
'GetSumBelowBound',
|
675
|
+
'GetSumInRange',
|
676
|
+
'Normalize',
|
677
|
+
'Print',
|
678
|
+
'ToCumulativeDistributionFunction',
|
679
|
+
],
|
680
|
+
};
|
681
|
+
export const Udfs = Object.entries(RawUdfs).reduce((acc, [udfModule, functions]) => {
|
682
|
+
const moduleFunctions = functions.map((f) => `${udfModule}::${f}`);
|
683
|
+
return acc.concat(moduleFunctions);
|
684
|
+
}, []);
|
685
|
+
export const WindowFunctions = [
|
686
|
+
'ROW_NUMBER',
|
687
|
+
'LAG',
|
688
|
+
'LEAD',
|
689
|
+
'FIRST_VALUE',
|
690
|
+
'LAST_VALUE',
|
691
|
+
'RANK',
|
692
|
+
'DENSE_RANK',
|
693
|
+
'SessionState',
|
694
|
+
];
|
695
|
+
export const TableFunction = [];
|
696
|
+
export const Pragmas = ['TablePathPrefix', 'Warning'];
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
2
|
+
import { ColumnAliasSuggestion, KeywordSuggestion, YqlAutocompleteResult } from '@gravity-ui/websql-autocomplete';
|
3
|
+
export declare function generateColumnsSuggestion(rangeToInsertSuggestion: monaco.IRange, suggestColumns: YqlAutocompleteResult['suggestColumns'] | undefined, database: string): Promise<monaco.languages.CompletionItem[]>;
|
4
|
+
export declare function generateColumnAliasesSuggestion(rangeToInsertSuggestion: monaco.IRange, suggestColumnAliases?: ColumnAliasSuggestion[]): {
|
5
|
+
label: string;
|
6
|
+
insertText: string;
|
7
|
+
kind: monaco.languages.CompletionItemKind;
|
8
|
+
detail: string;
|
9
|
+
range: monaco.IRange;
|
10
|
+
sortText: string;
|
11
|
+
}[];
|
12
|
+
export declare function generateKeywordsSuggestion(rangeToInsertSuggestion: monaco.IRange, suggestKeywords?: KeywordSuggestion[]): {
|
13
|
+
label: string;
|
14
|
+
insertText: string;
|
15
|
+
kind: monaco.languages.CompletionItemKind;
|
16
|
+
detail: string;
|
17
|
+
range: monaco.IRange;
|
18
|
+
sortText: string;
|
19
|
+
}[];
|
20
|
+
export declare function generateEntitiesSuggestion(_rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
21
|
+
export declare function generateSimpleFunctionsSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
22
|
+
export declare function generateSimpleTypesSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
23
|
+
export declare function generateUdfSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
24
|
+
export declare function generateWindowFunctionsSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
25
|
+
export declare function generateTableFunctionsSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
26
|
+
export declare function generateAggregateFunctionsSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|
27
|
+
export declare function generatePragmasSuggestion(rangeToInsertSuggestion: monaco.IRange): Promise<monaco.languages.CompletionItem[]>;
|