aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/playlist/video-exist-in-playlist.model.ts10
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 @@
1export type VideosExistInPlaylists = { 1export type VideosExistInPlaylists = {
2 [videoId: number ]: VideoExistInPlaylist[] 2 [videoId: number ]: VideoExistInPlaylist[]
3} 3}
4export type CachedVideosExistInPlaylists = {
5 [videoId: number ]: CachedVideoExistInPlaylist[]
6}
4 7
5export type VideoExistInPlaylist = { 8export 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
15export type VideoExistInPlaylist = CachedVideoExistInPlaylist & {
16 playlistDisplayName: string
17 playlistShortUUID: string
18}