1
0
Fork 0
peertube/shared/models/videos/playlist/video-exist-in-playlist.model.ts

19 lines
457 B
TypeScript
Raw Normal View History

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