更改目录结构

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 type {Application, RepositoryProject} from '../types';
import {DevelopmentLanguageTypeEnum} from '../types'; import {DevelopmentLanguageTypeEnum} from '../types';
import {createApplication, updateApplication, getRepositoryProjectsBySystem} from '../service'; import {createApplication, updateApplication, getRepositoryProjectsBySystem} from '../service';
import type {ExternalSystemResponse} from '@/pages/Deploy/External/List/types'; import type {ExternalSystemResponse} from '@/pages/Resource/External/List/types';
import {SystemType} from '@/pages/Deploy/External/List/types'; import {SystemType} from '@/pages/Resource/External/List/types';
import {getExternalSystems} from '@/pages/Deploy/External/List/service'; import {getExternalSystems} from '@/pages/Resource/External/List/service';
import {getEnabledCategories} from '../../Category/service'; import {getEnabledCategories} from '../../Category/service';
import type {ApplicationCategoryResponse} from '../../Category/types'; import type {ApplicationCategoryResponse} from '../../Category/types';
import { import {

View File

@ -1,5 +1,5 @@
import type {BaseQuery} from '@/types/base'; 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 {BaseResponse} from "@/types/base";
import type {ApplicationCategoryResponse} from "../Category/types"; 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 {getApplicationList} from '../../../Application/List/service';
import {getExternalSystemList, getJenkinsViewList, getJenkinsJobList, createDeploymentConfig, updateDeploymentConfig} from '../service'; import {getExternalSystemList, getJenkinsViewList, getJenkinsJobList, createDeploymentConfig, updateDeploymentConfig} from '../service';
import {getPublishedDefinitions} from '@/pages/Workflow/Definition/List/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 { Editor } from "@/components/Editor";
import { message } from 'antd'; import { message } from 'antd';

View File

@ -1,7 +1,7 @@
import request from '@/utils/request'; import request from '@/utils/request';
import type {DeploymentConfig, CreateDeploymentConfigRequest, UpdateDeploymentConfigRequest, DeploymentConfigQueryParams, DeployConfigTemplate} from './types'; import type {DeploymentConfig, CreateDeploymentConfigRequest, UpdateDeploymentConfigRequest, DeploymentConfigQueryParams, DeployConfigTemplate} from './types';
import type {Page} from '@/types/base'; 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 { interface JenkinsView {
id: number; id: number;

View File

@ -63,7 +63,7 @@ import {
syncRepositoryBranches, syncRepositoryBranches,
} from './service'; } 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 dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime'; import relativeTime from 'dayjs/plugin/relativeTime';
import 'dayjs/locale/zh-cn'; import 'dayjs/locale/zh-cn';

View File

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

View File

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

View File

@ -1,5 +1,5 @@
import type { BaseResponse } from '@/types/base'; 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 实例 // 使用外部系统响应作为 Jenkins 实例
export type JenkinsInstance = ExternalSystemResponse; export type JenkinsInstance = ExternalSystemResponse;