front correction id number|null
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
import { Groupe } from "./classes";
|
||||
|
||||
export type ActiviteDTO = {
|
||||
id: number;
|
||||
id: number|null;
|
||||
name: string;
|
||||
theme: string;
|
||||
duree: number;
|
||||
dataActivite: string[];
|
||||
sessionId: number;
|
||||
sessionId: number|null;
|
||||
}
|
||||
|
||||
export type AdminDTO = {
|
||||
id: number;
|
||||
id: number|null;
|
||||
id_keycloak: string;
|
||||
name: string;
|
||||
prenom: string;
|
||||
}
|
||||
|
||||
export type AthleteDTO = {
|
||||
id:number;
|
||||
id:number|null;
|
||||
id_keycloak: string;
|
||||
name: string;
|
||||
prenom: string;
|
||||
@@ -28,7 +28,7 @@ export type AthleteDTO = {
|
||||
};
|
||||
|
||||
export type CoachDTO = {
|
||||
id: number;
|
||||
id: number|null;
|
||||
id_keycloak: string;
|
||||
name: string;
|
||||
prenom: string;
|
||||
@@ -36,14 +36,14 @@ export type CoachDTO = {
|
||||
};
|
||||
|
||||
export type SessionDTO = {
|
||||
id: number;
|
||||
id: number|null;
|
||||
name: string;
|
||||
isRecurrent: boolean;
|
||||
creneau: string; // LocalDateTime → ISO string
|
||||
duree: number;
|
||||
groupe: Groupe;
|
||||
|
||||
coachId: number;
|
||||
coachId: number|null;
|
||||
athleteIds: number[];
|
||||
activiteIds: number[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user