]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.module.ts
Update client according to new model paths
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.module.ts
index 141d33ad2cc922f75518541767a06c110ab1aac4..3ecf96459fc7ee32191ae39350f2926778e663d1 100644 (file)
@@ -1,30 +1,32 @@
 import { NgModule } from '@angular/core'
-
-import { TagInputModule } from 'ngx-chips'
-
+import { ProgressBarModule } from 'primeng/primeng'
+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 { VideoService } from '../shared'
-import { SharedModule } from '../../shared'
+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: [
-    TagInputModule,
-
     VideoAddRoutingModule,
-    SharedModule
+    VideoEditModule,
+    SharedModule,
+    ProgressBarModule
   ],
-
   declarations: [
-    VideoAddComponent
+    VideoAddComponent,
+    VideoUploadComponent,
+    VideoImportUrlComponent,
+    VideoImportTorrentComponent
   ],
-
   exports: [
     VideoAddComponent
   ],
-
   providers: [
-    VideoService
+    CanDeactivateGuard
   ]
 })
 export class VideoAddModule { }