게시물 export 작업 기반 추가 v1.5.20

This commit is contained in:
2026-06-01 12:26:24 +09:00
parent abce690546
commit 11203ba251
13 changed files with 608 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
import { requireAdminSession } from '../../../../utils/admin-auth'
import { listPostExportJobs } from '../../../../repositories/post-export-repository'
/**
* 관리자 게시물 Export 작업 목록 API
* @param {import('h3').H3Event} event - 요청 이벤트
* @returns {Promise<Array>} Export 작업 목록
*/
export default defineEventHandler((event) => {
requireAdminSession(event)
return listPostExportJobs()
})