1
0
Fork 0
peertube/shared/models/videos/playlist/video-playlist.model.ts

35 lines
733 B
TypeScript
Raw Normal View History

2019-02-26 09:55:40 +00:00
import { AccountSummary } from '../../actors/index'
import { VideoChannelSummary, VideoConstant } from '..'
import { VideoPlaylistPrivacy } from './video-playlist-privacy.model'
2019-03-05 09:58:44 +00:00
import { VideoPlaylistType } from './video-playlist-type.model'
2019-02-26 09:55:40 +00:00
export interface VideoPlaylist {
id: number
uuid: string
shortUUID: string
2019-02-26 09:55:40 +00:00
isLocal: boolean
2021-06-17 14:02:38 +00:00
url: string
2019-02-26 09:55:40 +00:00
displayName: string
description: string
privacy: VideoConstant<VideoPlaylistPrivacy>
thumbnailPath: string
2021-06-17 14:02:38 +00:00
thumbnailUrl?: string
2019-02-26 09:55:40 +00:00
videosLength: number
2019-03-05 09:58:44 +00:00
type: VideoConstant<VideoPlaylistType>
embedPath: string
2021-06-17 14:02:38 +00:00
embedUrl?: string
2019-02-26 09:55:40 +00:00
createdAt: Date | string
updatedAt: Date | string
2019-03-06 14:36:44 +00:00
ownerAccount: AccountSummary
2019-02-26 09:55:40 +00:00
videoChannel?: VideoChannelSummary
}