aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r--shared/models/videos/video.model.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 1c86545d3..857ca1fd9 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,4 +1,4 @@
1import { VideoResolution } from '../../index' 1import { VideoResolution, VideoState } from '../../index'
2import { Account } from '../actors' 2import { Account } from '../actors'
3import { Avatar } from '../avatars/avatar.model' 3import { Avatar } from '../avatars/avatar.model'
4import { VideoChannel } from './video-channel.model' 4import { VideoChannel } from './video-channel.model'
@@ -41,6 +41,9 @@ export interface Video {
41 dislikes: number 41 dislikes: number
42 nsfw: boolean 42 nsfw: boolean
43 43
44 waitTranscoding?: boolean
45 state?: VideoConstant<VideoState>
46
44 account: { 47 account: {
45 id: number 48 id: number
46 uuid: string 49 uuid: string
@@ -70,4 +73,8 @@ export interface VideoDetails extends Video {
70 files: VideoFile[] 73 files: VideoFile[]
71 account: Account 74 account: Account
72 commentsEnabled: boolean 75 commentsEnabled: boolean
76
77 // Not optional in details (unlike in Video)
78 waitTranscoding: boolean
79 state: VideoConstant<VideoState>
73} 80}