From 2186386cca113506791583cb07d6ccacba7af4e0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 12 Jun 2018 20:04:58 +0200 Subject: Add concept of video state, and add ability to wait transcoding before publishing a video --- client/src/app/shared/video/video-details.model.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'client/src/app/shared/video/video-details.model.ts') diff --git a/client/src/app/shared/video/video-details.model.ts b/client/src/app/shared/video/video-details.model.ts index 19c350ab3..e500ad6fc 100644 --- a/client/src/app/shared/video/video-details.model.ts +++ b/client/src/app/shared/video/video-details.model.ts @@ -1,4 +1,11 @@ -import { UserRight, VideoChannel, VideoDetails as VideoDetailsServerModel, VideoFile } from '../../../../../shared' +import { + UserRight, + VideoChannel, + VideoConstant, + VideoDetails as VideoDetailsServerModel, + VideoFile, + VideoState +} from '../../../../../shared' import { AuthUser } from '../../core' import { Video } from '../../shared/video/video.model' import { Account } from '@app/shared/account/account.model' @@ -12,6 +19,9 @@ export class VideoDetails extends Video implements VideoDetailsServerModel { account: Account commentsEnabled: boolean + waitTranscoding: boolean + state: VideoConstant + likesPercent: number dislikesPercent: number -- cgit v1.2.3