8단계 관리자: 노래 추가·초성 검색·일괄 작업·휴지통·가져오기/내보내기·중복 병합·하이라이트 지정, 가수 별칭, 장르, 통계와 난이도 제안, 방 강제 종료, 수집 실행/멈추기, 새 방 기본 설정·잠금 + 출제 기록(song_plays)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-18 22:27:21 +09:00
parent 7266fc8d25
commit 4165712fac
23 changed files with 2367 additions and 105 deletions

View File

@@ -16,6 +16,10 @@ export const SiteSettingsSchema = z.object({
chatBurst: z.number().int().min(1).max(100).default(12),
/** One question's time limit for short clips (docs/05 문제 진행: 기본 60초, 관리자 설정). */
questionLimitSec: z.number().int().min(10).max(600).default(60),
/** 새 방의 기본 설정 (docs/04 설정 저장): a partial room config, validated against the room schema when saved. */
roomDefaults: z.record(z.string(), z.unknown()).default({}),
/** 잠금: settings hosts cannot change (they stay at the default). */
roomLocks: z.array(z.string().max(30)).max(30).default([]),
});
export type SiteSettings = z.infer<typeof SiteSettingsSchema>;