#222 alreadyExists/hasChapter/hasQuiz 속성을 책 조회 API에 추가 #223
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.
Fixes #222
Summary
책 검색 및 좋아요 API 응답에 챌린지 생성 가능 여부를 사전에 확인할 수 있는 속성을 추가하여, POST api/v3/challenges 호출 전 검증을 수행하도록 개선했습니다.
Changes
SearchBookResponse 모델 확장
LikeBookResponse 모델 확장
SearchBookViewModel 로직 개선
챌린지 검색 화면 UX 개선
alreadyExists: 이미 진행중인 챌린지 확인hasChapter: 목차 존재 여부 확인hasQuiz: 퀴즈 존재 여부 확인 후 다이얼로그 표시Test Plan
🤖 Generated with Claude Code