fix: misc
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user