This commit is contained in:
2022-07-27 15:15:42 +09:00
parent 00a440a107
commit 9db1be7b6c
6 changed files with 204 additions and 0 deletions
+10
View File
@@ -227,12 +227,22 @@ const apiRealPath = {
},
GetGeneralLogResponse
>,
/** @deprecated */
SetTroopName: PATCH as APICallT<{
troopID: number;
troopName: string;
}>,
GetNationInfo: GET as APICallT<{full?: boolean}, NationInfoResponse>,
},
Troop: {
NewTroop: POST as APICallT<{
name: string;
}>,
SetTroopName: PATCH as APICallT<{
troopID: number;
troopName: string;
}>,
},
Vote: {
AddComment: POST as APICallT<{
voteID: number;