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,11 @@
import { ProfileRepository } from '@app/domain/profiles/profile.repository';
import { Observable } from 'rxjs';
import { Profile } from '@app/domain/profiles/profile.model';
export class ListProfilesUseCase {
constructor(private readonly repo: ProfileRepository) {}
execute(params?: { search?: string; page?: number; pageSize?: number }): Observable<Profile[]> {
return this.repo.list(params);
}
}