mirror of https://github.com/Chocobozzz/PeerTube
19 lines
457 B
TypeScript
19 lines
457 B
TypeScript
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
|
|
}
|