aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/pods/remote-video/remote-video-create-request.model.ts
blob: 98425e4d9d91c6b6acd504b67d3d76c32a31515c (plain) (tree)
1
2
3
4
5
6
7


                                                                 
              


                











                       





                      





                                                                      
import { RemoteVideoRequest } from './remote-video-request.model'

export interface RemoteVideoCreateData {
  uuid: string
  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
  files: {
    infoHash: string
    extname: string
    resolution: number
    size: number
  }[]
}

export interface RemoteVideoCreateRequest extends RemoteVideoRequest {
  type: 'add'
  data: RemoteVideoCreateData
}