]>
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 { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription' | |
8 | import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' | |
9 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | |
10 | import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist' | |
11 | import { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service' | |
12 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
13 | import { VideoCommentComponent } from './comment/video-comment.component' | |
14 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
15 | import { VideoSupportComponent } from './modal/video-support.component' | |
16 | import { RecommendationsModule } from './recommendations/recommendations.module' | |
17 | import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive' | |
18 | import { VideoWatchPlaylistComponent } from './video-watch-playlist.component' | |
19 | import { VideoWatchRoutingModule } from './video-watch-routing.module' | |
20 | import { VideoWatchComponent } from './video-watch.component' | |
21 | ||
22 | @NgModule({ | |
23 | imports: [ | |
24 | VideoWatchRoutingModule, | |
25 | RecommendationsModule, | |
26 | ||
27 | SharedMainModule, | |
28 | SharedFormModule, | |
29 | SharedVideoMiniatureModule, | |
30 | SharedVideoPlaylistModule, | |
31 | SharedUserSubscriptionModule, | |
32 | SharedModerationModule, | |
33 | SharedGlobalIconModule, | |
34 | SharedVideoCommentModule, | |
35 | SharedShareModal | |
36 | ], | |
37 | ||
38 | declarations: [ | |
39 | VideoWatchComponent, | |
40 | VideoWatchPlaylistComponent, | |
41 | ||
42 | VideoSupportComponent, | |
43 | VideoCommentsComponent, | |
44 | VideoCommentAddComponent, | |
45 | VideoCommentComponent, | |
46 | ||
47 | TimestampRouteTransformerDirective, | |
48 | TimestampRouteTransformerDirective | |
49 | ], | |
50 | ||
51 | exports: [ | |
52 | VideoWatchComponent, | |
53 | ||
54 | TimestampRouteTransformerDirective | |
55 | ], | |
56 | ||
57 | providers: [ | |
58 | VideoCommentService | |
59 | ] | |
60 | }) | |
61 | export class VideoWatchModule { } |