2017-11-09 10:51:58 -06:00
|
|
|
import {
|
|
|
|
ActivityIconObject,
|
|
|
|
ActivityIdentifierObject,
|
|
|
|
ActivityTagObject,
|
|
|
|
ActivityUrlObject
|
|
|
|
} from './common-objects'
|
2017-11-23 09:55:13 -06:00
|
|
|
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
|
2017-11-09 10:51:58 -06:00
|
|
|
|
|
|
|
export interface VideoTorrentObject {
|
|
|
|
type: 'Video'
|
2017-11-10 07:34:45 -06:00
|
|
|
id: string
|
2017-11-09 10:51:58 -06:00
|
|
|
name: string
|
|
|
|
duration: string
|
|
|
|
uuid: string
|
|
|
|
tag: ActivityTagObject[]
|
|
|
|
category: ActivityIdentifierObject
|
|
|
|
licence: ActivityIdentifierObject
|
|
|
|
language: ActivityIdentifierObject
|
|
|
|
views: number
|
|
|
|
nsfw: boolean
|
2017-11-16 04:08:25 -06:00
|
|
|
published: string
|
|
|
|
updated: string
|
2017-11-09 10:51:58 -06:00
|
|
|
mediaType: 'text/markdown'
|
|
|
|
content: string
|
|
|
|
icon: ActivityIconObject
|
|
|
|
url: ActivityUrlObject[]
|
2017-11-15 10:56:21 -06:00
|
|
|
actor?: string
|
2017-11-23 09:55:13 -06:00
|
|
|
likes?: ActivityPubOrderedCollection<string>
|
|
|
|
dislikes?: ActivityPubOrderedCollection<string>
|
2017-11-27 07:44:51 -06:00
|
|
|
shares?: ActivityPubOrderedCollection<string>
|
2017-11-09 10:51:58 -06:00
|
|
|
}
|