aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/playlist/video-exist-in-playlist.model.ts
blob: bc803a99cfecada0164b61303e4a1c1561ca9419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export type VideosExistInPlaylists = {
  [videoId: number ]: VideoExistInPlaylist[]
}
export type CachedVideosExistInPlaylists = {
  [videoId: number ]: CachedVideoExistInPlaylist[]
}

export type CachedVideoExistInPlaylist = {
  playlistElementId: number
  playlistId: number
  startTimestamp?: number
  stopTimestamp?: number
}

export type VideoExistInPlaylist = CachedVideoExistInPlaylist & {
  playlistDisplayName: string
  playlistShortUUID: string
}