diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-11 16:23:33 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-03-18 11:17:59 +0100 |
commit | c5a1ae500e68b759f76851552be6dd10631d34f4 (patch) | |
tree | f741daceab3b506f18f7cc14492a25425ebdf68d /shared/models | |
parent | f0a3988066f72a28bb44520af072f18d91d77dde (diff) | |
download | PeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.tar.gz PeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.tar.zst PeerTube-c5a1ae500e68b759f76851552be6dd10631d34f4.zip |
Playlist videos component
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/videos/video.model.ts | 12 |
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 | ||
21 | export interface PlaylistElement { | ||
22 | position: number | ||
23 | startTimestamp: number | ||
24 | stopTimestamp: number | ||
25 | } | ||
26 | |||
21 | export interface Video { | 27 | export 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 | ||
65 | export interface VideoDetails extends Video { | 67 | export interface VideoDetails extends Video { |