IUserRecord
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -17,6 +17,9 @@ export type NationName = string & { zz_t?: "NationName" };
|
|||||||
//지역 ID
|
//지역 ID
|
||||||
export type RegionID = number & { zz_t?: "RegionID" };
|
export type RegionID = number & { zz_t?: "RegionID" };
|
||||||
|
|
||||||
|
//서버 ID
|
||||||
|
export type ServerID = number & { zz_t?: "ServerID" };
|
||||||
|
|
||||||
//TODO: 무언가의 keyof 로 바꿔야함
|
//TODO: 무언가의 keyof 로 바꿔야함
|
||||||
export type NationType = string & { zz_t?: "NationType" };
|
export type NationType = string & { zz_t?: "NationType" };
|
||||||
export type StrategicTurnType = string & { zz_t?: "StrategicTurnType" };
|
export type StrategicTurnType = string & { zz_t?: "StrategicTurnType" };
|
||||||
|
|||||||
Reference in New Issue
Block a user