]>
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' | |
f6a043df | 6 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' |
78848714 C |
7 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' |
8 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' | |
ce33919c | 9 | import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' |
a685e25c C |
10 | |
11 | @NgModule({ | |
12 | imports: [ | |
a685e25c | 13 | VideoAddRoutingModule, |
2de96f4d | 14 | VideoEditModule, |
b06904be | 15 | SharedModule |
a685e25c | 16 | ], |
a685e25c | 17 | declarations: [ |
fbad87b0 C |
18 | VideoAddComponent, |
19 | VideoUploadComponent, | |
ce33919c C |
20 | VideoImportUrlComponent, |
21 | VideoImportTorrentComponent | |
a685e25c | 22 | ], |
a685e25c C |
23 | exports: [ |
24 | VideoAddComponent | |
25 | ], | |
529479f9 DG |
26 | providers: [ |
27 | CanDeactivateGuard | |
28 | ] | |
a685e25c C |
29 | }) |
30 | export class VideoAddModule { } |