1
0
Fork 0
peertube/shared/models/videos/import/video-import.model.ts

20 lines
436 B
TypeScript
Raw Normal View History

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