diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-07 09:54:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | 990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66 (patch) | |
tree | 8aaa0638798bfa14813f4d6ed5247242313b9ce6 /shared/models/videos | |
parent | ce33919c24e7402d92d81f3cd8e545df52d98240 (diff) | |
download | PeerTube-990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66.tar.gz PeerTube-990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66.tar.zst PeerTube-990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66.zip |
Import torrents with webtorrent
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-import.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/videos/video-import.model.ts b/shared/models/videos/video-import.model.ts index a5c582c67..293854006 100644 --- a/shared/models/videos/video-import.model.ts +++ b/shared/models/videos/video-import.model.ts | |||
@@ -4,7 +4,11 @@ import { VideoImportState } from './video-import-state.enum' | |||
4 | 4 | ||
5 | export interface VideoImport { | 5 | export interface VideoImport { |
6 | id: number | 6 | id: number |
7 | |||
7 | targetUrl: string | 8 | targetUrl: string |
9 | magnetUri: string | ||
10 | torrentName: string | ||
11 | |||
8 | createdAt: string | 12 | createdAt: string |
9 | updatedAt: string | 13 | updatedAt: string |
10 | state: VideoConstant<VideoImportState> | 14 | state: VideoConstant<VideoImportState> |