aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video.model.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 8aa8ee448..82c8763d0 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,3 +1,10 @@
1export interface VideoFile {
2 magnetUri: string
3 resolution: number
4 resolutionLabel: string
5 size: number // Bytes
6}
7
1export interface Video { 8export interface Video {
2 id: number 9 id: number
3 uuid: string 10 uuid: string
@@ -12,7 +19,6 @@ export interface Video {
12 description: string 19 description: string
13 duration: number 20 duration: number
14 isLocal: boolean 21 isLocal: boolean
15 magnetUri: string
16 name: string 22 name: string
17 podHost: string 23 podHost: string
18 tags: string[] 24 tags: string[]
@@ -22,4 +28,5 @@ export interface Video {
22 likes: number 28 likes: number
23 dislikes: number 29 dislikes: number
24 nsfw: boolean 30 nsfw: boolean
31 files: VideoFile[]
25} 32}