4e553a41fd
Import original publication date when importing a video from YouTube in the web UI
19 lines
436 B
TypeScript
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[] }
|
|
}
|