API: Add programatically generated RHSM API slice definitions

These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
This commit is contained in:
lucasgarfield 2023-07-26 15:57:11 +02:00 committed by Lucas Garfield
parent 1894a9dcb2
commit 22df78bffa
11 changed files with 96 additions and 23 deletions

View file

@ -6,6 +6,7 @@ import { Button } from '@patternfly/react-core';
import PropTypes from 'prop-types';
import { usePrefetch } from '../../../store/apiSlice';
import { rhsmApi } from '../../../store/rhsmApi';
import { releaseToVersion } from '../../../Utilities/releaseToVersion';
const CustomButtons = ({
@ -17,7 +18,7 @@ const CustomButtons = ({
const { getState } = useFormApi();
const [isSaving, setIsSaving] = useState(false);
const { currentStep, formOptions } = useContext(WizardContext);
const prefetchActivationKeys = usePrefetch('getActivationKeys');
const prefetchActivationKeys = rhsmApi.usePrefetch('listActivationKeys');
const prefetchRepositories = usePrefetch('getRepositories');
const onNextOrSubmit = () => {