feat(WIP): 턴 선택기 고급 확장

- 최근 예약 턴 저장
This commit is contained in:
2022-03-23 20:12:59 +09:00
parent 30b78a1938
commit bcf52e0460
5 changed files with 243 additions and 70 deletions
+8 -1
View File
@@ -1,3 +1,5 @@
import type { Args } from "./processing/args";
export type InvalidResponse = {
result: false;
reason: string;
@@ -33,6 +35,11 @@ export type GeneralListResponse = {
token: Record<number, number>,
}
export type ReserveCommandResponse = {
result: true,
brief: string,
}
export type NationLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
export const NationLevelText: Record<NationLevel, string> = {
0: '방랑군',
@@ -176,7 +183,7 @@ export type OptionalFull<Type> = {
export type TurnObj = {
action: string;
brief: string;
arg: null | [] | Record<string, number | string | number[] | string[]>;
arg: Args;
};