]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Add video files migration
[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'
2186386c 8import { 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
de6310b2 28
a1587156
C
29 commentsEnabled: boolean
30 downloadEnabled: boolean
2186386c
C
31 waitTranscoding: boolean
32 state: VideoState
efc32059 33 published: string
c8034165 34 originallyPublishedAt: string
efc32059 35 updated: string
e4f97bab
C
36 mediaType: 'text/markdown'
37 content: string
2422c46b 38 support: string
ca6d3622
C
39
40 icon: ActivityIconObject[]
41
e4f97bab 42 url: ActivityUrlObject[]
8fffe21a
C
43 likes: string
44 dislikes: string
45 shares: string
46 comments: string
50d6de9c 47 attributedTo: ActivityPubAttributedTo[]
2ccaeeb3
C
48 to?: string[]
49 cc?: string[]
e4f97bab 50}