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