mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add video file size info in admin videos list
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user