From 0f320037e689b2778959c12ddd4ce790f6e4ae4f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 11 May 2018 15:10:13 +0200 Subject: Add ability to update a video channel --- client/src/app/shared/video/video.model.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'client/src/app/shared/video/video.model.ts') diff --git a/client/src/app/shared/video/video.model.ts b/client/src/app/shared/video/video.model.ts index f56eecaeb..48d562f9c 100644 --- a/client/src/app/shared/video/video.model.ts +++ b/client/src/app/shared/video/video.model.ts @@ -45,6 +45,16 @@ export class Video implements VideoServerModel { avatar: Avatar } + channel: { + id: number + uuid: string + name: string + displayName: string + url: string + host: string + avatar: Avatar + } + private static createDurationString (duration: number) { const hours = Math.floor(duration / 3600) const minutes = Math.floor(duration % 3600 / 60) -- cgit v1.2.3