]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/playlist/video-playlist.model.ts
Support short uuid for GET video/playlist
[github/Chocobozzz/PeerTube.git] / shared / models / videos / playlist / video-playlist.model.ts
CommitLineData
418d092a
C
1import { AccountSummary } from '../../actors/index'
2import { VideoChannelSummary, VideoConstant } from '..'
3import { VideoPlaylistPrivacy } from './video-playlist-privacy.model'
df0b219d 4import { VideoPlaylistType } from './video-playlist-type.model'
418d092a
C
5
6export interface VideoPlaylist {
7 id: number
8 uuid: string
d4a8e7a6
C
9 shortUUID: string
10
418d092a
C
11 isLocal: boolean
12
37a44fc9
C
13 url: string
14
418d092a
C
15 displayName: string
16 description: string
17 privacy: VideoConstant<VideoPlaylistPrivacy>
18
19 thumbnailPath: string
37a44fc9 20 thumbnailUrl?: string
418d092a
C
21
22 videosLength: number
23
df0b219d
C
24 type: VideoConstant<VideoPlaylistType>
25
951b582f 26 embedPath: string
37a44fc9 27 embedUrl?: string
951b582f 28
418d092a
C
29 createdAt: Date | string
30 updatedAt: Date | string
31
830b4faf 32 ownerAccount: AccountSummary
418d092a
C
33 videoChannel?: VideoChannelSummary
34}