aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/pods/remote-video/remote-video-update-request.model.ts
blob: dd3e2ae1a2eb837bacfa8c2dbd5075e7ffe4ac07 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                        
              



                  
                  
                 
                  
               

                     

                 


                  





                      




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

export interface RemoteVideoUpdateRequest {
  type: 'update'
  data: RemoteVideoUpdateData
}