1
0
Fork 0
peertube/shared/models/pods/remote-video/remote-video-create-request.model.ts

33 lines
652 B
TypeScript
Raw Normal View History

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