X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=10fc364b309dce10bf82501ae54ce84eca53ac2c;hb=e8bffe9690307f2686ed5573cae2b86ee5f57789;hp=c8dd01429b8988663b311ab78d7fb8ace853bbeb;hpb=012580d98f489e599d44a9a2a0bdc892b9455a90;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 c8dd01429..10fc364b3 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -4,7 +4,7 @@ import { CommonModule, DatePipe } from '@angular/common' import { HttpClientModule } from '@angular/common/http' import { NgModule } from '@angular/core' import { FormsModule, ReactiveFormsModule } from '@angular/forms' -import { ActivatedRouteSnapshot, RouterModule } from '@angular/router' +import { RouterModule } from '@angular/router' import { NgbButtonsModule, NgbCollapseModule, @@ -24,6 +24,7 @@ import { DurationFormatterPipe, FromNowPipe, InfiniteScrollerDirective, + LinkComponent, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' @@ -33,13 +34,19 @@ 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 { + 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, VideoImportService, VideoOwnershipService, VideoService } from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' -import { ActorRedirectGuard } from './router' @NgModule({ imports: [ @@ -76,6 +83,7 @@ import { ActorRedirectGuard } from './router' InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -89,6 +97,7 @@ import { ActorRedirectGuard } from './router' LoaderComponent, SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -97,7 +106,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], exports: [ @@ -130,6 +142,7 @@ import { ActorRedirectGuard } from './router' InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -143,6 +156,7 @@ import { ActorRedirectGuard } from './router' LoaderComponent, SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -151,7 +165,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], providers: [