aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r--shared/models/activitypub/objects/common-objects.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts
index e94d05429..bb3ffe678 100644
--- a/shared/models/activitypub/objects/common-objects.ts
+++ b/shared/models/activitypub/objects/common-objects.ts
@@ -28,6 +28,15 @@ export type ActivityPlaylistSegmentHashesObject = {
28 href: string 28 href: string
29} 29}
30 30
31export type ActivityVideoFileMetadataObject = {
32 type: 'Link'
33 rel: [ 'metadata', any ]
34 mediaType: 'application/json'
35 height: number
36 href: string
37 fps: number
38}
39
31export type ActivityPlaylistInfohashesObject = { 40export type ActivityPlaylistInfohashesObject = {
32 type: 'Infohash' 41 type: 'Infohash'
33 name: string 42 name: string
@@ -80,6 +89,7 @@ export type ActivityTagObject =
80 | ActivityMentionObject 89 | ActivityMentionObject
81 | ActivityBitTorrentUrlObject 90 | ActivityBitTorrentUrlObject
82 | ActivityMagnetUrlObject 91 | ActivityMagnetUrlObject
92 | ActivityVideoFileMetadataObject
83 93
84export type ActivityUrlObject = 94export type ActivityUrlObject =
85 ActivityVideoUrlObject 95 ActivityVideoUrlObject
@@ -87,6 +97,7 @@ export type ActivityUrlObject =
87 | ActivityBitTorrentUrlObject 97 | ActivityBitTorrentUrlObject
88 | ActivityMagnetUrlObject 98 | ActivityMagnetUrlObject
89 | ActivityHtmlUrlObject 99 | ActivityHtmlUrlObject
100 | ActivityVideoFileMetadataObject
90 101
91export interface ActivityPubAttributedTo { 102export interface ActivityPubAttributedTo {
92 type: 'Group' | 'Person' 103 type: 'Group' | 'Person'