PeerTube/shared/models/videos/playlist/video-playlist.model.ts

24 lines
527 B
TypeScript
Raw Normal View History

2019-02-26 03:55:40 -06:00
import { AccountSummary } from '../../actors/index'
import { VideoChannelSummary, VideoConstant } from '..'
import { VideoPlaylistPrivacy } from './video-playlist-privacy.model'
export interface VideoPlaylist {
id: number
uuid: string
isLocal: boolean
displayName: string
description: string
privacy: VideoConstant<VideoPlaylistPrivacy>
thumbnailPath: string
videosLength: number
createdAt: Date | string
updatedAt: Date | string
ownerAccount?: AccountSummary
videoChannel?: VideoChannelSummary
}