feat: 참가자 잠금 기능 추가 및 관리자 상태 조회 기능 구현

This commit is contained in:
2026-01-23 17:56:58 +00:00
parent f466e25058
commit fbf8cd876f
4 changed files with 104 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@ export interface TournamentState {
winnerId?: number;
bettingSettled?: boolean;
rewardSettled?: boolean;
participantsLockedAt?: string;
lastError?: string;
lastErrorAt?: string;
}
+1
View File
@@ -330,6 +330,7 @@ const applyPreBattleStage = async (
...state,
stage: 2,
phase: 0,
participantsLockedAt: new Date().toISOString(),
nextAt: resolveNextAt(state),
};
await store.setState(nextState);