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