]>
Commit | Line | Data |
---|---|---|
e4f97bab C |
1 | import { |
2 | ActivityIconObject, | |
50d6de9c | 3 | ActivityIdentifierObject, ActivityPubAttributedTo, |
e4f97bab C |
4 | ActivityTagObject, |
5 | ActivityUrlObject | |
6 | } from './common-objects' | |
16b90975 | 7 | import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' |
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 | |
20 | views: number | |
0a67e28b | 21 | sensitive: boolean |
47564bbe | 22 | commentsEnabled: boolean |
2186386c C |
23 | waitTranscoding: boolean |
24 | state: VideoState | |
efc32059 C |
25 | published: string |
26 | updated: string | |
e4f97bab C |
27 | mediaType: 'text/markdown' |
28 | content: string | |
2422c46b | 29 | support: string |
e4f97bab C |
30 | icon: ActivityIconObject |
31 | url: ActivityUrlObject[] | |
8fffe21a C |
32 | likes: string |
33 | dislikes: string | |
34 | shares: string | |
35 | comments: string | |
50d6de9c | 36 | attributedTo: ActivityPubAttributedTo[] |
2ccaeeb3 C |
37 | to?: string[] |
38 | cc?: string[] | |
e4f97bab | 39 | } |