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