2017-07-10 13:43:21 -04:00
|
|
|
import { RemoteVideoRequest } from './remote-video-request.model'
|
|
|
|
|
|
|
|
export interface RemoteVideoCreateData {
|
2017-07-11 10:01:56 -04:00
|
|
|
uuid: string
|
2017-10-24 13:41:09 -04:00
|
|
|
channelUUID: string
|
2017-07-10 13:43:21 -04:00
|
|
|
tags: string[]
|
|
|
|
name: string
|
|
|
|
category: number
|
|
|
|
licence: number
|
|
|
|
language: number
|
|
|
|
nsfw: boolean
|
2017-10-30 05:16:27 -04:00
|
|
|
truncatedDescription: string
|
2017-07-10 13:43:21 -04:00
|
|
|
duration: number
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
|
|
|
views: number
|
|
|
|
likes: number
|
|
|
|
dislikes: number
|
2017-10-31 06:52:52 -04:00
|
|
|
privacy: number
|
2017-07-10 13:43:21 -04:00
|
|
|
thumbnailData: string
|
2017-08-25 05:36:23 -04:00
|
|
|
files: {
|
|
|
|
infoHash: string
|
|
|
|
extname: string
|
|
|
|
resolution: number
|
|
|
|
size: number
|
|
|
|
}[]
|
2017-07-10 13:43:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RemoteVideoCreateRequest extends RemoteVideoRequest {
|
2017-10-24 13:41:09 -04:00
|
|
|
type: 'add-video'
|
2017-07-10 13:43:21 -04:00
|
|
|
data: RemoteVideoCreateData
|
|
|
|
}
|