aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/playlist/video-playlist.model.ts
blob: b8a9955d9be9294d24257079b20063a917d55caf (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
24
25
26
27
28
29
30
31
32
33
34
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
  shortUUID: string

  isLocal: boolean

  url: string

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

  thumbnailPath: string
  thumbnailUrl?: string

  videosLength: number

  type: VideoConstant<VideoPlaylistType>

  embedPath: string
  embedUrl?: string

  createdAt: Date | string
  updatedAt: Date | string

  ownerAccount: AccountSummary
  videoChannel?: VideoChannelSummary
}