op/datapack: add painting_variant JSON zip export button

데이터팩 수정 페이지에 "이미지.zip 출력" 버튼과 크기 입력(기본 4, 1~16)
을 추가. 누르면 GET /op/datapack/:key/images-zip?size=N 으로 음악 개수만큼
cover_NN.json (asset_id, width=size, height=size, title, author) 을 zip 으로
스트리밍해서 내려준다. 사용자가 맵 데이터팩의 data/musicquiz/painting_variant/
에 그대로 풀어 넣을 수 있다.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 23:22:23 +09:00
parent 212e70cd56
commit 848fac500e
3 changed files with 66 additions and 1 deletions

View File

@@ -143,7 +143,11 @@
"exporting": "출력 중…",
"exported": "출력 완료",
"failed": "실패: {{message}}",
"modalPickTitle": "음악퀴즈 선택"
"modalPickTitle": "음악퀴즈 선택",
"imagesZip": "이미지.zip 출력",
"imagesZipSizeLabel": "크기",
"imagesZipDownloading": "이미지.zip 생성 중…",
"imagesZipDone": "이미지.zip 다운로드 완료"
},
"errors": {
"packNotFound": "해당 음악퀴즈를 찾을 수 없습니다.",