]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-import.model.ts
Import torrents with webtorrent
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-import.model.ts
index b23e6b245e5b5c719ccc448cf99948ab7cbef29f..29385400630e42e38d5ddd25821c54e122938c87 100644 (file)
@@ -1,12 +1,18 @@
 import { Video } from './video.model'
 import { VideoConstant } from './video-constant.model'
-import { VideoImportState } from '../../index'
+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[] }
 }