aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/user-video-rate.model.ts2
-rw-r--r--shared/models/videos/video-abuse.model.ts2
-rw-r--r--shared/models/videos/video-blacklist.model.ts2
-rw-r--r--shared/models/videos/video.model.ts3
4 files changed, 5 insertions, 4 deletions
diff --git a/shared/models/videos/user-video-rate.model.ts b/shared/models/videos/user-video-rate.model.ts
index 4b9c574d8..d39a1c3d5 100644
--- a/shared/models/videos/user-video-rate.model.ts
+++ b/shared/models/videos/user-video-rate.model.ts
@@ -1,6 +1,6 @@
1import { UserVideoRateType } from './user-video-rate.type' 1import { UserVideoRateType } from './user-video-rate.type'
2 2
3export interface UserVideoRate { 3export interface UserVideoRate {
4 videoId: string 4 videoId: number
5 rating: UserVideoRateType 5 rating: UserVideoRateType
6} 6}
diff --git a/shared/models/videos/video-abuse.model.ts b/shared/models/videos/video-abuse.model.ts
index 72e32cbc7..e005a1fd5 100644
--- a/shared/models/videos/video-abuse.model.ts
+++ b/shared/models/videos/video-abuse.model.ts
@@ -3,6 +3,6 @@ export interface VideoAbuse {
3 reporterPodHost: string 3 reporterPodHost: string
4 reason: string 4 reason: string
5 reporterUsername: string 5 reporterUsername: string
6 videoId: string 6 videoId: number
7 createdAt: Date 7 createdAt: Date
8} 8}
diff --git a/shared/models/videos/video-blacklist.model.ts b/shared/models/videos/video-blacklist.model.ts
index f894bb065..6086250ac 100644
--- a/shared/models/videos/video-blacklist.model.ts
+++ b/shared/models/videos/video-blacklist.model.ts
@@ -1,5 +1,5 @@
1export interface BlacklistedVideo { 1export interface BlacklistedVideo {
2 id: number 2 id: number
3 videoId: string 3 videoId: number
4 createdAt: Date 4 createdAt: Date
5} 5}
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 2e35f005c..d472cc8fb 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,5 +1,6 @@
1export interface Video { 1export interface Video {
2 id: string 2 id: number
3 uuid: string
3 author: string 4 author: string
4 createdAt: Date 5 createdAt: Date
5 categoryLabel: string 6 categoryLabel: string