Personne en cours

This commit is contained in:
raveline
2026-04-16 20:51:25 +02:00
parent ff4d4cf892
commit a3802454d5
12 changed files with 204 additions and 1 deletions

View File

@@ -1 +1,2 @@
export * from './users/user.interface';
export * from './users/user.interface';
export * from './persons/person.interface';

View File

@@ -0,0 +1,19 @@
/**
* Contrat pour les données envoyées lors de la création d'une personne
*/
export interface ICreatePersonneDTO {
numeroLicence: string;
nom: string;
prenom: string;
dateNaissance: string; // Format ISO: "YYYY-MM-DD"
surclasse?: boolean;
coach?: boolean;
}
/**
* Contrat pour les données renvoyées par l'API (profil public)
*/
export interface IPersonne extends ICreatePersonneDTO {
id: string;
}