diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-29 10:54:27 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-10-29 11:48:21 +0200 |
commit | 3c10840fa90fc88fc98e8169faf4745ff6c80893 (patch) | |
tree | 9a60c4de766700fbc33804b06ec46279b20c855e /shared/models/videos/video.model.ts | |
parent | 2760b454a761f6af3138b2fb5f34340772ab0d1e (diff) | |
download | PeerTube-3c10840fa90fc88fc98e8169faf4745ff6c80893.tar.gz PeerTube-3c10840fa90fc88fc98e8169faf4745ff6c80893.tar.zst PeerTube-3c10840fa90fc88fc98e8169faf4745ff6c80893.zip |
Add video file size info in admin videos list
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index dadde38af..26cb595e7 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -62,6 +62,9 @@ export interface Video { | |||
62 | 62 | ||
63 | blockedOwner?: boolean | 63 | blockedOwner?: boolean |
64 | blockedServer?: boolean | 64 | blockedServer?: boolean |
65 | |||
66 | files?: VideoFile[] | ||
67 | streamingPlaylists?: VideoStreamingPlaylist[] | ||
65 | } | 68 | } |
66 | 69 | ||
67 | export interface VideoDetails extends Video { | 70 | export interface VideoDetails extends Video { |
@@ -70,7 +73,6 @@ export interface VideoDetails extends Video { | |||
70 | channel: VideoChannel | 73 | channel: VideoChannel |
71 | account: Account | 74 | account: Account |
72 | tags: string[] | 75 | tags: string[] |
73 | files: VideoFile[] | ||
74 | commentsEnabled: boolean | 76 | commentsEnabled: boolean |
75 | downloadEnabled: boolean | 77 | downloadEnabled: boolean |
76 | 78 | ||
@@ -80,5 +82,6 @@ export interface VideoDetails extends Video { | |||
80 | 82 | ||
81 | trackerUrls: string[] | 83 | trackerUrls: string[] |
82 | 84 | ||
85 | files: VideoFile[] | ||
83 | streamingPlaylists: VideoStreamingPlaylist[] | 86 | streamingPlaylists: VideoStreamingPlaylist[] |
84 | } | 87 | } |