aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-11 16:23:33 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commitc5a1ae500e68b759f76851552be6dd10631d34f4 (patch)
treef741daceab3b506f18f7cc14492a25425ebdf68d /shared
parentf0a3988066f72a28bb44520af072f18d91d77dde (diff)
downloadPeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.tar.gz
PeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.tar.zst
PeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.zip
Playlist videos component
Diffstat (limited to 'shared')
-rw-r--r--shared/models/videos/video.model.ts12
1 files changed, 7 insertions, 5 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 6e7a6831e..963268674 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -18,6 +18,12 @@ export interface VideoFile {
18 fps: number 18 fps: number
19} 19}
20 20
21export interface PlaylistElement {
22 position: number
23 startTimestamp: number
24 stopTimestamp: number
25}
26
21export interface Video { 27export interface Video {
22 id: number 28 id: number
23 uuid: string 29 uuid: string
@@ -55,11 +61,7 @@ export interface Video {
55 currentTime: number 61 currentTime: number
56 } 62 }
57 63
58 playlistElement?: { 64 playlistElement?: PlaylistElement
59 position: number
60 startTimestamp: number
61 stopTimestamp: number
62 }
63} 65}
64 66
65export interface VideoDetails extends Video { 67export interface VideoDetails extends Video {