diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-06 17:13:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | ce33919c24e7402d92d81f3cd8e545df52d98240 (patch) | |
tree | 7e131a2f8df649899d0a71294665cf386ffb50d4 /shared/models | |
parent | 788487140c500abeb69ca44daf3a9e26efa8d36f (diff) | |
download | PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.gz PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.zst PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.zip |
Import magnets with webtorrent
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/videos/video-import-create.model.ts | 5 |
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 @@ | |||
1 | import { VideoUpdate } from './video-update.model' | 1 | import { VideoUpdate } from './video-update.model' |
2 | 2 | ||
3 | export interface VideoImportCreate extends VideoUpdate { | 3 | export 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 | } |