]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Add downloadingEnabled property to video model
[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 VideoTorrentObject {
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 sensitive: boolean
23 commentsEnabled: boolean,
24 downloadingEnabled: boolean,
25 waitTranscoding: boolean
26 state: VideoState
27 published: string
28 updated: string
29 mediaType: 'text/markdown'
30 content: string
31 support: string
32 icon: ActivityIconObject
33 url: ActivityUrlObject[]
34 likes: string
35 dislikes: string
36 shares: string
37 comments: string
38 attributedTo: ActivityPubAttributedTo[]
39 to?: string[]
40 cc?: string[]
41 }