feat(pickup): 홈 전역 픽업 날짜/시간 슬롯 (pickupCalendar/pickupTimeSlots)#147
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🧹 knip — dead-code 리포트전체 리포트
|
🩺 NestJS Doctor — 88/100 (Good)진단 254건 (error 0).
architecture / security 상위 항목
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Coverage report
Test suite run success1342 tests passing in 159 suites. Report generated by 🧪jest coverage report action from ff3b8ff |
Summary
홈 화면의 픽업 날짜/시간 선택(화면 05) 백엔드인 PR4입니다. 월별 달력과 시간 슬롯을 제공하는
pickupCalendar/pickupTimeSlots쿼리를 신설했습니다.합의대로 홈 전역 슬롯(매장 무관 고정 정책) 방식이라 스키마 변경·의존성 추가가 없습니다.
Scope
pickupCalendar(yearMonth)/pickupTimeSlots(date)PAST)·최대일수(+30일) 초과(OUT_OF_RANGE) 선택 불가 판정common/utils/kst-time.ts): KST(UTC+9) 날짜/시간 분해·파싱·일수차·자정 변환 순수 함수. now 주입으로 결정적 테스트pickup.constants.ts): 영업/간격/최대일수/리드타임. 기획 확정 시 교체진행 상황
전체 4개 PR 중 4번째(마지막):
Impact
Test plan
yarn validate전체 통과 — 159 suites / 1342 tests / 커버리지 임계 충족한계 / 후속 (명시)
nearbyRegions(현재위치 좌표) 등은 앞선 PR들에서 이월된 후속 항목.