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