project refactoring en clean archi
This commit is contained in:
@@ -13,6 +13,8 @@ import { provideAnimations } from '@angular/platform-browser/animations';
|
||||
import { provideToastr } from 'ngx-toastr';
|
||||
import { PROFILE_REPOSITORY_TOKEN } from '@app/infrastructure/profiles/profile-repository.token';
|
||||
import { PbProfileRepository } from '@app/infrastructure/profiles/pb-profile.repository';
|
||||
import { PROJECT_REPOSITORY_TOKEN } from '@app/infrastructure/projects/project-repository.token';
|
||||
import { PbProjectRepository } from '@app/infrastructure/projects/pb-project.repository';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
@@ -28,6 +30,7 @@ export const appConfig: ApplicationConfig = {
|
||||
provideAnimations(),
|
||||
provideHttpClient(withFetch()),
|
||||
{ provide: PROFILE_REPOSITORY_TOKEN, useExisting: PbProfileRepository },
|
||||
{ provide: PROJECT_REPOSITORY_TOKEN, useExisting: PbProjectRepository },
|
||||
provideToastr({
|
||||
timeOut: 10000,
|
||||
positionClass: 'toast-top-right',
|
||||
|
||||
Reference in New Issue
Block a user