]>
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 | 9 | |
de6310b2 | 10 | export interface VideoObject { |
e4f97bab | 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 |
de6310b2 | 22 | |
0a67e28b | 23 | sensitive: boolean |
de6310b2 C |
24 | isLiveBroadcast: boolean |
25 | ||
a1587156 C |
26 | commentsEnabled: boolean |
27 | downloadEnabled: boolean | |
2186386c C |
28 | waitTranscoding: boolean |
29 | state: VideoState | |
efc32059 | 30 | published: string |
c8034165 | 31 | originallyPublishedAt: string |
efc32059 | 32 | updated: string |
e4f97bab C |
33 | mediaType: 'text/markdown' |
34 | content: string | |
2422c46b | 35 | support: string |
ca6d3622 C |
36 | |
37 | icon: ActivityIconObject[] | |
38 | ||
e4f97bab | 39 | url: ActivityUrlObject[] |
8fffe21a C |
40 | likes: string |
41 | dislikes: string | |
42 | shares: string | |
43 | comments: string | |
50d6de9c | 44 | attributedTo: ActivityPubAttributedTo[] |
2ccaeeb3 C |
45 | to?: string[] |
46 | cc?: string[] | |
e4f97bab | 47 | } |