PeerTube/shared/models/videos/import/video-import.model.ts

19 lines
403 B
TypeScript
Raw Normal View History

2018-08-14 14:59:53 +02:00
import { Video } from '../video.model'
import { VideoConstant } from '../video-constant.model'
2018-08-03 17:00:19 +02:00
import { VideoImportState } from './video-import-state.enum'
export interface VideoImport {
2018-08-03 09:27:30 +02:00
id: number
2018-08-07 09:54:36 +02:00
targetUrl: string
2018-08-07 09:54:36 +02:00
magnetUri: string
torrentName: string
2018-08-02 17:48:50 +02:00
createdAt: string
updatedAt: string
state: VideoConstant<VideoImportState>
2018-08-03 09:27:30 +02:00
error?: string
2018-08-02 17:48:50 +02:00
video?: Video & { tags: string[] }
}