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