2017-06-16 14:32:15 +02:00
|
|
|
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
|
|
|
|
2017-06-16 14:32:15 +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
|
2017-06-16 14:32:15 +02:00
|
|
|
} from './video-watch'
|
|
|
|
import { VideoService } from './shared'
|
|
|
|
import { SharedModule } from '../shared'
|
2016-11-20 17:18:15 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2017-04-16 14:06:48 +02:00
|
|
|
TagInputModule,
|
2017-04-12 22:00:17 +02:00
|
|
|
|
2016-11-20 17:18:15 +01:00
|
|
|
VideosRoutingModule,
|
|
|
|
SharedModule
|
|
|
|
],
|
|
|
|
|
|
|
|
declarations: [
|
|
|
|
VideosComponent,
|
|
|
|
|
|
|
|
VideoAddComponent,
|
2017-04-10 21:15:28 +02:00
|
|
|
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 { }
|