aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/activitypub/objects/video-torrent-object.ts
blob: 8504c178fa0d50eed5e52345d3db86c66d34c6f3 (plain) (tree)
1
2
3
4
5
6
7
8

                     

                           


                         
                                         


                                     
            






                                    
                                              
               
                    
                          

                          

                   

                            
                 

                          



                  
                                         

               
 
import {
  ActivityIconObject,
  ActivityIdentifierObject,
  ActivityPubAttributedTo,
  ActivityTagObject,
  ActivityUrlObject
} from './common-objects'
import { VideoState } from '../../videos'

export interface VideoTorrentObject {
  type: 'Video'
  id: string
  name: string
  duration: string
  uuid: string
  tag: ActivityTagObject[]
  category: ActivityIdentifierObject
  licence: ActivityIdentifierObject
  language: ActivityIdentifierObject
  subtitleLanguage: ActivityIdentifierObject[]
  views: number
  sensitive: boolean
  commentsEnabled: boolean
  waitTranscoding: boolean
  state: VideoState
  published: string
  updated: string
  mediaType: 'text/markdown'
  content: string
  support: string
  icon: ActivityIconObject
  url: ActivityUrlObject[]
  likes: string
  dislikes: string
  shares: string
  comments: string
  attributedTo: ActivityPubAttributedTo[]
  to?: string[]
  cc?: string[]
}