From 992737ef33fd2a673b27c4f0b0f01c874c7e580e Mon Sep 17 00:00:00 2001 From: pd0a6847 Date: Tue, 18 Nov 2025 17:01:34 +0900 Subject: [PATCH] =?UTF-8?q?enum=20=ED=83=80=EC=9E=85=20=EC=9E=91=EC=84=B1?= =?UTF-8?q?=EC=A4=91...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/types.ts | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/src/lib/types.ts b/src/lib/types.ts index 1beb687..da547d5 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -24,3 +24,59 @@ export interface BettingInfo { smallBet: number; } +export const BetType = { + BIG: { + category: 'A', + typeDescriptionEng: 'Big / Small Bet', + typeDescriptionKr: '대/소 배팅', + tripeLose: true, + key: 'big', + keyName: 'Big Bet', + rslt: 'big_rslt', + rsltName: 'Big Result', + winConditionDescription: '주사위 총합 10~18', + maxAmount: 300000, + payout: 2, + }, + SMALL: { + category: 'A', + typeDescriptionEng: 'Big / Small Bet', + typeDescriptionKr: '대/소 배팅', + tripeLose: true, + key: 'small', + keyName: 'Small Bet', + rslt: 'small_rslt', + rsltName: 'Small Result', + winConditionDescription: '주사위 총합 1~9', + maxAmount: 300000, + payout: 2, + }, + EVEN: { + category: 'B', + typeDescriptionEng: 'Even / Odd Bet', + typeDescriptionKr: '홀/짝 배팅', + tripeLose: true, + key: 'even', + keyName: 'Even Bet', + rslt: 'even_rslt', + rsltName: 'Even Result', + winConditionDescription: '주사위 총합 짝수', + maxAmount: 300000, + payout: 2, + }, + ODD: { + category: 'B', + typeDescriptionEng: 'Even / Odd Bet', + typeDescriptionKr: '홀/짝 배팅', + tripeLose: true, + key: 'odd', + keyName: 'Odd Bet', + rslt: 'odd_rslt', + rsltName: 'Odd Result', + winConditionDescription: '주사위 총합 홀수', + maxAmount: 300000, + payout: 2, + } +} as const; + +export type BetTypeKey = keyof typeof BetType;