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.ts4
1 files changed, 2 insertions, 2 deletions
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