]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.module.ts
Update angular
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.module.ts
index f58d12dac6e09fea977917024ad53b04d1a52190..b8f5a9a476cb78d36c92da9f1d39d50a03289ccb 100644 (file)
@@ -3,6 +3,11 @@ import { SharedModule } from '../../shared'
 import { VideoEditModule } from './shared/video-edit.module'
 import { VideoAddRoutingModule } from './video-add-routing.module'
 import { VideoAddComponent } from './video-add.component'
+import { DragDropDirective } from './video-add-components/drag-drop.directive'
+import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
+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'
+import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component'
 
 @NgModule({
   imports: [
@@ -10,15 +15,19 @@ import { VideoAddComponent } from './video-add.component'
     VideoEditModule,
     SharedModule
   ],
-
   declarations: [
-    VideoAddComponent
+    VideoAddComponent,
+    VideoUploadComponent,
+    VideoImportUrlComponent,
+    VideoImportTorrentComponent,
+    DragDropDirective
   ],
-
   exports: [
-    VideoAddComponent
+    VideoAddComponent,
+    DragDropDirective
   ],
-
-  providers: [ ]
+  providers: [
+    CanDeactivateGuard
+  ]
 })
 export class VideoAddModule { }