]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/playlist/video-exist-in-playlist.model.ts
Share playlists state
[github/Chocobozzz/PeerTube.git] / shared / models / videos / playlist / video-exist-in-playlist.model.ts
index 1b57257e2a411078d4b6055b249a219fdd6e2dd2..fc979c8c0be90b475cb5515b807a502d7dc55073 100644 (file)
@@ -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
 }