2017-10-09 12:28:44 +00:00
|
|
|
import { NgModule } from '@angular/core'
|
2017-11-28 14:40:53 +00:00
|
|
|
import { SharedModule } from '../../shared'
|
|
|
|
import { VideoEditModule } from './shared/video-edit.module'
|
2017-10-09 12:28:44 +00:00
|
|
|
import { VideoAddRoutingModule } from './video-add-routing.module'
|
|
|
|
import { VideoAddComponent } from './video-add.component'
|
2018-01-25 18:01:13 +00:00
|
|
|
import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
|
2018-08-06 13:30:24 +00:00
|
|
|
import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component'
|
|
|
|
import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component'
|
2018-08-06 15:13:39 +00:00
|
|
|
import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component'
|
2017-10-09 12:28:44 +00:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
VideoAddRoutingModule,
|
2017-10-30 19:26:06 +00:00
|
|
|
VideoEditModule,
|
2020-03-18 14:48:46 +00:00
|
|
|
SharedModule
|
2017-10-09 12:28:44 +00:00
|
|
|
],
|
|
|
|
declarations: [
|
2018-08-02 13:34:09 +00:00
|
|
|
VideoAddComponent,
|
|
|
|
VideoUploadComponent,
|
2018-08-06 15:13:39 +00:00
|
|
|
VideoImportUrlComponent,
|
|
|
|
VideoImportTorrentComponent
|
2017-10-09 12:28:44 +00:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
VideoAddComponent
|
|
|
|
],
|
2018-01-25 17:40:23 +00:00
|
|
|
providers: [
|
|
|
|
CanDeactivateGuard
|
|
|
|
]
|
2017-10-09 12:28:44 +00:00
|
|
|
})
|
|
|
|
export class VideoAddModule { }
|