]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/+videos/videos.module.ts
Fetch things in bulk for the homepage
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / videos.module.ts
... / ...
CommitLineData
1import { NgModule } from '@angular/core'
2import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module'
3import { SharedFormModule } from '@app/shared/shared-forms'
4import { SharedGlobalIconModule } from '@app/shared/shared-icons'
5import { SharedMainModule } from '@app/shared/shared-main'
6import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
7import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
8import { OverviewService, VideoTrendingComponent } from './video-list'
9import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
10import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component'
11import { VideoLocalComponent } from './video-list/video-local.component'
12import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
13import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
14import { VideosRoutingModule } from './videos-routing.module'
15import { 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})
48export class VideosModule { }