feat: 새 부대편성 페이지 (#223)

Reviewed-on: https://storage.hided.net/gitea/devsam/core/pulls/223
This commit was merged in pull request #223.
This commit is contained in:
2022-07-27 18:01:41 +09:00
parent 308b1f2348
commit a0dee353b5
19 changed files with 1397 additions and 410 deletions
+18
View File
@@ -227,12 +227,30 @@ const apiRealPath = {
},
GetGeneralLogResponse
>,
/** @deprecated */
SetTroopName: PATCH as APICallT<{
troopID: number;
troopName: string;
}>,
GetNationInfo: GET as APICallT<{full?: boolean}, NationInfoResponse>,
},
Troop: {
NewTroop: POST as APICallT<{
troopName: string;
}>,
JoinTroop: PATCH as APICallT<{
troopID: number;
}>,
ExitTroop: PATCH as APICallT<undefined>,
SetTroopName: PATCH as APICallT<{
troopID: number;
troopName: string;
}>,
KickFromTroop: PATCH as APICallT<{
troopID: number;
generalID: number;
}>
},
Vote: {
AddComment: POST as APICallT<{
voteID: number;