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

15 lines
357 B
TypeScript
Raw Normal View History

import { Video } from './video.model'
2018-08-02 17:48:50 +02:00
import { VideoConstant } from './video-constant.model'
2018-08-03 17:00:19 +02:00
import { VideoImportState } from './video-import-state.enum'
export interface VideoImport {
2018-08-03 09:27:30 +02:00
id: number
targetUrl: string
2018-08-02 17:48:50 +02:00
createdAt: string
updatedAt: string
state: VideoConstant<VideoImportState>
2018-08-03 09:27:30 +02:00
error?: string
2018-08-02 17:48:50 +02:00
video?: Video & { tags: string[] }
}