Import torrents with webtorrent
[oweals/peertube.git] / shared / models / videos / video-import.model.ts
1 import { Video } from './video.model'
2 import { VideoConstant } from './video-constant.model'
3 import { VideoImportState } from './video-import-state.enum'
4
5 export interface VideoImport {
6   id: number
7
8   targetUrl: string
9   magnetUri: string
10   torrentName: string
11
12   createdAt: string
13   updatedAt: string
14   state: VideoConstant<VideoImportState>
15   error?: string
16
17   video?: Video & { tags: string[] }
18 }