1
0
Fork 0
peertube/shared/models/activitypub/objects/video-torrent-object.ts
2017-11-27 19:40:53 +01:00

30 lines
748 B
TypeScript

import {
ActivityIconObject,
ActivityIdentifierObject,
ActivityTagObject,
ActivityUrlObject
} from './common-objects'
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
export interface VideoTorrentObject {
type: 'Video'
id: string
name: string
duration: string
uuid: string
tag: ActivityTagObject[]
category: ActivityIdentifierObject
licence: ActivityIdentifierObject
language: ActivityIdentifierObject
views: number
nsfw: boolean
published: string
updated: string
mediaType: 'text/markdown'
content: string
icon: ActivityIconObject
url: ActivityUrlObject[]
actor?: string
likes?: ActivityPubOrderedCollection<string>
dislikes?: ActivityPubOrderedCollection<string>
}