]>
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 |
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 |
ca6d3622 C |
33 | |
34 | icon: ActivityIconObject[] | |
35 | ||
e4f97bab | 36 | url: ActivityUrlObject[] |
8fffe21a C |
37 | likes: string |
38 | dislikes: string | |
39 | shares: string | |
40 | comments: string | |
50d6de9c | 41 | attributedTo: ActivityPubAttributedTo[] |
2ccaeeb3 C |
42 | to?: string[] |
43 | cc?: string[] | |
e4f97bab | 44 | } |