]> 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 04da0627ecb850105261e36a68698a59048258e5..28fce0aaf2187c6ae98b0631f7a034603c2fe966 100644 (file)
@@ -1,12 +1,21 @@
-import { VideoConstant, VideoResolution } from '@shared/models'
+import { VideoConstant } from './video-constant.model'
+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
 }