diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-07 17:06:00 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-03-18 11:17:59 +0100 |
commit | f0a3988066f72a28bb44520af072f18d91d77dde (patch) | |
tree | dfa3a92102557b567530c5dd014c90866621140a /shared/models | |
parent | 830b4faff15fb9c81d88e8e69fcdf94aad32bef8 (diff) | |
download | PeerTube-f0a3988066f72a28bb44520af072f18d91d77dde.tar.gz PeerTube-f0a3988066f72a28bb44520af072f18d91d77dde.tar.zst PeerTube-f0a3988066f72a28bb44520af072f18d91d77dde.zip |
Add to playlist dropdown
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/videos/playlist/video-exist-in-playlist.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
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 index 000000000..71240f51d --- /dev/null +++ b/shared/models/videos/playlist/video-exist-in-playlist.model.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export type VideoExistInPlaylist = { | ||
2 | [videoId: number ]: { | ||
3 | playlistId: number | ||
4 | startTimestamp?: number | ||
5 | stopTimestamp?: number | ||
6 | }[] | ||
7 | } | ||