//@ts-nocheck import { NAMESPACE_FILTER_KINDS, NAMESPACE_FILTER_ALL as ALL, NAMESPACE_FILTER_ALL_ORPHANS as ALL_ORPHANS, } from '@shell/utils/namespace-filter'; import { COUNT, MANAGEMENT, NAMESPACE } from '@shell/config/types'; import { sortBy } from '@shell/utils/sort'; import { filterBy } from '@shell/utils/array'; import { addParams } from '@shell/utils/url'; import { HCI, DATA_VOLUME } from '../../types'; import { BACKUP_TYPE } from '../../config/types'; import { HCI as HCI_ANNOTATIONS } from '../../config/labels-annotations'; import { HCI_ALLOWED_SETTINGS, HCI_SINGLE_CLUSTER_ALLOWED_SETTING } from '../../config/settings'; // --------------------------------------------------------------------------- // Side navigation counts // // The side navigation (`Type.vue`, `type-map/getTree`) shows the number of // resources of a nav item by calling `harvester/count({ name: