diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/playlist/video-exist-in-playlist.model.ts | 10 |
1 files changed, 9 insertions, 1 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 fc979c8c0..bc803a99c 100644 --- a/shared/models/videos/playlist/video-exist-in-playlist.model.ts +++ b/shared/models/videos/playlist/video-exist-in-playlist.model.ts | |||
@@ -1,10 +1,18 @@ | |||
1 | export type VideosExistInPlaylists = { | 1 | export type VideosExistInPlaylists = { |
2 | [videoId: number ]: VideoExistInPlaylist[] | 2 | [videoId: number ]: VideoExistInPlaylist[] |
3 | } | 3 | } |
4 | export type CachedVideosExistInPlaylists = { | ||
5 | [videoId: number ]: CachedVideoExistInPlaylist[] | ||
6 | } | ||
4 | 7 | ||
5 | export type VideoExistInPlaylist = { | 8 | export type CachedVideoExistInPlaylist = { |
6 | playlistElementId: number | 9 | playlistElementId: number |
7 | playlistId: number | 10 | playlistId: number |
8 | startTimestamp?: number | 11 | startTimestamp?: number |
9 | stopTimestamp?: number | 12 | stopTimestamp?: number |
10 | } | 13 | } |
14 | |||
15 | export type VideoExistInPlaylist = CachedVideoExistInPlaylist & { | ||
16 | playlistDisplayName: string | ||
17 | playlistShortUUID: string | ||
18 | } | ||