2017-11-09 17:51:58 +01:00
|
|
|
import {
|
|
|
|
ActivityIconObject,
|
2017-12-14 17:38:41 +01:00
|
|
|
ActivityIdentifierObject, ActivityPubAttributedTo,
|
2017-11-09 17:51:58 +01:00
|
|
|
ActivityTagObject,
|
|
|
|
ActivityUrlObject
|
|
|
|
} from './common-objects'
|
2017-11-23 16:55:13 +01:00
|
|
|
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
|
2017-11-09 17:51:58 +01:00
|
|
|
|
|
|
|
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
|
2018-01-26 17:25:35 +01:00
|
|
|
sensitive: boolean
|
2018-01-03 10:12:36 +01:00
|
|
|
commentsEnabled: boolean
|
2017-11-16 11:08:25 +01:00
|
|
|
published: string
|
|
|
|
updated: string
|
2017-11-09 17:51:58 +01:00
|
|
|
mediaType: 'text/markdown'
|
|
|
|
content: string
|
2018-02-15 14:46:26 +01:00
|
|
|
support: string
|
2017-11-09 17:51:58 +01:00
|
|
|
icon: ActivityIconObject
|
|
|
|
url: ActivityUrlObject[]
|
2017-11-23 16:55:13 +01:00
|
|
|
likes?: ActivityPubOrderedCollection<string>
|
|
|
|
dislikes?: ActivityPubOrderedCollection<string>
|
2017-11-27 14:44:51 +01:00
|
|
|
shares?: ActivityPubOrderedCollection<string>
|
2017-12-28 11:16:08 +01:00
|
|
|
comments?: ActivityPubOrderedCollection<string>
|
2017-12-14 17:38:41 +01:00
|
|
|
attributedTo: ActivityPubAttributedTo[]
|
2018-01-10 17:18:12 +01:00
|
|
|
to?: string[]
|
|
|
|
cc?: string[]
|
2017-11-09 17:51:58 +01:00
|
|
|
}
|