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 08:59:53 -04:00
import { Video } from '../video.model'
import { VideoConstant } from '../video-constant.model'
2018-08-03 11:00:19 -04:00
import { VideoImportState } from './video-import-state.enum'
export interface VideoImport {
2018-08-03 03:27:30 -04:00
id: number
2018-08-07 03:54:36 -04:00
targetUrl: string
2018-08-07 03:54:36 -04:00
magnetUri: string
torrentName: string
2018-08-02 11:48:50 -04:00
createdAt: string
updatedAt: string
originallyPublishedAt?: string
2018-08-02 11:48:50 -04:00
state: VideoConstant<VideoImportState>
2018-08-03 03:27:30 -04:00
error?: string
2018-08-02 11:48:50 -04:00
video?: Video & { tags: string[] }
}