251210_01_ENH : 프로젝트 수정, 에디터 구현중

This commit is contained in:
2025-12-10 16:24:49 +09:00
parent dd8723861a
commit ef949a6242
57 changed files with 4459 additions and 1247 deletions

View File

@@ -4,4 +4,16 @@ export type DataVerification = {
errMessage: string;
}
export type RouteContext = { params: Promise<{ slug?: string[] }> };
export type RouteContext = { params: Promise<{ slug?: string[] }> };
export type PageResponse<T> = {
content: T[];
totalElements: number;
totalPages: number;
pageIndex: number;
pageSize: number;
numberOfElements: number;
first: boolean;
last: boolean;
empty: boolean;
}

70
src/types/project.ts Normal file
View File

@@ -0,0 +1,70 @@
import {ProjectStatus, SurveyType} from "@/const/projectConst";
export type ProjectInfo = {
prjctIdx: number; // Long
prjctCd: string;
prjctStatus: ProjectStatus;
prjctName: string;
itrntPrjctCd: string;
ownerDept: string;
ownerFw: string;
surveyTy: SurveyType;
surveyPrjctCd?: string;
surveyUrl?: string;
ff: boolean;
useContactSenario: boolean;
contactSenario?: string;
regUser: string;
regDt: string;
modUser?: string;
modDt?: string;
};
export type ProjectCreateRequest = {
prjctName: string;
itrntPrjctCd: string;
ownerDept: string;
ownerFw: string;
}
export type ProjectListQuery = {
prjctText: string;
prjctStatusList: ProjectStatus[];
ownerDeptList: string[];
ownerFwList: string[];
}
export type ProjectListRequest = {
prjctText: string;
prjctStatusList: ProjectStatus[];
ownerDeptList: string[];
ownerFwList: string[];
pageIndex: number;
pageSize: number;
sortBy: string;
sortDir: "asc" | "desc";
}
export type ProjectOwnerResponse = {
ownerDeptList:string[];
ownerFwList:string[];
}
export type IntranetProjectSearchResponse = {
childSn: string;
title: string;
researchTeam: string;
researchTeamName: string;
}
export type KonKiwiProjectInfo = {
pkey:string;
title:string;
surveyType:string;
status:string;
gkey:string;
mkey:string;
createDate:string;
}

View File

@@ -1,3 +1,11 @@
export type ItrntUserInfo = {
userId: string;
userNm: string;
userCmpn: string;
userTeam: string;
userRole: number;
};
export type UserInfo = {
/** 사용자 ID */
userId: string
@@ -33,15 +41,6 @@ export type UserInfoSaveRequest = {
memo?: string
}
export type UserTableInfo = {
userId: string
userCmpn: string
userName: string
userRole: string
regDt: string
memo: string
}
export type UserUploadResponse = {
totalCount: number;
successCount: number;
@@ -49,4 +48,4 @@ export type UserUploadResponse = {
hasErrorFile: boolean;
errorFileName: string | null;
errorFileBase64: string | null;
};
};