feat : #14 partage de profil
This commit is contained in:
@@ -2,6 +2,7 @@ import { ApplicationConfig } from '@angular/core';
|
||||
import {
|
||||
PreloadAllModules,
|
||||
provideRouter,
|
||||
withComponentInputBinding,
|
||||
withInMemoryScrolling,
|
||||
withPreloading,
|
||||
withViewTransitions,
|
||||
@@ -21,6 +22,8 @@ import { USER_REPOSITORY_TOKEN } from '@app/infrastructure/users/user-repository
|
||||
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';
|
||||
import { WEB_SHARE_SERVICE_TOKEN } from '@app/infrastructure/shareData/web-share.service.token';
|
||||
import { WebShareService } from '@app/infrastructure/shareData/web-share.service';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
@@ -31,7 +34,8 @@ export const appConfig: ApplicationConfig = {
|
||||
withInMemoryScrolling({
|
||||
scrollPositionRestoration: 'enabled',
|
||||
anchorScrolling: 'enabled',
|
||||
})
|
||||
}),
|
||||
withComponentInputBinding()
|
||||
),
|
||||
provideAnimations(),
|
||||
provideHttpClient(withFetch()),
|
||||
@@ -40,6 +44,7 @@ export const appConfig: ApplicationConfig = {
|
||||
{ provide: SECTOR_REPOSITORY_TOKEN, useExisting: PbSectorRepository },
|
||||
{ provide: USER_REPOSITORY_TOKEN, useExisting: PbUserRepository },
|
||||
{ provide: AUTH_REPOSITORY_TOKEN, useExisting: PbAuthRepository },
|
||||
{ provide: WEB_SHARE_SERVICE_TOKEN, useExisting: WebShareService },
|
||||
provideToastr({
|
||||
timeOut: 10000,
|
||||
positionClass: 'toast-top-right',
|
||||
|
||||
Reference in New Issue
Block a user