X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=c1523bc5021af307a2c5c6bea32943e5d7190df1;hb=b1dbb9fefc870a90b25f5c0153589f45c9e75e3e;hp=772198cb26e9d43ddac863095658187cb825202b;hpb=4024c44f9027a32809931de0692d40d001df721c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index 772198cb2..c1523bc50 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -6,7 +6,6 @@ import { NgModule } from '@angular/core' import { FormsModule, ReactiveFormsModule } from '@angular/forms' import { RouterModule } from '@angular/router' import { - NgbButtonsModule, NgbCollapseModule, NgbDropdownModule, NgbModalModule, @@ -21,21 +20,39 @@ import { AccountService } from './account' import { AutofocusDirective, BytesPipe, + DeferLoadingDirective, DurationFormatterPipe, FromNowPipe, InfiniteScrollerDirective, + LinkComponent, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' import { AUTH_INTERCEPTOR_PROVIDER } from './auth' import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' +import { CustomPageService } from './custom-page' import { DateToggleComponent } from './date' import { FeedComponent } from './feeds' -import { LoaderComponent, SmallLoaderComponent } from './loaders' -import { HelpComponent, ListOverflowComponent, SimpleSearchInputComponent, TopMenuDropdownComponent } from './misc' -import { PluginPlaceholderComponent } from './plugins' +import { LoaderComponent } from './loaders' +import { + ChannelsSetupMessageComponent, + HelpComponent, + ListOverflowComponent, + SimpleSearchInputComponent, + TopMenuDropdownComponent +} from './misc' +import { PluginPlaceholderComponent, PluginSelectorDirective } from './plugins' +import { ActorRedirectGuard } from './router' import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' -import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' +import { + EmbedComponent, + RedundancyService, + VideoFileTokenService, + VideoImportService, + VideoOwnershipService, + VideoResolver, + VideoService +} from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' @@ -56,7 +73,6 @@ import { VideoChannelService } from './video-channel' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -71,9 +87,11 @@ import { VideoChannelService } from './video-channel' BytesPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -85,8 +103,8 @@ import { VideoChannelService } from './video-channel' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -95,7 +113,10 @@ import { VideoChannelService } from './video-channel' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], exports: [ @@ -114,7 +135,6 @@ import { VideoChannelService } from './video-channel' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -125,9 +145,11 @@ import { VideoChannelService } from './video-channel' NumberFormatterPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -139,8 +161,8 @@ import { VideoChannelService } from './video-channel' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -149,7 +171,10 @@ import { VideoChannelService } from './video-channel' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], providers: [ @@ -168,10 +193,16 @@ import { VideoChannelService } from './video-channel' VideoImportService, VideoOwnershipService, VideoService, + VideoFileTokenService, + VideoResolver, VideoCaptionService, - VideoChannelService + VideoChannelService, + + CustomPageService, + + ActorRedirectGuard ] }) export class SharedMainModule { }