aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-24 19:41:09 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commit72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch)
tree1bfdee99dbe2392cc997edba8e314e2a8a401c72 /shared/models/videos/video.model.ts
parent8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff)
downloadPeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.gz
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.zst
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.zip
Add video channels
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r--shared/models/videos/video.model.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 8e47ac069..32463933d 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,3 +1,5 @@
1import { VideoChannel } from './video-channel.model'
2
1export interface VideoFile { 3export interface VideoFile {
2 magnetUri: string 4 magnetUri: string
3 resolution: number 5 resolution: number
@@ -32,5 +34,9 @@ export interface Video {
32 likes: number 34 likes: number
33 dislikes: number 35 dislikes: number
34 nsfw: boolean 36 nsfw: boolean
37}
38
39export interface VideoDetails extends Video {
40 channel: VideoChannel
35 files: VideoFile[] 41 files: VideoFile[]
36} 42}