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