@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.5 → 0.0.1-alpha.50
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 +19736 -35225
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +517 -410
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/api/bff/scopes/checkScopes.d.ts +11 -0
- package/dist/types/api/bff/scopes/filterScopes.d.ts +22 -0
- package/dist/types/api/bff/swagger/getSwagger.d.ts +5 -0
- package/dist/types/api/forms.d.ts +12 -0
- package/dist/types/api/getApiResource.d.ts +17 -0
- package/dist/types/api/getApiResourceTypes.d.ts +9 -0
- package/dist/types/api/getBuiltinResource.d.ts +13 -0
- package/dist/types/api/getBuiltinResourceTypes.d.ts +4 -0
- package/dist/types/api/getClusterList.d.ts +3 -0
- package/dist/types/api/getCrdData.d.ts +6 -0
- package/dist/types/api/getCrdResource.d.ts +16 -0
- package/dist/types/api/permissions.d.ts +14 -0
- package/dist/types/components/atoms/ContentCard/ContentCard.d.ts +8 -0
- package/dist/types/components/atoms/ContentCard/index.d.ts +2 -0
- package/dist/types/components/atoms/ContentCard/styled.d.ts +13 -0
- package/dist/types/components/atoms/DeleteModal/DeleteModal.d.ts +7 -0
- package/dist/types/components/atoms/DeleteModal/index.d.ts +2 -0
- package/dist/types/components/atoms/DeleteModalMany/DeleteModalMany.d.ts +9 -0
- package/dist/types/components/atoms/DeleteModalMany/index.d.ts +2 -0
- package/dist/types/components/atoms/Icons/BackToDefaultIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/CustomFeedBackIcons.d.ts +6 -0
- package/dist/types/components/atoms/Icons/DeleteIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/DownIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/EditIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/LockedIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/MinusIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/PlusIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/SuccessIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/UnlockedIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/UpIcon.d.ts +2 -0
- package/dist/types/components/atoms/Icons/index.d.ts +11 -0
- package/dist/types/components/atoms/Spacer/Spacer.d.ts +7 -0
- package/dist/types/components/atoms/Spacer/index.d.ts +2 -0
- package/dist/types/components/atoms/TreeWithSearch/TreeWithSearch.d.ts +7 -0
- package/dist/types/components/atoms/TreeWithSearch/index.d.ts +2 -0
- package/dist/types/components/atoms/TreeWithSearch/styled.d.ts +276 -0
- package/dist/types/components/atoms/index.d.ts +6 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/ArrayInsideContainer.d.ts +4 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/styled.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +13 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/styled.d.ts +288 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/CustomSizeTitle.d.ts +6 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +11 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/HeightContainer.d.ts +6 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/PossibleHiddenContainer.d.ts +6 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +49 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/FormArrayHeader.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/styled.d.ts +548 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +20 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +22 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +12 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +20 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +35 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +18 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/YamlEditor.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/styled.d.ts +276 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +17 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/styled.d.ts +13 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +11 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +33 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.d.ts +27 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +311 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +192 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +36 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/index.d.ts +2 -0
- package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +30 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/FilterDropdown.d.ts +11 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/ShortenedTextWithTooltip.d.ts +8 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/styled.d.ts +9 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/TableComponents.d.ts +284 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/TextAlignContainer.d.ts +6 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +312 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/TrimmedTags.d.ts +7 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/index.d.ts +6 -0
- package/dist/types/components/molecules/EnrichedTable/index.d.ts +3 -0
- package/dist/types/components/molecules/EnrichedTable/types.d.ts +16 -0
- package/dist/types/components/molecules/EnrichedTable/utils.d.ts +17 -0
- package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +45 -0
- package/dist/types/components/molecules/EnrichedTableProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/EnrichedTableProvider/utils.d.ts +25 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +12 -3
- package/dist/types/components/molecules/ManageableBreadcrumbs/index.d.ts +2 -2
- package/dist/types/components/molecules/ManageableBreadcrumbs/styled.d.ts +3 -3
- package/dist/types/components/molecules/ManageableBreadcrumbs/types.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/utils.d.ts +3 -7
- package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +22 -0
- package/dist/types/components/molecules/ManageableSidebar/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableSidebar/styled.d.ts +10 -0
- package/dist/types/components/molecules/ManageableSidebar/types.d.ts +19 -0
- package/dist/types/components/molecules/ManageableSidebar/utils.d.ts +16 -0
- package/dist/types/components/molecules/MarketPlace/MarketPlace.d.ts +11 -0
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/AddCard.d.ts +6 -0
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/index.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/styled.d.ts +310 -0
- package/dist/types/components/molecules/MarketPlace/atoms/index.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/index.d.ts +4 -0
- package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +17 -0
- package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/index.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +12 -0
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/index.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/styled.d.ts +1924 -0
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.d.ts +28 -0
- package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/SearchTextInput.d.ts +8 -0
- package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/index.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/molecules/index.d.ts +3 -0
- package/dist/types/components/molecules/MarketPlace/styled.d.ts +276 -0
- package/dist/types/components/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +15 -0
- package/dist/types/components/molecules/ProjectInfoCard/index.d.ts +2 -0
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/DropdownAccessGroups.d.ts +6 -0
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/index.d.ts +1 -0
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/DropdownActions.d.ts +7 -0
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/index.d.ts +1 -0
- package/dist/types/components/molecules/ProjectInfoCard/molecules/index.d.ts +2 -0
- package/dist/types/components/molecules/ProjectInfoCard/styled.d.ts +548 -0
- package/dist/types/components/molecules/index.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/AntdButton.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/AntdCard.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/AntdCol.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/AntdFlex.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/AntdRow.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/AntdTabs.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/AntdText.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/ContentCard.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/DefaultDiv.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/MarketplaceCard.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/MultiQuery.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/ParsedText.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/PartsOfUrl.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/SidebarProvider.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/Spacer.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/StatusText.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +17 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +86 -0
- package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +7 -0
- package/dist/types/components/organisms/DynamicRenderer/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +6 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/multiQueryProvider.d.ts +17 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/partsOfUrlContext.d.ts +9 -0
- package/dist/types/components/organisms/index.d.ts +3 -0
- package/dist/types/hooks/useApiResource.d.ts +28 -0
- package/dist/types/hooks/useApisResourceTypes.d.ts +30 -0
- package/dist/types/hooks/useBuiltinResource.d.ts +24 -0
- package/dist/types/hooks/useBuiltinResourceTypes.d.ts +4 -0
- package/dist/types/hooks/useClusterList.d.ts +3 -0
- package/dist/types/hooks/useCrdData.d.ts +25 -0
- package/dist/types/hooks/useCrdResource.d.ts +38 -0
- package/dist/types/hooks/useDirectUnknownResource.d.ts +2 -1
- package/dist/types/hooks/usePermissions.d.ts +13 -0
- package/dist/types/index.d.ts +34 -0
- package/dist/types/localTypes/JSON.d.ts +3 -0
- package/dist/types/localTypes/api.d.ts +8 -0
- package/dist/types/localTypes/bff/form.d.ts +52 -0
- package/dist/types/localTypes/bff/scopes.d.ts +33 -0
- package/dist/types/localTypes/bff/swagger.d.ts +2 -0
- package/dist/types/localTypes/clusterList.d.ts +7 -0
- package/dist/types/localTypes/dynamicRender.d.ts +29 -0
- package/dist/types/localTypes/form.d.ts +26 -0
- package/dist/types/localTypes/formExtensions.d.ts +52 -0
- package/dist/types/localTypes/k8s.d.ts +96 -0
- package/dist/types/localTypes/marketplace.d.ts +27 -0
- package/dist/types/localTypes/richTable.d.ts +31 -0
- package/dist/types/utils/createContextFactory/createContextFactory.d.ts +7 -0
- package/dist/types/utils/createContextFactory/index.d.ts +1 -0
- package/dist/types/utils/filterSelectOptions/filterSelectOptions.d.ts +2 -0
- package/dist/types/utils/filterSelectOptions/index.d.ts +1 -0
- package/dist/types/utils/getAllPathsFromObj/getAllPathsFromObj.d.ts +3 -0
- package/dist/types/utils/getAllPathsFromObj/index.d.ts +1 -0
- package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +53 -0
- package/dist/types/utils/getGroupsByCategory/index.d.ts +1 -0
- package/dist/types/utils/getPrefixSubArrays/getPrefixSubArrays.d.ts +1 -0
- package/dist/types/utils/getPrefixSubArrays/index.d.ts +1 -0
- package/dist/types/utils/getStringByName/getStringByName.d.ts +2 -0
- package/dist/types/utils/getStringByName/index.d.ts +1 -0
- package/dist/types/utils/groupsToTreeData/groupsToTreeData.d.ts +7 -0
- package/dist/types/utils/groupsToTreeData/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +14 -0
- package/dist/types/utils/isFlatObject/index.d.ts +1 -0
- package/dist/types/utils/isFlatObject/isFlatObject.d.ts +1 -0
- package/dist/types/utils/nestedStringsArrayInclude/index.d.ts +1 -0
- package/dist/types/utils/nestedStringsArrayInclude/nestedStringsArrayInclude.d.ts +1 -0
- package/dist/types/utils/normalizeValuesForQuotas/index.d.ts +1 -0
- package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +2 -0
- package/dist/types/utils/parseColumnsOverrides/guards.d.ts +21 -0
- package/dist/types/utils/parseColumnsOverrides/index.d.ts +2 -0
- package/dist/types/utils/parseColumnsOverrides/parseColumnsOverrides.d.ts +22 -0
- package/dist/types/utils/parseForQuotaValues/index.d.ts +1 -0
- package/dist/types/utils/parseForQuotaValues/parseForQuotaValues.d.ts +4 -0
- package/dist/types/utils/prepareTableMappings/index.d.ts +1 -0
- package/dist/types/utils/prepareTableMappings/prepareTableMappings.d.ts +20 -0
- package/dist/types/utils/prepareTemplate/index.d.ts +1 -0
- package/dist/types/utils/prepareTemplate/prepareTemplate.d.ts +4 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.d.ts +4 -0
- package/package.json +25 -15
- package/dist/types/components/molecules/ManageableBreadcrumbs/prepareDataForManageableBreadcrumbs.test.d.ts +0 -1
- /package/dist/types/{components/molecules/ManageableBreadcrumbs → utils/prepareTemplate}/prepareTemplate.test.d.ts +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export type TItemTypeMap = Record<string, unknown>;
|
|
3
|
+
export type TRenderableItem<T extends TItemTypeMap> = {
|
|
4
|
+
[K in keyof T]: {
|
|
5
|
+
type: K;
|
|
6
|
+
data: T[K];
|
|
7
|
+
children?: readonly TRenderableItem<T>[];
|
|
8
|
+
};
|
|
9
|
+
}[keyof T];
|
|
10
|
+
export type TRendererComponents<T extends TItemTypeMap> = {
|
|
11
|
+
[K in keyof T]: React.ComponentType<{
|
|
12
|
+
data: T[K];
|
|
13
|
+
children?: ReactElement | ReactElement[];
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export type TFactoryDataK8s<T extends TItemTypeMap> = {
|
|
17
|
+
key: string;
|
|
18
|
+
urlsToFetch: string[];
|
|
19
|
+
data: TRenderableItem<T>[];
|
|
20
|
+
};
|
|
21
|
+
export type TFactoryResource<T extends TItemTypeMap> = {
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
kind: string;
|
|
24
|
+
spec: TFactoryDataK8s<T>;
|
|
25
|
+
} & unknown;
|
|
26
|
+
export type TFactoryResponse<T extends TItemTypeMap> = {
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
items: TFactoryResource<T>[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DefaultOptionType } from 'antd/es/select';
|
|
2
|
+
export type TNamespaceData = {
|
|
3
|
+
filterSelectOptions: (input: string, option?: DefaultOptionType) => boolean;
|
|
4
|
+
selectValues: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
} | undefined;
|
|
10
|
+
export type TFormName = string | number | string[] | number[] | (string | number)[];
|
|
11
|
+
export type TExpandedControls = {
|
|
12
|
+
onExpandOpen: (value: TFormName) => void;
|
|
13
|
+
onExpandClose: (value: TFormName) => void;
|
|
14
|
+
expandedKeys: TFormName[];
|
|
15
|
+
};
|
|
16
|
+
export type TPersistedControls = {
|
|
17
|
+
onPersistMark: (value: TFormName, type?: 'str' | 'number' | 'arr' | 'obj') => void;
|
|
18
|
+
onPersistUnmark: (value: TFormName) => void;
|
|
19
|
+
persistedKeys: TFormName[];
|
|
20
|
+
};
|
|
21
|
+
export type TUrlParams = {
|
|
22
|
+
clusterName?: string;
|
|
23
|
+
namespace?: string;
|
|
24
|
+
syntheticProject?: string;
|
|
25
|
+
entryName?: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export type TFormPrefill = {
|
|
2
|
+
spec: {
|
|
3
|
+
customizationId: string;
|
|
4
|
+
values: {
|
|
5
|
+
path: (string | number)[];
|
|
6
|
+
value: unknown;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type TRangeInputCustomValue = {
|
|
11
|
+
type: 'number';
|
|
12
|
+
value: number;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'substractResourceValues';
|
|
15
|
+
firstValueUri: string;
|
|
16
|
+
firstValuesKeysToValue: string[];
|
|
17
|
+
secondValueUri: string;
|
|
18
|
+
secondValuesKeysToValue: string[];
|
|
19
|
+
} | {
|
|
20
|
+
type: 'addResourceValues';
|
|
21
|
+
firstValueUri: string;
|
|
22
|
+
firstValuesKeysToValue: string[];
|
|
23
|
+
secondValueUri: string;
|
|
24
|
+
secondValuesKeysToValue: string[];
|
|
25
|
+
} | {
|
|
26
|
+
type: 'resourceValue';
|
|
27
|
+
valueUri: string;
|
|
28
|
+
keysToValue: string[];
|
|
29
|
+
};
|
|
30
|
+
export type TRangeInputCustomValuesBlock = {
|
|
31
|
+
min: TRangeInputCustomValue;
|
|
32
|
+
max: TRangeInputCustomValue;
|
|
33
|
+
step: number;
|
|
34
|
+
};
|
|
35
|
+
export type TRangeInputCustomProps = {
|
|
36
|
+
logic: 'memoryLike' | 'cpuLike';
|
|
37
|
+
add: TRangeInputCustomValuesBlock;
|
|
38
|
+
edit: TRangeInputCustomValuesBlock;
|
|
39
|
+
};
|
|
40
|
+
export type TListInputCustomProps = {
|
|
41
|
+
valueUri: string;
|
|
42
|
+
keysToValue: string[];
|
|
43
|
+
keysToLabel?: string[];
|
|
44
|
+
mode?: 'multiple' | 'tags';
|
|
45
|
+
criteria?: {
|
|
46
|
+
keysToValue: string[];
|
|
47
|
+
type: 'equals' | 'notEquals';
|
|
48
|
+
value: unknown;
|
|
49
|
+
keepPrefilled?: boolean;
|
|
50
|
+
};
|
|
51
|
+
relatedValuePath?: string[];
|
|
52
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { TJSON } from './JSON';
|
|
2
|
+
import { TAdditionalPrinterColumns } from './richTable';
|
|
3
|
+
export type TApiGroupList = {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
kind: string;
|
|
6
|
+
groups: {
|
|
7
|
+
name: string;
|
|
8
|
+
versions: {
|
|
9
|
+
groupVersion: string;
|
|
10
|
+
version: string;
|
|
11
|
+
}[];
|
|
12
|
+
preferredVersion: {
|
|
13
|
+
groupVersion: string;
|
|
14
|
+
version: string;
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
} & unknown;
|
|
18
|
+
export type TApiGroupResourceTypeList = {
|
|
19
|
+
apiVersion: string;
|
|
20
|
+
kind: string;
|
|
21
|
+
groupVersion: string;
|
|
22
|
+
resources: ({
|
|
23
|
+
name: string;
|
|
24
|
+
kind: string;
|
|
25
|
+
} & unknown)[];
|
|
26
|
+
} & unknown;
|
|
27
|
+
export type TBuiltinResourceTypeList = {
|
|
28
|
+
kind: string;
|
|
29
|
+
groupVersion: string;
|
|
30
|
+
resources: {
|
|
31
|
+
name: string;
|
|
32
|
+
singularName: string;
|
|
33
|
+
namespaced: boolean;
|
|
34
|
+
kind: string;
|
|
35
|
+
verbs: string[];
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
export type TSingleResource = unknown & {
|
|
39
|
+
metadata: {
|
|
40
|
+
name: string;
|
|
41
|
+
creationTimestamp: string;
|
|
42
|
+
namespace?: string;
|
|
43
|
+
managedFields?: any;
|
|
44
|
+
};
|
|
45
|
+
spec?: TJSON;
|
|
46
|
+
status?: any;
|
|
47
|
+
};
|
|
48
|
+
export type TBuiltinResources = {
|
|
49
|
+
kind: string;
|
|
50
|
+
apiVersion: string;
|
|
51
|
+
metadata: {
|
|
52
|
+
name: string;
|
|
53
|
+
};
|
|
54
|
+
items: TSingleResource[];
|
|
55
|
+
};
|
|
56
|
+
export type TApiResources = {
|
|
57
|
+
kind: string;
|
|
58
|
+
apiVersion: string;
|
|
59
|
+
metadata: {
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
62
|
+
items: TSingleResource[];
|
|
63
|
+
};
|
|
64
|
+
export type TCrdResources<T = TJSON[]> = {
|
|
65
|
+
kind: string;
|
|
66
|
+
apiVersion: string;
|
|
67
|
+
metadata: {
|
|
68
|
+
managedFields?: any;
|
|
69
|
+
};
|
|
70
|
+
items: T;
|
|
71
|
+
status?: {
|
|
72
|
+
allowed?: boolean;
|
|
73
|
+
reason?: string;
|
|
74
|
+
};
|
|
75
|
+
} & unknown;
|
|
76
|
+
export type TCRD = {
|
|
77
|
+
apiVersion: string;
|
|
78
|
+
metadata: {
|
|
79
|
+
managedFields?: any;
|
|
80
|
+
};
|
|
81
|
+
spec: {
|
|
82
|
+
names: {
|
|
83
|
+
kind: string;
|
|
84
|
+
singular: string;
|
|
85
|
+
plural: string;
|
|
86
|
+
};
|
|
87
|
+
versions: {
|
|
88
|
+
name: string;
|
|
89
|
+
additionalPrinterColumns: TAdditionalPrinterColumns;
|
|
90
|
+
}[];
|
|
91
|
+
group: string;
|
|
92
|
+
};
|
|
93
|
+
status: {
|
|
94
|
+
storedVersions: string[];
|
|
95
|
+
};
|
|
96
|
+
} & unknown;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type TMarketPlacePanel = {
|
|
2
|
+
name: string;
|
|
3
|
+
description: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
type: 'crd' | 'nonCrd' | 'built-in' | 'direct';
|
|
6
|
+
apiGroup?: string;
|
|
7
|
+
apiVersion?: string;
|
|
8
|
+
typeName?: string;
|
|
9
|
+
pathToNav?: string;
|
|
10
|
+
tags: string[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
hidden?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type TMarketPlacePanelResource = {
|
|
15
|
+
metadata: {
|
|
16
|
+
name: string;
|
|
17
|
+
resourceVersion: string;
|
|
18
|
+
uid: string;
|
|
19
|
+
};
|
|
20
|
+
spec: TMarketPlacePanel;
|
|
21
|
+
};
|
|
22
|
+
export type TMarketPlacePanelResponse = {
|
|
23
|
+
metadata: {
|
|
24
|
+
name: string;
|
|
25
|
+
};
|
|
26
|
+
items: TMarketPlacePanelResource[];
|
|
27
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type TAdditionalPrinterColumns = {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
jsonPath: string;
|
|
5
|
+
}[];
|
|
6
|
+
export type TAdditionalPrinterColumnsUndefinedValues = {
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
export type TAdditionalPrinterColumnsTrimLengths = {
|
|
11
|
+
key: string;
|
|
12
|
+
value: number;
|
|
13
|
+
}[];
|
|
14
|
+
export type TAdditionalPrinterColumnsColWidths = {
|
|
15
|
+
key: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
export type TTableMappingData = {
|
|
19
|
+
pathToMatch: string;
|
|
20
|
+
pathToNavigate: string;
|
|
21
|
+
keysToParse: string[];
|
|
22
|
+
};
|
|
23
|
+
export type TTableMappingResource = {
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
kind: string;
|
|
26
|
+
spec: TTableMappingData;
|
|
27
|
+
} & unknown;
|
|
28
|
+
export type TTableMappingResponse = {
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
items: TTableMappingResource[];
|
|
31
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const createContextFactory: <TContextValue extends Record<string, unknown>>() => {
|
|
3
|
+
Provider: ({ children, value }: React.PropsWithChildren<{
|
|
4
|
+
value: TContextValue;
|
|
5
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
useTypedContext: () => TContextValue;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createContextFactory';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filterSelectOptions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getAllPathsFromObj';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TApiGroupList, TBuiltinResourceTypeList } from '../../localTypes/k8s';
|
|
2
|
+
export declare const getGroupsByCategory: ({ clusterName, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
|
|
3
|
+
clusterName: string;
|
|
4
|
+
namespace?: string | undefined;
|
|
5
|
+
apiGroupListData?: {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
kind: string;
|
|
8
|
+
groups: {
|
|
9
|
+
name: string;
|
|
10
|
+
versions: {
|
|
11
|
+
groupVersion: string;
|
|
12
|
+
version: string;
|
|
13
|
+
}[];
|
|
14
|
+
preferredVersion: {
|
|
15
|
+
groupVersion: string;
|
|
16
|
+
version: string;
|
|
17
|
+
};
|
|
18
|
+
}[];
|
|
19
|
+
} | undefined;
|
|
20
|
+
builtinResourceTypesData?: TBuiltinResourceTypeList | undefined;
|
|
21
|
+
noncrds?: string[] | undefined;
|
|
22
|
+
}) => Promise<{
|
|
23
|
+
crdGroups?: {
|
|
24
|
+
name: string;
|
|
25
|
+
versions: {
|
|
26
|
+
groupVersion: string;
|
|
27
|
+
version: string;
|
|
28
|
+
}[];
|
|
29
|
+
preferredVersion: {
|
|
30
|
+
groupVersion: string;
|
|
31
|
+
version: string;
|
|
32
|
+
};
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
nonCrdGroups?: {
|
|
35
|
+
name: string;
|
|
36
|
+
versions: {
|
|
37
|
+
groupVersion: string;
|
|
38
|
+
version: string;
|
|
39
|
+
}[];
|
|
40
|
+
preferredVersion: {
|
|
41
|
+
groupVersion: string;
|
|
42
|
+
version: string;
|
|
43
|
+
};
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
builtinGroups?: {
|
|
46
|
+
name: string;
|
|
47
|
+
singularName: string;
|
|
48
|
+
namespaced: boolean;
|
|
49
|
+
kind: string;
|
|
50
|
+
verbs: string[];
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
apiExtensionVersion?: string | undefined;
|
|
53
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getGroupsByCategory';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPrefixSubarrays: (arr: (string | number)[]) => (string | number)[][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getPrefixSubArrays';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getStringByName';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DataNode } from 'antd/es/tree';
|
|
2
|
+
export type TGroupsToTreeDataProps = {
|
|
3
|
+
apis: string[];
|
|
4
|
+
highlightString: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const groupsToTreeData: (entries: TGroupsToTreeDataProps) => DataNode[];
|
|
7
|
+
export declare const getBuiltinTreeData: (apis: string[]) => DataNode[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './groupsToTreeData';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './prepareTemplate';
|
|
2
|
+
export * from './isFlatObject';
|
|
3
|
+
export * from './filterSelectOptions';
|
|
4
|
+
export * from './getStringByName';
|
|
5
|
+
export * from './parseForQuotaValues';
|
|
6
|
+
export * from './normalizeValuesForQuotas';
|
|
7
|
+
export * from './getAllPathsFromObj';
|
|
8
|
+
export * from './getPrefixSubArrays';
|
|
9
|
+
export * from './groupsToTreeData';
|
|
10
|
+
export * from './getGroupsByCategory';
|
|
11
|
+
export * from './prepareTableMappings';
|
|
12
|
+
export * from './parseColumnsOverrides';
|
|
13
|
+
export * from './createContextFactory';
|
|
14
|
+
export * from './prepareUrlsToFetchForDynamicRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './isFlatObject';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isFlatObject: (obj: Record<string, any>) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './nestedStringsArrayInclude';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const includesArray: (matrix: string[][] | undefined, target: (string | number)[]) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './normalizeValuesForQuotas';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from '../../localTypes/richTable';
|
|
2
|
+
export declare const isWithAdditionalPrinterColumns: (x: any) => x is {
|
|
3
|
+
spec: {
|
|
4
|
+
additionalPrinterColumns: TAdditionalPrinterColumns;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const isWithAdditionalPrinterColumnsUndefinedValues: (x: any) => x is {
|
|
8
|
+
spec: {
|
|
9
|
+
additionalPrinterColumnsUndefinedValues: TAdditionalPrinterColumnsUndefinedValues;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const isWithAdditionalPrinterColumnsTrimLengths: (x: any) => x is {
|
|
13
|
+
spec: {
|
|
14
|
+
additionalPrinterColumnsTrimLengths: TAdditionalPrinterColumnsTrimLengths;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const isWithAdditionalPrinterColumnsColWidths: (x: any) => x is {
|
|
18
|
+
spec: {
|
|
19
|
+
additionalPrinterColumnsColWidths: TAdditionalPrinterColumnsColWidths;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TCrdResources } from '../../localTypes/k8s';
|
|
2
|
+
import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths } from '../../localTypes/richTable';
|
|
3
|
+
export declare const parseCustomOverrides: ({ columnsOverridesData, overrideType, }: {
|
|
4
|
+
columnsOverridesData?: {
|
|
5
|
+
kind: string;
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
metadata: {
|
|
8
|
+
managedFields?: any;
|
|
9
|
+
};
|
|
10
|
+
items: import("../..").TJSON[];
|
|
11
|
+
status?: {
|
|
12
|
+
allowed?: boolean | undefined;
|
|
13
|
+
reason?: string | undefined;
|
|
14
|
+
} | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
overrideType: string;
|
|
17
|
+
}) => {
|
|
18
|
+
ensuredCustomOverrides?: TAdditionalPrinterColumns | undefined;
|
|
19
|
+
ensuredCustomOverridesUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues | undefined;
|
|
20
|
+
ensuredCustomOverridesTrimLengths?: TAdditionalPrinterColumnsTrimLengths | undefined;
|
|
21
|
+
ensuredCustomOverridesColWidths?: TAdditionalPrinterColumnsColWidths | undefined;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './parseForQuotaValues';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function floorToDecimal(num: number, decimalPlaces: number): number;
|
|
2
|
+
export declare const parseQuotaValue: (key: string, val: string) => number;
|
|
3
|
+
export declare const parseQuotaValueCpu: (val?: string | number | null) => number;
|
|
4
|
+
export declare const parseQuotaValueMemoryAndStorage: (val?: string | number | null) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prepareTableMappings';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TTableMappingData } from '../../localTypes/richTable';
|
|
2
|
+
export declare const prepareTableMappings: ({ data, clusterName, projectName, instanceName, namespace, syntheticProject, entryType, apiGroup, apiVersion, typeName, entryName, apiExtensionVersion, crdName, pathname, }: {
|
|
3
|
+
data: Partial<TTableMappingData>[];
|
|
4
|
+
clusterName?: string | undefined;
|
|
5
|
+
projectName?: string | undefined;
|
|
6
|
+
instanceName?: string | undefined;
|
|
7
|
+
namespace?: string | undefined;
|
|
8
|
+
syntheticProject?: string | undefined;
|
|
9
|
+
entryType?: string | undefined;
|
|
10
|
+
apiGroup?: string | undefined;
|
|
11
|
+
apiVersion?: string | undefined;
|
|
12
|
+
typeName?: string | undefined;
|
|
13
|
+
entryName?: string | undefined;
|
|
14
|
+
apiExtensionVersion?: string | undefined;
|
|
15
|
+
crdName?: string | undefined;
|
|
16
|
+
pathname: string;
|
|
17
|
+
}) => {
|
|
18
|
+
pathToNavigate?: string;
|
|
19
|
+
keysToParse?: string[];
|
|
20
|
+
} | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prepareTemplate';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prepareUrlsToFetchForDynamicRenderer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prorobotech/openapi-k8s-toolkit",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.50",
|
|
4
4
|
"description": "ProRobotech OpenAPI k8s tools",
|
|
5
5
|
"main": "dist/openapi-k8s-toolkit.cjs.js",
|
|
6
6
|
"module": "dist/openapi-k8s-toolkit.es.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "cross-env BASEPREFIX=/toolkit vite --open --port 3002 --strictPort",
|
|
17
|
-
"build": "vite build && tsc",
|
|
17
|
+
"build": "vite build && tsc && tsc-alias -p tsconfig.json",
|
|
18
18
|
"serve": "vite preview --port 3002 --strictPort",
|
|
19
19
|
"preview": "vite preview --port 3002 --strictPort",
|
|
20
20
|
"tsc": "tsc --project tsconfig.json",
|
|
@@ -25,23 +25,25 @@
|
|
|
25
25
|
"test:watch": "jest --watch",
|
|
26
26
|
"test:coverage": "jest --coverage"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"peerDependencies": {
|
|
29
29
|
"@ant-design/icons": "5.6.0",
|
|
30
|
-
"@monaco-editor/react": "4.6.0",
|
|
31
|
-
"@reduxjs/toolkit": "2.2.5",
|
|
32
30
|
"@tanstack/react-query": "5.62.2",
|
|
33
31
|
"@tanstack/react-query-devtools": "5.62.2",
|
|
34
32
|
"antd": "5.20.0",
|
|
33
|
+
"react": "18.3.1",
|
|
34
|
+
"react-dom": "18.3.1",
|
|
35
|
+
"react-router-dom": "^6.25.1"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@monaco-editor/react": "4.6.0",
|
|
39
|
+
"@reduxjs/toolkit": "2.2.5",
|
|
35
40
|
"axios": "1.4.0",
|
|
36
41
|
"cross-env": "7.0.3",
|
|
37
42
|
"dotenv": "16.4.7",
|
|
38
43
|
"jsonpath": "1.1.1",
|
|
39
44
|
"lodash": "4.17.21",
|
|
40
45
|
"openapi-types": "12.1.3",
|
|
41
|
-
"react": "18.3.1",
|
|
42
|
-
"react-dom": "18.3.1",
|
|
43
46
|
"react-redux": "9.1.2",
|
|
44
|
-
"react-router-dom": "6.25.1",
|
|
45
47
|
"styled-components": "6.0.7",
|
|
46
48
|
"typescript": "4.9.5",
|
|
47
49
|
"usehooks-ts": "3.1.1",
|
|
@@ -49,10 +51,13 @@
|
|
|
49
51
|
"yaml": "2.7.0"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
54
|
+
"@ant-design/icons": "5.6.0",
|
|
52
55
|
"@stylelint/postcss-css-in-js": "0.38.0",
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
+
"@tanstack/react-query": "5.62.2",
|
|
57
|
+
"@tanstack/react-query-devtools": "5.62.2",
|
|
58
|
+
"@testing-library/jest-dom": "6.6.3",
|
|
59
|
+
"@testing-library/react": "16.3.0",
|
|
60
|
+
"@types/jest": "29.5.14",
|
|
56
61
|
"@types/jsonpath": "0.2.4",
|
|
57
62
|
"@types/lodash": "4.17.13",
|
|
58
63
|
"@types/node": "20.5.4",
|
|
@@ -62,6 +67,7 @@
|
|
|
62
67
|
"@types/styled-components": "5.1.26",
|
|
63
68
|
"@typescript-eslint/eslint-plugin": "8.6.0",
|
|
64
69
|
"@vitejs/plugin-react-swc": "3.7.0",
|
|
70
|
+
"antd": "5.20.0",
|
|
65
71
|
"eslint": "8.57.1",
|
|
66
72
|
"eslint-config-airbnb": "19.0.4",
|
|
67
73
|
"eslint-config-prettier": "9.0.0",
|
|
@@ -70,15 +76,19 @@
|
|
|
70
76
|
"eslint-plugin-prettier": "5.0.0",
|
|
71
77
|
"eslint-plugin-react": "7.33.2",
|
|
72
78
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
73
|
-
"jest": "
|
|
74
|
-
"jest-environment-jsdom": "
|
|
79
|
+
"jest": "29.7.0",
|
|
80
|
+
"jest-environment-jsdom": "29.7.0",
|
|
75
81
|
"postcss": "8.5.2",
|
|
76
82
|
"postcss-styled-syntax": "0.7.1",
|
|
77
83
|
"prettier": "3.0.2",
|
|
84
|
+
"react": "18.3.1",
|
|
85
|
+
"react-dom": "18.3.1",
|
|
86
|
+
"react-router-dom": "6.25.1",
|
|
78
87
|
"stylelint": "16.14.1",
|
|
79
88
|
"stylelint-config-standard": "37.0.0",
|
|
80
|
-
"ts-jest": "
|
|
81
|
-
"ts-node": "
|
|
89
|
+
"ts-jest": "29.3.2",
|
|
90
|
+
"ts-node": "10.9.2",
|
|
91
|
+
"tsc-alias": "1.8.16",
|
|
82
92
|
"vite": "5.4.6",
|
|
83
93
|
"vite-plugin-node-polyfills": "0.22.0",
|
|
84
94
|
"vite-tsconfig-paths": "5.0.1"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|