X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Fobjects%2Fvideo-torrent-object.ts;h=5b035a3710c98b97583ef7fe3ff5c204a6468dea;hb=de6310b2fcbb8a6b79c546b23dfa1920724faaa7;hp=11de8fc56bbddb9cd1c0ffe194e588798531a8de;hpb=1ef65f4c034cc53ab5d55417e52d60e1f7fc1ddb;p=github%2FChocobozzz%2FPeerTube.git 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 { } from './common-objects' import { VideoState } from '../../videos' -export interface VideoTorrentObject { +export interface VideoObject { type: 'Video' id: string name: string @@ -19,7 +19,10 @@ export interface VideoTorrentObject { language: ActivityIdentifierObject subtitleLanguage: ActivityIdentifierObject[] views: number + sensitive: boolean + isLiveBroadcast: boolean + commentsEnabled: boolean downloadEnabled: boolean waitTranscoding: boolean