]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Prepare Dislike/Flag/View fixes
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
1 import {
2 ActivityIconObject,
3 ActivityIdentifierObject,
4 ActivityPubAttributedTo,
5 ActivityTagObject,
6 ActivityUrlObject
7 } from './common-objects'
8 import { VideoState } from '../../videos'
9
10 export interface VideoTorrentObject {
11 type: 'Video'
12 id: string
13 name: string
14 duration: string
15 uuid: string
16 tag: ActivityTagObject[]
17 category: ActivityIdentifierObject
18 licence: ActivityIdentifierObject
19 language: ActivityIdentifierObject
20 subtitleLanguage: ActivityIdentifierObject[]
21 views: number
22 sensitive: boolean
23 commentsEnabled: boolean
24 waitTranscoding: boolean
25 state: VideoState
26 published: string
27 updated: string
28 mediaType: 'text/markdown'
29 content: string
30 support: string
31 icon: ActivityIconObject
32 url: ActivityUrlObject[]
33 likes: string
34 dislikes: string
35 shares: string
36 comments: string
37 attributedTo: ActivityPubAttributedTo[]
38 to?: string[]
39 cc?: string[]
40 }