]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/+video-edit/video-add.module.ts
Support drag and drop for video upload and torrent file import
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.module.ts
1 import { NgModule } from '@angular/core'
2 import { SharedModule } from '../../shared'
3 import { VideoEditModule } from './shared/video-edit.module'
4 import { VideoAddRoutingModule } from './video-add-routing.module'
5 import { VideoAddComponent } from './video-add.component'
6 import { DragDropDirective } from './video-add-components/drag-drop.directive'
7 import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
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'
10 import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component'
11
12 @NgModule({
13 imports: [
14 VideoAddRoutingModule,
15 VideoEditModule,
16 SharedModule
17 ],
18 declarations: [
19 VideoAddComponent,
20 VideoUploadComponent,
21 VideoImportUrlComponent,
22 VideoImportTorrentComponent,
23 DragDropDirective
24 ],
25 exports: [
26 VideoAddComponent,
27 DragDropDirective
28 ],
29 providers: [
30 CanDeactivateGuard
31 ]
32 })
33 export class VideoAddModule { }