]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-file.model.ts
It's not the week-end yet
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-file.model.ts
index e9839229d2d461f7870db89bebddc54f17942116..28fce0aaf2187c6ae98b0631f7a034603c2fe966 100644 (file)
@@ -1,16 +1,21 @@
 import { VideoConstant } from './video-constant.model'
-import { VideoFileMetadata } from './video-file-metadata'
+import { VideoFileMetadata } from './video-file-metadata.model'
 import { VideoResolution } from './video-resolution.enum'
 
 export interface VideoFile {
-  magnetUri: string
   resolution: VideoConstant<VideoResolution>
   size: number // Bytes
+
   torrentUrl: string
   torrentDownloadUrl: string
+
   fileUrl: string
   fileDownloadUrl: string
+
   fps: number
+
   metadata?: VideoFileMetadata
   metadataUrl?: string
+
+  magnetUri: string | null
 }