project et profile => clean archi et test vert
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user