]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video.model.ts
Add video file size info in admin videos list
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video.model.ts
index dadde38af1aff5989f65b114c49f6ec9f1d2d338..26cb595e73ab0acf305ca41f7c04e72d3d3fcac3 100644 (file)
@@ -62,6 +62,9 @@ export interface Video {
 
   blockedOwner?: boolean
   blockedServer?: boolean
+
+  files?: VideoFile[]
+  streamingPlaylists?: VideoStreamingPlaylist[]
 }
 
 export interface VideoDetails extends Video {
@@ -70,7 +73,6 @@ export interface VideoDetails extends Video {
   channel: VideoChannel
   account: Account
   tags: string[]
-  files: VideoFile[]
   commentsEnabled: boolean
   downloadEnabled: boolean
 
@@ -80,5 +82,6 @@ export interface VideoDetails extends Video {
 
   trackerUrls: string[]
 
+  files: VideoFile[]
   streamingPlaylists: VideoStreamingPlaylist[]
 }