Replies: 3 comments 2 replies
-
1. Client Type을 Request Type과 통일 |
Beta Was this translation helpful? Give feedback.
0 replies
-
2. Client Type과 Request Type 분리 |
Beta Was this translation helpful? Give feedback.
2 replies
-
결론
예시export interface SignUpRequest {
phoneNumber: string;
imageUrl?: string;
schoolInfo: {
school: string;
email?: string;
certifiedStudent: boolean; // email이 없는 경우 false
};
nickname: string;
birth: string;
gender: GenderType;
personalities: string[];
}
export interface SignUpState extends Omit<SignUpRequest, 'personalities' | 'birth'> {
certificateNumber?: number;
certificateEmailNumber?: number;
personalityIdList: number[];
birth: DateType;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.
Beta Was this translation helpful? Give feedback.
All reactions