]>
Commit | Line | Data |
---|---|---|
bfbd9128 C |
1 | import { Video } from '../video.model' |
2 | ||
3 | export enum VideoPlaylistElementType { | |
4 | REGULAR = 0, | |
5 | DELETED = 1, | |
6 | PRIVATE = 2, | |
7 | UNAVAILABLE = 3 // Blacklisted, blocked by the user/instance, NSFW... | |
8 | } | |
9 | ||
10 | export interface VideoPlaylistElement { | |
11 | id: number | |
12 | position: number | |
13 | startTimestamp: number | |
14 | stopTimestamp: number | |
15 | ||
16 | type: VideoPlaylistElementType | |
17 | ||
18 | video?: Video | |
19 | } |