게시물 Import 호환성 보강 v1.5.28

This commit is contained in:
2026-06-02 10:30:11 +09:00
parent ef1a9d9032
commit 9d91355c81
11 changed files with 117 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ const MAX_IMPORT_ZIP_BYTES = 300 * 1024 * 1024
/**
* 관리자 게시물 Import API
* @param {import('h3').H3Event} event - 요청 이벤트
* @returns {Promise<{ importedCount: number, assetCount: number, posts: Array<Object> }>} Import 결과
* @returns {Promise<{ importedCount: number, assetCount: number, warningCount: number, warnings: Array<string>, posts: Array<Object> }>} Import 결과
*/
export default defineEventHandler(async (event) => {
const adminSession = requireAdminSession(event)