[refactor, chore] 사용자 인증 폼 검증 시스템 개선 / Zod 기반 스키마 통합 및 중복 로직 제거 / sharp 패키지 설치#223
Open
[refactor, chore] 사용자 인증 폼 검증 시스템 개선 / Zod 기반 스키마 통합 및 중복 로직 제거 / sharp 패키지 설치#223
Conversation
🔀 Merge dev → main
🔀 Merge dev → main
🔀 Merge dev → main
🔀 Merge dev → main
🔀 Merge dev → main
🔀 Merge dev → main
🔀 Merge dev → main
docs: Update README.md
- passwordConfirm 필드 옵션 설정 - 기존 두 스키마를 authSchema 로 통합 - 단일 필드 검증이 필요한 email, userName, password 는 refine 사용
|
✅ Preview Deployment |
|
✅ Preview Deployment |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 이슈 번호
Closes #222
📋 작업 사항
Zod v4 업그레이드에 따른 Zod v3.25.0 설치 (subpath 로 zod v4 임포트)
이미지 최적화를 위한 sharp 패키지 설치
로그인 폼 인증 스키마 통합 (authSchema) 및 분리
InputWithLabel 이벤트 onChange 로 통일 (onBlur 삭제)
이메일 필드 : min( ), refine( ) 로 빈 값 처리 / 단일 필드 검증
닉네임 필드 : min( ), max( ) 로 빈 값 처리 / 단일 필드 검증
비밀번호 필드 : min( ), refine( ) 로 빈 값 처리 / 단일 필드 검증
비밀번호 확인 필드 : optional 설정 및 check( ) 로 복합 검증 구현
📷 스크린샷
📢 공유 사항
📚 참고 자료
공유사항 / 참고자료는 집 가서 적을께요 .. 🥹