X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Fobjects%2Fvideo-torrent-object.ts;h=beb2f519ec9ce7123af553572dc9700018e85313;hb=156c50af3085468a47b8ae73fe8cfcae46b42398;hp=a15ec7142323030b0b10180061976223106ff314;hpb=4e50b6a1c9a3eb261e04ede73241648e6edf21d6;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 a15ec7142..beb2f519e 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts @@ -1,10 +1,11 @@ import { ActivityIconObject, ActivityIdentifierObject, + ActivityPubAttributedTo, ActivityTagObject, ActivityUrlObject } from './common-objects' -import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' +import { VideoState } from '../../videos' export interface VideoTorrentObject { type: 'Video' @@ -16,16 +17,25 @@ export interface VideoTorrentObject { category: ActivityIdentifierObject licence: ActivityIdentifierObject language: ActivityIdentifierObject + subtitleLanguage: ActivityIdentifierObject[] views: number - nsfw: boolean + sensitive: boolean + commentsEnabled: boolean, + downloadingEnabled: boolean, + waitTranscoding: boolean + state: VideoState published: string updated: string mediaType: 'text/markdown' content: string + support: string icon: ActivityIconObject url: ActivityUrlObject[] - actor?: string - likes?: ActivityPubOrderedCollection - dislikes?: ActivityPubOrderedCollection - shares?: ActivityPubOrderedCollection + likes: string + dislikes: string + shares: string + comments: string + attributedTo: ActivityPubAttributedTo[] + to?: string[] + cc?: string[] }