]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core'; | |
2 | ||
3 | import { VideosRoutingModule } from './videos-routing.module'; | |
4 | import { VideosComponent } from './videos.component'; | |
5 | import { VideoAddComponent } from './video-add'; | |
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 | ||
28 | VideoListComponent, | |
29 | VideoMiniatureComponent, | |
30 | VideoSortComponent, | |
31 | ||
32 | VideoWatchComponent, | |
33 | VideoMagnetComponent, | |
34 | VideoShareComponent, | |
35 | VideoReportComponent, | |
36 | ||
37 | LoaderComponent | |
38 | ], | |
39 | ||
40 | exports: [ | |
41 | VideosComponent | |
42 | ], | |
43 | ||
44 | providers: [ | |
45 | VideoService, | |
46 | WebTorrentService | |
47 | ] | |
48 | }) | |
49 | export class VideosModule { } |