Correction du worflow release : on ne fait plus les tests (évite le doublons de test avec le ci.yml).
Some checks failed
Tests unitaires / Brain (Python · pytest + couverture) (push) Successful in 21s
Tests unitaires / Web (Angular · vitest + couverture) (push) Successful in 30s
Tests unitaires / Core (Java · mvn test + JaCoCo) (push) Successful in 2m22s
Build & Push Images / build (brain) (push) Successful in 1m16s
E2E Tests / e2e (push) Failing after 5m24s
Build & Push Images / build (core) (push) Successful in 3m5s
Build & Push Images / build-switcher (push) Successful in 50s
Build & Push Images / build (web) (push) Successful in 1m56s
Some checks failed
Tests unitaires / Brain (Python · pytest + couverture) (push) Successful in 21s
Tests unitaires / Web (Angular · vitest + couverture) (push) Successful in 30s
Tests unitaires / Core (Java · mvn test + JaCoCo) (push) Successful in 2m22s
Build & Push Images / build (brain) (push) Successful in 1m16s
E2E Tests / e2e (push) Failing after 5m24s
Build & Push Images / build (core) (push) Successful in 3m5s
Build & Push Images / build-switcher (push) Successful in 50s
Build & Push Images / build (web) (push) Successful in 1m56s
Correction de tests coté java + config Suppression de classes inutilisées coté Angular
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Observable } from 'rxjs';
|
||||
import { ProgressionStatus } from './campaign.model';
|
||||
|
||||
/**
|
||||
* Endpoints de progression des quêtes pour un Playthrough.
|
||||
* Modèle "absence = NOT_STARTED" — envoyer NOT_STARTED supprime la ligne côté backend.
|
||||
*/
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class QuestProgressionService {
|
||||
|
||||
constructor(private http: HttpClient) {}
|
||||
|
||||
/** Map chapterId -> ProgressionStatus pour le Playthrough donné. */
|
||||
list(playthroughId: string): Observable<Record<string, ProgressionStatus>> {
|
||||
return this.http.get<Record<string, ProgressionStatus>>(
|
||||
`/api/playthroughs/${playthroughId}/quest-progressions`
|
||||
);
|
||||
}
|
||||
|
||||
setStatus(playthroughId: string, chapterId: string, status: ProgressionStatus): Observable<void> {
|
||||
return this.http.put<void>(
|
||||
`/api/playthroughs/${playthroughId}/quest-progressions/${chapterId}`,
|
||||
{ status }
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user