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

20 lines
436 B
TypeScript
Raw Normal View History

2018-08-14 07:59:53 -05:00
import { Video } from '../video.model'
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
originallyPublishedAt?: string
2018-08-02 10:48:50 -05:00
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[] }
}