feat(member): 회원 설정/헤더 상태 UI와 관리자 멤버 관리 추가

로그인 상태를 헤더에서 즉시 인지하고 계정 관리를 이어갈 수 있도록 사용자 설정과 관리자 멤버 관측 기능을 연결했다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-11 17:10:48 +09:00
parent 91573a31d6
commit f5cd73b223
34 changed files with 2093 additions and 107 deletions

View File

@@ -0,0 +1,12 @@
import { clearMemberSession } from '../../utils/member-auth'
/**
* 회원 로그아웃 API
* @param {import('h3').H3Event} event - 요청 이벤트
* @returns {{ ok: true }} 처리 결과
*/
export default defineEventHandler((event) => {
clearMemberSession(event)
return { ok: true }
})