aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video-include.enum.ts3
-rw-r--r--shared/models/videos/video.model.ts5
2 files changed, 6 insertions, 2 deletions
diff --git a/shared/models/videos/video-include.enum.ts b/shared/models/videos/video-include.enum.ts
index fa720b348..72fa8cd30 100644
--- a/shared/models/videos/video-include.enum.ts
+++ b/shared/models/videos/video-include.enum.ts
@@ -3,5 +3,6 @@ export const enum VideoInclude {
3 NOT_PUBLISHED_STATE = 1 << 0, 3 NOT_PUBLISHED_STATE = 1 << 0,
4 HIDDEN_PRIVACY = 1 << 1, 4 HIDDEN_PRIVACY = 1 << 1,
5 BLACKLISTED = 1 << 2, 5 BLACKLISTED = 1 << 2,
6 BLOCKED_OWNER = 1 << 3 6 BLOCKED_OWNER = 1 << 3,
7 FILES = 1 << 4
7} 8}
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
67export interface VideoDetails extends Video { 70export 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}