2018-08-02 08:34:09 -05:00
|
|
|
import { Video } from './video.model'
|
2018-08-02 10:48:50 -05:00
|
|
|
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
|
|
|
|
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
|
|
|
}
|