feat: Global/GetConst API의 Store파트

This commit is contained in:
2022-04-03 23:13:31 +09:00
parent 315dcf80c9
commit 772805c8f4
5 changed files with 302 additions and 1 deletions
+4
View File
@@ -12,6 +12,7 @@ import type { inheritBuffType } from "./defs/API/InheritAction";
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";
const apiRealPath = {
Betting: {
@@ -47,6 +48,9 @@ const apiRealPath = {
General: {
Join: POST as APICallT<JoinArgs>,
},
Global: {
GetConst: GET as APICallT<undefined, GetConstResponse>,
},
InheritAction: {
BuyHiddenBuff: PUT as APICallT<{
type: inheritBuffType,