feat: 변경된 베팅 방식에 따라 결과 표기

This commit is contained in:
Hide_D authored and Gitea committed 2022-02-05 07:43:28 +00:00
1 parent 2716e9af39
commit bab86c9f0b
3 files changed
+470 -278

No files matched your search

+22
View File
@@ -223,3 +223,25 @@ export const diplomacyStateInfo: Record<diplomacyState, diplomacyInfo> = {
2: { name: '통상' },
7: { name: '불가침', color: 'green' },
}
export type SelectItem = {
title: string;
info?: string;
isHtml?: boolean;
aux?: Record<string, unknown>;
}
export type BettingInfo = {
id: number;
type: 'nationBetting',
name: string;
finished: boolean;
selectCnt: number;
isExclusive?: boolean;
reqInheritancePoint: boolean;
openYearMonth: number;
closeYearMonth: number;
candidates: SelectItem[];
winner?: number[];
}