1
0
Fork 0
peertube/shared/models/videos/playlist/video-playlist-element.model.ts

20 lines
379 B
TypeScript
Raw Normal View History

2019-07-31 09:57:32 -04:00
import { Video } from '../video.model'
2020-08-06 08:58:01 -04:00
export const enum VideoPlaylistElementType {
2019-07-31 09:57:32 -04:00
REGULAR = 0,
DELETED = 1,
PRIVATE = 2,
UNAVAILABLE = 3 // Blacklisted, blocked by the user/instance, NSFW...
}
export interface VideoPlaylistElement {
id: number
position: number
startTimestamp: number
stopTimestamp: number
type: VideoPlaylistElementType
video?: Video
}