aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/playlist/video-playlist.model.ts
blob: 6aa04048c19dd8b654d0ee61d4c512d09a156469 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}