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

55 lines
1.1 KiB
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core'
2016-11-20 17:18:15 +01:00
2017-07-06 17:43:58 +02:00
import { TagInputModule } from 'ngx-chips'
2017-04-12 22:00:17 +02:00
import { VideosRoutingModule } from './videos-routing.module'
import { VideosComponent } from './videos.component'
import { VideoAddComponent, VideoUpdateComponent } from './video-edit'
import { LoaderComponent, VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'
2017-01-20 19:22:15 +01:00
import {
VideoWatchComponent,
VideoMagnetComponent,
VideoReportComponent,
VideoShareComponent,
WebTorrentService
} from './video-watch'
import { VideoService } from './shared'
import { SharedModule } from '../shared'
2016-11-20 17:18:15 +01:00
@NgModule({
imports: [
TagInputModule,
2017-04-12 22:00:17 +02:00
2016-11-20 17:18:15 +01:00
VideosRoutingModule,
SharedModule
],
declarations: [
VideosComponent,
VideoAddComponent,
VideoUpdateComponent,
2016-11-20 17:18:15 +01:00
VideoListComponent,
VideoMiniatureComponent,
VideoSortComponent,
VideoWatchComponent,
VideoMagnetComponent,
VideoShareComponent,
2017-01-20 19:22:15 +01:00
VideoReportComponent,
2016-11-20 17:18:15 +01:00
LoaderComponent
],
exports: [
VideosComponent
],
providers: [
VideoService,
WebTorrentService
]
})
export class VideosModule { }