X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Fobjects%2Fvideo-torrent-object.ts;h=beb2f519ec9ce7123af553572dc9700018e85313;hb=156c50af3085468a47b8ae73fe8cfcae46b42398;hp=6f03bf7d0f8caa9745d8ac9b0760caf8f9418730;hpb=0a67e28beeaf603110d52df3eda400e60531b3a4;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 6f03bf7d0..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, + ActivityIdentifierObject, + ActivityPubAttributedTo, ActivityTagObject, ActivityUrlObject } from './common-objects' -import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' +import { VideoState } from '../../videos' export interface VideoTorrentObject { type: 'Video' @@ -16,19 +17,24 @@ export interface VideoTorrentObject { category: ActivityIdentifierObject licence: ActivityIdentifierObject language: ActivityIdentifierObject + subtitleLanguage: ActivityIdentifierObject[] views: number sensitive: boolean - commentsEnabled: boolean + commentsEnabled: boolean, + downloadingEnabled: boolean, + waitTranscoding: boolean + state: VideoState published: string updated: string mediaType: 'text/markdown' content: string + 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[]