mirror of https://github.com/Chocobozzz/PeerTube
37 lines
854 B
TypeScript
37 lines
854 B
TypeScript
import {
|
|
ActivityIconObject,
|
|
ActivityIdentifierObject, ActivityPubAttributedTo,
|
|
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
|
|
sensitive: boolean
|
|
commentsEnabled: boolean
|
|
published: string
|
|
updated: string
|
|
mediaType: 'text/markdown'
|
|
content: string
|
|
support: string
|
|
icon: ActivityIconObject
|
|
url: ActivityUrlObject[]
|
|
likes: string
|
|
dislikes: string
|
|
shares: string
|
|
comments: string
|
|
attributedTo: ActivityPubAttributedTo[]
|
|
to?: string[]
|
|
cc?: string[]
|
|
}
|