Reorganize client shared modules
[oweals/peertube.git] / client / src / app / videos / +video-edit / video-add.module.ts
1 import { NgModule } from '@angular/core'
2 import { CanDeactivateGuard } from '@app/core'
3 import { VideoEditModule } from './shared/video-edit.module'
4 import { DragDropDirective } from './video-add-components/drag-drop.directive'
5 import { VideoImportTorrentComponent } from './video-add-components/video-import-torrent.component'
6 import { VideoImportUrlComponent } from './video-add-components/video-import-url.component'
7 import { VideoUploadComponent } from './video-add-components/video-upload.component'
8 import { VideoAddRoutingModule } from './video-add-routing.module'
9 import { VideoAddComponent } from './video-add.component'
10
11 @NgModule({
12   imports: [
13     VideoAddRoutingModule,
14
15     VideoEditModule
16   ],
17
18   declarations: [
19     VideoAddComponent,
20     VideoUploadComponent,
21     VideoImportUrlComponent,
22     VideoImportTorrentComponent,
23     DragDropDirective
24   ],
25
26   exports: [ ],
27
28   providers: [
29     CanDeactivateGuard
30   ]
31 })
32 export class VideoAddModule { }