1
0
Fork 0
peertube/shared/models/activitypub/objects/video-torrent-object.ts

36 lines
960 B
TypeScript
Raw Normal View History

2017-11-09 16:51:58 +00:00
import {
ActivityIconObject,
2017-12-14 16:38:41 +00:00
ActivityIdentifierObject, ActivityPubAttributedTo,
2017-11-09 16:51:58 +00:00
ActivityTagObject,
ActivityUrlObject
} from './common-objects'
2017-11-23 15:55:13 +00:00
import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
2017-11-09 16:51:58 +00:00
export interface VideoTorrentObject {
type: 'Video'
2017-11-10 13:34:45 +00:00
id: string
2017-11-09 16:51:58 +00:00
name: string
duration: string
uuid: string
tag: ActivityTagObject[]
category: ActivityIdentifierObject
licence: ActivityIdentifierObject
language: ActivityIdentifierObject
views: number
sensitive: boolean
2018-01-03 09:12:36 +00:00
commentsEnabled: boolean
published: string
updated: string
2017-11-09 16:51:58 +00:00
mediaType: 'text/markdown'
content: string
icon: ActivityIconObject
url: ActivityUrlObject[]
2017-11-23 15:55:13 +00:00
likes?: ActivityPubOrderedCollection<string>
dislikes?: ActivityPubOrderedCollection<string>
shares?: ActivityPubOrderedCollection<string>
2017-12-28 10:16:08 +00:00
comments?: ActivityPubOrderedCollection<string>
2017-12-14 16:38:41 +00:00
attributedTo: ActivityPubAttributedTo[]
2018-01-10 16:18:12 +00:00
to?: string[]
cc?: string[]
2017-11-09 16:51:58 +00:00
}