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

27 lines
632 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'
2019-03-05 03:58:44 -06:00
import { VideoPlaylistType } from './video-playlist-type.model'
2019-02-26 03:55:40 -06:00
export interface VideoPlaylist {
id: number
uuid: string
isLocal: boolean
displayName: string
description: string
privacy: VideoConstant<VideoPlaylistPrivacy>
thumbnailPath: string
videosLength: number
2019-03-05 03:58:44 -06:00
type: VideoConstant<VideoPlaylistType>
2019-02-26 03:55:40 -06:00
createdAt: Date | string
updatedAt: Date | string
2019-03-06 08:36:44 -06:00
ownerAccount: AccountSummary
2019-02-26 03:55:40 -06:00
videoChannel?: VideoChannelSummary
}