2017-07-10 12:43:21 -05:00
|
|
|
export interface RemoteVideoUpdateData {
|
2017-07-11 09:01:56 -05:00
|
|
|
uuid: string
|
2017-07-10 12:43:21 -05:00
|
|
|
tags: string[]
|
|
|
|
name: string
|
2017-06-11 04:02:35 -05:00
|
|
|
category: number
|
|
|
|
licence: number
|
|
|
|
language: number
|
2017-07-10 12:43:21 -05:00
|
|
|
nsfw: boolean
|
2017-06-11 04:02:35 -05:00
|
|
|
description: string
|
|
|
|
duration: number
|
2017-07-10 12:43:21 -05:00
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
2017-06-11 04:02:35 -05:00
|
|
|
views: number
|
|
|
|
likes: number
|
|
|
|
dislikes: number
|
2017-08-25 04:36:23 -05:00
|
|
|
files: {
|
|
|
|
infoHash: string
|
|
|
|
extname: string
|
|
|
|
resolution: number
|
|
|
|
size: number
|
|
|
|
}[]
|
2017-07-10 12:43:21 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RemoteVideoUpdateRequest {
|
|
|
|
type: 'update'
|
|
|
|
data: RemoteVideoUpdateData
|
2017-06-10 15:15:25 -05:00
|
|
|
}
|