refac(WIP): SammoAPI, select_npc

This commit is contained in:
2022-04-07 03:03:38 +09:00
parent 94acf87695
commit 3b4cbf68ca
3 changed files with 62 additions and 64 deletions
+4
View File
@@ -13,6 +13,7 @@ import type { SetBlockWarResponse } from "./defs/API/Nation";
import type { UploadImageResponse } from "./defs/API/Misc";
import type { JoinArgs } from "./defs/API/General";
import type { GetConstResponse } from "./defs/API/Global";
import type { GeneralListResponse } from "./defs";
const apiRealPath = {
Betting: {
@@ -49,6 +50,9 @@ const apiRealPath = {
Join: POST as APICallT<JoinArgs>,
},
Global: {
GeneralList: GET as APICallT<{
with_token?: boolean
}, GeneralListResponse>,
GetConst: GET as APICallT<undefined, GetConstResponse>,
},
InheritAction: {