import type { ValidResponse } from "@/defs"; export type BettingListResponse = ValidResponse & { bettingList: Record>; year: number; month: number; }; export type BettingDetailResponse = ValidResponse & { bettingInfo: BettingInfo; bettingDetail: [string, number][]; myBetting: [string, number][]; remainPoint: number; year: number; month: number; }; export type BettingInfo = { id: number; type: 'nationBetting', name: string; finished: boolean; selectCnt: number; isExclusive?: boolean; reqInheritancePoint: boolean; openYearMonth: number; closeYearMonth: number; candidates: Record; winner?: number[]; } export type SelectItem = { title: string; info?: string; isHtml?: boolean; aux?: Record; }