]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/videos.module.ts
Merge branch 'release/3.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / videos.module.ts
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 { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
6 import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
7 import { OverviewService, VideoTrendingComponent } from './video-list'
8 import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
9 import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component'
10 import { VideoLocalComponent } from './video-list/video-local.component'
11 import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
12 import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
13 import { VideosRoutingModule } from './videos-routing.module'
14 import { VideosComponent } from './videos.component'
15
16 @NgModule({
17 imports: [
18 VideosRoutingModule,
19
20 SharedMainModule,
21 SharedFormModule,
22 SharedVideoMiniatureModule,
23 SharedUserSubscriptionModule,
24 SharedGlobalIconModule
25 ],
26
27 declarations: [
28 VideosComponent,
29
30 VideoTrendingHeaderComponent,
31 VideoTrendingComponent,
32 VideoRecentlyAddedComponent,
33 VideoLocalComponent,
34 VideoUserSubscriptionsComponent,
35 VideoOverviewComponent
36 ],
37
38 exports: [
39 VideosComponent
40 ],
41
42 providers: [
43 OverviewService
44 ]
45 })
46 export class VideosModule { }