refac(WIP): SammoAPI, select_npc
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user