project et profile => clean archi et test vert

This commit is contained in:
styve Lioumba
2025-10-24 16:18:27 +02:00
parent 4c1787d784
commit 3654709250
48 changed files with 762 additions and 656 deletions

View File

@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
export interface ProfileRepository {
list(params?: { search?: string; page?: number; pageSize?: number }): Observable<Profile[]>;
getByUserId(userId: string): Observable<Profile | null>;
getByUserId(userId: string): Observable<Profile>;
create(profile: Profile): Observable<Profile>;
update(id: string, profile: Partial<Profile>): Observable<Profile>;
update(profileId: string, profile: Partial<Profile>): Observable<Profile>;
}