]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
feat(plugins): add p2p-media-loader options filter (#5318)
[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 { LiveVideoLatencyMode, 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 latencyMode: LiveVideoLatencyMode
29
30 commentsEnabled: boolean
31 downloadEnabled: boolean
32 waitTranscoding: boolean
33 state: VideoState
34 published: string
35 originallyPublishedAt: string
36 updated: string
37
38 mediaType: 'text/markdown'
39 content: string
40
41 support: string
42
43 icon: ActivityIconObject[]
44
45 url: ActivityUrlObject[]
46
47 likes: string
48 dislikes: string
49 shares: string
50 comments: string
51
52 attributedTo: ActivityPubAttributedTo[]
53
54 to?: string[]
55 cc?: string[]
56 }