PeerTube/client/src/app/videos/videos.module.ts

36 lines
905 B
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core'
2017-12-01 16:17:32 +01:00
import { InfiniteScrollModule } from 'ngx-infinite-scroll'
import { SharedModule } from '../shared'
import { VideoService } from './shared'
2017-12-01 14:46:22 +01:00
import { MyVideosComponent, VideoMiniatureComponent } from './video-list'
import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
import { VideoTrendingComponent } from './video-list/video-trending.component'
import { VideosRoutingModule } from './videos-routing.module'
import { VideosComponent } from './videos.component'
2016-11-20 17:18:15 +01:00
@NgModule({
imports: [
VideosRoutingModule,
2017-12-01 16:17:32 +01:00
SharedModule,
InfiniteScrollModule
2016-11-20 17:18:15 +01:00
],
declarations: [
VideosComponent,
2017-12-01 14:46:22 +01:00
VideoTrendingComponent,
VideoRecentlyAddedComponent,
2017-10-31 11:52:52 +01:00
MyVideosComponent,
2017-12-01 14:46:22 +01:00
VideoMiniatureComponent
2016-11-20 17:18:15 +01:00
],
exports: [
VideosComponent
],
providers: [
VideoService
2016-11-20 17:18:15 +01:00
]
})
export class VideosModule { }