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'
|
2018-08-02 15:34:09 +02:00
|
|
|
|
|
|
|
export interface VideoImport {
|
2018-08-03 09:27:30 +02:00
|
|
|
id: number
|
2018-08-07 09:54:36 +02:00
|
|
|
|
2018-08-02 15:34:09 +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
|
2018-12-11 15:05:42 +01:00
|
|
|
originallyPublishedAt?: string
|
2018-08-02 17:48:50 +02:00
|
|
|
state: VideoConstant<VideoImportState>
|
2018-08-03 09:27:30 +02:00
|
|
|
error?: string
|
2018-08-02 15:34:09 +02:00
|
|
|
|
2018-08-02 17:48:50 +02:00
|
|
|
video?: Video & { tags: string[] }
|
2022-08-10 11:51:13 +02:00
|
|
|
|
|
|
|
videoChannelSync?: {
|
|
|
|
id: number
|
|
|
|
externalChannelUrl: string
|
|
|
|
}
|
2018-08-02 15:34:09 +02:00
|
|
|
}
|