IUserRecord

This commit is contained in:
2024-03-11 12:42:06 +00:00
parent c99f97323d
commit 5adf8db676
2 changed files with 21 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { ServerID, UserID } from "@/defs.js";
export interface IUserRecord {
_id: string;
userID: UserID;
serverID: ServerID;
logType: 'inheritPoint';
//게임 내 연도
year: number;
month: number;
text: string;
createdAt: Date;
}
+3
View File
@@ -17,6 +17,9 @@ export type NationName = string & { zz_t?: "NationName" };
//지역 ID
export type RegionID = number & { zz_t?: "RegionID" };
//서버 ID
export type ServerID = number & { zz_t?: "ServerID" };
//TODO: 무언가의 keyof 로 바꿔야함
export type NationType = string & { zz_t?: "NationType" };
export type StrategicTurnType = string & { zz_t?: "StrategicTurnType" };