PeerTube/shared/models/videos/playlist/video-exist-in-playlist.mod...

19 lines
455 B
TypeScript
Raw Normal View History

2020-01-06 06:06:13 -06:00
export type VideosExistInPlaylists = {
[videoId: number]: VideoExistInPlaylist[]
2020-01-06 06:06:13 -06:00
}
export type CachedVideosExistInPlaylists = {
[videoId: number]: CachedVideoExistInPlaylist[]
}
2020-01-06 06:06:13 -06:00
export type CachedVideoExistInPlaylist = {
2020-01-06 06:06:13 -06:00
playlistElementId: number
playlistId: number
startTimestamp?: number
stopTimestamp?: number
2019-03-07 10:06:00 -06:00
}
export type VideoExistInPlaylist = CachedVideoExistInPlaylist & {
playlistDisplayName: string
playlistShortUUID: string
}