video-import.model.ts 403 B

123456789101112131415161718
  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. state: VideoConstant<VideoImportState>
  12. error?: string
  13. video?: Video & { tags: string[] }
  14. }