Add shares forward and collection on videos/video channels
[oweals/peertube.git] / shared / models / activitypub / objects / video-torrent-object.ts
1 import {
2   ActivityIconObject,
3   ActivityIdentifierObject,
4   ActivityTagObject,
5   ActivityUrlObject
6 } from './common-objects'
7 import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
8
9 export interface VideoTorrentObject {
10   type: 'Video'
11   id: string
12   name: string
13   duration: string
14   uuid: string
15   tag: ActivityTagObject[]
16   category: ActivityIdentifierObject
17   licence: ActivityIdentifierObject
18   language: ActivityIdentifierObject
19   views: number
20   nsfw: boolean
21   published: string
22   updated: string
23   mediaType: 'text/markdown'
24   content: string
25   icon: ActivityIconObject
26   url: ActivityUrlObject[]
27   actor?: string
28   likes?: ActivityPubOrderedCollection<string>
29   dislikes?: ActivityPubOrderedCollection<string>
30   shares?: ActivityPubOrderedCollection<string>
31 }