feat: 마음 기록 전면 카메라 사진 등록 기능 추가 (사진 2개 등록 가능하도록)#89
Conversation
Walkthrough마음로그 기능에서 단일 파일(이름 및 확장자) 기반 처리 구조를 프론트/백 두 개의 파일 이름과 presigned URL을 개별적으로 다루는 방식으로 전환하였습니다. 이에 따라 DTO, 엔티티, 레포지토리, 서비스 계층의 필드, 메서드 시그니처 및 검증 로직이 모두 두 파일 체계에 맞게 변경되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Service
participant Repository
participant S3
Client->>Service: getPresignedPutUrl()
Service->>S3: generatePresignedUrl(front)
Service->>S3: generatePresignedUrl(back)
Service-->>Client: return frontFileName, frontPresignedUrl, backFileName, backPresignedUrl
Client->>Service: createMaumLog(frontFileName, backFileName, ...)
Service->>Repository: existsByFrontFileName(frontFileName)
Service->>Repository: existsByBackFileName(backFileName)
Service->>S3: check frontFile existence
Service->>S3: check backFile existence
Service->>Repository: save MaumLog(frontFileName, backFileName, ...)
Service-->>Client: 완료 응답
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Bug Fixes