]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
df98563e 1import { NgModule } from '@angular/core'
746018f6 2import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module'
67ed6552
C
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'
ba5d4a84 8import { OverviewService, VideoTrendingComponent } from './video-list'
67ed6552 9import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
5bcbcbe3 10import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component'
67ed6552 11import { VideoLocalComponent } from './video-list/video-local.component'
9bf9d2a5 12import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
67ed6552 13import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
df98563e
C
14import { VideosRoutingModule } from './videos-routing.module'
15import { VideosComponent } from './videos.component'
693b1aba
C
16
17@NgModule({
18 imports: [
19 VideosRoutingModule,
67ed6552
C
20
21 SharedMainModule,
22 SharedFormModule,
23 SharedVideoMiniatureModule,
24 SharedUserSubscriptionModule,
746018f6
C
25 SharedGlobalIconModule,
26 SharedActorImageModule
693b1aba
C
27 ],
28
29 declarations: [
30 VideosComponent,
31
5bcbcbe3 32 VideoTrendingHeaderComponent,
ba5d4a84 33 VideoTrendingComponent,
9bf9d2a5 34 VideoRecentlyAddedComponent,
22a16e36 35 VideoLocalComponent,
2d3741d6
C
36 VideoUserSubscriptionsComponent,
37 VideoOverviewComponent
693b1aba
C
38 ],
39
40 exports: [
41 VideosComponent
42 ],
43
1942f11d
C
44 providers: [
45 OverviewService
46 ]
693b1aba
C
47})
48export class VideosModule { }