@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.16 → 0.0.1-alpha.161
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 +52933 -18834
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +53533 -372
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/style.css +218 -0
- 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/search/getKinds.d.ts +4 -0
- package/dist/types/api/bff/swagger/getSwagger.d.ts +5 -0
- package/dist/types/api/forms.d.ts +8 -3
- package/dist/types/api/getApiResource.d.ts +6 -3
- package/dist/types/api/getApiResourceTypes.d.ts +2 -2
- package/dist/types/api/getBuiltinResource.d.ts +6 -3
- package/dist/types/api/getBuiltinResourceTypes.d.ts +1 -1
- package/dist/types/api/getCrdData.d.ts +1 -1
- package/dist/types/api/getCrdResource.d.ts +2 -2
- package/dist/types/api/getDirectUnknownResource.d.ts +1 -1
- package/dist/types/api/permissions.d.ts +4 -3
- package/dist/types/components/atoms/ContentCard/ContentCard.d.ts +9 -0
- package/dist/types/components/atoms/ContentCard/index.d.ts +2 -0
- package/dist/types/components/atoms/ContentCard/styled.d.ts +14 -0
- package/dist/types/components/atoms/CursorDefaultDiv/CursorDefaultDiv.d.ts +6 -0
- package/dist/types/components/atoms/CursorDefaultDiv/index.d.ts +1 -0
- package/dist/types/components/atoms/CursorPointerTag/CursorPointerTag.d.ts +285 -0
- package/dist/types/components/atoms/CursorPointerTag/index.d.ts +1 -0
- package/dist/types/components/atoms/CursorPointerTagMinContent/CursorPointerTagMinContent.d.ts +285 -0
- package/dist/types/components/atoms/CursorPointerTagMinContent/index.d.ts +1 -0
- package/dist/types/components/atoms/CustomSelect/CustomSelect.d.ts +7 -0
- package/dist/types/components/atoms/CustomSelect/index.d.ts +1 -0
- package/dist/types/components/atoms/CustomSelect/styled.d.ts +10 -0
- package/dist/types/components/atoms/FlexGrow/FlexGrow.d.ts +274 -0
- package/dist/types/components/atoms/FlexGrow/index.d.ts +1 -0
- package/dist/types/components/atoms/Icons/BackToDefaultIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/CustomFeedBackIcons.d.ts +6 -0
- package/dist/types/components/atoms/Icons/DeleteIcon.d.ts +7 -0
- package/dist/types/components/atoms/Icons/DownIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/EarthIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/EditIcon.d.ts +7 -0
- package/dist/types/components/atoms/Icons/LockedIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/LookingGlassIcon.d.ts +7 -0
- package/dist/types/components/atoms/Icons/MinusIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/PauseCircleIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/PlusIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/ResumeCircleIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/SuccessIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/UnlockedIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/UpIcon.d.ts +6 -0
- package/dist/types/components/atoms/Icons/index.d.ts +15 -0
- package/dist/types/components/atoms/PaddingContainer/PaddingContainer.d.ts +6 -0
- package/dist/types/components/atoms/PaddingContainer/index.d.ts +1 -0
- package/dist/types/components/atoms/UncontrolledSelect/UncontrolledSelect.d.ts +7 -0
- package/dist/types/components/atoms/UncontrolledSelect/index.d.ts +1 -0
- package/dist/types/components/atoms/UncontrolledSelect/styled.d.ts +10 -0
- package/dist/types/components/atoms/index.d.ts +9 -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 +4 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/styled.d.ts +7 -272
- 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/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 +6 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/utils.d.ts +3 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +4 -1
- 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 +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/FormInlineYamlEditor.d.ts +7 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/styled.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/utils.d.ts +5 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +0 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/FormStringMultilineInput.d.ts +20 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/helpers.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/styled.d.ts +548 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/YamlEditor.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/styled.d.ts +5 -273
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +5 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/styled.d.ts +12 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +4 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +8 -5
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.d.ts +27 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.d.ts +43 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/debugs.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/hiddenExpanded.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/prefills.d.ts +10 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +17 -546
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +36 -20
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +3 -12
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +0 -2
- package/dist/types/components/molecules/EnrichedTable/index.d.ts +1 -3
- package/dist/types/components/molecules/EnrichedTable/molecules/TableFactory/TableFactory.d.ts +9 -0
- package/dist/types/components/molecules/EnrichedTable/molecules/TableFactory/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +36 -0
- package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TableComponents/TableComponents.d.ts +2 -0
- package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TinyButton/TinyButton.d.ts +3 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/index.d.ts +3 -0
- package/dist/types/components/molecules/EnrichedTable/{types.d.ts → organisms/EnrichedTable/types.d.ts} +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +31 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +49 -0
- package/dist/types/components/molecules/{EnrichedTableProvider → EnrichedTable/organisms/EnrichedTableProvider}/index.d.ts +0 -1
- package/dist/types/components/molecules/{EnrichedTableProvider → EnrichedTable/organisms/EnrichedTableProvider}/utils.d.ts +3 -3
- package/dist/types/components/molecules/EnrichedTable/organisms/index.d.ts +2 -0
- package/dist/types/components/molecules/Events/Events.d.ts +16 -0
- package/dist/types/components/molecules/Events/index.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/EventRow.d.ts +16 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/index.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/styled.d.ts +830 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/utils.d.ts +24 -0
- package/dist/types/components/molecules/Events/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Events/reducer.d.ts +20 -0
- package/dist/types/components/molecules/Events/styled.d.ts +1650 -0
- package/dist/types/components/molecules/Events/types.d.ts +57 -0
- package/dist/types/components/molecules/Events/utils.d.ts +11 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +9 -6
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/CollapsibleBreadcrumb/CollapsibleBreadcrumb.d.ts +7 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/CollapsibleBreadcrumb/index.d.ts +1 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/CollapsibleBreadcrumb/styled.d.ts +820 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/types.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/utils.d.ts +5 -5
- package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +13 -6
- package/dist/types/components/molecules/ManageableSidebar/styled.d.ts +6 -318
- package/dist/types/components/molecules/ManageableSidebar/types.d.ts +3 -1
- package/dist/types/components/molecules/ManageableSidebar/utils.d.ts +6 -3
- package/dist/types/components/molecules/MarketPlace/MarketPlace.d.ts +14 -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 +297 -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 +14 -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 +1925 -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/{BlackholeForm/atoms/PersistedCheckbox → MarketPlace}/styled.d.ts +2 -3
- package/dist/types/components/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +16 -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/Search/Search.d.ts +18 -0
- package/dist/types/components/molecules/Search/index.d.ts +1 -0
- package/dist/types/components/molecules/Search/styled.d.ts +3361 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/NodeTerminal.d.ts +8 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/index.d.ts +2 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/XTerminal.d.ts +10 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/styled.d.ts +17 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/{BlackholeForm/atoms/CursorPointerText → Terminals/NodeTerminal}/styled.d.ts +164 -164
- package/dist/types/components/molecules/Terminals/PodLogs/PodLogs.d.ts +9 -0
- package/dist/types/components/molecules/Terminals/PodLogs/index.d.ts +2 -0
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/XTerminal/XTerminal.d.ts +11 -0
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/XTerminal/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/XTerminal/styled.d.ts +13 -0
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodLogs/styled.d.ts +276 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/PodLogsMonaco.d.ts +22 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/index.d.ts +2 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/MonacoEditor/MonacoEditor.d.ts +12 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/MonacoEditor/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/MonacoEditor/styled.d.ts +829 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/styled.d.ts +548 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/PodTerminal.d.ts +9 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/index.d.ts +2 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/XTerminal/XTerminal.d.ts +11 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/XTerminal/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/XTerminal/styled.d.ts +13 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/PodTerminal/styled.d.ts +276 -0
- package/dist/types/components/molecules/Terminals/index.d.ts +4 -0
- package/dist/types/components/molecules/index.d.ts +5 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/{FlexComponent/FlexComponent.d.ts → Annotations/Annotations.d.ts} +2 -2
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/types.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/utils.d.ts +6 -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/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/AntdLink/AntdLink.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdLink/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 +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/ArrayOfObjectsToKeyValues.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/utils.d.ts +5 -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/ConverterBytes/ConverterBytes.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/types.d.ts +10 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/utils.d.ts +15 -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/EnrichedTable/EnrichedTable.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/utils.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/Events.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/utils.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/ItemCounter.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/utils.d.ts +4 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/KeyCounter.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/utils.d.ts +4 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/Labels.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/EditModal.d.ts +20 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/utils.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/LabelsToSearchParams.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/utils.d.ts +5 -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/NodeTerminal/NodeTerminal.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/NodeTerminal/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/ParsedText/utils.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/PodLogs.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/utils.d.ts +16 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/PodTerminal.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/utils.d.ts +10 -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/ResourceBadge/ResourceBadge.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ResourceBadge/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ResourceBadge/styled.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/SecretBase64Plain.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/styled.d.ts +282 -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/StatusText/utils.d.ts +15 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/Taints.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/types.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/utils.d.ts +9 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/Tolerations.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/types.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/utils.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/VisibilityContainer.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/styled.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +33 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/utils.d.ts +28 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +315 -8
- package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +10 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/factoryConfigProvider.d.ts +9 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/multiQueryProvider.d.ts +18 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/themeContext.d.ts +8 -0
- package/dist/types/components/organisms/index.d.ts +1 -1
- package/dist/types/hooks/useApiResource.d.ts +5 -1
- package/dist/types/hooks/useBuiltinResource.d.ts +5 -1
- package/dist/types/hooks/useCrdData.d.ts +0 -1
- package/dist/types/hooks/useCrdResource.d.ts +2 -2
- package/dist/types/hooks/useListThenWatch/index.d.ts +3 -0
- package/dist/types/hooks/useListThenWatch/reducer.d.ts +20 -0
- package/dist/types/hooks/useListThenWatch/types.d.ts +30 -0
- package/dist/types/hooks/useListThenWatch/useInfiniteSentinel.d.ts +2 -0
- package/dist/types/hooks/useListThenWatch/useListWatch.d.ts +71 -0
- package/dist/types/hooks/useListThenWatch/utils.d.ts +11 -0
- package/dist/types/hooks/usePermissions.d.ts +5 -4
- package/dist/types/index.d.ts +17 -6
- package/dist/types/localTypes/JSON.d.ts +1 -1
- package/dist/types/localTypes/bff/form.d.ts +53 -0
- package/dist/types/localTypes/bff/scopes.d.ts +33 -0
- package/dist/types/localTypes/bff/search.d.ts +20 -0
- package/dist/types/localTypes/bff/swagger.d.ts +2 -0
- package/dist/types/localTypes/bff/table.d.ts +23 -0
- package/dist/types/localTypes/dynamicRender.d.ts +16 -0
- package/dist/types/localTypes/form.d.ts +0 -1
- package/dist/types/localTypes/formExtensions.d.ts +11 -30
- package/dist/types/localTypes/k8s.d.ts +0 -4
- package/dist/types/localTypes/marketplace.d.ts +27 -0
- package/dist/types/localTypes/richTable.d.ts +7 -16
- package/dist/types/localTypes/search.d.ts +7 -0
- package/dist/types/utils/deepMerge/deepMerge.d.ts +7 -0
- package/dist/types/utils/deepMerge/index.d.ts +1 -0
- package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +4 -5
- package/dist/types/utils/getSortedKinds/getSortedKinds.d.ts +3 -0
- package/dist/types/utils/getSortedKinds/index.d.ts +1 -0
- package/dist/types/utils/getSortedKindsAll/getSortedKindsAll.d.ts +8 -0
- package/dist/types/utils/getSortedKindsAll/index.d.ts +1 -0
- package/dist/types/utils/getUppercase/getUppercase.d.ts +1 -0
- package/dist/types/utils/getUppercase/index.d.ts +1 -0
- package/dist/types/utils/hslFromString/hslFromString.d.ts +9 -0
- package/dist/types/utils/hslFromString/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +11 -5
- package/dist/types/utils/isMultilineString/index.d.ts +1 -0
- package/dist/types/utils/isMultilineString/isMultilineString.d.ts +13 -0
- package/dist/types/utils/isMultilineString/isMultilineString.test.d.ts +1 -0
- package/dist/types/utils/kindByGvr/index.d.ts +1 -0
- package/dist/types/utils/kindByGvr/kindByGvr.d.ts +6 -0
- package/dist/types/utils/namespacedByGvr/index.d.ts +1 -0
- package/dist/types/utils/namespacedByGvr/namespacedByGvr.d.ts +6 -0
- package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +0 -1
- package/dist/types/utils/pluralByKind/index.d.ts +1 -0
- package/dist/types/utils/pluralByKind/pluralByKind.d.ts +10 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.d.ts +4 -0
- package/dist/types/utils/tableLocations/index.d.ts +1 -0
- package/dist/types/utils/tableLocations/tableLocations.d.ts +36 -0
- package/package.json +24 -7
- package/dist/types/api/getSwagger.d.ts +0 -5
- package/dist/types/components/molecules/BlackholeForm/atoms/CursorPointerText/CursorPointerText.d.ts +0 -7
- package/dist/types/components/molecules/BlackholeForm/atoms/CursorPointerText/index.d.ts +0 -1
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/guards.d.ts +0 -2
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/guards.d.ts +0 -2
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/helpers.d.ts +0 -16
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/utils.d.ts +0 -43
- package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +0 -22
- package/dist/types/components/molecules/EnrichedTable/utils.d.ts +0 -14
- package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +0 -37
- package/dist/types/components/organisms/DynamicComponents/molecules/FlexComponent/index.d.ts +0 -1
- package/dist/types/components/organisms/DynamicExample/DynamicExample.d.ts +0 -5
- package/dist/types/components/organisms/DynamicExample/index.d.ts +0 -1
- package/dist/types/utils/openApi/index.d.ts +0 -1
- package/dist/types/utils/openApi/openApi.d.ts +0 -17
- package/dist/types/utils/overwriteMatchingKeys/index.d.ts +0 -1
- package/dist/types/utils/overwriteMatchingKeys/overwriteMatchingKeys.d.ts +0 -3
- package/dist/types/utils/parseColumnsOverrides/guards.d.ts +0 -21
- package/dist/types/utils/parseColumnsOverrides/index.d.ts +0 -2
- package/dist/types/utils/parseColumnsOverrides/parseColumnsOverrides.d.ts +0 -23
- package/dist/types/utils/prepareTableMappings/index.d.ts +0 -1
- package/dist/types/utils/prepareTableMappings/prepareTableMappings.d.ts +0 -20
- package/dist/types/utils/removeEmptyFormValues/index.d.ts +0 -1
- package/dist/types/utils/removeEmptyFormValues/removeEmptyFormValues.d.ts +0 -4
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/FilterDropdown/FilterDropdown.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/FilterDropdown/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/ShortenedTextWithTooltip/ShortenedTextWithTooltip.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/ShortenedTextWithTooltip/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/ShortenedTextWithTooltip/styled.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TableComponents/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TextAlignContainer/TextAlignContainer.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TextAlignContainer/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TinyButton/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TrimmedTags/TrimmedTags.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/TrimmedTags/index.d.ts +0 -0
- /package/dist/types/components/molecules/EnrichedTable/{atoms → organisms/EnrichedTable/atoms}/index.d.ts +0 -0
- /package/dist/types/components/organisms/{DynamicExample → DynamicRendererWithProviders}/partsOfUrlContext.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tolerations';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, CSSProperties } from 'react';
|
|
2
|
+
import { TToleration } from '../../types';
|
|
3
|
+
type TEditModalProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
close: () => void;
|
|
6
|
+
values?: TToleration[];
|
|
7
|
+
openNotificationSuccess?: () => void;
|
|
8
|
+
modalTitle: string;
|
|
9
|
+
modalDescriptionText?: string;
|
|
10
|
+
inputLabel?: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
pathToValue: string;
|
|
13
|
+
editModalWidth?: number | string;
|
|
14
|
+
cols: number[];
|
|
15
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
16
|
+
inputLabelStyle?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export declare const EditModal: FC<TEditModalProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
|
+
prefixCls?: string | undefined;
|
|
4
|
+
name: string | number | (string | number)[];
|
|
5
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
6
|
+
initialValue?: any[] | undefined;
|
|
7
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
|
+
errors: import("react").ReactNode[];
|
|
9
|
+
warnings: import("react").ReactNode[];
|
|
10
|
+
}) => import("react").ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Styled: {
|
|
13
|
+
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
|
+
prefixCls?: string | undefined;
|
|
15
|
+
name: string | number | (string | number)[];
|
|
16
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
17
|
+
initialValue?: any[] | undefined;
|
|
18
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
|
+
errors: import("react").ReactNode[];
|
|
20
|
+
warnings: import("react").ReactNode[];
|
|
21
|
+
}) => import("react").ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TToleration } from './types';
|
|
2
|
+
export declare const isToleration: (x: unknown) => x is TToleration;
|
|
3
|
+
export declare const filterTolerations: (input: unknown) => TToleration[];
|
|
4
|
+
export declare const getItemsInside: (value: any[]) => {
|
|
5
|
+
counter?: number;
|
|
6
|
+
tolerations?: TToleration[];
|
|
7
|
+
error?: string;
|
|
8
|
+
};
|
package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './VisibilityContainer';
|
package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/styled.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type TVisibilityContainerProps = {
|
|
3
|
+
$hidden?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const Styled: {
|
|
6
|
+
VisibilityContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TVisibilityContainerProps>>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YamlEditorSingleton';
|
|
@@ -1,4 +1,36 @@
|
|
|
1
1
|
export * from './AntdText';
|
|
2
|
+
export * from './AntdLink';
|
|
2
3
|
export * from './AntdCard';
|
|
3
|
-
export * from './
|
|
4
|
+
export * from './AntdFlex';
|
|
5
|
+
export * from './AntdRow';
|
|
6
|
+
export * from './AntdCol';
|
|
7
|
+
export * from './AntdTabs';
|
|
8
|
+
export * from './AntdButton';
|
|
4
9
|
export * from './PartsOfUrl';
|
|
10
|
+
export * from './MultiQuery';
|
|
11
|
+
export * from './ParsedText';
|
|
12
|
+
export * from './ProjectInfoCard';
|
|
13
|
+
export * from './MarketplaceCard';
|
|
14
|
+
export * from './ContentCard';
|
|
15
|
+
export * from './Spacer';
|
|
16
|
+
export * from './DefaultDiv';
|
|
17
|
+
export * from './StatusText';
|
|
18
|
+
export * from './SidebarProvider';
|
|
19
|
+
export * from './EnrichedTable';
|
|
20
|
+
export * from './PodTerminal';
|
|
21
|
+
export * from './NodeTerminal';
|
|
22
|
+
export * from './PodLogs';
|
|
23
|
+
export * from './YamlEditorSingleton';
|
|
24
|
+
export * from './VisibilityContainer';
|
|
25
|
+
export * from './ArrayOfObjectsToKeyValues';
|
|
26
|
+
export * from './ItemCounter';
|
|
27
|
+
export * from './KeyCounter';
|
|
28
|
+
export * from './Labels';
|
|
29
|
+
export * from './LabelsToSearchParams';
|
|
30
|
+
export * from './Taints';
|
|
31
|
+
export * from './Tolerations';
|
|
32
|
+
export * from './Annotations';
|
|
33
|
+
export * from './ConverterBytes';
|
|
34
|
+
export * from './SecretBase64Plain';
|
|
35
|
+
export * from './ResourceBadge';
|
|
36
|
+
export * from './Events';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const parsePartsOfUrl: ({ template, replaceValues, }: {
|
|
2
|
+
template: string;
|
|
3
|
+
replaceValues: Record<string, string | undefined>;
|
|
4
|
+
}) => string;
|
|
5
|
+
type TDataMap = {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const parseMutliqueryText: ({ text, multiQueryData, customFallback, }: {
|
|
9
|
+
text?: string | undefined;
|
|
10
|
+
multiQueryData: TDataMap;
|
|
11
|
+
customFallback?: string | undefined;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const parseJsonPathTemplate: ({ text, multiQueryData, customFallback, }: {
|
|
14
|
+
text?: string | undefined;
|
|
15
|
+
multiQueryData: TDataMap;
|
|
16
|
+
customFallback?: string | undefined;
|
|
17
|
+
}) => string;
|
|
18
|
+
export declare const parseWithoutPartsOfUrl: ({ text, multiQueryData, customFallback, }: {
|
|
19
|
+
text: string;
|
|
20
|
+
multiQueryData: TDataMap;
|
|
21
|
+
customFallback?: string | undefined;
|
|
22
|
+
}) => string;
|
|
23
|
+
export declare const parseAll: ({ text, replaceValues, multiQueryData, }: {
|
|
24
|
+
text: string;
|
|
25
|
+
replaceValues: Record<string, string | undefined>;
|
|
26
|
+
multiQueryData: TDataMap;
|
|
27
|
+
}) => string;
|
|
28
|
+
export {};
|
|
@@ -1,18 +1,325 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps, SelectProps } from 'antd';
|
|
2
3
|
import type { TextProps } from 'antd/es/typography/Text';
|
|
4
|
+
import type { LinkProps } from 'antd/es/typography/Link';
|
|
5
|
+
import { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
6
|
+
import { TManageableSidebarWithDataProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
7
|
+
import { TUnitInput } from './molecules/ConverterBytes/types';
|
|
3
8
|
export type TDynamicComponentsAppTypeMap = {
|
|
9
|
+
DefaultDiv: {
|
|
10
|
+
id: number | string;
|
|
11
|
+
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
4
12
|
antdText: {
|
|
5
|
-
id: number;
|
|
13
|
+
id: number | string;
|
|
6
14
|
text: string;
|
|
7
|
-
} & Omit<TextProps, 'id'>;
|
|
15
|
+
} & Omit<TextProps, 'id' | 'children'>;
|
|
16
|
+
antdLink: {
|
|
17
|
+
id: number | string;
|
|
18
|
+
text: string;
|
|
19
|
+
href: string;
|
|
20
|
+
} & Omit<LinkProps, 'id' | 'children' | 'href'>;
|
|
8
21
|
antdCard: {
|
|
9
|
-
id: number;
|
|
22
|
+
id: number | string;
|
|
10
23
|
} & Omit<CardProps, 'id'>;
|
|
24
|
+
antdFlex: {
|
|
25
|
+
id: number | string;
|
|
26
|
+
} & Omit<FlexProps, 'id' | 'children'>;
|
|
27
|
+
antdRow: {
|
|
28
|
+
id: number | string;
|
|
29
|
+
} & Omit<RowProps, 'id' | 'children'>;
|
|
30
|
+
antdCol: {
|
|
31
|
+
id: number | string;
|
|
32
|
+
} & Omit<ColProps, 'id' | 'children'>;
|
|
33
|
+
antdTabs: {
|
|
34
|
+
id: number | string;
|
|
35
|
+
} & Omit<TabsProps, 'id' | 'children'>;
|
|
36
|
+
antdButton: {
|
|
37
|
+
id: number | string;
|
|
38
|
+
text: string;
|
|
39
|
+
} & Omit<ButtonProps, 'id' | 'children'>;
|
|
11
40
|
partsOfUrl: {
|
|
12
|
-
id: number;
|
|
41
|
+
id: number | string;
|
|
13
42
|
text: string;
|
|
14
43
|
};
|
|
15
|
-
|
|
16
|
-
id: number;
|
|
17
|
-
|
|
44
|
+
multiQuery: {
|
|
45
|
+
id: number | string;
|
|
46
|
+
text: string;
|
|
47
|
+
};
|
|
48
|
+
parsedText: {
|
|
49
|
+
id: number | string;
|
|
50
|
+
text: string;
|
|
51
|
+
formatter?: 'timestamp';
|
|
52
|
+
style?: CSSProperties;
|
|
53
|
+
};
|
|
54
|
+
ProjectInfoCard: {
|
|
55
|
+
id: number | string;
|
|
56
|
+
clusterNamePartOfUrl: string;
|
|
57
|
+
namespacePartOfUrl: string;
|
|
58
|
+
baseApiGroup: string;
|
|
59
|
+
baseApiVersion: string;
|
|
60
|
+
baseProjectApiGroup: string;
|
|
61
|
+
baseProjectVersion: string;
|
|
62
|
+
projectResourceName: string;
|
|
63
|
+
mpResourceName: string;
|
|
64
|
+
accessGroups: string[];
|
|
65
|
+
baseprefix?: string;
|
|
66
|
+
showZeroResources?: boolean;
|
|
67
|
+
};
|
|
68
|
+
MarketplaceCard: {
|
|
69
|
+
id: number | string;
|
|
70
|
+
clusterNamePartOfUrl: string;
|
|
71
|
+
namespacePartOfUrl: string;
|
|
72
|
+
baseApiGroup: string;
|
|
73
|
+
baseApiVersion: string;
|
|
74
|
+
mpResourceName: string;
|
|
75
|
+
mpResourceKind: string;
|
|
76
|
+
baseprefix?: string;
|
|
77
|
+
standalone?: boolean;
|
|
78
|
+
forceAddedMode?: boolean;
|
|
79
|
+
showZeroResources?: boolean;
|
|
80
|
+
};
|
|
81
|
+
ContentCard: {
|
|
82
|
+
id: number | string;
|
|
83
|
+
} & TContentCardProps;
|
|
84
|
+
Spacer: {
|
|
85
|
+
id: number | string;
|
|
86
|
+
} & TSpacerProps;
|
|
87
|
+
StatusText: {
|
|
88
|
+
id: number | string;
|
|
89
|
+
values: string[];
|
|
90
|
+
criteriaSuccess: 'equals' | 'notEquals';
|
|
91
|
+
criteriaError: 'equals' | 'notEquals';
|
|
92
|
+
stategySuccess?: 'some' | 'every';
|
|
93
|
+
strategyError?: 'some' | 'every';
|
|
94
|
+
valueToCompareSuccess: unknown[];
|
|
95
|
+
valueToCompareError: unknown[];
|
|
96
|
+
successText: string;
|
|
97
|
+
errorText: string;
|
|
98
|
+
fallbackText: string;
|
|
99
|
+
} & Omit<TextProps, 'id' | 'children'>;
|
|
100
|
+
SidebarProvider: {
|
|
101
|
+
id: number | string;
|
|
102
|
+
} & Omit<TManageableSidebarWithDataProviderProps, 'replaceValues'>;
|
|
103
|
+
EnrichedTable: {
|
|
104
|
+
id: number | string;
|
|
105
|
+
fetchUrl: string;
|
|
106
|
+
pathToItems: string | string[];
|
|
107
|
+
clusterNamePartOfUrl: string;
|
|
108
|
+
labelSelector?: Record<string, string>;
|
|
109
|
+
labelSelectorFull?: {
|
|
110
|
+
reqIndex: number;
|
|
111
|
+
pathToLabels: string | string[];
|
|
112
|
+
};
|
|
113
|
+
fieldSelector?: Record<string, string>;
|
|
114
|
+
} & Omit<TEnrichedTableProviderProps, 'tableMappingsReplaceValues' | 'withoutControls' | 'cluster' | 'theme' | 'tableProps' | 'dataItems' | 'dataForControlsInternal'>;
|
|
115
|
+
PodTerminal: {
|
|
116
|
+
id: number | string;
|
|
117
|
+
cluster: string;
|
|
118
|
+
namespace: string;
|
|
119
|
+
podName: string;
|
|
120
|
+
substractHeight?: number;
|
|
121
|
+
};
|
|
122
|
+
NodeTerminal: {
|
|
123
|
+
id: number | string;
|
|
124
|
+
cluster: string;
|
|
125
|
+
nodeName: string;
|
|
126
|
+
substractHeight?: number;
|
|
127
|
+
};
|
|
128
|
+
PodLogs: {
|
|
129
|
+
id: number | string;
|
|
130
|
+
cluster: string;
|
|
131
|
+
namespace: string;
|
|
132
|
+
podName: string;
|
|
133
|
+
substractHeight?: number;
|
|
134
|
+
};
|
|
135
|
+
YamlEditorSingleton: {
|
|
136
|
+
id: number | string;
|
|
137
|
+
cluster: string;
|
|
138
|
+
isNameSpaced: boolean;
|
|
139
|
+
type: 'builtin' | 'apis';
|
|
140
|
+
apiGroup?: string;
|
|
141
|
+
apiVersion?: string;
|
|
142
|
+
typeName: string;
|
|
143
|
+
prefillValuesRequestIndex: number;
|
|
144
|
+
substractHeight?: number;
|
|
145
|
+
readOnly?: boolean;
|
|
146
|
+
};
|
|
147
|
+
VisibilityContainer: {
|
|
148
|
+
id: number | string;
|
|
149
|
+
value: string;
|
|
150
|
+
};
|
|
151
|
+
ArrayOfObjectsToKeyValues: {
|
|
152
|
+
id: number | string;
|
|
153
|
+
reqIndex: string;
|
|
154
|
+
jsonPathToArray: string;
|
|
155
|
+
keyFieldName: string;
|
|
156
|
+
valueFieldName: string;
|
|
157
|
+
separator?: string;
|
|
158
|
+
containerStyle?: CSSProperties;
|
|
159
|
+
rowStyle?: CSSProperties;
|
|
160
|
+
keyFieldStyle?: CSSProperties;
|
|
161
|
+
valueFieldStyle?: CSSProperties;
|
|
162
|
+
};
|
|
163
|
+
ItemCounter: {
|
|
164
|
+
id: number | string;
|
|
165
|
+
reqIndex: string;
|
|
166
|
+
jsonPathToArray: string;
|
|
167
|
+
text: string;
|
|
168
|
+
errorText: string;
|
|
169
|
+
style?: CSSProperties;
|
|
170
|
+
};
|
|
171
|
+
KeyCounter: {
|
|
172
|
+
id: number | string;
|
|
173
|
+
reqIndex: string;
|
|
174
|
+
jsonPathToObj: string;
|
|
175
|
+
text: string;
|
|
176
|
+
errorText: string;
|
|
177
|
+
style?: CSSProperties;
|
|
178
|
+
};
|
|
179
|
+
Labels: {
|
|
180
|
+
id: number | string;
|
|
181
|
+
reqIndex: string;
|
|
182
|
+
jsonPathToLabels: string;
|
|
183
|
+
linkPrefix?: string;
|
|
184
|
+
selectProps?: SelectProps;
|
|
185
|
+
maxTagKeyLength?: number;
|
|
186
|
+
maxTagValueLength?: number;
|
|
187
|
+
verticalViewList?: boolean;
|
|
188
|
+
verticalViewListFlexProps?: FlexProps;
|
|
189
|
+
emptyListMessage?: string;
|
|
190
|
+
emptyListMessageStyle?: CSSProperties;
|
|
191
|
+
readOnly?: true;
|
|
192
|
+
notificationSuccessMessage?: string;
|
|
193
|
+
notificationSuccessMessageDescription?: string;
|
|
194
|
+
modalTitle?: string;
|
|
195
|
+
modalDescriptionText?: string;
|
|
196
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
197
|
+
inputLabel?: string;
|
|
198
|
+
inputLabelStyle?: CSSProperties;
|
|
199
|
+
containerStyle?: CSSProperties;
|
|
200
|
+
maxEditTagTextLength?: number;
|
|
201
|
+
allowClearEditSelect?: boolean;
|
|
202
|
+
endpoint?: string;
|
|
203
|
+
pathToValue?: string;
|
|
204
|
+
editModalWidth?: number | string;
|
|
205
|
+
paddingContainerEnd?: string;
|
|
206
|
+
};
|
|
207
|
+
LabelsToSearchParams: {
|
|
208
|
+
id: number | string;
|
|
209
|
+
reqIndex: string;
|
|
210
|
+
jsonPathToLabels: string;
|
|
211
|
+
linkPrefix: string;
|
|
212
|
+
textLink?: string;
|
|
213
|
+
errorText: string;
|
|
214
|
+
maxTextLength?: number;
|
|
215
|
+
} & Omit<LinkProps, 'id' | 'children' | 'href'>;
|
|
216
|
+
Taints: {
|
|
217
|
+
id: number | string;
|
|
218
|
+
reqIndex: string;
|
|
219
|
+
jsonPathToArray: string;
|
|
220
|
+
text: string;
|
|
221
|
+
errorText: string;
|
|
222
|
+
style?: CSSProperties;
|
|
223
|
+
notificationSuccessMessage?: string;
|
|
224
|
+
notificationSuccessMessageDescription?: string;
|
|
225
|
+
modalTitle?: string;
|
|
226
|
+
modalDescriptionText?: string;
|
|
227
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
228
|
+
inputLabel?: string;
|
|
229
|
+
inputLabelStyle?: CSSProperties;
|
|
230
|
+
containerStyle?: CSSProperties;
|
|
231
|
+
endpoint?: string;
|
|
232
|
+
pathToValue?: string;
|
|
233
|
+
editModalWidth?: number | string;
|
|
234
|
+
cols: number[];
|
|
235
|
+
};
|
|
236
|
+
Tolerations: {
|
|
237
|
+
id: number | string;
|
|
238
|
+
reqIndex: string;
|
|
239
|
+
jsonPathToArray: string;
|
|
240
|
+
text: string;
|
|
241
|
+
errorText: string;
|
|
242
|
+
containerStyle?: CSSProperties;
|
|
243
|
+
notificationSuccessMessage?: string;
|
|
244
|
+
notificationSuccessMessageDescription?: string;
|
|
245
|
+
modalTitle?: string;
|
|
246
|
+
modalDescriptionText?: string;
|
|
247
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
248
|
+
inputLabel?: string;
|
|
249
|
+
inputLabelStyle?: CSSProperties;
|
|
250
|
+
endpoint?: string;
|
|
251
|
+
pathToValue?: string;
|
|
252
|
+
editModalWidth?: number | string;
|
|
253
|
+
cols: number[];
|
|
254
|
+
};
|
|
255
|
+
Annotations: {
|
|
256
|
+
id: number | string;
|
|
257
|
+
reqIndex: string;
|
|
258
|
+
jsonPathToObj: string;
|
|
259
|
+
text: string;
|
|
260
|
+
errorText: string;
|
|
261
|
+
containerStyle?: CSSProperties;
|
|
262
|
+
notificationSuccessMessage?: string;
|
|
263
|
+
notificationSuccessMessageDescription?: string;
|
|
264
|
+
modalTitle?: string;
|
|
265
|
+
modalDescriptionText?: string;
|
|
266
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
267
|
+
inputLabel?: string;
|
|
268
|
+
inputLabelStyle?: CSSProperties;
|
|
269
|
+
endpoint?: string;
|
|
270
|
+
pathToValue?: string;
|
|
271
|
+
editModalWidth?: number | string;
|
|
272
|
+
cols: number[];
|
|
273
|
+
};
|
|
274
|
+
ConverterBytes: {
|
|
275
|
+
id: number | string;
|
|
276
|
+
bytesValue: string;
|
|
277
|
+
unit?: TUnitInput;
|
|
278
|
+
/** If true, returns "12.3 GiB" instead of just 12.3 */
|
|
279
|
+
format?: boolean;
|
|
280
|
+
/** Max fraction digits when formatting (default 2) */
|
|
281
|
+
precision?: number;
|
|
282
|
+
/** Locale for number formatting (default: undefined => user agent) */
|
|
283
|
+
locale?: string;
|
|
284
|
+
standard?: 'si' | 'iec';
|
|
285
|
+
notANumberText?: string;
|
|
286
|
+
style?: CSSProperties;
|
|
287
|
+
};
|
|
288
|
+
SecretBase64Plain: {
|
|
289
|
+
id: number | string;
|
|
290
|
+
base64Value?: string;
|
|
291
|
+
plainTextValue?: string;
|
|
292
|
+
containerStyle?: CSSProperties;
|
|
293
|
+
inputContainerStyle?: CSSProperties;
|
|
294
|
+
flexProps?: Omit<FlexProps, 'children'>;
|
|
295
|
+
niceLooking?: boolean;
|
|
296
|
+
notificationWidth?: string;
|
|
297
|
+
notificationText?: string;
|
|
298
|
+
};
|
|
299
|
+
ResourceBadge: {
|
|
300
|
+
id: number | string;
|
|
301
|
+
value: string;
|
|
302
|
+
abbreviation?: string;
|
|
303
|
+
style?: CSSProperties;
|
|
304
|
+
};
|
|
305
|
+
Events: {
|
|
306
|
+
id: number | string;
|
|
307
|
+
baseprefix?: string;
|
|
308
|
+
clusterNamePartOfUrl: string;
|
|
309
|
+
wsUrl: string;
|
|
310
|
+
pageSize?: number;
|
|
311
|
+
substractHeight?: number;
|
|
312
|
+
limit?: number;
|
|
313
|
+
labelSelector?: Record<string, string>;
|
|
314
|
+
labelSelectorFull?: {
|
|
315
|
+
reqIndex: number;
|
|
316
|
+
pathToLabels: string | string[];
|
|
317
|
+
};
|
|
318
|
+
fieldSelector?: Record<string, string>;
|
|
319
|
+
baseFactoryNamespacedAPIKey: string;
|
|
320
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
321
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
322
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
323
|
+
baseNamespaceFactoryKey: string;
|
|
324
|
+
};
|
|
18
325
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TItemTypeMap } from '../../../localTypes/dynamicRender';
|
|
3
|
+
import { TDynamicRendererProps } from '../DynamicRenderer';
|
|
4
|
+
export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(props: TDynamicRendererProps<T> & {
|
|
5
|
+
urlsToFetch: string[];
|
|
6
|
+
dataToApplyToContext?: unknown;
|
|
7
|
+
theme: 'dark' | 'light';
|
|
8
|
+
nodeTerminalDefaultProfile?: string | undefined;
|
|
9
|
+
disableEventBubbling?: boolean | undefined;
|
|
10
|
+
}) => ReactElement;
|
package/dist/types/components/organisms/DynamicRendererWithProviders/factoryConfigProvider.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type TFactoryConfig = {
|
|
3
|
+
nodeTerminalDefaultProfile?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const FactoryConfigContextProvider: ({ children, value }: import("react").PropsWithChildren<{
|
|
6
|
+
value: TFactoryConfig;
|
|
7
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const useFactoryConfig: () => TFactoryConfig;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DynamicRendererWithProviders } from './DynamicRendererWithProviders';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type TDataMap = {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
interface MultiQueryContextType {
|
|
6
|
+
data: TDataMap;
|
|
7
|
+
isLoading: boolean;
|
|
8
|
+
isError: boolean;
|
|
9
|
+
errors: (Error | null)[];
|
|
10
|
+
}
|
|
11
|
+
type TMultiQueryProviderProps = {
|
|
12
|
+
urls: string[];
|
|
13
|
+
dataToApplyToContext: unknown;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare const MultiQueryProvider: FC<TMultiQueryProviderProps>;
|
|
17
|
+
export declare const useMultiQuery: () => MultiQueryContextType;
|
|
18
|
+
export {};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { TApiResources } from '../localTypes/k8s';
|
|
2
|
-
export declare const useApiResources: ({ clusterName, namespace, apiGroup, apiVersion, typeName, limit, refetchInterval, }: {
|
|
2
|
+
export declare const useApiResources: ({ clusterName, namespace, apiGroup, apiVersion, typeName, specificName, labels, fields, limit, refetchInterval, isEnabled, }: {
|
|
3
3
|
clusterName: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
apiGroup: string;
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
typeName: string;
|
|
8
|
+
specificName?: string | undefined;
|
|
9
|
+
labels?: string[] | undefined;
|
|
10
|
+
fields?: string[] | undefined;
|
|
8
11
|
limit: string | null;
|
|
9
12
|
refetchInterval?: number | false | undefined;
|
|
13
|
+
isEnabled?: boolean | undefined;
|
|
10
14
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TApiResources, Error>;
|
|
11
15
|
export declare const useApiResourceSingle: ({ clusterName, namespace, apiGroup, apiVersion, typeName, entryName, refetchInterval, }: {
|
|
12
16
|
clusterName: string;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { TBuiltinResources } from '../localTypes/k8s';
|
|
2
|
-
export declare const useBuiltinResources: ({ clusterName, namespace, typeName, limit, refetchInterval, }: {
|
|
2
|
+
export declare const useBuiltinResources: ({ clusterName, namespace, typeName, specificName, labels, fields, limit, refetchInterval, isEnabled, }: {
|
|
3
3
|
clusterName: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
typeName: string;
|
|
6
|
+
specificName?: string | undefined;
|
|
7
|
+
labels?: string[] | undefined;
|
|
8
|
+
fields?: string[] | undefined;
|
|
6
9
|
limit: string | null;
|
|
7
10
|
refetchInterval?: number | false | undefined;
|
|
11
|
+
isEnabled?: boolean | undefined;
|
|
8
12
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResources, Error>;
|
|
9
13
|
export declare const useBuiltinResourceSingle: ({ clusterName, namespace, typeName, entryName, refetchInterval, }: {
|
|
10
14
|
clusterName: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TJSON } from '../localTypes/JSON';
|
|
2
|
-
export declare const useCrdResources: <T = TJSON[]>({ clusterName, namespace, apiGroup, apiVersion, crdName, refetchInterval, }: {
|
|
2
|
+
export declare const useCrdResources: <T = TJSON[]>({ clusterName, namespace, apiGroup, apiVersion, crdName, refetchInterval, isEnabled, }: {
|
|
3
3
|
clusterName: string;
|
|
4
4
|
namespace?: string | undefined;
|
|
5
5
|
apiGroup: string;
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
crdName: string;
|
|
8
8
|
refetchInterval?: number | false | undefined;
|
|
9
|
+
isEnabled?: boolean | undefined;
|
|
9
10
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
10
11
|
kind: string;
|
|
11
12
|
apiVersion: string;
|
|
12
13
|
metadata: {
|
|
13
|
-
resourceVersion: string;
|
|
14
14
|
managedFields?: any;
|
|
15
15
|
};
|
|
16
16
|
items: T;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TSingleResource } from '../../localTypes/k8s';
|
|
2
|
+
type TState = {
|
|
3
|
+
order: string[];
|
|
4
|
+
byKey: Record<string, TSingleResource>;
|
|
5
|
+
};
|
|
6
|
+
type TAction = {
|
|
7
|
+
type: 'RESET';
|
|
8
|
+
items: TSingleResource[];
|
|
9
|
+
} | {
|
|
10
|
+
type: 'APPEND_PAGE';
|
|
11
|
+
items: TSingleResource[];
|
|
12
|
+
} | {
|
|
13
|
+
type: 'UPSERT';
|
|
14
|
+
item: TSingleResource;
|
|
15
|
+
} | {
|
|
16
|
+
type: 'REMOVE';
|
|
17
|
+
key: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const reducer: (state: TState, action: TAction) => TState;
|
|
20
|
+
export {};
|