aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/playlist/video-exist-in-playlist.model.ts
blob: 6d06c0f4debed792a42e3bfc4c201a4a07d3d46a (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
}