/** Événement rattaché à une activité du profil (commentaire, covoiturage). */
export interface ProfilEvenementRef {
  eveId: number;
  libelle: string;
  date: string | null;
  vilNom: string | null;
}

export interface ProfilCommentaire {
  id: number;
  texte: string | null;
  date: string | null;
  heure: string | null;
  evenement: ProfilEvenementRef | null;
}

export interface ProfilAnnonce {
  id: number;
  titre: string;
  texte: string | null;
  date: string | null;
  typeId: number;
}

export interface ProfilCovoiturage {
  id: number;
  ville: string;
  nombre: number;
  heure: string | null;
  propose: number;
  evenement: ProfilEvenementRef | null;
}

/** Activité d'un profil telle que la renvoie `GET /profil/{userId}` (spec L183-L185). */
export interface ProfilActivite {
  commentaires: ProfilCommentaire[];
  annonces: ProfilAnnonce[];
  covoiturages: ProfilCovoiturage[];
}
