1
0
Fork 0
peertube/shared/models/pods/remote-video/remote-video-update-request.model.ts
2017-10-03 15:31:26 +02:00

27 lines
482 B
TypeScript

export interface RemoteVideoUpdateData {
uuid: string
tags: string[]
name: string
category: number
licence: number
language: number
nsfw: boolean
description: string
duration: number
createdAt: Date
updatedAt: Date
views: number
likes: number
dislikes: number
files: {
infoHash: string
extname: string
resolution: number
size: number
}[]
}
export interface RemoteVideoUpdateRequest {
type: 'update'
data: RemoteVideoUpdateData
}