fix: misc

This commit is contained in:
2024-03-11 15:41:03 +00:00
parent 1b2e062bb6
commit 74174ca343
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import type { CityID, ColorType, IntYearMonth, NationCmdType, NationID, NationLevel, NationName, NationType, RemainMonth, ReservedTurn, StaffLevel, StrategicCmd } from "../defs.js";
import type { CityID, ColorType, IntYearMonth, NationCmdType, NationID, NationLevel, NationName, NationType, RemainMonth, ReservedTurn, StaffLevel, StrategicCmdType } from "../defs.js";
export interface INationEntity{
id: NationID;
@@ -17,7 +17,7 @@ export interface INationEntity{
//TODO: 이게 뭐더라
capset: IntYearMonth;
strategicCmdLimit: Record<StrategicCmd, IntYearMonth>;
strategicCmdLimit: Record<StrategicCmdType, IntYearMonth>;
//세율
taxRate: number;
-1
View File
@@ -25,7 +25,6 @@ export type ScenarioID = number & { zz_t?: "ScenarioID" };
//TODO: 무언가의 keyof 로 바꿔야함
export type NationType = string & { zz_t?: "NationType" };
export type StrategicTurnType = string & { zz_t?: "StrategicTurnType" };
export type ItemKeyType = 'horse' | 'weapon' | 'book' | 'item';
export type ItemID = string & { zz_t?: "ItemID" };