aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video-create.model.ts2
-rw-r--r--shared/models/videos/video-update.model.ts2
-rw-r--r--shared/models/videos/video.model.ts4
3 files changed, 4 insertions, 4 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index 567a4c79a..562bc1bf2 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -3,7 +3,7 @@ import { VideoPrivacy } from './video-privacy.enum'
3export interface VideoCreate { 3export interface VideoCreate {
4 category?: number 4 category?: number
5 licence?: number 5 licence?: number
6 language?: number 6 language?: string
7 description?: string 7 description?: string
8 support?: string 8 support?: string
9 channelId: number 9 channelId: number
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts
index b281ace9a..3a205bb83 100644
--- a/shared/models/videos/video-update.model.ts
+++ b/shared/models/videos/video-update.model.ts
@@ -4,7 +4,7 @@ export interface VideoUpdate {
4 name?: string 4 name?: string
5 category?: number 5 category?: number
6 licence?: number 6 licence?: number
7 language?: number 7 language?: string
8 description?: string 8 description?: string
9 support?: string 9 support?: string
10 privacy?: VideoPrivacy 10 privacy?: VideoPrivacy
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 70132c050..259826689 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -5,7 +5,7 @@ import { VideoChannel } from './video-channel.model'
5import { VideoPrivacy } from './video-privacy.enum' 5import { VideoPrivacy } from './video-privacy.enum'
6 6
7export interface VideoConstant <T> { 7export interface VideoConstant <T> {
8 id: number 8 id: T
9 label: string 9 label: string
10} 10}
11 11
@@ -25,7 +25,7 @@ export interface Video {
25 publishedAt: Date | string 25 publishedAt: Date | string
26 category: VideoConstant<number> 26 category: VideoConstant<number>
27 licence: VideoConstant<number> 27 licence: VideoConstant<number>
28 language: VideoConstant<number> 28 language: VideoConstant<string>
29 privacy: VideoConstant<VideoPrivacy> 29 privacy: VideoConstant<VideoPrivacy>
30 description: string 30 description: string
31 duration: number 31 duration: number