]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/playlist/video-exist-in-playlist.model.ts
Add to playlist dropdown
[github/Chocobozzz/PeerTube.git] / shared / models / videos / playlist / video-exist-in-playlist.model.ts
diff --git a/shared/models/videos/playlist/video-exist-in-playlist.model.ts b/shared/models/videos/playlist/video-exist-in-playlist.model.ts
new file mode 100644 (file)
index 0000000..71240f5
--- /dev/null
@@ -0,0 +1,7 @@
+export type VideoExistInPlaylist = {
+  [videoId: number ]: {
+    playlistId: number
+    startTimestamp?: number
+    stopTimestamp?: number
+  }[]
+}