aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-15 14:46:26 +0100
committerChocobozzz <me@florianbigard.com>2018-02-15 15:29:07 +0100
commit2422c46b27790d94fd29a7092170cee5a1b56008 (patch)
treed5c1942ce20cadb27a551d87c789edfe92f5b105 /shared/models/activitypub
parent34cbef8c6cc912143a421413bdd832c4adcc556a (diff)
downloadPeerTube-2422c46b27790d94fd29a7092170cee5a1b56008.tar.gz
PeerTube-2422c46b27790d94fd29a7092170cee5a1b56008.tar.zst
PeerTube-2422c46b27790d94fd29a7092170cee5a1b56008.zip
Implement support field in video and video channel
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r--shared/models/activitypub/activitypub-actor.ts3
-rw-r--r--shared/models/activitypub/objects/video-torrent-object.ts1
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts
index 78256e9be..119bc22d4 100644
--- a/shared/models/activitypub/activitypub-actor.ts
+++ b/shared/models/activitypub/activitypub-actor.ts
@@ -19,6 +19,7 @@ export interface ActivityPubActor {
19 summary: string 19 summary: string
20 attributedTo: ActivityPubAttributedTo[] 20 attributedTo: ActivityPubAttributedTo[]
21 21
22 support?: string
22 uuid: string 23 uuid: string
23 publicKey: { 24 publicKey: {
24 id: string 25 id: string
@@ -26,11 +27,9 @@ export interface ActivityPubActor {
26 publicKeyPem: string 27 publicKeyPem: string
27 } 28 }
28 29
29 // Not used
30 icon: { 30 icon: {
31 type: 'Image' 31 type: 'Image'
32 mediaType: 'image/png' 32 mediaType: 'image/png'
33 url: string 33 url: string
34 } 34 }
35 // liked: string
36} 35}
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts
index 6f03bf7d0..02820a4cb 100644
--- a/shared/models/activitypub/objects/video-torrent-object.ts
+++ b/shared/models/activitypub/objects/video-torrent-object.ts
@@ -23,6 +23,7 @@ export interface VideoTorrentObject {
23 updated: string 23 updated: string
24 mediaType: 'text/markdown' 24 mediaType: 'text/markdown'
25 content: string 25 content: string
26 support: string
26 icon: ActivityIconObject 27 icon: ActivityIconObject
27 url: ActivityUrlObject[] 28 url: ActivityUrlObject[]
28 likes?: ActivityPubOrderedCollection<string> 29 likes?: ActivityPubOrderedCollection<string>