]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/video-watch.module.ts
Add blacklist reason field
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
index 5f20b171e6df34a9de58ea10c4739c20278c8eed..7730919fe0a36621a039fd5323381413a2bc5feb 100644 (file)
@@ -1,26 +1,42 @@
 import { NgModule } from '@angular/core'
-
-import { VideoWatchRoutingModule } from './video-watch-routing.module'
-import { VideoService } from '../shared'
+import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service'
+import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component'
+import { ClipboardModule } from 'ngx-clipboard'
 import { SharedModule } from '../../shared'
-
+import { MarkdownService } from '../shared'
+import { VideoCommentAddComponent } from './comment/video-comment-add.component'
+import { VideoCommentComponent } from './comment/video-comment.component'
+import { VideoCommentService } from './comment/video-comment.service'
+import { VideoCommentsComponent } from './comment/video-comments.component'
+import { VideoDownloadComponent } from './modal/video-download.component'
+import { VideoReportComponent } from './modal/video-report.component'
+import { VideoShareComponent } from './modal/video-share.component'
+import { VideoWatchRoutingModule } from './video-watch-routing.module'
 import { VideoWatchComponent } from './video-watch.component'
-import { VideoReportComponent } from './video-report.component'
-import { VideoShareComponent } from './video-share.component'
-import { VideoMagnetComponent } from './video-magnet.component'
+import { NgxQRCodeModule } from 'ngx-qrcode2'
+import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
+import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-blacklist.component'
 
 @NgModule({
   imports: [
     VideoWatchRoutingModule,
-    SharedModule
+    SharedModule,
+    ClipboardModule,
+    NgbTooltipModule.forRoot(),
+    NgxQRCodeModule
   ],
 
   declarations: [
     VideoWatchComponent,
 
-    VideoMagnetComponent,
+    VideoDownloadComponent,
     VideoShareComponent,
-    VideoReportComponent
+    VideoReportComponent,
+    VideoBlacklistComponent,
+    VideoSupportComponent,
+    VideoCommentsComponent,
+    VideoCommentAddComponent,
+    VideoCommentComponent
   ],
 
   exports: [
@@ -28,7 +44,9 @@ import { VideoMagnetComponent } from './video-magnet.component'
   ],
 
   providers: [
-    VideoService
+    MarkdownService,
+    LinkifierService,
+    VideoCommentService
   ]
 })
 export class VideoWatchModule { }