PeerTube/shared/models/videos/video-import.model.ts

19 lines
401 B
TypeScript
Raw Normal View History

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'
export interface VideoImport {
2018-08-03 07:27:30 +00:00
id: number
2018-08-07 07:54:36 +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 15:48:50 +00:00
video?: Video & { tags: string[] }
}