mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
refactor(registries): migrate list view to react [EE-4704] (#10687)
This commit is contained in:
parent
9600eb6fa1
commit
f584bf3830
61 changed files with 504 additions and 490 deletions
|
@ -29,7 +29,7 @@ import { EdgeGroupsSelector } from '@/react/edge/edge-stacks/components/EdgeGrou
|
|||
import { EdgeStackDeploymentTypeSelector } from '@/react/edge/edge-stacks/components/EdgeStackDeploymentTypeSelector';
|
||||
import { notifySuccess } from '@/portainer/services/notifications';
|
||||
import { EnvironmentType } from '@/react/portainer/environments/types';
|
||||
import { Registry } from '@/react/portainer/registries/types';
|
||||
import { Registry } from '@/react/portainer/registries/types/registry';
|
||||
import { useRegistries } from '@/react/portainer/registries/queries/useRegistries';
|
||||
import { RelativePathFieldset } from '@/react/portainer/gitops/RelativePathFieldset/RelativePathFieldset';
|
||||
import { parseRelativePathResponse } from '@/react/portainer/gitops/RelativePathFieldset/utils';
|
||||
|
|
|
@ -9,7 +9,7 @@ import {
|
|||
import { buildUrl } from '@/react/edge/edge-stacks/queries/buildUrl';
|
||||
import { DeploymentType, EdgeStack } from '@/react/edge/edge-stacks/types';
|
||||
import { EdgeGroup } from '@/react/edge/edge-groups/types';
|
||||
import { Registry } from '@/react/portainer/registries/types';
|
||||
import { Registry } from '@/react/portainer/registries/types/registry';
|
||||
|
||||
export interface UpdateEdgeStackGitPayload {
|
||||
id: EdgeStack['Id'];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useState, useEffect } from 'react';
|
||||
import { RefreshCw } from 'lucide-react';
|
||||
|
||||
import { Registry } from '@/react/portainer/registries/types';
|
||||
import { Registry } from '@/react/portainer/registries/types/registry';
|
||||
|
||||
import { Select } from '@@/form-components/ReactSelect';
|
||||
import { FormControl } from '@@/form-components/FormControl';
|
||||
|
|
|
@ -2,7 +2,7 @@ import axios, {
|
|||
json2formData,
|
||||
parseAxiosError,
|
||||
} from '@/portainer/services/axios';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import { EdgeGroup } from '@/react/edge/edge-groups/types';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import axios, { parseAxiosError } from '@/portainer/services/axios';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import { EdgeGroup } from '@/react/edge/edge-groups/types';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import axios, { parseAxiosError } from '@/portainer/services/axios';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import { EdgeGroup } from '@/react/edge/edge-groups/types';
|
||||
import { AutoUpdateModel } from '@/react/portainer/gitops/types';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useMutation } from 'react-query';
|
||||
|
||||
import { EdgeGroup } from '@/react/edge/edge-groups/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import {
|
||||
GitFormModel,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useMutation } from 'react-query';
|
||||
|
||||
import { withError } from '@/react-tools/react-query';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
import axios, {
|
||||
json2formData,
|
||||
parseAxiosError,
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
RelativePathModel,
|
||||
RepoConfigResponse,
|
||||
} from '@/react/portainer/gitops/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
|
||||
import { EnvVar } from '@@/form-components/EnvironmentVariablesFieldset/types';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue