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