X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fcore.module.ts;h=a1734ad80e7be4cc5b6e648b78a0984eb9d91fde;hb=72c33e716fecd1826dcf645957f8669821f91ff3;hp=3bc0e28853f489117c69822fd4754f3ecf67f4ce;hpb=9a39392a7e6b3f180104856a4ea893e5baf86a02;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 3bc0e2885..a1734ad80 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts @@ -8,17 +8,22 @@ import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' import { LoadingBarRouterModule } from '@ngx-loading-bar/router' import { AuthService } from './auth' -import { ConfirmComponent, ConfirmService } from './confirm' +import { ConfirmService } from './confirm' import { throwIfAlreadyLoaded } from './module-import-guard' import { LoginGuard, RedirectService, UserRightGuard } from './routing' import { ServerService } from './server' import { ThemeService } from './theme' +import { MenuService } from './menu' import { HotkeyModule } from 'angular2-hotkeys' import { CheatSheetComponent } from './hotkeys' import { ToastModule } from 'primeng/toast' import { Notifier } from './notification' import { MessageService } from 'primeng/api' import { UserNotificationSocket } from '@app/core/notification/user-notification-socket.service' +import { ServerConfigResolver } from './routing/server-config-resolver.service' +import { UnloggedGuard } from '@app/core/routing/unlogged-guard.service' +import { PluginService } from '@app/core/plugins/plugin.service' +import { HooksService } from '@app/core/plugins/hooks.service' @NgModule({ imports: [ @@ -38,7 +43,6 @@ import { UserNotificationSocket } from '@app/core/notification/user-notification ], declarations: [ - ConfirmComponent, CheatSheetComponent ], @@ -48,7 +52,6 @@ import { UserNotificationSocket } from '@app/core/notification/user-notification ToastModule, - ConfirmComponent, CheatSheetComponent ], @@ -57,12 +60,19 @@ import { UserNotificationSocket } from '@app/core/notification/user-notification ConfirmService, ServerService, ThemeService, + MenuService, LoginGuard, UserRightGuard, + UnloggedGuard, + + PluginService, + HooksService, + RedirectService, Notifier, MessageService, - UserNotificationSocket + UserNotificationSocket, + ServerConfigResolver ] }) export class CoreModule {