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

11 lines
226 B
TypeScript

export type VideosExistInPlaylists = {
[videoId: number ]: VideoExistInPlaylist[]
}
export type VideoExistInPlaylist = {
playlistElementId: number
playlistId: number
startTimestamp?: number
stopTimestamp?: number
}