feat: 아이템 파기 추가

This commit is contained in:
2022-05-10 23:46:39 +09:00
parent 46a94b7816
commit 443543d70f
4 changed files with 151 additions and 14 deletions
+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>,