]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Create a dedicated table to track video thumbnails
[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
C
9
10export interface VideoTorrentObject {
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
0a67e28b 22 sensitive: boolean
156c50af 23 commentsEnabled: boolean,
7f2cfe3a 24 downloadEnabled: boolean,
2186386c
C
25 waitTranscoding: boolean
26 state: VideoState
efc32059 27 published: string
c8034165 28 originallyPublishedAt: string
efc32059 29 updated: string
e4f97bab
C
30 mediaType: 'text/markdown'
31 content: string
2422c46b 32 support: string
e4f97bab
C
33 icon: ActivityIconObject
34 url: ActivityUrlObject[]
8fffe21a
C
35 likes: string
36 dislikes: string
37 shares: string
38 comments: string
50d6de9c 39 attributedTo: ActivityPubAttributedTo[]
2ccaeeb3
C
40 to?: string[]
41 cc?: string[]
e4f97bab 42}