From 0a6658fdcbd779ada8f3758048c326e997902d5a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Jul 2017 16:01:56 +0200 Subject: Use global uuid instead of remoteId for videos --- shared/models/pods/remote-video/remote-qadu-video-request.model.ts | 2 +- shared/models/pods/remote-video/remote-video-create-request.model.ts | 2 +- shared/models/pods/remote-video/remote-video-event-request.model.ts | 2 +- shared/models/pods/remote-video/remote-video-remove-request.model.ts | 2 +- .../models/pods/remote-video/remote-video-report-abuse-request.model.ts | 2 +- shared/models/pods/remote-video/remote-video-update-request.model.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'shared/models/pods') 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 @@ export interface RemoteQaduVideoData { - remoteId: string + uuid: string views?: number likes?: number 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 @@ import { RemoteVideoRequest } from './remote-video-request.model' export interface RemoteVideoCreateData { - remoteId: string + uuid: string author: string tags: string[] 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 @@ export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes' export interface RemoteVideoEventData { - remoteId: string + uuid: string eventType: RemoteVideoEventType count: number } 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 @@ import { RemoteVideoRequest } from './remote-video-request.model' export interface RemoteVideoRemoveData { - remoteId: string + uuid: string } export 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 @@ import { RemoteVideoRequest } from './remote-video-request.model' export interface RemoteVideoReportAbuseData { - videoRemoteId: string + videoUUID: string reporterUsername: string reportReason: string } 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 @@ export interface RemoteVideoUpdateData { - remoteId: string + uuid: string tags: string[] name: string extname: string -- cgit v1.2.3