feat: 참가자 잠금 기능 추가 및 관리자 상태 조회 기능 구현
This commit is contained in:
@@ -14,6 +14,7 @@ export interface TournamentState {
|
||||
winnerId?: number;
|
||||
bettingSettled?: boolean;
|
||||
rewardSettled?: boolean;
|
||||
participantsLockedAt?: string;
|
||||
lastError?: string;
|
||||
lastErrorAt?: string;
|
||||
}
|
||||
|
||||
@@ -330,6 +330,7 @@ const applyPreBattleStage = async (
|
||||
...state,
|
||||
stage: 2,
|
||||
phase: 0,
|
||||
participantsLockedAt: new Date().toISOString(),
|
||||
nextAt: resolveNextAt(state),
|
||||
};
|
||||
await store.setState(nextState);
|
||||
|
||||
Reference in New Issue
Block a user