feat: 아이템 파기 추가

This commit is contained in:
Hide_D committed 2022-05-10 23:46:39 +09:00
1 parent 46a94b7816
commit 443543d70f
4 files changed
+151 -14

No files matched your search

+5 -2
View File
@@ -13,7 +13,7 @@ import type { SetBlockWarResponse, GeneralListResponse as NationGeneralListRespo
import type { UploadImageResponse } from "./defs/API/Misc";
import type { GeneralLogType, GetGeneralLogResponse, JoinArgs } from "./defs/API/General";
import type { GetConstResponse, GetCurrentHistoryResponse, GetDiplomacyResponse, GetHistoryResponse } from "./defs/API/Global";
import type { CachedMapResult, GeneralListResponse, MapResult } from "./defs";
import type { CachedMapResult, GeneralListResponse, ItemTypeKey, MapResult } from "./defs";
const apiRealPath = {
Betting: {
@@ -53,7 +53,10 @@ const apiRealPath = {
GetGeneralLog: GET as APICallT<{
reqType: GeneralLogType,
reqTo?: number
}, GetGeneralLogResponse>
}, GetGeneralLogResponse>,
DropItem: PUT as APICallT<{
itemType: ItemTypeKey
}>
},
Global: {
GeneralList: GET as APICallT<undefined, GeneralListResponse>,