]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/video-torrent-object.ts
Add concept of video state, and add ability to wait transcoding before
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
1 import {
2 ActivityIconObject,
3 ActivityIdentifierObject, ActivityPubAttributedTo,
4 ActivityTagObject,
5 ActivityUrlObject
6 } from './common-objects'
7 import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
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 views: number
21 sensitive: boolean
22 commentsEnabled: boolean
23 waitTranscoding: boolean
24 state: VideoState
25 published: string
26 updated: string
27 mediaType: 'text/markdown'
28 content: string
29 support: string
30 icon: ActivityIconObject
31 url: ActivityUrlObject[]
32 likes: string
33 dislikes: string
34 shares: string
35 comments: string
36 attributedTo: ActivityPubAttributedTo[]
37 to?: string[]
38 cc?: string[]
39 }