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

54 lines
1.0 KiB
TypeScript
Raw Normal View History

2017-11-09 16:51:58 +00:00
import {
ActivityIconObject,
2018-09-11 14:27:07 +00:00
ActivityIdentifierObject,
ActivityPubAttributedTo,
2017-11-09 16:51:58 +00:00
ActivityTagObject,
ActivityUrlObject
} from './common-objects'
import { VideoState } from '../../videos'
2017-11-09 16:51:58 +00:00
2020-09-17 11:59:02 +00:00
export interface VideoObject {
2017-11-09 16:51:58 +00:00
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
2018-07-12 17:02:00 +00:00
subtitleLanguage: ActivityIdentifierObject[]
2017-11-09 16:51:58 +00:00
views: number
2020-09-17 11:59:02 +00:00
sensitive: boolean
2020-11-02 14:43:44 +00:00
2020-09-17 11:59:02 +00:00
isLiveBroadcast: boolean
2020-11-02 14:43:44 +00:00
liveSaveReplay: boolean
2020-12-03 13:10:54 +00:00
permanentLive: boolean
2020-09-17 11:59:02 +00:00
2020-01-31 15:56:52 +00:00
commentsEnabled: boolean
downloadEnabled: boolean
waitTranscoding: boolean
state: VideoState
published: string
2019-01-12 13:41:45 +00:00
originallyPublishedAt: string
updated: string
2017-11-09 16:51:58 +00:00
mediaType: 'text/markdown'
content: string
support: string
icon: ActivityIconObject[]
2017-11-09 16:51:58 +00:00
url: ActivityUrlObject[]
2021-02-18 09:15:11 +00:00
likes: string
dislikes: string
shares: string
comments: string
2021-02-18 09:15:11 +00:00
2017-12-14 16:38:41 +00:00
attributedTo: ActivityPubAttributedTo[]
2021-02-18 09:15:11 +00:00
2018-01-10 16:18:12 +00:00
to?: string[]
cc?: string[]
2017-11-09 16:51:58 +00:00
}