]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/playlist/video-playlist-element.model.ts
Add ability to filter out public videos from admin
[github/Chocobozzz/PeerTube.git] / shared / models / videos / playlist / video-playlist-element.model.ts
CommitLineData
bfbd9128
C
1import { Video } from '../video.model'
2
bd45d503 3export const enum VideoPlaylistElementType {
bfbd9128
C
4 REGULAR = 0,
5 DELETED = 1,
6 PRIVATE = 2,
7 UNAVAILABLE = 3 // Blacklisted, blocked by the user/instance, NSFW...
8}
9
10export interface VideoPlaylistElement {
11 id: number
12 position: number
13 startTimestamp: number
14 stopTimestamp: number
15
16 type: VideoPlaylistElementType
17
18 video?: Video
19}