diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:04:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:37:51 +0200 |
commit | 2186386cca113506791583cb07d6ccacba7af4e0 (patch) | |
tree | 3c214c0b5fbd64332624267fa6e51fd4a9cf6474 /shared/models/activitypub | |
parent | 6ccdf3a23ecec5ba2eeaf487fd1fafdc7606b4bf (diff) | |
download | PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.gz PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.zst PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.zip |
Add concept of video state, and add ability to wait transcoding before
publishing a video
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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 { | |||
5 | ActivityUrlObject | 5 | ActivityUrlObject |
6 | } from './common-objects' | 6 | } from './common-objects' |
7 | import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' | 7 | import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' |
8 | import { VideoState } from '../../videos' | ||
8 | 9 | ||
9 | export interface VideoTorrentObject { | 10 | export interface VideoTorrentObject { |
10 | type: 'Video' | 11 | type: 'Video' |
@@ -19,6 +20,8 @@ export interface VideoTorrentObject { | |||
19 | views: number | 20 | views: number |
20 | sensitive: boolean | 21 | sensitive: boolean |
21 | commentsEnabled: boolean | 22 | commentsEnabled: boolean |
23 | waitTranscoding: boolean | ||
24 | state: VideoState | ||
22 | published: string | 25 | published: string |
23 | updated: string | 26 | updated: string |
24 | mediaType: 'text/markdown' | 27 | mediaType: 'text/markdown' |