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

32 lines
846 B
TypeScript
Raw Normal View History

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'
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
views: number
nsfw: boolean
published: string
updated: string
2017-11-09 11:51:58 -05:00
mediaType: 'text/markdown'
content: string
icon: ActivityIconObject
url: ActivityUrlObject[]
2017-11-23 10:55:13 -05:00
likes?: ActivityPubOrderedCollection<string>
dislikes?: ActivityPubOrderedCollection<string>
shares?: ActivityPubOrderedCollection<string>
2017-12-14 11:38:41 -05:00
attributedTo: ActivityPubAttributedTo[]
2017-11-09 11:51:58 -05:00
}