fa37ad966b318b643368c21dffc3b60eb2a4bde7
[oweals/peertube.git] / client / src / app / videos / videos.module.ts
1 import { NgModule } from '@angular/core';
2
3 import { VideosRoutingModule } from './videos-routing.module';
4 import { VideosComponent } from './videos.component';
5 import { VideoAddComponent, VideoUpdateComponent } from './video-edit';
6 import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list';
7 import {
8   VideoWatchComponent,
9   VideoMagnetComponent,
10   VideoReportComponent,
11   VideoShareComponent,
12   WebTorrentService
13 } from './video-watch';
14 import { LoaderComponent, VideoService } from './shared';
15 import { SharedModule } from '../shared';
16
17 @NgModule({
18   imports: [
19     VideosRoutingModule,
20     SharedModule
21   ],
22
23   declarations: [
24     VideosComponent,
25
26     VideoAddComponent,
27     VideoUpdateComponent,
28
29     VideoListComponent,
30     VideoMiniatureComponent,
31     VideoSortComponent,
32
33     VideoWatchComponent,
34     VideoMagnetComponent,
35     VideoShareComponent,
36     VideoReportComponent,
37
38     LoaderComponent
39   ],
40
41   exports: [
42     VideosComponent
43   ],
44
45   providers: [
46     VideoService,
47     WebTorrentService
48   ]
49 })
50 export class VideosModule { }