feat: 토너먼트 관련 기능 추가 및 베팅 처리 로직 구현

This commit is contained in:
2026-01-23 16:58:59 +00:00
parent b6164868b7
commit 293a5035c6
9 changed files with 314 additions and 15 deletions
+2
View File
@@ -2,10 +2,12 @@ export interface TournamentKeys {
stateKey: string;
participantsKey: string;
matchesKey: string;
bettingKey: string;
}
export const buildTournamentKeys = (profileName: string): TournamentKeys => ({
stateKey: `sammo:${profileName}:tournament:state`,
participantsKey: `sammo:${profileName}:tournament:participants`,
matchesKey: `sammo:${profileName}:tournament:matches`,
bettingKey: `sammo:${profileName}:tournament:betting`,
});