File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ // 프로필 관련 타입
2+ export type AffiliationType = 'COMPANY_SCHOOL' | 'FREELANCER' | 'OTHER' // 소속 타입
3+
4+ // 공통 프로필 필드
5+ export interface ProfileBase {
6+ nickname ?: Nickname // 회원 닉네임
7+ imageUrl ?: string // 프로필 사진 URL
8+ introduction ?: string // 소개문구
9+ gitHub ?: GitHub // GitHub 링크
10+ position ?: string [ ] // 포지션 리스트
11+ techStacks ?: TechStack [ ] // 기술 스택 리스트
12+ affiliation ?: AffiliationType // 소속
13+ }
14+
15+ /*
16+ path: '/v1/my-page/profile'
17+ GET: 마이페이지 프로필 조회
18+ */
19+ export interface GetProfileResponse extends ProfileBase , User {
20+ completionRate : number // 포트폴리오 완성률 (%)
21+ }
22+
23+ /*
24+ PATCH: 마이페이지 프로필 저장
25+ */
26+ export type ProfileUpdateRequest = ProfileBase
27+
28+ export interface ProfileUpdateResponse extends ProfileBase {
29+ completionRate ?: number // 포트폴리오 완성률 (%)
30+ }
You can’t perform that action at this time.
0 commit comments