Merge branch 'release/v1.2.0'
[oweals/peertube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
1 import { NgModule } from '@angular/core'
2 import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component'
3 import { ClipboardModule } from 'ngx-clipboard'
4 import { SharedModule } from '../../shared'
5 import { VideoCommentAddComponent } from './comment/video-comment-add.component'
6 import { VideoCommentComponent } from './comment/video-comment.component'
7 import { VideoCommentService } from './comment/video-comment.service'
8 import { VideoCommentsComponent } from './comment/video-comments.component'
9 import { VideoDownloadComponent } from './modal/video-download.component'
10 import { VideoReportComponent } from './modal/video-report.component'
11 import { VideoShareComponent } from './modal/video-share.component'
12 import { VideoWatchRoutingModule } from './video-watch-routing.module'
13 import { VideoWatchComponent } from './video-watch.component'
14 import { NgxQRCodeModule } from 'ngx-qrcode2'
15 import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
16 import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-blacklist.component'
17 import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module'
18
19 @NgModule({
20   imports: [
21     VideoWatchRoutingModule,
22     SharedModule,
23     ClipboardModule,
24     NgbTooltipModule,
25     NgxQRCodeModule,
26     RecommendationsModule
27   ],
28
29   declarations: [
30     VideoWatchComponent,
31
32     VideoDownloadComponent,
33     VideoShareComponent,
34     VideoReportComponent,
35     VideoBlacklistComponent,
36     VideoSupportComponent,
37     VideoCommentsComponent,
38     VideoCommentAddComponent,
39     VideoCommentComponent
40   ],
41
42   exports: [
43     VideoWatchComponent
44   ],
45
46   providers: [
47     VideoCommentService
48   ]
49 })
50 export class VideoWatchModule { }