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