X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Fobjects%2Fvideo-torrent-object.ts;h=c4071a6d99c2496b1b186c023d0470cf007185c8;hb=2186386cca113506791583cb07d6ccacba7af4e0;hp=02820a4cbe9ebd68087c5095988f583aadfc4165;hpb=2422c46b27790d94fd29a7092170cee5a1b56008;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 02820a4cb..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' @@ -26,10 +29,10 @@ export interface VideoTorrentObject { support: string icon: ActivityIconObject url: ActivityUrlObject[] - likes?: ActivityPubOrderedCollection - dislikes?: ActivityPubOrderedCollection - shares?: ActivityPubOrderedCollection - comments?: ActivityPubOrderedCollection + likes: string + dislikes: string + shares: string + comments: string attributedTo: ActivityPubAttributedTo[] to?: string[] cc?: string[]