diff options
Diffstat (limited to 'shared/models/videos/video.model.ts')
-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 { |