video-import.model.ts 436 B

12345678910111213141516171819
  1. import { Video } from '../video.model'
  2. import { VideoConstant } from '../video-constant.model'
  3. import { VideoImportState } from './video-import-state.enum'
  4. export interface VideoImport {
  5. id: number
  6. targetUrl: string
  7. magnetUri: string
  8. torrentName: string
  9. createdAt: string
  10. updatedAt: string
  11. originallyPublishedAt?: string
  12. state: VideoConstant<VideoImportState>
  13. error?: string
  14. video?: Video & { tags: string[] }
  15. }