1
0
Fork 0
peertube/shared/models/videos/import/video-import.model.ts
Andrés Maldonado 4e553a41fd
Import original publication date (web UI)
Import original publication date when importing a video from YouTube in the web UI
2019-02-12 11:19:19 +01:00

19 lines
436 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
originallyPublishedAt?: string
state: VideoConstant<VideoImportState>
error?: string
video?: Video & { tags: string[] }
}