X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fplaylist%2Fvideo-exist-in-playlist.model.ts;h=fc979c8c0be90b475cb5515b807a502d7dc55073;hb=51b34a11b298b466faef9c8d24beec4442d7add3;hp=1b57257e2a411078d4b6055b249a219fdd6e2dd2;hpb=46db9430af70f45bc656cb0ac8e519f5d0be0149;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/playlist/video-exist-in-playlist.model.ts b/shared/models/videos/playlist/video-exist-in-playlist.model.ts index 1b57257e2..fc979c8c0 100644 --- a/shared/models/videos/playlist/video-exist-in-playlist.model.ts +++ b/shared/models/videos/playlist/video-exist-in-playlist.model.ts @@ -1,8 +1,10 @@ +export type VideosExistInPlaylists = { + [videoId: number ]: VideoExistInPlaylist[] +} + export type VideoExistInPlaylist = { - [videoId: number ]: { - playlistElementId: number - playlistId: number - startTimestamp?: number - stopTimestamp?: number - }[] + playlistElementId: number + playlistId: number + startTimestamp?: number + stopTimestamp?: number }