feat: Global/GetConst API의 Store파트

This commit is contained in:
Hide_D committed 2022-04-03 23:13:31 +09:00
1 parent 2d06f368f8
commit 81b81d9036
5 files changed
+302 -1

No files matched your search

+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,