更改目录结构

This commit is contained in:
dengqichen 2025-10-31 18:10:25 +08:00
parent 82457d2f13
commit 5dbbbedd25
25 changed files with 12 additions and 12 deletions

View File

@ -2,9 +2,9 @@ import React, {useEffect, useState} from 'react';
import type {Application, RepositoryProject} from '../types';
import {DevelopmentLanguageTypeEnum} from '../types';
import {createApplication, updateApplication, getRepositoryProjectsBySystem} from '../service';
import type {ExternalSystemResponse} from '@/pages/Deploy/External/List/types';
import {SystemType} from '@/pages/Deploy/External/List/types';
import {getExternalSystems} from '@/pages/Deploy/External/List/service';
import type {ExternalSystemResponse} from '@/pages/Resource/External/List/types';
import {SystemType} from '@/pages/Resource/External/List/types';
import {getExternalSystems} from '@/pages/Resource/External/List/service';
import {getEnabledCategories} from '../../Category/service';
import type {ApplicationCategoryResponse} from '../../Category/types';
import {

View File

@ -1,5 +1,5 @@
import type {BaseQuery} from '@/types/base';
import {ExternalSystemResponse} from "@/pages/Deploy/External/List/types";
import {ExternalSystemResponse} from "@/pages/Resource/External/List/types";
import {BaseResponse} from "@/types/base";
import type {ApplicationCategoryResponse} from "../Category/types";

View File

@ -33,7 +33,7 @@ import {useForm, useFieldArray} from "react-hook-form";
import {getApplicationList} from '../../../Application/List/service';
import {getExternalSystemList, getJenkinsViewList, getJenkinsJobList, createDeploymentConfig, updateDeploymentConfig} from '../service';
import {getPublishedDefinitions} from '@/pages/Workflow/Definition/List/service';
import type {ExternalSystem} from '@/pages/Deploy/External/List/types';
import type {ExternalSystem} from '@/pages/Resource/External/List/types';
import { Editor } from "@/components/Editor";
import { message } from 'antd';

View File

@ -1,7 +1,7 @@
import request from '@/utils/request';
import type {DeploymentConfig, CreateDeploymentConfigRequest, UpdateDeploymentConfigRequest, DeploymentConfigQueryParams, DeployConfigTemplate} from './types';
import type {Page} from '@/types/base';
import type {ExternalSystem} from '@/pages/Deploy/External/List/types';
import type {ExternalSystem} from '@/pages/Resource/External/List/types';
interface JenkinsView {
id: number;

View File

@ -63,7 +63,7 @@ import {
syncRepositoryBranches,
} from './service';
import type { ExternalSystemResponse } from '@/pages/Deploy/External/List/types';
import type { ExternalSystemResponse } from '@/pages/Resource/External/List/types';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import 'dayjs/locale/zh-cn';

View File

@ -5,8 +5,8 @@ import type {
RepositoryProjectResponse,
RepositoryBranchResponse,
} from './types';
import { getExternalSystems } from '@/pages/Deploy/External/List/service';
import { SystemType } from '@/pages/Deploy/External/List/types';
import { getExternalSystems } from '@/pages/Resource/External/List/service';
import { SystemType } from '@/pages/Resource/External/List/types';
import type { Page } from '@/types/base';
// API 基础路径

View File

@ -1,7 +1,7 @@
import request from '@/utils/request';
import type { JenkinsViewDTO, JenkinsJobDTO, JenkinsBuildDTO } from './types';
import { getExternalSystems } from '@/pages/Deploy/External/List/service';
import { SystemType } from '@/pages/Deploy/External/List/types';
import { getExternalSystems } from '@/pages/Resource/External/List/service';
import { SystemType } from '@/pages/Resource/External/List/types';
import type { Page } from '@/types/base';
// 获取 Jenkins 实例列表

View File

@ -1,5 +1,5 @@
import type { BaseResponse } from '@/types/base';
import type { ExternalSystemResponse } from '@/pages/Deploy/External/List/types';
import type { ExternalSystemResponse } from '@/pages/Resource/External/List/types';
// 使用外部系统响应作为 Jenkins 实例
export type JenkinsInstance = ExternalSystemResponse;