]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Merge branch 'release/1.4.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 icon: ActivityIconObject
34 url: ActivityUrlObject[]
35 likes: string
36 dislikes: string
37 shares: string
38 comments: string
39 attributedTo: ActivityPubAttributedTo[]
40 to?: string[]
41 cc?: string[]
42 }