aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-11 16:01:56 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-11 16:01:56 +0200
commit0a6658fdcbd779ada8f3758048c326e997902d5a (patch)
tree5de40bf901db0299011104b1344783637b964eb0 /shared/models/videos
parente6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d (diff)
downloadPeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.gz
PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.zst
PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.zip
Use global uuid instead of remoteId for videos
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