]>
Commit | Line | Data |
---|---|---|
a685e25c | 1 | import { NgModule } from '@angular/core' |
c182778e | 2 | import { ProgressBarModule } from 'primeng/primeng' |
80958c78 C |
3 | import { SharedModule } from '../../shared' |
4 | import { VideoEditModule } from './shared/video-edit.module' | |
a685e25c C |
5 | import { VideoAddRoutingModule } from './video-add-routing.module' |
6 | import { VideoAddComponent } from './video-add.component' | |
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, |
c182778e C |
16 | SharedModule, |
17 | ProgressBarModule | |
a685e25c | 18 | ], |
a685e25c | 19 | declarations: [ |
fbad87b0 C |
20 | VideoAddComponent, |
21 | VideoUploadComponent, | |
ce33919c C |
22 | VideoImportUrlComponent, |
23 | VideoImportTorrentComponent | |
a685e25c | 24 | ], |
a685e25c C |
25 | exports: [ |
26 | VideoAddComponent | |
27 | ], | |
529479f9 DG |
28 | providers: [ |
29 | CanDeactivateGuard | |
30 | ] | |
a685e25c C |
31 | }) |
32 | export class VideoAddModule { } |