Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7ed63fff49
commit
b179a40a04
36 changed files with 799 additions and 298 deletions
|
|
@ -104,6 +104,15 @@ export function recruitTeam(day) {
|
|||
return request("/team/recruit", { method: "POST", body: JSON.stringify({ day }) });
|
||||
}
|
||||
|
||||
// Serveur de développement seulement.
|
||||
export function resetTeam() {
|
||||
return request("/team/reset", { method: "POST" });
|
||||
}
|
||||
|
||||
export function rerollTeamOffer(offer) {
|
||||
return request("/team/reroll", { method: "POST", body: JSON.stringify({ offer }) });
|
||||
}
|
||||
|
||||
export function chooseTeamCharacter(cardId) {
|
||||
return request("/team/choose", { method: "POST", body: JSON.stringify({ cardId }) });
|
||||
}
|
||||
|
|
@ -112,6 +121,10 @@ export function revealTeamStar(index) {
|
|||
return request("/team/stars", { method: "POST", body: JSON.stringify({ index }) });
|
||||
}
|
||||
|
||||
export function healTeamCompanion(cardId) {
|
||||
return request("/team/heal", { method: "POST", body: JSON.stringify({ cardId }) });
|
||||
}
|
||||
|
||||
export function keepTeamCompanion(cardId) {
|
||||
return request("/team/keep", { method: "POST", body: JSON.stringify({ cardId }) });
|
||||
}
|
||||
|
|
@ -250,6 +263,10 @@ export function claimExpedition(expeditionId) {
|
|||
return request(`/expeditions/${encodeURIComponent(expeditionId)}/claim`, { method: "POST" });
|
||||
}
|
||||
|
||||
export function updateTeamSettings(settings) {
|
||||
return request("/admin/team/settings", { method: "PUT", body: JSON.stringify({ settings }) });
|
||||
}
|
||||
|
||||
export function updateExpeditionSettings(settings) {
|
||||
return request("/admin/expeditions/settings", { method: "PUT", body: JSON.stringify({ settings }) });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue