profiles => format clean archi

This commit is contained in:
styve Lioumba
2025-10-20 20:34:45 +02:00
parent 4191ac1ed0
commit ef02c6a537
171 changed files with 25748 additions and 23863 deletions

View File

@@ -0,0 +1,14 @@
export interface Profile {
id: string;
created: string;
updated: string;
profession: string;
utilisateur: string;
estVerifier: boolean;
secteur: string;
reseaux: JSON;
bio: string;
cv: string;
projets: string[];
apropos: string;
}

View File

@@ -0,0 +1,9 @@
import { Profile } from '@app/domain/profiles/profile.model';
import { Observable } from 'rxjs';
export interface ProfileRepository {
list(params?: { search?: string; page?: number; pageSize?: number }): Observable<Profile[]>;
getByUserId(userId: string): Observable<Profile | null>;
create(profile: Profile): Observable<Profile>;
update(id: string, profile: Partial<Profile>): Observable<Profile>;
}