Skip to content

[Refactor] 부스 관련 API 및 좋아요 기능 구조 개선#179

Merged
leejs0823 merged 4 commits intodevelopfrom
refactor/#178
Aug 4, 2025
Merged

[Refactor] 부스 관련 API 및 좋아요 기능 구조 개선#179
leejs0823 merged 4 commits intodevelopfrom
refactor/#178

Conversation

@dewbeeny
Copy link
Copy Markdown
Collaborator

@dewbeeny dewbeeny commented Jul 9, 2025

✨ 변경사항 요약

  • user/admin 부스 API 및 쿼리 훅 분리
  • 기능별 책임을 명확히 분리하여 유지보수성 향상
  • 공통 타입 sharedTypes.ts로 통합
  • 중복 타입 제거 및 재사용성 강화
  • 좋아요 기능 관련 모듈 구조 통일
  • 중복 로직 분리(handleToggleLike.ts)
  • 훅/Mutation/API/타입 모듈화
  • 파일 네이밍 통일 및 디렉토리 정리

📂 관련 이슈

✅ 작업 내용 체크리스트

  • 기능 구현 완료
  • UI 확인
  • ESLint/Prettier 적용
  • 테스트 또는 동작 확인 완료

📸 스크린샷 (선택)

변경된 화면이 있다면 첨부해주세요.

🙋 기타 참고 사항

특이사항, 검토 요청 사항 등

export interface PubStatus {
pubsId: number;
waitTeam: number;
status: "AVAILABLE" | "FULL" | "PREPARING" | "END";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용자 부스 상태와 관리자 부스 상태의 status Type을 하나의 BoothType으로 분리해서 정의하는 건 어떨까요??

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 types의 booth 파일에 BoothStatus로 따로 다시 분리해봤습니다!

@leejs0823 leejs0823 self-requested a review August 4, 2025 12:09
Copy link
Copy Markdown
Member

@leejs0823 leejs0823 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋아요 수고하셨습니다!

@leejs0823 leejs0823 merged commit 21cadb0 into develop Aug 4, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants