]>
Commit | Line | Data |
---|---|---|
a685e25c | 1 | import { NgModule } from '@angular/core' |
80958c78 C |
2 | import { SharedModule } from '../../shared' |
3 | import { VideoEditModule } from './shared/video-edit.module' | |
a685e25c C |
4 | import { VideoAddRoutingModule } from './video-add-routing.module' |
5 | import { VideoAddComponent } from './video-add.component' | |
c9ff8a08 | 6 | import { DragDropDirective } from './video-add-components/drag-drop.directive' |
f6a043df | 7 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' |
78848714 C |
8 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' |
9 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' | |
ce33919c | 10 | import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' |
a685e25c C |
11 | |
12 | @NgModule({ | |
13 | imports: [ | |
a685e25c | 14 | VideoAddRoutingModule, |
2de96f4d | 15 | VideoEditModule, |
b06904be | 16 | SharedModule |
a685e25c | 17 | ], |
a685e25c | 18 | declarations: [ |
fbad87b0 C |
19 | VideoAddComponent, |
20 | VideoUploadComponent, | |
ce33919c | 21 | VideoImportUrlComponent, |
c9ff8a08 RK |
22 | VideoImportTorrentComponent, |
23 | DragDropDirective | |
a685e25c | 24 | ], |
a685e25c | 25 | exports: [ |
c9ff8a08 RK |
26 | VideoAddComponent, |
27 | DragDropDirective | |
a685e25c | 28 | ], |
529479f9 DG |
29 | providers: [ |
30 | CanDeactivateGuard | |
31 | ] | |
a685e25c C |
32 | }) |
33 | export class VideoAddModule { } |