-
Notifications
You must be signed in to change notification settings - Fork 6
[SWEP-89] 메모 텍스트 저장 API tsoa 적용 및 여러 multer 객체 사용할 수 있도록 구현 (#189) #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
jjiinaaa
added a commit
that referenced
this pull request
Feb 10, 2025
* [SWEP-58] 스웨거 문서 작성 (#187) * [SWEP-58] 스웨거 문서 작성 * [SWEP-58] 사진삭제 스웨거 주석 작성 * [SWEP-58] 스웨거 문서 변경 * [SWEP-89] 메모 텍스트 저장 API tsoa 적용 및 여러 multer 객체 사용할 수 있도록 구현 (#189) (#191) Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> --------- Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com> Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com>
jjiinaaa
added a commit
that referenced
this pull request
Feb 13, 2025
* [SWEP-86] 히스토리 API 임시 저장 * [SWEP-87] 챌린지 API 개선 * [SWEP-58] 스웨거 문서 작성 (#187) * [SWEP-58] 스웨거 문서 작성 * [SWEP-58] 사진삭제 스웨거 주석 작성 * [SWEP-58] 스웨거 문서 변경 * [SWEP-89] 메모 텍스트 저장 API tsoa 적용 및 여러 multer 객체 사용할 수 있도록 구현 (#189) (#191) Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> * [SWEP-98] tsoa 변환 * [SWEP-98] 임시저장 14:31 * [SWEP-98] app.ts 수정 --------- Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com> Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com> Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com>
jjiinaaa
added a commit
that referenced
this pull request
Feb 14, 2025
* [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 (#200) (#201) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 (#200) * fix: 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 (#202) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 * [SWEP-96] 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 * fix: tsoa.json 폴더 생성 및 사진 저장 spec requestBody 삭제 (#203) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 * [SWEP-96] 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 * [SWEP-96] tsoa.json 폴더 생성 및 사진 저장 spec requestBody 삭제 * [SWEP-98] 챌린지 API tsoa 변환 (#205) * [SWEP-86] 히스토리 API 임시 저장 * [SWEP-87] 챌린지 API 개선 * [SWEP-58] 스웨거 문서 작성 (#187) * [SWEP-58] 스웨거 문서 작성 * [SWEP-58] 사진삭제 스웨거 주석 작성 * [SWEP-58] 스웨거 문서 변경 * [SWEP-89] 메모 텍스트 저장 API tsoa 적용 및 여러 multer 객체 사용할 수 있도록 구현 (#189) (#191) Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> * [SWEP-98] tsoa 변환 * [SWEP-98] 임시저장 14:31 * [SWEP-98] app.ts 수정 --------- Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com> Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com> Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> --------- Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com> Co-authored-by: codie0226 <80187674+codie0226@users.noreply.github.com> Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com>
jjiinaaa
added a commit
that referenced
this pull request
Feb 15, 2025
* [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 (#200) (#201) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 (#200) * fix: 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 (#202) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 * [SWEP-96] 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 * fix: tsoa.json 폴더 생성 및 사진 저장 spec requestBody 삭제 (#203) * [SWEP-96] 메모장 사진 업로드 및 저장 로직 개선 * [SWEP-96] 폴더 생성 및 사진 저장 API 주석처리 + multer 미들웨어 실행 전에 폴더 ID 검사 * [SWEP-96] tsoa.json 폴더 생성 및 사진 저장 spec requestBody 삭제 * [SWEP-98] 챌린지 API tsoa 변환 (#205) * [SWEP-86] 히스토리 API 임시 저장 * [SWEP-87] 챌린지 API 개선 * [SWEP-58] 스웨거 문서 작성 (#187) * [SWEP-58] 스웨거 문서 작성 * [SWEP-58] 사진삭제 스웨거 주석 작성 * [SWEP-58] 스웨거 문서 변경 * [SWEP-89] 메모 텍스트 저장 API tsoa 적용 및 여러 multer 객체 사용할 수 있도록 구현 (#189) (#191) Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> * [SWEP-98] tsoa 변환 * [SWEP-98] 임시저장 14:31 * [SWEP-98] app.ts 수정 --------- Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com> Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com> Co-authored-by: JinHa Park <160022452+jjiinaaa@users.noreply.github.com> * [SWEP-58] 휴지통 API 변경사항 (#207) * [SWEP-101] 히스토리 API 수정 (#213) * [SWEP-101] 히스토리 API 수정 * [SWEP-101] 어워드 조회 수정 --------- Co-authored-by: asjasj3964 <84120715+asjasj3964@users.noreply.github.com> Co-authored-by: codie0226 <80187674+codie0226@users.noreply.github.com> Co-authored-by: Socializedistp <159607145+Socializedistp@users.noreply.github.com>
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.
Sweepic Server PR List
close #183
⚒️develop의 최신 커밋을 pull 받았나요?
🔍️ 이 PR을 통해 해결하려는 문제가 무엇인가요?
✨ 이 PR에서 핵심적으로 변경된 사항은 무엇일까요? (핵심 작업 내용)
RegisterRoutes(app, {multer: imageUploader})이런 식으로 registerRoutes로 라우팅 등록 시 multer 옵션을 추가하여 @uploadedfile() 데코레이터로 파일을 업로드할 때 자체적인 multer 미들웨어가 아닌 커스텀 multer 미들웨어(imageUploader)를 이용하도록 구현해주었습니다. 그러나 이는 메모 텍스트 저장 API를 수행할 때에도 imageUploader 미들웨어를 거치게 되어 해당 사진을 불필요하게 S3에 저장하게 된다는 문제가 있습니다.🤚 동작 확인
🔖 핵심 변경 사항 외에 추가적으로 변경된 부분이 있나요?
🙏 Reviewer 분들이 이런 부분을 신경써서 봐 주시면 좋겠어요
🩺 이 PR에서 테스트 혹은 검증이 필요한 부분이 있을까요?
📌 PR 진행 시 이러한 점들을 참고해 주세요
📝 Assignee를 위한 CheckList