]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-watch/video-watch.module.ts
Reorganize client shared modules
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch.module.ts
1 import { QRCodeModule } from 'angularx-qrcode'
2 import { NgModule } from '@angular/core'
3 import { SharedFormModule } from '@app/shared/shared-forms'
4 import { SharedGlobalIconModule } from '@app/shared/shared-icons'
5 import { SharedMainModule } from '@app/shared/shared-main'
6 import { SharedModerationModule } from '@app/shared/shared-moderation'
7 import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
8 import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
9 import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
10 import { RecommendationsModule } from './recommendations/recommendations.module'
11 import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
12 import { VideoCommentAddComponent } from './comment/video-comment-add.component'
13 import { VideoCommentComponent } from './comment/video-comment.component'
14 import { VideoCommentService } from './comment/video-comment.service'
15 import { VideoCommentsComponent } from './comment/video-comments.component'
16 import { VideoShareComponent } from './modal/video-share.component'
17 import { VideoSupportComponent } from './modal/video-support.component'
18 import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive'
19 import { VideoDurationPipe } from './video-duration-formatter.pipe'
20 import { VideoWatchPlaylistComponent } from './video-watch-playlist.component'
21 import { VideoWatchRoutingModule } from './video-watch-routing.module'
22 import { VideoWatchComponent } from './video-watch.component'
23
24 @NgModule({
25 imports: [
26 VideoWatchRoutingModule,
27 NgbTooltipModule,
28 QRCodeModule,
29 RecommendationsModule,
30
31 SharedMainModule,
32 SharedFormModule,
33 SharedVideoMiniatureModule,
34 SharedVideoPlaylistModule,
35 SharedUserSubscriptionModule,
36 SharedModerationModule,
37 SharedGlobalIconModule
38 ],
39
40 declarations: [
41 VideoWatchComponent,
42 VideoWatchPlaylistComponent,
43
44 VideoShareComponent,
45 VideoSupportComponent,
46 VideoCommentsComponent,
47 VideoCommentAddComponent,
48 VideoCommentComponent,
49
50 TimestampRouteTransformerDirective,
51 VideoDurationPipe,
52 TimestampRouteTransformerDirective
53 ],
54
55 exports: [
56 VideoWatchComponent,
57
58 TimestampRouteTransformerDirective
59 ],
60
61 providers: [
62 VideoCommentService
63 ]
64 })
65 export class VideoWatchModule { }