]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/activitypub/objects/video-torrent-object.ts
Fix timestamp click
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
... / ...
CommitLineData
1import {
2 ActivityIconObject,
3 ActivityIdentifierObject,
4 ActivityPubAttributedTo,
5 ActivityTagObject,
6 ActivityUrlObject
7} from './common-objects'
8import { VideoState } from '../../videos'
9
10export 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 mediaType: 'text/markdown'
37 content: string
38 support: string
39
40 icon: ActivityIconObject[]
41
42 url: ActivityUrlObject[]
43
44 likes: string
45 dislikes: string
46 shares: string
47 comments: string
48
49 attributedTo: ActivityPubAttributedTo[]
50
51 to?: string[]
52 cc?: string[]
53}