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