]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - 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
1import {
2 ActivityIconObject,
3 ActivityIdentifierObject, ActivityPubAttributedTo,
4 ActivityTagObject,
5 ActivityUrlObject
6} from './common-objects'
7import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
8
9export interface VideoTorrentObject {
10 type: 'Video'
11 id: string
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
21 commentsEnabled: boolean
22 published: string
23 updated: string
24 mediaType: 'text/markdown'
25 content: string
26 icon: ActivityIconObject
27 url: ActivityUrlObject[]
28 likes?: ActivityPubOrderedCollection<string>
29 dislikes?: ActivityPubOrderedCollection<string>
30 shares?: ActivityPubOrderedCollection<string>
31 comments?: ActivityPubOrderedCollection<string>
32 attributedTo: ActivityPubAttributedTo[]
33}