PeerTube/shared/models/activitypub/objects/video-torrent-object.ts

28 lines
566 B
TypeScript
Raw Normal View History

2017-11-09 17:51:58 +01:00
import {
ActivityIconObject,
ActivityIdentifierObject,
ActivityTagObject,
ActivityUrlObject
} from './common-objects'
export interface VideoTorrentObject {
type: 'Video'
2017-11-10 14:34:45 +01:00
id: string
2017-11-09 17:51:58 +01:00
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[]
2017-11-15 17:56:21 +01:00
actor?: string
2017-11-09 17:51:58 +01:00
}