blob: 6babb00830e635aa1d4ab2ec2a15b21463621910 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { RemoteVideoRequest } from './remote-video-request.model'
export interface RemoteVideoCreateData {
remoteId: string
author: string
tags: string[]
name: string
extname: string
infoHash: 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
}
export interface RemoteVideoCreateRequest extends RemoteVideoRequest {
type: 'add'
data: RemoteVideoCreateData
}
|