1
0
Fork 0
peertube/shared/models/videos/import/video-import.model.ts
2018-08-14 15:00:01 +02:00

18 lines
403 B
TypeScript

import { Video } from '../video.model'
import { VideoConstant } from '../video-constant.model'
import { VideoImportState } from './video-import-state.enum'
export interface VideoImport {
id: number
targetUrl: string
magnetUri: string
torrentName: string
createdAt: string
updatedAt: string
state: VideoConstant<VideoImportState>
error?: string
video?: Video & { tags: string[] }
}