-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import type { MemberDTO } from '@/apis/member/type'; | ||
import type { CategoryEnum } from '@/enums/categoryEnum'; | ||
|
||
export type CategoryType = keyof typeof CategoryEnum; | ||
|
||
export interface GetCategoryListRequest { | ||
categories: CategoryType[]; | ||
} | ||
|
||
type QuestionType = { | ||
categoryType: CategoryType; | ||
questions: QuestionnaireType[]; | ||
}; | ||
|
||
type QuestionnaireType = { | ||
questionId: number; | ||
question: string; | ||
options: [string, string, string, string]; | ||
}; | ||
|
||
export interface GetCategoryListResponse { | ||
allQuestions: QuestionType[]; | ||
} | ||
|
||
export interface PostCreateReviewFormRequest { | ||
projectId: number; | ||
questionIdList: number[]; | ||
} | ||
|
||
export interface PostCreateReviewFormResponse { | ||
reviewFormId: number; | ||
} | ||
|
||
export interface GetProjectMemberRequest { | ||
reviewFormId: number; | ||
} | ||
|
||
export interface GetProjectMemberResponse { | ||
memberList: Pick<MemberDTO, 'id' | 'profileUrl' | 'name' | 'tag'>[]; | ||
} | ||
|
||
export interface PostReviewRequest { | ||
reviewFormId: number; | ||
memberIdList: number[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export enum CategoryEnum { | ||
COMMUNICATION = '커뮤니케이션', | ||
SKILL = '기술', | ||
COLLABORATION = '협업', | ||
LEADERSHIP = '리더십', | ||
DOCUMENTATION = '문서화', | ||
TIME_MANAGEMENT = '시간관리', | ||
PROBLEM_SOLVING = '문제해결', | ||
DILIGENCE = '성실성', | ||
} |