aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/objects/abuse-object.ts3
-rw-r--r--shared/models/activitypub/objects/playlist-object.ts3
-rw-r--r--shared/models/activitypub/objects/video-comment-object.ts3
-rw-r--r--shared/models/activitypub/objects/video-torrent-object.ts2
4 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/abuse-object.ts b/shared/models/activitypub/objects/abuse-object.ts
index ad45cc064..d938b8693 100644
--- a/shared/models/activitypub/objects/abuse-object.ts
+++ b/shared/models/activitypub/objects/abuse-object.ts
@@ -2,7 +2,10 @@ import { ActivityFlagReasonObject } from './common-objects'
2 2
3export interface AbuseObject { 3export interface AbuseObject {
4 type: 'Flag' 4 type: 'Flag'
5
5 content: string 6 content: string
7 mediaType: 'text/markdown'
8
6 object: string | string[] 9 object: string | string[]
7 10
8 tag?: ActivityFlagReasonObject[] 11 tag?: ActivityFlagReasonObject[]
diff --git a/shared/models/activitypub/objects/playlist-object.ts b/shared/models/activitypub/objects/playlist-object.ts
index b561d8efd..842c03790 100644
--- a/shared/models/activitypub/objects/playlist-object.ts
+++ b/shared/models/activitypub/objects/playlist-object.ts
@@ -5,7 +5,10 @@ export interface PlaylistObject {
5 type: 'Playlist' 5 type: 'Playlist'
6 6
7 name: string 7 name: string
8
8 content: string 9 content: string
10 mediaType: 'text/markdown'
11
9 uuid: string 12 uuid: string
10 13
11 totalItems: number 14 totalItems: number
diff --git a/shared/models/activitypub/objects/video-comment-object.ts b/shared/models/activitypub/objects/video-comment-object.ts
index 1c058b86c..ba9001730 100644
--- a/shared/models/activitypub/objects/video-comment-object.ts
+++ b/shared/models/activitypub/objects/video-comment-object.ts
@@ -3,7 +3,10 @@ import { ActivityTagObject } from './common-objects'
3export interface VideoCommentObject { 3export interface VideoCommentObject {
4 type: 'Note' 4 type: 'Note'
5 id: string 5 id: string
6
6 content: string 7 content: string
8 mediaType: 'text/markdown'
9
7 inReplyTo: string 10 inReplyTo: string
8 published: string 11 published: string
9 updated: string 12 updated: string
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts
index bfbcfb1a5..9faa3bb87 100644
--- a/shared/models/activitypub/objects/video-torrent-object.ts
+++ b/shared/models/activitypub/objects/video-torrent-object.ts
@@ -33,8 +33,10 @@ export interface VideoObject {
33 published: string 33 published: string
34 originallyPublishedAt: string 34 originallyPublishedAt: string
35 updated: string 35 updated: string
36
36 mediaType: 'text/markdown' 37 mediaType: 'text/markdown'
37 content: string 38 content: string
39
38 support: string 40 support: string
39 41
40 icon: ActivityIconObject[] 42 icon: ActivityIconObject[]