mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Use global uuid instead of remoteId for videos
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export interface RemoteQaduVideoData {
|
||||
remoteId: string
|
||||
uuid: string
|
||||
views?: number
|
||||
likes?: number
|
||||
dislikes?: number
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { RemoteVideoRequest } from './remote-video-request.model'
|
||||
|
||||
export interface RemoteVideoCreateData {
|
||||
remoteId: string
|
||||
uuid: string
|
||||
author: string
|
||||
tags: string[]
|
||||
name: string
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes'
|
||||
|
||||
export interface RemoteVideoEventData {
|
||||
remoteId: string
|
||||
uuid: string
|
||||
eventType: RemoteVideoEventType
|
||||
count: number
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { RemoteVideoRequest } from './remote-video-request.model'
|
||||
|
||||
export interface RemoteVideoRemoveData {
|
||||
remoteId: string
|
||||
uuid: string
|
||||
}
|
||||
|
||||
export interface RemoteVideoRemoveRequest extends RemoteVideoRequest {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { RemoteVideoRequest } from './remote-video-request.model'
|
||||
|
||||
export interface RemoteVideoReportAbuseData {
|
||||
videoRemoteId: string
|
||||
videoUUID: string
|
||||
reporterUsername: string
|
||||
reportReason: string
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export interface RemoteVideoUpdateData {
|
||||
remoteId: string
|
||||
uuid: string
|
||||
tags: string[]
|
||||
name: string
|
||||
extname: string
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UserVideoRateType } from './user-video-rate.type'
|
||||
|
||||
export interface UserVideoRate {
|
||||
videoId: string
|
||||
videoId: number
|
||||
rating: UserVideoRateType
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ export interface VideoAbuse {
|
||||
reporterPodHost: string
|
||||
reason: string
|
||||
reporterUsername: string
|
||||
videoId: string
|
||||
videoId: number
|
||||
createdAt: Date
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export interface BlacklistedVideo {
|
||||
id: number
|
||||
videoId: string
|
||||
videoId: number
|
||||
createdAt: Date
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export interface Video {
|
||||
id: string
|
||||
id: number
|
||||
uuid: string
|
||||
author: string
|
||||
createdAt: Date
|
||||
categoryLabel: string
|
||||
|
||||
Reference in New Issue
Block a user