]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/video-torrent-object.ts
Add ability to disable video comments
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
CommitLineData
e4f97bab
C
1import {
2 ActivityIconObject,
50d6de9c 3 ActivityIdentifierObject, ActivityPubAttributedTo,
e4f97bab
C
4 ActivityTagObject,
5 ActivityUrlObject
6} from './common-objects'
16b90975 7import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
e4f97bab
C
8
9export interface VideoTorrentObject {
10 type: 'Video'
0d0e8dd0 11 id: string
e4f97bab
C
12 name: string
13 duration: string
14 uuid: string
15 tag: ActivityTagObject[]
16 category: ActivityIdentifierObject
17 licence: ActivityIdentifierObject
18 language: ActivityIdentifierObject
19 views: number
20 nsfw: boolean
47564bbe 21 commentsEnabled: boolean
efc32059
C
22 published: string
23 updated: string
e4f97bab
C
24 mediaType: 'text/markdown'
25 content: string
26 icon: ActivityIconObject
27 url: ActivityUrlObject[]
16b90975
C
28 likes?: ActivityPubOrderedCollection<string>
29 dislikes?: ActivityPubOrderedCollection<string>
4e50b6a1 30 shares?: ActivityPubOrderedCollection<string>
da854ddd 31 comments?: ActivityPubOrderedCollection<string>
50d6de9c 32 attributedTo: ActivityPubAttributedTo[]
e4f97bab 33}