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

37 lines
854 B
TypeScript
Raw Normal View History

2017-11-09 10:51:58 -06:00
import {
ActivityIconObject,
2017-12-14 10:38:41 -06:00
ActivityIdentifierObject, ActivityPubAttributedTo,
2017-11-09 10:51:58 -06:00
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
sensitive: boolean
2018-01-03 03:12:36 -06:00
commentsEnabled: boolean
published: string
updated: string
2017-11-09 10:51:58 -06:00
mediaType: 'text/markdown'
content: string
support: string
2017-11-09 10:51:58 -06:00
icon: ActivityIconObject
url: ActivityUrlObject[]
likes: string
dislikes: string
shares: string
comments: string
2017-12-14 10:38:41 -06:00
attributedTo: ActivityPubAttributedTo[]
2018-01-10 10:18:12 -06:00
to?: string[]
cc?: string[]
2017-11-09 10:51:58 -06:00
}