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