From 418d092afa81e2c8fe8ac6838fc4b5eb0af6a782 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Feb 2019 10:55:40 +0100 Subject: Playlist server API --- .../models/videos/playlist/video-playlist.model.ts | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 shared/models/videos/playlist/video-playlist.model.ts (limited to 'shared/models/videos/playlist/video-playlist.model.ts') diff --git a/shared/models/videos/playlist/video-playlist.model.ts b/shared/models/videos/playlist/video-playlist.model.ts new file mode 100644 index 000000000..6aa04048c --- /dev/null +++ b/shared/models/videos/playlist/video-playlist.model.ts @@ -0,0 +1,23 @@ +import { AccountSummary } from '../../actors/index' +import { VideoChannelSummary, VideoConstant } from '..' +import { VideoPlaylistPrivacy } from './video-playlist-privacy.model' + +export interface VideoPlaylist { + id: number + uuid: string + isLocal: boolean + + displayName: string + description: string + privacy: VideoConstant + + thumbnailPath: string + + videosLength: number + + createdAt: Date | string + updatedAt: Date | string + + ownerAccount?: AccountSummary + videoChannel?: VideoChannelSummary +} -- cgit v1.2.3