]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module' | |
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 { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription' | |
7 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | |
8 | import { OverviewService, VideoTrendingComponent } from './video-list' | |
9 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' | |
10 | import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component' | |
11 | import { VideoLocalComponent } from './video-list/video-local.component' | |
12 | import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' | |
13 | import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' | |
14 | import { VideosRoutingModule } from './videos-routing.module' | |
15 | import { VideosComponent } from './videos.component' | |
16 | ||
17 | @NgModule({ | |
18 | imports: [ | |
19 | VideosRoutingModule, | |
20 | ||
21 | SharedMainModule, | |
22 | SharedFormModule, | |
23 | SharedVideoMiniatureModule, | |
24 | SharedUserSubscriptionModule, | |
25 | SharedGlobalIconModule, | |
26 | SharedActorImageModule | |
27 | ], | |
28 | ||
29 | declarations: [ | |
30 | VideosComponent, | |
31 | ||
32 | VideoTrendingHeaderComponent, | |
33 | VideoTrendingComponent, | |
34 | VideoRecentlyAddedComponent, | |
35 | VideoLocalComponent, | |
36 | VideoUserSubscriptionsComponent, | |
37 | VideoOverviewComponent | |
38 | ], | |
39 | ||
40 | exports: [ | |
41 | VideosComponent | |
42 | ], | |
43 | ||
44 | providers: [ | |
45 | OverviewService | |
46 | ] | |
47 | }) | |
48 | export class VideosModule { } |