mirror of https://github.com/Chocobozzz/PeerTube
26 lines
536 B
TypeScript
26 lines
536 B
TypeScript
|
import {
|
||
|
ActivityIconObject,
|
||
|
ActivityIdentifierObject,
|
||
|
ActivityTagObject,
|
||
|
ActivityUrlObject
|
||
|
} from './common-objects'
|
||
|
|
||
|
export interface VideoTorrentObject {
|
||
|
type: 'Video'
|
||
|
name: string
|
||
|
duration: string
|
||
|
uuid: string
|
||
|
tag: ActivityTagObject[]
|
||
|
category: ActivityIdentifierObject
|
||
|
licence: ActivityIdentifierObject
|
||
|
language: ActivityIdentifierObject
|
||
|
views: number
|
||
|
nsfw: boolean
|
||
|
published: Date
|
||
|
updated: Date
|
||
|
mediaType: 'text/markdown'
|
||
|
content: string
|
||
|
icon: ActivityIconObject
|
||
|
url: ActivityUrlObject[]
|
||
|
}
|