aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-import.model.ts
blob: 29385400630e42e38d5ddd25821c54e122938c87 (plain) (tree)
1
2
3
4
5
6
7
8
                                     
                                                      
                                                            

                              
            
 
                   


                     


                                        
                
 
                                    
 
import { Video } from './video.model'
import { VideoConstant } from './video-constant.model'
import { VideoImportState } from './video-import-state.enum'

export interface VideoImport {
  id: number

  targetUrl: string
  magnetUri: string
  torrentName: string

  createdAt: string
  updatedAt: string
  state: VideoConstant<VideoImportState>
  error?: string

  video?: Video & { tags: string[] }
}