src: Resolve type-only imports
This commit is contained in:
parent
c1edc53c2f
commit
076fb3fc9d
5 changed files with 15 additions and 15 deletions
|
|
@ -7,7 +7,7 @@ import {
|
|||
TextInputProps,
|
||||
} from '@patternfly/react-core';
|
||||
|
||||
import { StepValidation } from './utilities/useValidation';
|
||||
import type { StepValidation } from './utilities/useValidation';
|
||||
|
||||
interface ValidatedTextInputPropTypes extends TextInputProps {
|
||||
dataTestId?: string | undefined;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Partition } from './steps/FileSystem/FileSystemConfiguration';
|
||||
import type { Partition } from './steps/FileSystem/FileSystemConfiguration';
|
||||
|
||||
export const isAwsAccountIdValid = (awsAccountId: string | undefined) => {
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ImageTypes } from './store/imageBuilderApi';
|
||||
import type { ImageTypes } from './store/imageBuilderApi';
|
||||
|
||||
export const IMAGE_BUILDER_API = '/api/image-builder/v1';
|
||||
export const RHSM_API = '/api/rhsm/v2';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { PayloadAction, createSlice } from '@reduxjs/toolkit';
|
||||
|
||||
import { RootState } from '.';
|
||||
import type { RootState } from '.';
|
||||
|
||||
export type versionFilterType = 'latest' | 'all';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
import { PayloadAction, createSlice } from '@reduxjs/toolkit';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import { ApiRepositoryResponseRead } from './contentSourcesApi';
|
||||
import {
|
||||
import type { ApiRepositoryResponseRead } from './contentSourcesApi';
|
||||
import type {
|
||||
CustomRepository,
|
||||
Distributions,
|
||||
ImageRequest,
|
||||
ImageTypes,
|
||||
Repository,
|
||||
} from './imageBuilderApi';
|
||||
import { ActivationKeys } from './rhsmApi';
|
||||
import type { ActivationKeys } from './rhsmApi';
|
||||
|
||||
import { FileSystemConfigurationType } from '../Components/CreateImageWizard/steps/FileSystem';
|
||||
import {
|
||||
import type { FileSystemConfigurationType } from '../Components/CreateImageWizard/steps/FileSystem';
|
||||
import type {
|
||||
Partition,
|
||||
Units,
|
||||
} from '../Components/CreateImageWizard/steps/FileSystem/FileSystemConfiguration';
|
||||
import {
|
||||
import type {
|
||||
GroupWithRepositoryInfo,
|
||||
IBPackageWithRepositoryInfo,
|
||||
} from '../Components/CreateImageWizard/steps/Packages/Packages';
|
||||
import { AwsShareMethod } from '../Components/CreateImageWizard/steps/TargetEnvironment/Aws';
|
||||
import { AzureShareMethod } from '../Components/CreateImageWizard/steps/TargetEnvironment/Azure';
|
||||
import {
|
||||
import type { AwsShareMethod } from '../Components/CreateImageWizard/steps/TargetEnvironment/Aws';
|
||||
import type { AzureShareMethod } from '../Components/CreateImageWizard/steps/TargetEnvironment/Azure';
|
||||
import type {
|
||||
GcpAccountType,
|
||||
GcpShareMethod,
|
||||
} from '../Components/CreateImageWizard/steps/TargetEnvironment/Gcp';
|
||||
import { V1ListSourceResponseItem } from '../Components/CreateImageWizard/types';
|
||||
import type { V1ListSourceResponseItem } from '../Components/CreateImageWizard/types';
|
||||
import { RHEL_9, X86_64 } from '../constants';
|
||||
|
||||
import { RootState } from '.';
|
||||
import type { RootState } from '.';
|
||||
|
||||
type WizardModeOptions = 'create' | 'edit';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue