]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-watch/video-watch.module.ts
Move video alert in a dedicated component
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch.module.ts
1 import { NgModule } from '@angular/core'
2 import { SharedFormModule } from '@app/shared/shared-forms'
3 import { SharedGlobalIconModule } from '@app/shared/shared-icons'
4 import { SharedMainModule } from '@app/shared/shared-main'
5 import { SharedModerationModule } from '@app/shared/shared-moderation'
6 import { SharedShareModal } from '@app/shared/shared-share-modal'
7 import { SharedSupportModal } from '@app/shared/shared-support-modal'
8 import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
9 import { SharedVideoModule } from '@app/shared/shared-video'
10 import { SharedVideoCommentModule } from '@app/shared/shared-video-comment'
11 import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
12 import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
13 import { SharedActorImageModule } from '../../shared/shared-actor-image/shared-actor-image.module'
14 import { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service'
15 import { PlayerStylesComponent } from './player-styles.component'
16 import {
17 ActionButtonsComponent,
18 PrivacyConcernsComponent,
19 RecommendationsModule,
20 VideoAlertComponent,
21 VideoAvatarChannelComponent,
22 VideoDescriptionComponent,
23 VideoRateComponent,
24 VideoWatchPlaylistComponent
25 } from './shared'
26 import { VideoCommentAddComponent } from './shared/comment/video-comment-add.component'
27 import { VideoCommentComponent } from './shared/comment/video-comment.component'
28 import { VideoCommentsComponent } from './shared/comment/video-comments.component'
29 import { TimestampRouteTransformerDirective } from './shared/timestamp-route-transformer.directive'
30 import { VideoWatchRoutingModule } from './video-watch-routing.module'
31 import { VideoWatchComponent } from './video-watch.component'
32
33 @NgModule({
34 imports: [
35 VideoWatchRoutingModule,
36 RecommendationsModule,
37
38 SharedMainModule,
39 SharedFormModule,
40 SharedVideoMiniatureModule,
41 SharedVideoPlaylistModule,
42 SharedUserSubscriptionModule,
43 SharedModerationModule,
44 SharedGlobalIconModule,
45 SharedVideoCommentModule,
46 SharedShareModal,
47 SharedVideoModule,
48 SharedSupportModal,
49 SharedActorImageModule
50 ],
51
52 declarations: [
53 VideoWatchComponent,
54 VideoWatchPlaylistComponent,
55 VideoRateComponent,
56 VideoDescriptionComponent,
57 PrivacyConcernsComponent,
58 ActionButtonsComponent,
59 VideoAlertComponent,
60
61 VideoCommentsComponent,
62 VideoCommentAddComponent,
63 VideoCommentComponent,
64 VideoAvatarChannelComponent,
65
66 VideoAvatarChannelComponent,
67
68 TimestampRouteTransformerDirective,
69
70 PlayerStylesComponent
71 ],
72
73 exports: [
74 VideoWatchComponent,
75
76 TimestampRouteTransformerDirective
77 ],
78
79 providers: [
80 VideoCommentService
81 ]
82 })
83 export class VideoWatchModule { }