2017-11-09 11:51:58 -05:00
|
|
|
import {
|
|
|
|
ActivityIconObject,
|
2017-12-14 11:38:41 -05:00
|
|
|
ActivityIdentifierObject, ActivityPubAttributedTo,
|
2017-11-09 11:51:58 -05:00
|
|
|
ActivityTagObject,
|
|
|
|
ActivityUrlObject
|
|
|
|
} from './common-objects'
|
2017-11-23 10:55:13 -05:00
|
|
|
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
|
2018-06-12 14:04:58 -04:00
|
|
|
import { VideoState } from '../../videos'
|
2017-11-09 11:51:58 -05:00
|
|
|
|
|
|
|
export interface VideoTorrentObject {
|
|
|
|
type: 'Video'
|
2017-11-10 08:34:45 -05:00
|
|
|
id: string
|
2017-11-09 11:51:58 -05:00
|
|
|
name: string
|
|
|
|
duration: string
|
|
|
|
uuid: string
|
|
|
|
tag: ActivityTagObject[]
|
|
|
|
category: ActivityIdentifierObject
|
|
|
|
licence: ActivityIdentifierObject
|
|
|
|
language: ActivityIdentifierObject
|
2018-07-12 13:02:00 -04:00
|
|
|
subtitleLanguage: ActivityIdentifierObject[]
|
2017-11-09 11:51:58 -05:00
|
|
|
views: number
|
2018-01-26 11:25:35 -05:00
|
|
|
sensitive: boolean
|
2018-01-03 04:12:36 -05:00
|
|
|
commentsEnabled: boolean
|
2018-06-12 14:04:58 -04:00
|
|
|
waitTranscoding: boolean
|
|
|
|
state: VideoState
|
2017-11-16 05:08:25 -05:00
|
|
|
published: string
|
|
|
|
updated: string
|
2017-11-09 11:51:58 -05:00
|
|
|
mediaType: 'text/markdown'
|
|
|
|
content: string
|
2018-02-15 08:46:26 -05:00
|
|
|
support: string
|
2017-11-09 11:51:58 -05:00
|
|
|
icon: ActivityIconObject
|
|
|
|
url: ActivityUrlObject[]
|
2018-05-25 10:21:16 -04:00
|
|
|
likes: string
|
|
|
|
dislikes: string
|
|
|
|
shares: string
|
|
|
|
comments: string
|
2017-12-14 11:38:41 -05:00
|
|
|
attributedTo: ActivityPubAttributedTo[]
|
2018-01-10 11:18:12 -05:00
|
|
|
to?: string[]
|
|
|
|
cc?: string[]
|
2017-11-09 11:51:58 -05:00
|
|
|
}
|