]>
Commit | Line | Data |
---|---|---|
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 { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service' | |
14 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
15 | import { VideoCommentComponent } from './comment/video-comment.component' | |
16 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
17 | import { RecommendationsModule } from './recommendations/recommendations.module' | |
18 | import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive' | |
19 | import { VideoAvatarChannelComponent } from './video-avatar-channel.component' | |
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 | RecommendationsModule, | |
28 | ||
29 | SharedMainModule, | |
30 | SharedFormModule, | |
31 | SharedVideoMiniatureModule, | |
32 | SharedVideoPlaylistModule, | |
33 | SharedUserSubscriptionModule, | |
34 | SharedModerationModule, | |
35 | SharedGlobalIconModule, | |
36 | SharedVideoCommentModule, | |
37 | SharedShareModal, | |
38 | SharedVideoModule, | |
39 | SharedSupportModal | |
40 | ], | |
41 | ||
42 | declarations: [ | |
43 | VideoWatchComponent, | |
44 | VideoWatchPlaylistComponent, | |
45 | ||
46 | VideoCommentsComponent, | |
47 | VideoCommentAddComponent, | |
48 | VideoCommentComponent, | |
49 | ||
50 | VideoAvatarChannelComponent, | |
51 | ||
52 | TimestampRouteTransformerDirective, | |
53 | TimestampRouteTransformerDirective | |
54 | ], | |
55 | ||
56 | exports: [ | |
57 | VideoWatchComponent, | |
58 | ||
59 | TimestampRouteTransformerDirective | |
60 | ], | |
61 | ||
62 | providers: [ | |
63 | VideoCommentService | |
64 | ] | |
65 | }) | |
66 | export class VideoWatchModule { } |