diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 3a205bb83..c368d8464 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -11,6 +11,7 @@ export interface VideoUpdate { | |||
11 | tags?: string[] | 11 | tags?: string[] |
12 | commentsEnabled?: boolean | 12 | commentsEnabled?: boolean |
13 | nsfw?: boolean | 13 | nsfw?: boolean |
14 | channelId?: number | ||
14 | thumbnailfile?: Blob | 15 | thumbnailfile?: Blob |
15 | previewfile?: Blob | 16 | previewfile?: Blob |
16 | } | 17 | } |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index ba1881da3..eb40e82de 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -48,6 +48,16 @@ export interface Video { | |||
48 | host: string | 48 | host: string |
49 | avatar: Avatar | 49 | avatar: Avatar |
50 | } | 50 | } |
51 | |||
52 | channel: { | ||
53 | id: number | ||
54 | uuid: string | ||
55 | name: string | ||
56 | displayName: string | ||
57 | url: string | ||
58 | host: string | ||
59 | avatar: Avatar | ||
60 | } | ||
51 | } | 61 | } |
52 | 62 | ||
53 | export interface VideoDetails extends Video { | 63 | export interface VideoDetails extends Video { |