운영진용 동아리 이력/매핑/공식 인증 관리 API 구현#51
Merged
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
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.
관련 문서
작업 범위
커밋 범위:
27f6ec26297639cba889382418eedd569fa1e5c7~27ecbd5936f600f29ffcfd06c5da46806309777e이번 PR에서는 운영진 대시보드에서 필요한 동아리 수정 이력 조회, 기존 동아리 관리자 매핑 신청 관리, 공식 인증 요청 관리 API를 구현했습니다.
구현 내용
동아리 수정 이력 조회
GET /api/v1/admin/clubs/histories추가club_history기반 수정 이력 목록 조회club_uuid,query,offset,limitquery parameter 지원매핑 신청 목록 조회
GET /api/v1/admin/clubs/manager-requests추가club_manager_request목록 조회statusquery parameter로PENDING,APPROVED,REJECTED필터링 지원매핑 신청 승인 및 반려
PATCH /api/v1/admin/clubs/manager-requests/{id}/status추가APPROVED,REJECTED상태 처리 지원reject_reason필수 검증club_manager테이블에 등록409 Conflict반환공식 인증 요청 목록 조회
GET /api/v1/admin/clubs/verifications추가club_verification_request목록 조회statusquery parameter로PENDING,APPROVED,REJECTED필터링 지원공식 인증 요청 승인 및 반려
PATCH /api/v1/admin/clubs/verifications/{id}/status추가APPROVED,REJECTED상태 처리 지원reject_reason필수 검증is_official_verified를true로 변경하고verified_at기록409 Conflict반환공통 변경
UserService.assertAdminRole패턴을 사용검증
pnpm lint기존 unrelated lint warning은 남아 있으나, 이번 변경으로 인한 lint error는 없습니다.