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

                     
                                                    


                         
                                                                                


                                     
            








                                    

                   



                            

                                                 
                                               
                                         
 
import {
  ActivityIconObject,
  ActivityIdentifierObject, ActivityPubAttributedTo,
  ActivityTagObject,
  ActivityUrlObject
} from './common-objects'
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'

export interface VideoTorrentObject {
  type: 'Video'
  id: string
  name: string
  duration: string
  uuid: string
  tag: ActivityTagObject[]
  category: ActivityIdentifierObject
  licence: ActivityIdentifierObject
  language: ActivityIdentifierObject
  views: number
  nsfw: boolean
  published: string
  updated: string
  mediaType: 'text/markdown'
  content: string
  icon: ActivityIconObject
  url: ActivityUrlObject[]
  likes?: ActivityPubOrderedCollection<string>
  dislikes?: ActivityPubOrderedCollection<string>
  shares?: ActivityPubOrderedCollection<string>
  attributedTo: ActivityPubAttributedTo[]
}