aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/playlist/video-playlist.model.ts
blob: 7fec0e42b57ad49e09590c03735f9c8e0d46918e (plain) (tree)
1
2
3
4


                                                                     
                                                               













                                              

                                        





                                    
import { AccountSummary } from '../../actors/index'
import { VideoChannelSummary, VideoConstant } from '..'
import { VideoPlaylistPrivacy } from './video-playlist-privacy.model'
import { VideoPlaylistType } from './video-playlist-type.model'

export interface VideoPlaylist {
  id: number
  uuid: string
  isLocal: boolean

  displayName: string
  description: string
  privacy: VideoConstant<VideoPlaylistPrivacy>

  thumbnailPath: string

  videosLength: number

  type: VideoConstant<VideoPlaylistType>

  createdAt: Date | string
  updatedAt: Date | string

  ownerAccount?: AccountSummary
  videoChannel?: VideoChannelSummary
}