From 2186386cca113506791583cb07d6ccacba7af4e0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 12 Jun 2018 20:04:58 +0200 Subject: Add concept of video state, and add ability to wait transcoding before publishing a video --- shared/models/activitypub/objects/video-torrent-object.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/models/activitypub') diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 767b6a2d0..c4071a6d9 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts @@ -5,6 +5,7 @@ import { ActivityUrlObject } from './common-objects' import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' +import { VideoState } from '../../videos' export interface VideoTorrentObject { type: 'Video' @@ -19,6 +20,8 @@ export interface VideoTorrentObject { views: number sensitive: boolean commentsEnabled: boolean + waitTranscoding: boolean + state: VideoState published: string updated: string mediaType: 'text/markdown' -- cgit v1.2.3