aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r--shared/models/activitypub/context.ts16
-rw-r--r--shared/models/activitypub/objects/common-objects.ts4
2 files changed, 17 insertions, 3 deletions
diff --git a/shared/models/activitypub/context.ts b/shared/models/activitypub/context.ts
index bd795a2fd..4ada3b083 100644
--- a/shared/models/activitypub/context.ts
+++ b/shared/models/activitypub/context.ts
@@ -1 +1,15 @@
1export type ContextType = 'All' | 'View' | 'Announce' | 'CacheFile' 1export type ContextType =
2 'Video' |
3 'Comment' |
4 'Playlist' |
5 'Follow' |
6 'Reject' |
7 'Accept' |
8 'View' |
9 'Announce' |
10 'CacheFile' |
11 'Delete' |
12 'Rate' |
13 'Flag' |
14 'Actor' |
15 'Collection'
diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts
index 43d7f7f74..9bf994379 100644
--- a/shared/models/activitypub/objects/common-objects.ts
+++ b/shared/models/activitypub/objects/common-objects.ts
@@ -46,7 +46,7 @@ export type ActivityTrackerUrlObject = {
46 href: string 46 href: string
47} 47}
48 48
49export type ActivityPlaylistInfohashesObject = { 49export type ActivityStreamingPlaylistInfohashesObject = {
50 type: 'Infohash' 50 type: 'Infohash'
51 name: string 51 name: string
52} 52}
@@ -97,7 +97,7 @@ export interface ActivityFlagReasonObject {
97 97
98export type ActivityTagObject = 98export type ActivityTagObject =
99 ActivityPlaylistSegmentHashesObject 99 ActivityPlaylistSegmentHashesObject
100 | ActivityPlaylistInfohashesObject 100 | ActivityStreamingPlaylistInfohashesObject
101 | ActivityVideoUrlObject 101 | ActivityVideoUrlObject
102 | ActivityHashTagObject 102 | ActivityHashTagObject
103 | ActivityMentionObject 103 | ActivityMentionObject