]>
Commit | Line | Data |
---|---|---|
e4f97bab C |
1 | import { |
2 | ActivityIconObject, | |
c48e82b5 C |
3 | ActivityIdentifierObject, |
4 | ActivityPubAttributedTo, | |
e4f97bab C |
5 | ActivityTagObject, |
6 | ActivityUrlObject | |
7 | } from './common-objects' | |
2186386c | 8 | import { VideoState } from '../../videos' |
e4f97bab C |
9 | |
10 | export 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 C |
26 | published: string |
27 | updated: string | |
e4f97bab C |
28 | mediaType: 'text/markdown' |
29 | content: string | |
2422c46b | 30 | support: string |
e4f97bab C |
31 | icon: ActivityIconObject |
32 | url: ActivityUrlObject[] | |
8fffe21a C |
33 | likes: string |
34 | dislikes: string | |
35 | shares: string | |
36 | comments: string | |
50d6de9c | 37 | attributedTo: ActivityPubAttributedTo[] |
2ccaeeb3 C |
38 | to?: string[] |
39 | cc?: string[] | |
e4f97bab | 40 | } |