aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/pods
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/pods
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/pods')
-rw-r--r--shared/models/pods/remote-video/remote-qadu-video-request.model.ts2
-rw-r--r--shared/models/pods/remote-video/remote-video-create-request.model.ts2
-rw-r--r--shared/models/pods/remote-video/remote-video-event-request.model.ts2
-rw-r--r--shared/models/pods/remote-video/remote-video-remove-request.model.ts2
-rw-r--r--shared/models/pods/remote-video/remote-video-report-abuse-request.model.ts2
-rw-r--r--shared/models/pods/remote-video/remote-video-update-request.model.ts2
6 files changed, 6 insertions, 6 deletions
diff --git a/shared/models/pods/remote-video/remote-qadu-video-request.model.ts b/shared/models/pods/remote-video/remote-qadu-video-request.model.ts
index 0f84e3f13..6128c5801 100644
--- a/shared/models/pods/remote-video/remote-qadu-video-request.model.ts
+++ b/shared/models/pods/remote-video/remote-qadu-video-request.model.ts
@@ -1,5 +1,5 @@
1export interface RemoteQaduVideoData { 1export interface RemoteQaduVideoData {
2 remoteId: string 2 uuid: string
3 views?: number 3 views?: number
4 likes?: number 4 likes?: number
5 dislikes?: number 5 dislikes?: number
diff --git a/shared/models/pods/remote-video/remote-video-create-request.model.ts b/shared/models/pods/remote-video/remote-video-create-request.model.ts
index 6babb0083..b6a570e42 100644
--- a/shared/models/pods/remote-video/remote-video-create-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-create-request.model.ts
@@ -1,7 +1,7 @@
1import { RemoteVideoRequest } from './remote-video-request.model' 1import { RemoteVideoRequest } from './remote-video-request.model'
2 2
3export interface RemoteVideoCreateData { 3export interface RemoteVideoCreateData {
4 remoteId: string 4 uuid: string
5 author: string 5 author: string
6 tags: string[] 6 tags: string[]
7 name: string 7 name: string
diff --git a/shared/models/pods/remote-video/remote-video-event-request.model.ts b/shared/models/pods/remote-video/remote-video-event-request.model.ts
index 84df1ca2f..ecc374750 100644
--- a/shared/models/pods/remote-video/remote-video-event-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-event-request.model.ts
@@ -1,7 +1,7 @@
1export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes' 1export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes'
2 2
3export interface RemoteVideoEventData { 3export interface RemoteVideoEventData {
4 remoteId: string 4 uuid: string
5 eventType: RemoteVideoEventType 5 eventType: RemoteVideoEventType
6 count: number 6 count: number
7} 7}
diff --git a/shared/models/pods/remote-video/remote-video-remove-request.model.ts b/shared/models/pods/remote-video/remote-video-remove-request.model.ts
index 95ee38661..0686dc8ab 100644
--- a/shared/models/pods/remote-video/remote-video-remove-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-remove-request.model.ts
@@ -1,7 +1,7 @@
1import { RemoteVideoRequest } from './remote-video-request.model' 1import { RemoteVideoRequest } from './remote-video-request.model'
2 2
3export interface RemoteVideoRemoveData { 3export interface RemoteVideoRemoveData {
4 remoteId: string 4 uuid: string
5} 5}
6 6
7export interface RemoteVideoRemoveRequest extends RemoteVideoRequest { 7export interface RemoteVideoRemoveRequest extends RemoteVideoRequest {
diff --git a/shared/models/pods/remote-video/remote-video-report-abuse-request.model.ts b/shared/models/pods/remote-video/remote-video-report-abuse-request.model.ts
index 9059c92e0..05ad132cf 100644
--- a/shared/models/pods/remote-video/remote-video-report-abuse-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-report-abuse-request.model.ts
@@ -1,7 +1,7 @@
1import { RemoteVideoRequest } from './remote-video-request.model' 1import { RemoteVideoRequest } from './remote-video-request.model'
2 2
3export interface RemoteVideoReportAbuseData { 3export interface RemoteVideoReportAbuseData {
4 videoRemoteId: string 4 videoUUID: string
5 reporterUsername: string 5 reporterUsername: string
6 reportReason: string 6 reportReason: string
7} 7}
diff --git a/shared/models/pods/remote-video/remote-video-update-request.model.ts b/shared/models/pods/remote-video/remote-video-update-request.model.ts
index 67ddbc1e4..805548563 100644
--- a/shared/models/pods/remote-video/remote-video-update-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-update-request.model.ts
@@ -1,5 +1,5 @@
1export interface RemoteVideoUpdateData { 1export interface RemoteVideoUpdateData {
2 remoteId: string 2 uuid: string
3 tags: string[] 3 tags: string[]
4 name: string 4 name: string
5 extname: string 5 extname: string