aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-import-create.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-06 17:13:39 +0200
committerChocobozzz <me@florianbigard.com>2018-08-08 09:30:31 +0200
commitce33919c24e7402d92d81f3cd8e545df52d98240 (patch)
tree7e131a2f8df649899d0a71294665cf386ffb50d4 /shared/models/videos/video-import-create.model.ts
parent788487140c500abeb69ca44daf3a9e26efa8d36f (diff)
downloadPeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.gz
PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.zst
PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.zip
Import magnets with webtorrent
Diffstat (limited to 'shared/models/videos/video-import-create.model.ts')
-rw-r--r--shared/models/videos/video-import-create.model.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/videos/video-import-create.model.ts b/shared/models/videos/video-import-create.model.ts
index 65d142c2b..e76084e06 100644
--- a/shared/models/videos/video-import-create.model.ts
+++ b/shared/models/videos/video-import-create.model.ts
@@ -1,6 +1,9 @@
1import { VideoUpdate } from './video-update.model' 1import { VideoUpdate } from './video-update.model'
2 2
3export interface VideoImportCreate extends VideoUpdate { 3export interface VideoImportCreate extends VideoUpdate {
4 targetUrl: string 4 targetUrl?: string
5 magnetUri?: string
6 torrentfile?: Blob
7
5 channelId: number // Required 8 channelId: number // Required
6} 9}