@prorobotech/openapi-k8s-toolkit 1.1.0-alpha.8 → 1.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi-k8s-toolkit.es.js +2514 -1645
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +2523 -1649
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/api/bff/scopes/checkScopes.d.ts +6 -6
- package/dist/types/api/bff/scopes/filterScopes.d.ts +4 -4
- package/dist/types/api/bff/search/getKinds.d.ts +2 -2
- package/dist/types/api/bff/swagger/getSwagger.d.ts +2 -2
- package/dist/types/api/forms.d.ts +4 -0
- package/dist/types/api/getApiResource.d.ts +8 -8
- package/dist/types/api/getApiResourceTypes.d.ts +4 -4
- package/dist/types/api/getBuiltinResource.d.ts +8 -8
- package/dist/types/api/getBuiltinResourceTypes.d.ts +2 -2
- package/dist/types/api/getCrdData.d.ts +2 -2
- package/dist/types/api/getCrdResource.d.ts +5 -5
- package/dist/types/api/permissions.d.ts +4 -4
- package/dist/types/components/atoms/CursorDefaultDiv/CursorDefaultDiv.d.ts +2 -2
- package/dist/types/components/atoms/CursorDefaultDiv/index.d.ts +1 -1
- package/dist/types/components/atoms/CursorPointerTag/index.d.ts +1 -1
- package/dist/types/components/atoms/CursorPointerTagMinContent/index.d.ts +1 -1
- package/dist/types/components/atoms/CustomSelect/index.d.ts +1 -1
- package/dist/types/components/atoms/FlexGrow/index.d.ts +1 -1
- package/dist/types/components/atoms/PaddingContainer/index.d.ts +1 -1
- package/dist/types/components/atoms/ResourceLink/ResourceLink.d.ts +19 -0
- package/dist/types/components/atoms/ResourceLink/index.d.ts +1 -0
- package/dist/types/components/atoms/ResourceLink/styled.d.ts +8 -0
- package/dist/types/components/atoms/UncontrolledSelect/index.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +19 -13
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/ArrayInsideContainer.d.ts +2 -2
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +4 -2
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +9 -9
- package/dist/types/components/molecules/BlackholeForm/index.d.ts +2 -2
- package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/FormInlineYamlEditor.d.ts +4 -2
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +12 -13
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +5 -6
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/{BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts → BlackholeFormProvider/BlackholeFormProvider.d.ts} +5 -5
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/index.d.ts +4 -2
- package/dist/types/components/molecules/EnrichedTable/index.d.ts +2 -1
- package/dist/types/components/molecules/EnrichedTable/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/FilterDropdown/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/ShortenedTextWithTooltip/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TableComponents/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TextAlignContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TinyButton/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/index.d.ts +6 -6
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +2 -2
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +2 -2
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/index.d.ts +4 -2
- package/dist/types/components/molecules/Events/Events.d.ts +3 -2
- package/dist/types/components/molecules/Events/index.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/EventRow.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/utils.d.ts +0 -20
- package/dist/types/components/molecules/ManageableBreadcrumbs/index.d.ts +2 -3
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/CollapsibleBreadcrumb/index.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +8 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbs/index.d.ts +2 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/ManageableBreadcrumbsProvider.d.ts +12 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/styled.d.ts +276 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/index.d.ts +4 -0
- package/dist/types/components/molecules/ManageableSidebar/index.d.ts +2 -3
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebar/ManageableSidebar.d.ts +10 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebar/index.d.ts +2 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/ManageableSidebarProvider.d.ts +16 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableSidebar/{utils.d.ts → organisms/ManageableSidebarProvider/utils.d.ts} +2 -1
- package/dist/types/components/molecules/ManageableSidebar/organisms/index.d.ts +4 -0
- package/dist/types/components/molecules/MarketPlace/MarketPlace.d.ts +3 -3
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/atoms/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +3 -3
- package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/index.d.ts +2 -1
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.d.ts +9 -9
- package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/index.d.ts +4 -3
- package/dist/types/components/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +3 -3
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/index.d.ts +1 -1
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/index.d.ts +1 -1
- package/dist/types/components/molecules/ProjectInfoCard/molecules/index.d.ts +2 -2
- package/dist/types/components/molecules/Search/Search.d.ts +1 -2
- package/dist/types/components/molecules/Search/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/MonacoEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/index.d.ts +8 -4
- package/dist/types/components/molecules/{BlackholeForm/molecules/YamlEditorSingleton → YamlEditorSingleton}/YamlEditorSingleton.d.ts +2 -2
- package/dist/types/components/molecules/YamlEditorSingleton/index.d.ts +1 -0
- package/dist/types/components/molecules/index.d.ts +19 -9
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdLink/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/NodeTerminal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/OwnerRefs.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/guard.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/RefsList.d.ts +22 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/RefElement.d.ts +21 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/utils.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/types.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ResourceBadge/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Toggler/Toggler.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Toggler/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/TogglerSegmented/TogglerSegmented.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/TogglerSegmented/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +39 -36
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +85 -17
- package/dist/types/components/organisms/index.d.ts +5 -3
- package/dist/types/hooks/useApiResource.d.ts +8 -8
- package/dist/types/hooks/useApisResourceTypes.d.ts +4 -4
- package/dist/types/hooks/useBuiltinResource.d.ts +8 -8
- package/dist/types/hooks/useBuiltinResourceTypes.d.ts +2 -2
- package/dist/types/hooks/useCrdData.d.ts +2 -2
- package/dist/types/hooks/useCrdResource.d.ts +5 -5
- package/dist/types/hooks/useK8sSmartResource/index.d.ts +4 -0
- package/dist/types/hooks/useK8sSmartResource/useK8sSmartResource.d.ts +28 -0
- package/dist/types/hooks/{useK8sSmartResource.d.ts → useK8sSmartResource/useK8sSmartResourceWithoutKinds.d.ts} +4 -4
- package/dist/types/hooks/useK8sSmartResource/useManyK8sSmartResource.d.ts +17 -0
- package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.d.ts +9 -0
- package/dist/types/hooks/usePermissions.d.ts +4 -4
- package/dist/types/index.d.ts +2 -1
- package/dist/types/localTypes/bff/form.d.ts +5 -5
- package/dist/types/localTypes/bff/scopes.d.ts +6 -6
- package/dist/types/localTypes/bff/table.d.ts +2 -2
- package/dist/types/localTypes/form.d.ts +2 -2
- package/dist/types/localTypes/marketplace.d.ts +1 -1
- package/dist/types/localTypes/navigations.d.ts +24 -0
- package/dist/types/utils/createContextFactory/index.d.ts +1 -1
- package/dist/types/utils/deepMerge/index.d.ts +1 -1
- package/dist/types/utils/filterSelectOptions/index.d.ts +1 -1
- package/dist/types/utils/getAllPathsFromObj/index.d.ts +1 -1
- package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +2 -2
- package/dist/types/utils/getGroupsByCategory/index.d.ts +1 -1
- package/dist/types/utils/getPrefixSubArrays/index.d.ts +1 -1
- package/dist/types/utils/getResourceLink/getResourceLink.d.ts +27 -0
- package/dist/types/utils/getResourceLink/index.d.ts +1 -0
- package/dist/types/utils/getSortedKinds/index.d.ts +1 -1
- package/dist/types/utils/getSortedKindsAll/index.d.ts +1 -1
- package/dist/types/utils/getStringByName/index.d.ts +1 -1
- package/dist/types/utils/getUppercase/index.d.ts +1 -1
- package/dist/types/utils/groupsToTreeData/index.d.ts +2 -1
- package/dist/types/utils/hslFromString/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts +25 -22
- package/dist/types/utils/isFlatObject/index.d.ts +1 -1
- package/dist/types/utils/kindByGvr/index.d.ts +1 -1
- package/dist/types/utils/namespacedByGvr/index.d.ts +1 -1
- package/dist/types/utils/nestedStringsArrayInclude/index.d.ts +1 -1
- package/dist/types/utils/normalizeValuesForQuotas/index.d.ts +1 -1
- package/dist/types/utils/parseForQuotaValues/index.d.ts +1 -1
- package/dist/types/utils/pluralByKind/index.d.ts +1 -1
- package/dist/types/utils/prepareTemplate/index.d.ts +1 -1
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -1
- package/dist/types/utils/tableLocations/index.d.ts +1 -1
- package/dist/types/utils/tableLocations/tableLocations.d.ts +5 -5
- package/package.json +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/index.d.ts +0 -1
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +0 -2
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +0 -19
- package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +0 -24
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{styled.d.ts → organisms/ManageableBreadcrumbs/styled.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{types.d.ts → organisms/ManageableBreadcrumbsProvider/types.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{utils.d.ts → organisms/ManageableBreadcrumbsProvider/utils.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableSidebar/{styled.d.ts → organisms/ManageableSidebar/styled.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableSidebar/{types.d.ts → organisms/ManageableSidebarProvider/types.d.ts} +0 -0
- /package/dist/types/components/molecules/{BlackholeForm/molecules/YamlEditorSingleton → YamlEditorSingleton}/styled.d.ts +0 -0
|
@@ -2,9 +2,9 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps, SelectProps } from 'antd';
|
|
3
3
|
import type { TextProps } from 'antd/es/typography/Text';
|
|
4
4
|
import type { LinkProps } from 'antd/es/typography/Link';
|
|
5
|
-
import { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
6
|
-
import {
|
|
7
|
-
import { TUnitInput } from './molecules/ConverterBytes/types';
|
|
5
|
+
import type { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
6
|
+
import type { TManageableSidebarProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
7
|
+
import type { TUnitInput } from './molecules/ConverterBytes/types';
|
|
8
8
|
export type TDynamicComponentsAppTypeMap = {
|
|
9
9
|
DefaultDiv: {
|
|
10
10
|
id: number | string;
|
|
@@ -53,26 +53,26 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
53
53
|
};
|
|
54
54
|
ProjectInfoCard: {
|
|
55
55
|
id: number | string;
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
cluster: string;
|
|
57
|
+
namespace: string;
|
|
58
58
|
baseApiGroup: string;
|
|
59
59
|
baseApiVersion: string;
|
|
60
60
|
baseProjectApiGroup: string;
|
|
61
61
|
baseProjectVersion: string;
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
projectPlural: string;
|
|
63
|
+
marketplacePlural: string;
|
|
64
64
|
accessGroups: string[];
|
|
65
65
|
baseprefix?: string;
|
|
66
66
|
showZeroResources?: boolean;
|
|
67
67
|
};
|
|
68
68
|
MarketplaceCard: {
|
|
69
69
|
id: number | string;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
cluster: string;
|
|
71
|
+
namespace: string;
|
|
72
72
|
baseApiGroup: string;
|
|
73
73
|
baseApiVersion: string;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
marketplacePlural: string;
|
|
75
|
+
marketplaceKind: string;
|
|
76
76
|
baseprefix?: string;
|
|
77
77
|
standalone?: boolean;
|
|
78
78
|
forceAddedMode?: boolean;
|
|
@@ -99,18 +99,19 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
99
99
|
} & Omit<TextProps, 'id' | 'children'>;
|
|
100
100
|
SidebarProvider: {
|
|
101
101
|
id: number | string;
|
|
102
|
-
} & Omit<
|
|
102
|
+
} & Omit<TManageableSidebarProviderProps, 'replaceValues'>;
|
|
103
103
|
EnrichedTable: {
|
|
104
104
|
id: number | string;
|
|
105
105
|
fetchUrl?: string;
|
|
106
106
|
k8sResourceToFetch?: {
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
apiGroup?: string;
|
|
108
|
+
apiVersion: string;
|
|
109
109
|
plural: string;
|
|
110
110
|
namespace?: string;
|
|
111
111
|
};
|
|
112
112
|
pathToItems: string | string[];
|
|
113
|
-
|
|
113
|
+
additionalReqsDataToEachItem?: number[];
|
|
114
|
+
cluster: string;
|
|
114
115
|
labelSelector?: Record<string, string>;
|
|
115
116
|
labelSelectorFull?: {
|
|
116
117
|
reqIndex: number;
|
|
@@ -145,7 +146,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
145
146
|
type: 'builtin' | 'apis';
|
|
146
147
|
apiGroup?: string;
|
|
147
148
|
apiVersion?: string;
|
|
148
|
-
|
|
149
|
+
plural: string;
|
|
149
150
|
forcedKind?: string;
|
|
150
151
|
prefillValuesRequestIndex: number;
|
|
151
152
|
pathToData?: string | string[];
|
|
@@ -313,7 +314,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
313
314
|
Events: {
|
|
314
315
|
id: number | string;
|
|
315
316
|
baseprefix?: string;
|
|
316
|
-
|
|
317
|
+
cluster: string;
|
|
317
318
|
wsUrl: string;
|
|
318
319
|
pageSize?: number;
|
|
319
320
|
substractHeight?: number;
|
|
@@ -329,5 +330,72 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
329
330
|
baseFactoryNamespacedBuiltinKey: string;
|
|
330
331
|
baseFactoryClusterSceopedBuiltinKey: string;
|
|
331
332
|
baseNamespaceFactoryKey: string;
|
|
333
|
+
baseNavigationPlural: string;
|
|
334
|
+
baseNavigationName: string;
|
|
335
|
+
};
|
|
336
|
+
OwnerRefs: {
|
|
337
|
+
id: number | string;
|
|
338
|
+
baseprefix?: string;
|
|
339
|
+
cluster: string;
|
|
340
|
+
reqIndex: string;
|
|
341
|
+
errorText: string;
|
|
342
|
+
notArrayErrorText: string;
|
|
343
|
+
emptyArrayErrorText: string;
|
|
344
|
+
isNotRefsArrayErrorText: string;
|
|
345
|
+
containerStyle?: CSSProperties;
|
|
346
|
+
listFlexProps?: FlexProps;
|
|
347
|
+
jsonPathToArrayOfRefs: string;
|
|
348
|
+
forcedApiVersion?: {
|
|
349
|
+
kind: string;
|
|
350
|
+
apiVersion: string;
|
|
351
|
+
}[];
|
|
352
|
+
forcedNamespace?: string;
|
|
353
|
+
keysToForcedLabel?: string | string[];
|
|
354
|
+
forcedRelatedValuePath?: string;
|
|
355
|
+
baseFactoryNamespacedAPIKey: string;
|
|
356
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
357
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
358
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
359
|
+
baseNavigationPlural: string;
|
|
360
|
+
baseNavigationName: string;
|
|
361
|
+
};
|
|
362
|
+
Toggler: {
|
|
363
|
+
id: number | string;
|
|
364
|
+
reqIndex: string;
|
|
365
|
+
jsonPathToValue: string;
|
|
366
|
+
criteria: {
|
|
367
|
+
type: 'forSuccess' | 'forError';
|
|
368
|
+
operator: 'exists' | 'equals';
|
|
369
|
+
valueToCompare?: string;
|
|
370
|
+
};
|
|
371
|
+
notificationSuccessMessage?: string;
|
|
372
|
+
notificationErrorMessage?: string;
|
|
373
|
+
notificationSuccessMessageDescription?: string;
|
|
374
|
+
notificationErrorMessageDescription?: string;
|
|
375
|
+
containerStyle?: CSSProperties;
|
|
376
|
+
endpoint: string;
|
|
377
|
+
pathToValue: string;
|
|
378
|
+
valueToSubmit: {
|
|
379
|
+
onValue: any;
|
|
380
|
+
offValue?: any;
|
|
381
|
+
toRemoveWhenOff?: boolean;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
TogglerSegmented: {
|
|
385
|
+
id: number | string;
|
|
386
|
+
reqIndex: string;
|
|
387
|
+
jsonPathToValue: string;
|
|
388
|
+
notificationSuccessMessage?: string;
|
|
389
|
+
notificationErrorMessage?: string;
|
|
390
|
+
notificationSuccessMessageDescription?: string;
|
|
391
|
+
notificationErrorMessageDescription?: string;
|
|
392
|
+
containerStyle?: CSSProperties;
|
|
393
|
+
endpoint: string;
|
|
394
|
+
pathToValue: string;
|
|
395
|
+
possibleValues: any[];
|
|
396
|
+
valuesMap?: {
|
|
397
|
+
value: any;
|
|
398
|
+
renderedValue: string | number;
|
|
399
|
+
}[];
|
|
332
400
|
};
|
|
333
401
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DynamicRenderer } from './DynamicRenderer';
|
|
2
|
+
export type { TDynamicRendererProps } from './DynamicRenderer';
|
|
3
|
+
export { DynamicComponents } from './DynamicComponents';
|
|
4
|
+
export type { TDynamicComponentsAppTypeMap } from './DynamicComponents';
|
|
5
|
+
export { DynamicRendererWithProviders } from './DynamicRendererWithProviders';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { TApiResources } from '../localTypes/k8s';
|
|
2
|
-
export declare const useApiResources: ({
|
|
3
|
-
|
|
2
|
+
export declare const useApiResources: ({ cluster, namespace, apiGroup, apiVersion, plural, name, labels, fields, limit, refetchInterval, isEnabled, }: {
|
|
3
|
+
cluster: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
apiGroup: string;
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
plural: string;
|
|
8
|
+
name?: string | undefined;
|
|
9
9
|
labels?: string[] | undefined;
|
|
10
10
|
fields?: string[] | undefined;
|
|
11
11
|
limit: string | null;
|
|
12
12
|
refetchInterval?: number | false | undefined;
|
|
13
13
|
isEnabled?: boolean | undefined;
|
|
14
14
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TApiResources, Error>;
|
|
15
|
-
export declare const useApiResourceSingle: ({
|
|
16
|
-
|
|
15
|
+
export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, plural, name, refetchInterval, }: {
|
|
16
|
+
cluster: string;
|
|
17
17
|
namespace?: string | undefined;
|
|
18
18
|
apiGroup: string;
|
|
19
19
|
apiVersion: string;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
plural: string;
|
|
21
|
+
name: string;
|
|
22
22
|
refetchInterval?: number | false | undefined;
|
|
23
23
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
24
24
|
metadata: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const useApisResourceTypes: ({
|
|
2
|
-
|
|
1
|
+
export declare const useApisResourceTypes: ({ cluster }: {
|
|
2
|
+
cluster: string;
|
|
3
3
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
4
4
|
apiVersion: string;
|
|
5
5
|
kind: string;
|
|
@@ -15,8 +15,8 @@ export declare const useApisResourceTypes: ({ clusterName }: {
|
|
|
15
15
|
};
|
|
16
16
|
}[];
|
|
17
17
|
}, Error>;
|
|
18
|
-
export declare const useApiResourceTypesByGroup: ({
|
|
19
|
-
|
|
18
|
+
export declare const useApiResourceTypesByGroup: ({ cluster, apiGroup, apiVersion, }: {
|
|
19
|
+
cluster: string;
|
|
20
20
|
apiGroup: string;
|
|
21
21
|
apiVersion: string;
|
|
22
22
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { TBuiltinResources } from '../localTypes/k8s';
|
|
2
|
-
export declare const useBuiltinResources: ({
|
|
3
|
-
|
|
2
|
+
export declare const useBuiltinResources: ({ cluster, namespace, plural, name, labels, fields, limit, refetchInterval, isEnabled, }: {
|
|
3
|
+
cluster: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
plural: string;
|
|
6
|
+
name?: string | undefined;
|
|
7
7
|
labels?: string[] | undefined;
|
|
8
8
|
fields?: string[] | undefined;
|
|
9
9
|
limit: string | null;
|
|
10
10
|
refetchInterval?: number | false | undefined;
|
|
11
11
|
isEnabled?: boolean | undefined;
|
|
12
12
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResources, Error>;
|
|
13
|
-
export declare const useBuiltinResourceSingle: ({
|
|
14
|
-
|
|
13
|
+
export declare const useBuiltinResourceSingle: ({ cluster, namespace, plural, name, refetchInterval, }: {
|
|
14
|
+
cluster: string;
|
|
15
15
|
namespace?: string | undefined;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
plural: string;
|
|
17
|
+
name: string;
|
|
18
18
|
refetchInterval?: number | false | undefined;
|
|
19
19
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
20
20
|
metadata: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TBuiltinResourceTypeList } from '../localTypes/k8s';
|
|
2
|
-
export declare const useBuiltinResourceTypes: ({
|
|
3
|
-
|
|
2
|
+
export declare const useBuiltinResourceTypes: ({ cluster }: {
|
|
3
|
+
cluster: string;
|
|
4
4
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResourceTypeList, Error>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const useCrdData: ({
|
|
2
|
-
|
|
1
|
+
export declare const useCrdData: ({ cluster, apiExtensionVersion, crdName, }: {
|
|
2
|
+
cluster: string;
|
|
3
3
|
apiExtensionVersion: string;
|
|
4
4
|
crdName: string;
|
|
5
5
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TJSON } from '../localTypes/JSON';
|
|
2
|
-
export declare const useCrdResources: <T = TJSON[]>({
|
|
3
|
-
|
|
2
|
+
export declare const useCrdResources: <T = TJSON[]>({ cluster, namespace, apiGroup, apiVersion, crdName, refetchInterval, isEnabled, }: {
|
|
3
|
+
cluster: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
apiGroup: string;
|
|
6
6
|
apiVersion: string;
|
|
@@ -19,13 +19,13 @@ export declare const useCrdResources: <T = TJSON[]>({ clusterName, namespace, ap
|
|
|
19
19
|
reason?: string | undefined;
|
|
20
20
|
} | undefined;
|
|
21
21
|
}, Error>;
|
|
22
|
-
export declare const useCrdResourceSingle: ({
|
|
23
|
-
|
|
22
|
+
export declare const useCrdResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, crdName, name, refetchInterval, }: {
|
|
23
|
+
cluster: string;
|
|
24
24
|
namespace?: string | undefined;
|
|
25
25
|
apiGroup: string;
|
|
26
26
|
apiVersion: string;
|
|
27
27
|
crdName: string;
|
|
28
|
-
|
|
28
|
+
name: string;
|
|
29
29
|
refetchInterval?: number | false | undefined;
|
|
30
30
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
31
31
|
metadata: {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { useK8sSmartResource } from './useK8sSmartResource';
|
|
2
|
+
export type { TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
|
|
3
|
+
export { useManyK8sSmartResource } from './useManyK8sSmartResource';
|
|
4
|
+
export { useSmartResourceParams } from './useSmartResourceParams';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
|
|
2
|
+
/**
|
|
3
|
+
* If T has an `{ items: U[] }` field, we add `kind?: string` and `apiVersion?: string` to each item.
|
|
4
|
+
* Otherwise T is left unchanged.
|
|
5
|
+
*/
|
|
6
|
+
type TWithKindAndApiVersionOnItems<T> = T extends {
|
|
7
|
+
items: (infer U)[];
|
|
8
|
+
} ? Omit<T, 'items'> & {
|
|
9
|
+
items: (U & {
|
|
10
|
+
kind?: string;
|
|
11
|
+
apiVersion?: string;
|
|
12
|
+
})[];
|
|
13
|
+
} : T;
|
|
14
|
+
/**
|
|
15
|
+
* Same params as useK8sSmartResource.
|
|
16
|
+
* Returns the same shape as useK8sSmartResource,
|
|
17
|
+
* but if `data.items` exists, items are enriched with `kind`.
|
|
18
|
+
*/
|
|
19
|
+
export declare const useK8sSmartResource: <T>(params: TUseK8sSmartResourceParams<T>) => {
|
|
20
|
+
data: TWithKindAndApiVersionOnItems<T> | undefined;
|
|
21
|
+
isLoading: boolean;
|
|
22
|
+
isError: boolean;
|
|
23
|
+
error: string | Error | import("axios").AxiosError<unknown, any> | undefined;
|
|
24
|
+
_meta?: {
|
|
25
|
+
used: "disabled" | "list" | "watch" | "verbs-loading" | "verbs-error";
|
|
26
|
+
} | undefined;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
-
import { TSingleResource } from '
|
|
2
|
+
import { TSingleResource } from '../../localTypes/k8s';
|
|
3
3
|
export type TUseK8sSmartResourceParams<T> = {
|
|
4
4
|
cluster: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
apiGroup?: string;
|
|
6
|
+
apiVersion: string;
|
|
7
7
|
plural: string;
|
|
8
8
|
namespace?: string;
|
|
9
9
|
fieldSelector?: string;
|
|
@@ -25,5 +25,5 @@ type SmartResult<T> = {
|
|
|
25
25
|
used: 'list' | 'watch' | 'disabled' | 'verbs-loading' | 'verbs-error';
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const useK8sSmartResourceWithoutKinds: <T>({ cluster, apiGroup, apiVersion, plural, namespace, fieldSelector, labelSelector, isEnabled, listRefetchInterval, limit, mapListWatchState, }: TUseK8sSmartResourceParams<T>) => SmartResult<T>;
|
|
29
29
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
|
|
2
|
+
export declare const useManyK8sSmartResource: <T>(paramsList: readonly TUseK8sSmartResourceParams<T>[]) => {
|
|
3
|
+
data: (T extends {
|
|
4
|
+
items: (infer U)[];
|
|
5
|
+
} ? Omit<T, "items"> & {
|
|
6
|
+
items: (U & {
|
|
7
|
+
kind?: string | undefined;
|
|
8
|
+
apiVersion?: string | undefined;
|
|
9
|
+
})[];
|
|
10
|
+
} : T) | undefined;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
isError: boolean;
|
|
13
|
+
error: string | Error | import("axios").AxiosError<unknown, any> | undefined;
|
|
14
|
+
_meta?: {
|
|
15
|
+
used: "disabled" | "list" | "watch" | "verbs-loading" | "verbs-error";
|
|
16
|
+
} | undefined;
|
|
17
|
+
}[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
|
|
2
|
+
/**
|
|
3
|
+
* A single hook whose return value is a plain constant array,
|
|
4
|
+
* safe to pass to `useManyK8sSmartResource`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useSmartResourceParams: ({ cluster, namespace }: {
|
|
7
|
+
cluster: string;
|
|
8
|
+
namespace?: string | undefined;
|
|
9
|
+
}) => TUseK8sSmartResourceParams<unknown>[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const usePermissions: ({
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const usePermissions: ({ cluster, namespace, apiGroup, plural, verb, name, refetchInterval, enabler, }: {
|
|
2
|
+
cluster: string;
|
|
3
|
+
apiGroup?: string | undefined;
|
|
4
|
+
plural: string;
|
|
5
5
|
namespace?: string | undefined;
|
|
6
6
|
name?: string | undefined;
|
|
7
7
|
verb: 'create' | 'delete' | 'patch' | 'update';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export { usePermissions } from './hooks/usePermissions';
|
|
|
26
26
|
export { useListWatch, useInfiniteSentinel } from './hooks/useListThenWatch';
|
|
27
27
|
export type { TConnStatus, TUseListWatchQuery, TUseListWatchOptions, TUseListWatchReturn, } from './hooks/useListThenWatch';
|
|
28
28
|
export { useK8sVerbs } from './hooks/useK8sVerbs';
|
|
29
|
-
export { useK8sSmartResource } from './hooks/useK8sSmartResource';
|
|
29
|
+
export { useK8sSmartResource, useManyK8sSmartResource, useSmartResourceParams } from './hooks/useK8sSmartResource';
|
|
30
30
|
export type { TRequestError } from './localTypes/api';
|
|
31
31
|
export type { TClusterList } from './localTypes/clusterList';
|
|
32
32
|
export type { TItemTypeMap, TRenderableItem, TRendererComponents, TFactoryDataK8s, TFactoryResponse, TFactoryResource, } from './localTypes/dynamicRender';
|
|
@@ -40,3 +40,4 @@ export type { TFilterIfApiInstanceNamespaceScopedReq, TFilterIfApiInstanceNamesp
|
|
|
40
40
|
export type { TVersionEntry, TKindItem, TKindIndex } from './localTypes/bff/search';
|
|
41
41
|
export type { TGetDerefedSwaggerRes } from './localTypes/bff/swagger';
|
|
42
42
|
export type { TKindWithVersion } from './localTypes/search';
|
|
43
|
+
export type { TNavigationResource } from './localTypes/navigations';
|
|
@@ -5,24 +5,24 @@ import { TFormPrefill } from '../formExtensions';
|
|
|
5
5
|
export type TPrepareFormReq = {
|
|
6
6
|
data: {
|
|
7
7
|
type: 'builtin';
|
|
8
|
-
|
|
8
|
+
plural: string;
|
|
9
9
|
prefillValuesSchema?: TJSON;
|
|
10
10
|
prefillValueNamespaceOnly?: string;
|
|
11
11
|
} | {
|
|
12
12
|
type: 'apis';
|
|
13
13
|
apiGroup: string;
|
|
14
14
|
apiVersion: string;
|
|
15
|
-
|
|
15
|
+
plural: string;
|
|
16
16
|
prefillValuesSchema?: TJSON;
|
|
17
17
|
prefillValueNamespaceOnly?: string;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
cluster: string;
|
|
20
20
|
customizationId?: string;
|
|
21
21
|
};
|
|
22
22
|
export type TPrepareFormRes = {
|
|
23
23
|
result: 'error';
|
|
24
24
|
error: string | undefined;
|
|
25
|
-
|
|
25
|
+
kind: string | undefined;
|
|
26
26
|
fallbackToManualMode: true;
|
|
27
27
|
isNamespaced: boolean;
|
|
28
28
|
} | {
|
|
@@ -35,7 +35,7 @@ export type TPrepareFormRes = {
|
|
|
35
35
|
expandedPaths: string[][] | undefined;
|
|
36
36
|
persistedPaths: string[][] | undefined;
|
|
37
37
|
sortPaths: string[][] | undefined;
|
|
38
|
-
|
|
38
|
+
kind: string | undefined;
|
|
39
39
|
isNamespaced: boolean;
|
|
40
40
|
formPrefills?: TFormPrefill;
|
|
41
41
|
namespacesData?: string[];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from '../k8s';
|
|
2
2
|
export type TCheckIfApiInstanceNamespaceScopedReq = {
|
|
3
|
-
|
|
3
|
+
plural: string;
|
|
4
4
|
apiGroup: string;
|
|
5
5
|
apiVersion: string;
|
|
6
|
-
|
|
6
|
+
cluster: string;
|
|
7
7
|
};
|
|
8
8
|
export type TCheckIfApiInstanceNamespaceScopedRes = {
|
|
9
9
|
isClusterWide: boolean;
|
|
10
10
|
isNamespaceScoped: boolean;
|
|
11
11
|
};
|
|
12
12
|
export type TCheckIfBuiltInInstanceNamespaceScopedReq = {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
plural: string;
|
|
14
|
+
cluster: string;
|
|
15
15
|
};
|
|
16
16
|
export type TCheckIfBuiltInInstanceNamespaceScopedRes = {
|
|
17
17
|
isClusterWide: boolean;
|
|
@@ -22,12 +22,12 @@ export type TFilterIfApiInstanceNamespaceScopedReq = {
|
|
|
22
22
|
data?: TApiGroupResourceTypeList;
|
|
23
23
|
apiGroup: string;
|
|
24
24
|
apiVersion: string;
|
|
25
|
-
|
|
25
|
+
cluster: string;
|
|
26
26
|
};
|
|
27
27
|
export type TFilterIfApiInstanceNamespaceScopedRes = TApiGroupResourceTypeList['resources'] | undefined;
|
|
28
28
|
export type TFilterIfBuiltInInstanceNamespaceScopedReq = {
|
|
29
29
|
namespace?: string;
|
|
30
30
|
data?: TBuiltinResourceTypeList;
|
|
31
|
-
|
|
31
|
+
cluster: string;
|
|
32
32
|
};
|
|
33
33
|
export type TFilterIfBuiltInInstanceNamespaceScopedRes = TBuiltinResourceTypeList['resources'] | undefined;
|
|
@@ -3,10 +3,10 @@ export type TPrepareTableReq = {
|
|
|
3
3
|
customizationId?: string;
|
|
4
4
|
tableMappingsReplaceValues?: Record<string, string | undefined>;
|
|
5
5
|
forceDefaultAdditionalPrinterColumns?: TAdditionalPrinterColumns;
|
|
6
|
-
|
|
6
|
+
cluster: string;
|
|
7
7
|
namespace?: string;
|
|
8
8
|
k8sResource?: {
|
|
9
|
-
|
|
9
|
+
plural: string;
|
|
10
10
|
apiGroup?: string;
|
|
11
11
|
apiVersion: string;
|
|
12
12
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type TNavigationResource = unknown & {
|
|
2
|
+
metadata: {
|
|
3
|
+
name: string;
|
|
4
|
+
creationTimestamp: string;
|
|
5
|
+
uid?: string;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
};
|
|
8
|
+
spec?: {
|
|
9
|
+
projects?: {
|
|
10
|
+
clear: string;
|
|
11
|
+
change: string;
|
|
12
|
+
};
|
|
13
|
+
instances?: {
|
|
14
|
+
clear: string;
|
|
15
|
+
change: string;
|
|
16
|
+
mapOptionsPattern?: string;
|
|
17
|
+
};
|
|
18
|
+
namespaces?: {
|
|
19
|
+
clear: string;
|
|
20
|
+
change: string;
|
|
21
|
+
};
|
|
22
|
+
baseFactoriesMapping?: Record<string, string>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { createContextFactory } from './createContextFactory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { deepMerge } from './deepMerge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { filterSelectOptions } from './filterSelectOptions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getAllPathsFromObj } from './getAllPathsFromObj';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TApiGroupList, TBuiltinResourceTypeList } from '../../localTypes/k8s';
|
|
2
|
-
export declare const getGroupsByCategory: ({
|
|
3
|
-
|
|
2
|
+
export declare const getGroupsByCategory: ({ cluster, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
|
|
3
|
+
cluster: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
apiGroupListData?: {
|
|
6
6
|
apiVersion: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getGroupsByCategory } from './getGroupsByCategory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getPrefixSubarrays } from './getPrefixSubArrays';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type TApiVersionParts = {
|
|
2
|
+
apiGroup?: string;
|
|
3
|
+
apiVersion: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const parseApiVersion: (apiVersion: string) => TApiVersionParts;
|
|
6
|
+
export declare const getResourceLink: ({ baseprefix, cluster, namespace, apiGroupVersion, pluralName, name, baseFactoryNamespacedAPIKey, baseFactoryClusterSceopedAPIKey, baseFactoryNamespacedBuiltinKey, baseFactoryClusterSceopedBuiltinKey, baseFactoriesMapping, }: {
|
|
7
|
+
baseprefix?: string | undefined;
|
|
8
|
+
cluster: string;
|
|
9
|
+
namespace?: string | undefined;
|
|
10
|
+
apiGroupVersion: string;
|
|
11
|
+
pluralName?: string | undefined;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
baseFactoryNamespacedAPIKey: string;
|
|
14
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
15
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
16
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
17
|
+
baseFactoriesMapping?: Record<string, string> | undefined;
|
|
18
|
+
}) => string | undefined;
|
|
19
|
+
export declare const getNamespaceLink: ({ baseprefix, cluster, apiGroupVersion, pluralName, namespace, baseNamespaceFactoryKey, }: {
|
|
20
|
+
baseprefix?: string | undefined;
|
|
21
|
+
cluster: string;
|
|
22
|
+
pluralName: string;
|
|
23
|
+
apiGroupVersion: string;
|
|
24
|
+
namespace?: string | undefined;
|
|
25
|
+
baseNamespaceFactoryKey: string;
|
|
26
|
+
}) => string | undefined;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getResourceLink, getNamespaceLink } from './getResourceLink';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getSortedKinds } from './getSortedKinds';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getSortedKindsAll } from './getSortedKindsAll';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getStringByName } from './getStringByName';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getUppercase } from './getUppercase';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { groupsToTreeData, getBuiltinTreeData } from './groupsToTreeData';
|
|
2
|
+
export type { TGroupsToTreeDataProps } from './groupsToTreeData';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { hslFromString } from './hslFromString';
|