import {
ActivityIconObject,
- ActivityIdentifierObject, ActivityPubAttributedTo,
+ ActivityIdentifierObject,
+ ActivityPubAttributedTo,
ActivityTagObject,
ActivityUrlObject
} from './common-objects'
-import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
-import { VideoState } from '../../videos'
+import { LiveVideoLatencyMode, VideoState } from '../../videos'
-export interface VideoTorrentObject {
+export interface VideoObject {
type: 'Video'
id: string
name: string
category: ActivityIdentifierObject
licence: ActivityIdentifierObject
language: ActivityIdentifierObject
+ subtitleLanguage: ActivityIdentifierObject[]
views: number
+
sensitive: boolean
+
+ isLiveBroadcast: boolean
+ liveSaveReplay: boolean
+ permanentLive: boolean
+ latencyMode: LiveVideoLatencyMode
+
commentsEnabled: boolean
+ downloadEnabled: boolean
waitTranscoding: boolean
state: VideoState
published: string
+ originallyPublishedAt: string
updated: string
+
mediaType: 'text/markdown'
content: string
+
support: string
- icon: ActivityIconObject
+
+ icon: ActivityIconObject[]
+
url: ActivityUrlObject[]
+
likes: string
dislikes: string
shares: string
comments: string
+
attributedTo: ActivityPubAttributedTo[]
+
to?: string[]
cc?: string[]
}