93193000c6cd8c04d0821aa9d5285aff4dd94181
[oweals/peertube.git] / client / src / app / videos / videos.module.ts
1 import { NgModule } from '@angular/core'
2 import { SharedModule } from '../shared'
3 import { VideoService } from './shared'
4 import { MyVideosComponent, VideoMiniatureComponent } from './video-list'
5 import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
6 import { VideoTrendingComponent } from './video-list/video-trending.component'
7 import { VideosRoutingModule } from './videos-routing.module'
8 import { VideosComponent } from './videos.component'
9
10 @NgModule({
11   imports: [
12     VideosRoutingModule,
13     SharedModule
14   ],
15
16   declarations: [
17     VideosComponent,
18
19     VideoTrendingComponent,
20     VideoRecentlyAddedComponent,
21     MyVideosComponent,
22     VideoMiniatureComponent
23   ],
24
25   exports: [
26     VideosComponent
27   ],
28
29   providers: [
30     VideoService
31   ]
32 })
33 export class VideosModule { }