]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Change models
[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
47564bbe 23 commentsEnabled: boolean
2186386c
C
24 waitTranscoding: boolean
25 state: VideoState
efc32059 26 published: string
c8034165 27 originallyPublishedAt: string
efc32059 28 updated: string
e4f97bab
C
29 mediaType: 'text/markdown'
30 content: string
2422c46b 31 support: string
e4f97bab
C
32 icon: ActivityIconObject
33 url: ActivityUrlObject[]
8fffe21a
C
34 likes: string
35 dislikes: string
36 shares: string
37 comments: string
50d6de9c 38 attributedTo: ActivityPubAttributedTo[]
2ccaeeb3
C
39 to?: string[]
40 cc?: string[]
e4f97bab 41}