diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-17 13:59:02 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | de6310b2fcbb8a6b79c546b23dfa1920724faaa7 (patch) | |
tree | 57e73811ef2cf0c903782704284c9cbfc1598adb /shared/models/activitypub/objects/video-torrent-object.ts | |
parent | 1ef65f4c034cc53ab5d55417e52d60e1f7fc1ddb (diff) | |
download | PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.gz PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.zst PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.zip |
Handle live federation
Diffstat (limited to 'shared/models/activitypub/objects/video-torrent-object.ts')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 11de8fc56..5b035a371 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -7,7 +7,7 @@ import { | |||
7 | } from './common-objects' | 7 | } from './common-objects' |
8 | import { VideoState } from '../../videos' | 8 | import { VideoState } from '../../videos' |
9 | 9 | ||
10 | export interface VideoTorrentObject { | 10 | export interface VideoObject { |
11 | type: 'Video' | 11 | type: 'Video' |
12 | id: string | 12 | id: string |
13 | name: string | 13 | name: string |
@@ -19,7 +19,10 @@ export interface VideoTorrentObject { | |||
19 | language: ActivityIdentifierObject | 19 | language: ActivityIdentifierObject |
20 | subtitleLanguage: ActivityIdentifierObject[] | 20 | subtitleLanguage: ActivityIdentifierObject[] |
21 | views: number | 21 | views: number |
22 | |||
22 | sensitive: boolean | 23 | sensitive: boolean |
24 | isLiveBroadcast: boolean | ||
25 | |||
23 | commentsEnabled: boolean | 26 | commentsEnabled: boolean |
24 | downloadEnabled: boolean | 27 | downloadEnabled: boolean |
25 | waitTranscoding: boolean | 28 | waitTranscoding: boolean |