2017-07-10 12:43:21 -05:00
|
|
|
import { RemoteVideoRequest } from './remote-video-request.model'
|
|
|
|
|
|
|
|
export interface RemoteVideoCreateData {
|
2017-07-11 09:01:56 -05:00
|
|
|
uuid: string
|
2017-07-10 12:43:21 -05:00
|
|
|
author: 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
|
|
|
|
thumbnailData: string
|
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 RemoteVideoCreateRequest extends RemoteVideoRequest {
|
|
|
|
type: 'add'
|
|
|
|
data: RemoteVideoCreateData
|
|
|
|
}
|