지난 플레이를 현재 장수 카드와 전투·숙련도·기록 컴포넌트로 표시하고, 중앙 archive의 소유자 기반 조회를 연결한다. 명예의 전당과 왕조에 현재/이전 서버 source 분리를 추가한다.
11 lines
368 B
TypeScript
11 lines
368 B
TypeScript
export const GENERAL_RECORD_TYPES = ['generalHistory', 'battleDetail', 'battleResult', 'generalAction'] as const;
|
|
|
|
export type GeneralRecordType = (typeof GENERAL_RECORD_TYPES)[number];
|
|
|
|
export type GeneralRecordEntry = {
|
|
id: number | string;
|
|
content: string;
|
|
};
|
|
|
|
export type GeneralRecordCollection = Partial<Record<GeneralRecordType, GeneralRecordEntry[]>>;
|