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