]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Remove comments, rates and views from stats
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
CommitLineData
e4f97bab
C
1import {
2 ActivityIconObject,
c48e82b5
C
3 ActivityIdentifierObject,
4 ActivityPubAttributedTo,
e4f97bab
C
5 ActivityTagObject,
6 ActivityUrlObject
7} from './common-objects'
f443a746 8import { LiveVideoLatencyMode, VideoState } from '../../videos'
e4f97bab 9
de6310b2 10export interface VideoObject {
e4f97bab 11 type: 'Video'
0d0e8dd0 12 id: string
e4f97bab
C
13 name: string
14 duration: string
15 uuid: string
16 tag: ActivityTagObject[]
17 category: ActivityIdentifierObject
18 licence: ActivityIdentifierObject
19 language: ActivityIdentifierObject
40e87e9e 20 subtitleLanguage: ActivityIdentifierObject[]
e4f97bab 21 views: number
de6310b2 22
0a67e28b 23 sensitive: boolean
af4ae64f 24
de6310b2 25 isLiveBroadcast: boolean
af4ae64f 26 liveSaveReplay: boolean
bb4ba6d9 27 permanentLive: boolean
f443a746 28 latencyMode: LiveVideoLatencyMode
de6310b2 29
a1587156
C
30 commentsEnabled: boolean
31 downloadEnabled: boolean
2186386c
C
32 waitTranscoding: boolean
33 state: VideoState
efc32059 34 published: string
c8034165 35 originallyPublishedAt: string
efc32059 36 updated: string
3726c372 37
e4f97bab
C
38 mediaType: 'text/markdown'
39 content: string
3726c372 40
2422c46b 41 support: string
ca6d3622
C
42
43 icon: ActivityIconObject[]
44
e4f97bab 45 url: ActivityUrlObject[]
d9a2a031 46
8fffe21a
C
47 likes: string
48 dislikes: string
49 shares: string
50 comments: string
d9a2a031 51
50d6de9c 52 attributedTo: ActivityPubAttributedTo[]
d9a2a031 53
2ccaeeb3
C
54 to?: string[]
55 cc?: string[]
e4f97bab 56}