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

55 lines
1.1 KiB
TypeScript
Raw Normal View History

2016-11-20 17:18:15 +01:00
import { NgModule } from '@angular/core';
import { TagInputModule } from 'ng2-tag-input';
2017-04-12 22:00:17 +02:00
2016-11-20 17:18:15 +01:00
import { VideosRoutingModule } from './videos-routing.module';
import { VideosComponent } from './videos.component';
import { VideoAddComponent, VideoUpdateComponent } from './video-edit';
2017-05-05 16:08:43 +02:00
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';
2017-05-05 16:08:43 +02:00
import { VideoService } from './shared';
2016-11-20 17:18:15 +01:00
import { SharedModule } from '../shared';
@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 { }