diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-06 13:06:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-06 13:34:08 +0100 |
commit | 51b34a11b298b466faef9c8d24beec4442d7add3 (patch) | |
tree | 57f9969eb5eb31f9b7cd8f1185927b105a3de809 /shared/models/videos | |
parent | 46db9430af70f45bc656cb0ac8e519f5d0be0149 (diff) | |
download | PeerTube-51b34a11b298b466faef9c8d24beec4442d7add3.tar.gz PeerTube-51b34a11b298b466faef9c8d24beec4442d7add3.tar.zst PeerTube-51b34a11b298b466faef9c8d24beec4442d7add3.zip |
Share playlists state
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/playlist/video-exist-in-playlist.model.ts | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shared/models/videos/playlist/video-exist-in-playlist.model.ts b/shared/models/videos/playlist/video-exist-in-playlist.model.ts index 1b57257e2..fc979c8c0 100644 --- a/shared/models/videos/playlist/video-exist-in-playlist.model.ts +++ b/shared/models/videos/playlist/video-exist-in-playlist.model.ts | |||
@@ -1,8 +1,10 @@ | |||
1 | export type VideosExistInPlaylists = { | ||
2 | [videoId: number ]: VideoExistInPlaylist[] | ||
3 | } | ||
4 | |||
1 | export type VideoExistInPlaylist = { | 5 | export type VideoExistInPlaylist = { |
2 | [videoId: number ]: { | 6 | playlistElementId: number |
3 | playlistElementId: number | 7 | playlistId: number |
4 | playlistId: number | 8 | startTimestamp?: number |
5 | startTimestamp?: number | 9 | stopTimestamp?: number |
6 | stopTimestamp?: number | ||
7 | }[] | ||
8 | } | 10 | } |