auth => clean archi

This commit is contained in:
styve Lioumba
2025-11-19 16:25:32 +01:00
parent c8d0f96b31
commit dd77e3d023
47 changed files with 696 additions and 545 deletions

View File

@@ -19,6 +19,8 @@ import { SECTOR_REPOSITORY_TOKEN } from '@app/infrastructure/sectors/sector-repo
import { PbSectorRepository } from '@app/infrastructure/sectors/pb-sector.repository';
import { USER_REPOSITORY_TOKEN } from '@app/infrastructure/users/user-repository.token';
import { PbUserRepository } from '@app/infrastructure/users/pb-user.repository';
import { AUTH_REPOSITORY_TOKEN } from '@app/infrastructure/authentification/auth-repository.token';
import { PbAuthRepository } from '@app/infrastructure/authentification/pb-auth.repository';
export const appConfig: ApplicationConfig = {
providers: [
@@ -37,6 +39,7 @@ export const appConfig: ApplicationConfig = {
{ provide: PROJECT_REPOSITORY_TOKEN, useExisting: PbProjectRepository },
{ provide: SECTOR_REPOSITORY_TOKEN, useExisting: PbSectorRepository },
{ provide: USER_REPOSITORY_TOKEN, useExisting: PbUserRepository },
{ provide: AUTH_REPOSITORY_TOKEN, useExisting: PbAuthRepository },
provideToastr({
timeOut: 10000,
positionClass: 'toast-top-right',