Import magnets with webtorrent
[oweals/peertube.git] / client / src / app / videos / +video-edit / video-add.module.ts
1 import { NgModule } from '@angular/core'
2 import { ProgressBarModule } from 'primeng/primeng'
3 import { SharedModule } from '../../shared'
4 import { VideoEditModule } from './shared/video-edit.module'
5 import { VideoAddRoutingModule } from './video-add-routing.module'
6 import { VideoAddComponent } from './video-add.component'
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     ProgressBarModule
18   ],
19   declarations: [
20     VideoAddComponent,
21     VideoUploadComponent,
22     VideoImportUrlComponent,
23     VideoImportTorrentComponent
24   ],
25   exports: [
26     VideoAddComponent
27   ],
28   providers: [
29     CanDeactivateGuard
30   ]
31 })
32 export class VideoAddModule { }