]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/+videos/videos.module.ts
move from trending routes to alg param
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / videos.module.ts
... / ...
CommitLineData
1import { NgModule } from '@angular/core'
2import { SharedFormModule } from '@app/shared/shared-forms'
3import { SharedGlobalIconModule } from '@app/shared/shared-icons'
4import { SharedMainModule } from '@app/shared/shared-main'
5import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
6import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
7import { OverviewService, VideoTrendingComponent } from './video-list'
8import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
9import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component'
10import { VideoLocalComponent } from './video-list/video-local.component'
11import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
12import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
13import { VideosRoutingModule } from './videos-routing.module'
14import { VideosComponent } from './videos.component'
15
16@NgModule({
17 imports: [
18 VideosRoutingModule,
19
20 SharedMainModule,
21 SharedFormModule,
22 SharedVideoMiniatureModule,
23 SharedUserSubscriptionModule,
24 SharedGlobalIconModule
25 ],
26
27 declarations: [
28 VideosComponent,
29
30 VideoTrendingHeaderComponent,
31 VideoTrendingComponent,
32 VideoRecentlyAddedComponent,
33 VideoLocalComponent,
34 VideoUserSubscriptionsComponent,
35 VideoOverviewComponent
36 ],
37
38 exports: [
39 VideosComponent
40 ],
41
42 providers: [
43 OverviewService
44 ]
45})
46export class VideosModule { }