]>
Commit | Line | Data |
---|---|---|
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 | } |