feat : #12 recherche et filtre

This commit is contained in:
styve Lioumba
2025-11-28 15:15:33 +01:00
parent 4716e82628
commit 4ed6d812db
30 changed files with 308 additions and 487 deletions

View File

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