From 830b4faff15fb9c81d88e8e69fcdf94aad32bef8 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Wed, 6 Mar 2019 15:36:44 +0100
Subject: Add/update/delete/list my playlists

---
 shared/models/videos/index.ts                         | 9 ++++++++-
 shared/models/videos/playlist/video-playlist.model.ts | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

(limited to 'shared/models/videos')

diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts
index 056ae06da..9cf861048 100644
--- a/shared/models/videos/index.ts
+++ b/shared/models/videos/index.ts
@@ -11,6 +11,13 @@ export * from './blacklist/video-blacklist-update.model'
 export * from './channel/video-channel-create.model'
 export * from './channel/video-channel-update.model'
 export * from './channel/video-channel.model'
+export * from './playlist/video-playlist-create.model'
+export * from './playlist/video-playlist-element-create.model'
+export * from './playlist/video-playlist-element-update.model'
+export * from './playlist/video-playlist-privacy.model'
+export * from './playlist/video-playlist-type.model'
+export * from './playlist/video-playlist-update.model'
+export * from './playlist/video-playlist.model'
 export * from './video-change-ownership.model'
 export * from './video-change-ownership-create.model'
 export * from './video-create.model'
@@ -27,4 +34,4 @@ export * from './caption/video-caption-update.model'
 export * from './import/video-import-create.model'
 export * from './import/video-import-state.enum'
 export * from './import/video-import.model'
-export { VideoConstant } from './video-constant.model'
+export * from './video-constant.model'
diff --git a/shared/models/videos/playlist/video-playlist.model.ts b/shared/models/videos/playlist/video-playlist.model.ts
index 7fec0e42b..c0941727a 100644
--- a/shared/models/videos/playlist/video-playlist.model.ts
+++ b/shared/models/videos/playlist/video-playlist.model.ts
@@ -21,6 +21,6 @@ export interface VideoPlaylist {
   createdAt: Date | string
   updatedAt: Date | string
 
-  ownerAccount?: AccountSummary
+  ownerAccount: AccountSummary
   videoChannel?: VideoChannelSummary
 }
-- 
cgit v1.2.3