Add video file size info in admin videos list

This commit is contained in:
Chocobozzz
2021-10-29 10:54:27 +02:00
committed by Chocobozzz
parent 2760b454a7
commit 3c10840fa9
26 changed files with 161 additions and 65 deletions

View File

@@ -3,5 +3,6 @@ export const enum VideoInclude {
NOT_PUBLISHED_STATE = 1 << 0,
HIDDEN_PRIVACY = 1 << 1,
BLACKLISTED = 1 << 2,
BLOCKED_OWNER = 1 << 3
BLOCKED_OWNER = 1 << 3,
FILES = 1 << 4
}

View 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[]
}