]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Merge branch 'release/2.3.0' into develop
[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 downloadEnabled: boolean
25 waitTranscoding: boolean
26 state: VideoState
27 published: string
28 originallyPublishedAt: string
29 updated: string
30 mediaType: 'text/markdown'
31 content: string
32 support: string
33
34 icon: ActivityIconObject[]
35
36 url: ActivityUrlObject[]
37 likes: string
38 dislikes: string
39 shares: string
40 comments: string
41 attributedTo: ActivityPubAttributedTo[]
42 to?: string[]
43 cc?: string[]
44 }