]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Add missing mediaType info to AP objects
[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 VideoObject {
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
23 sensitive: boolean
24
25 isLiveBroadcast: boolean
26 liveSaveReplay: boolean
27 permanentLive: boolean
28
29 commentsEnabled: boolean
30 downloadEnabled: boolean
31 waitTranscoding: boolean
32 state: VideoState
33 published: string
34 originallyPublishedAt: string
35 updated: string
36
37 mediaType: 'text/markdown'
38 content: string
39
40 support: string
41
42 icon: ActivityIconObject[]
43
44 url: ActivityUrlObject[]
45
46 likes: string
47 dislikes: string
48 shares: string
49 comments: string
50
51 attributedTo: ActivityPubAttributedTo[]
52
53 to?: string[]
54 cc?: string[]
55 }