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;