fedipod-server 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/README.md +22 -6
  2. package/dist/claims.d.ts +8 -0
  3. package/dist/claims.js +10 -0
  4. package/dist/handler.d.ts +13 -0
  5. package/dist/handler.js +56 -11
  6. package/dist/handler.jsonld +8 -0
  7. package/dist/store-pod.js +18 -4
  8. package/lib/{c2s.mjs → client/c2s.mjs} +10 -3
  9. package/lib/{localapi.mjs → client/localapi.mjs} +2 -2
  10. package/lib/client/masto/accounts.mjs +264 -0
  11. package/lib/client/masto/body.mjs +69 -0
  12. package/lib/client/masto/index.mjs +183 -0
  13. package/lib/client/masto/instance.mjs +104 -0
  14. package/lib/client/masto/media.mjs +133 -0
  15. package/lib/client/masto/oauth.mjs +599 -0
  16. package/lib/client/masto/render.mjs +459 -0
  17. package/lib/client/masto/statuses.mjs +331 -0
  18. package/lib/client/masto/timelines.mjs +316 -0
  19. package/lib/{streaming.mjs → client/streaming.mjs} +1 -1
  20. package/lib/{acctfeed.mjs → connections/acctfeed.mjs} +1 -1
  21. package/lib/{atproto.mjs → connections/atproto.mjs} +15 -16
  22. package/lib/{bskygroup.mjs → connections/bskygroup.mjs} +1 -1
  23. package/lib/{fediacct.mjs → connections/fediacct.mjs} +31 -35
  24. package/lib/{import.mjs → connections/import.mjs} +1 -1
  25. package/lib/{tagfeed.mjs → connections/tagfeed.mjs} +3 -3
  26. package/lib/connections/vault.mjs +114 -0
  27. package/lib/core/as2.mjs +170 -0
  28. package/lib/core/contexts/activitystreams.json +379 -0
  29. package/lib/core/contexts/did-v1.json +57 -0
  30. package/lib/core/contexts/fep-5711.json +36 -0
  31. package/lib/core/contexts/gotosocial.json +86 -0
  32. package/lib/core/contexts/identity-v1.json +152 -0
  33. package/lib/core/contexts/index.mjs +45 -0
  34. package/lib/core/contexts/join-lemmy.json +33 -0
  35. package/lib/core/contexts/joinmastodon.json +28 -0
  36. package/lib/core/contexts/map.json +16 -0
  37. package/lib/core/contexts/miscellany.json +19 -0
  38. package/lib/core/contexts/schemaorg.json +8845 -0
  39. package/lib/core/contexts/security-data-integrity-v1.json +78 -0
  40. package/lib/core/contexts/security-data-integrity-v2.json +81 -0
  41. package/lib/core/contexts/security-multikey-v1.json +35 -0
  42. package/lib/core/contexts/security-v1.json +74 -0
  43. package/lib/core/contexts/webfinger.json +10 -0
  44. package/lib/{deliver.mjs → core/deliver.mjs} +2 -2
  45. package/lib/core/graphview.mjs +269 -0
  46. package/lib/core/intake/activities.mjs +437 -0
  47. package/lib/core/intake/activity.mjs +240 -0
  48. package/lib/core/intake/channel.mjs +144 -0
  49. package/lib/core/intake/group.mjs +222 -0
  50. package/lib/core/intake/index.mjs +629 -0
  51. package/lib/core/intake/notes.mjs +288 -0
  52. package/lib/core/intake/verify.mjs +142 -0
  53. package/lib/{keys.mjs → core/keys.mjs} +1 -1
  54. package/lib/core/publisher/collections.mjs +229 -0
  55. package/lib/core/publisher/index.mjs +421 -0
  56. package/lib/core/publisher/notes.mjs +188 -0
  57. package/lib/core/publisher/questions.mjs +233 -0
  58. package/lib/core/publisher/restore.mjs +199 -0
  59. package/lib/core/shapes/activitystreams.ttl +129 -0
  60. package/lib/core/shapes/index.mjs +107 -0
  61. package/lib/core/shapes/shapes-text.mjs +13 -0
  62. package/lib/{social.mjs → core/social.mjs} +2 -2
  63. package/lib/{store.mjs → core/store.mjs} +4 -0
  64. package/lib/{wire.mjs → core/wire.mjs} +2 -2
  65. package/lib/device/admin/index.mjs +13 -0
  66. package/lib/device/admin/origins.mjs +35 -0
  67. package/lib/device/admin/routes/connections.mjs +144 -0
  68. package/lib/device/admin/routes/gateway.mjs +199 -0
  69. package/lib/device/admin/routes/lifecycle.mjs +191 -0
  70. package/lib/device/admin/routes/owner.mjs +322 -0
  71. package/lib/device/admin/routes/setup.mjs +393 -0
  72. package/lib/device/admin/routes/social.mjs +188 -0
  73. package/lib/device/admin/server.mjs +95 -0
  74. package/lib/device/admin/static.mjs +244 -0
  75. package/lib/device/admin/surface.mjs +274 -0
  76. package/lib/device/cli/commands/account.mjs +586 -0
  77. package/lib/device/cli/commands/run.mjs +278 -0
  78. package/lib/device/cli/commands/service.mjs +221 -0
  79. package/lib/device/cli/commands/setup.mjs +410 -0
  80. package/lib/device/cli/commands/state.mjs +559 -0
  81. package/lib/device/cli/context.mjs +288 -0
  82. package/lib/{migrate.mjs → device/migrate.mjs} +1 -1
  83. package/lib/{remote.mjs → device/remote.mjs} +3 -3
  84. package/lib/{setup.mjs → device/setup.mjs} +3 -3
  85. package/lib/{update.mjs → device/update.mjs} +1 -1
  86. package/lib/{directory.mjs → gateway/directory.mjs} +1 -1
  87. package/lib/{front-core.mjs → gateway/front-core.mjs} +3 -3
  88. package/lib/{gateway-core.mjs → gateway/gateway-core.mjs} +1 -1
  89. package/lib/{httpsig.mjs → gateway/httpsig.mjs} +1 -1
  90. package/lib/server/embed.mjs +405 -0
  91. package/lib/{links.mjs → shared/links.mjs} +1 -1
  92. package/lib/{ua.mjs → shared/ua.mjs} +1 -1
  93. package/package.json +1 -1
  94. package/run-agent.mjs +33 -25
  95. package/web/admin/actors.js +145 -0
  96. package/web/admin/common.js +23 -0
  97. package/web/admin/connections.js +112 -0
  98. package/web/admin/gateway.js +111 -0
  99. package/web/admin/group.js +258 -0
  100. package/web/admin/index.html +7 -1
  101. package/web/admin/record.js +378 -0
  102. package/web/admin/setup/index.html +1 -0
  103. package/web/admin/setup/setup.js +2 -13
  104. package/web/admin/upkeep.js +170 -0
  105. package/web/app/README.md +6 -6
  106. package/web/app/admin-facade.mjs +3 -3
  107. package/web/app/agent.mjs +14 -16
  108. package/web/app/atproto-browser.mjs +1 -1
  109. package/web/app/boot.mjs +2 -3
  110. package/web/app/deliver-relay.mjs +1 -1
  111. package/web/app/dist/boot.js +22 -3
  112. package/web/app/dist/boot.js.map +2 -2
  113. package/web/app/dist/sw.js +21913 -5446
  114. package/web/app/dist/sw.js.map +4 -4
  115. package/web/app/fediacct-browser.mjs +1 -1
  116. package/web/app/keys-browser.mjs +27 -4
  117. package/web/app/shims/shapes-text.mjs +8 -0
  118. package/web/app/signup.mjs +2 -3
  119. package/web/app/site/admin/actors.js +145 -0
  120. package/web/app/site/admin/common.js +23 -0
  121. package/web/app/site/admin/connections.js +112 -0
  122. package/web/app/site/admin/gateway.js +111 -0
  123. package/web/app/site/admin/group.js +258 -0
  124. package/web/app/site/admin/index.html +7 -1
  125. package/web/app/site/admin/record.js +378 -0
  126. package/web/app/site/admin/setup/index.html +1 -0
  127. package/web/app/site/admin/setup/setup.js +2 -13
  128. package/web/app/site/admin/upkeep.js +170 -0
  129. package/web/app/site/boot.js +22 -3
  130. package/web/app/site/sw.js +21913 -5446
  131. package/web/app/sw-src.mjs +17 -2
  132. package/lib/admin.mjs +0 -1913
  133. package/lib/embed.mjs +0 -220
  134. package/lib/intake.mjs +0 -1981
  135. package/lib/mastoapi.mjs +0 -2284
  136. package/lib/publisher.mjs +0 -1192
  137. package/web/admin/admin.js +0 -1181
  138. package/web/app/site/admin/admin.js +0 -1181
  139. /package/lib/{oidc-auth.mjs → client/oidc-auth.mjs} +0 -0
  140. /package/lib/{webpush.mjs → client/webpush.mjs} +0 -0
  141. /package/lib/{bskyfeed.mjs → connections/bskyfeed.mjs} +0 -0
  142. /package/lib/{lease.mjs → core/lease.mjs} +0 -0
  143. /package/lib/{polls.mjs → core/polls.mjs} +0 -0
  144. /package/lib/{proof.mjs → core/proof.mjs} +0 -0
  145. /package/lib/{storage.mjs → core/storage.mjs} +0 -0
  146. /package/lib/{account.mjs → device/account.mjs} +0 -0
  147. /package/lib/{certs.mjs → device/certs.mjs} +0 -0
  148. /package/lib/{export-collections.mjs → device/export-collections.mjs} +0 -0
  149. /package/lib/{home.mjs → device/home.mjs} +0 -0
  150. /package/lib/{ports.mjs → device/ports.mjs} +0 -0
  151. /package/lib/{guard.mjs → shared/guard.mjs} +0 -0
  152. /package/lib/{safefetch.mjs → shared/safefetch.mjs} +0 -0
@@ -0,0 +1,379 @@
1
+ {
2
+ "@context": {
3
+ "@vocab": "_:",
4
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
5
+ "as": "https://www.w3.org/ns/activitystreams#",
6
+ "ldp": "http://www.w3.org/ns/ldp#",
7
+ "vcard": "http://www.w3.org/2006/vcard/ns#",
8
+ "id": "@id",
9
+ "type": "@type",
10
+ "Accept": "as:Accept",
11
+ "Activity": "as:Activity",
12
+ "IntransitiveActivity": "as:IntransitiveActivity",
13
+ "Add": "as:Add",
14
+ "Announce": "as:Announce",
15
+ "Application": "as:Application",
16
+ "Arrive": "as:Arrive",
17
+ "Article": "as:Article",
18
+ "Audio": "as:Audio",
19
+ "Block": "as:Block",
20
+ "Collection": "as:Collection",
21
+ "CollectionPage": "as:CollectionPage",
22
+ "Relationship": "as:Relationship",
23
+ "Create": "as:Create",
24
+ "Delete": "as:Delete",
25
+ "Dislike": "as:Dislike",
26
+ "Document": "as:Document",
27
+ "Event": "as:Event",
28
+ "Follow": "as:Follow",
29
+ "Flag": "as:Flag",
30
+ "Group": "as:Group",
31
+ "Ignore": "as:Ignore",
32
+ "Image": "as:Image",
33
+ "Invite": "as:Invite",
34
+ "Join": "as:Join",
35
+ "Leave": "as:Leave",
36
+ "Like": "as:Like",
37
+ "Link": "as:Link",
38
+ "Mention": "as:Mention",
39
+ "Note": "as:Note",
40
+ "Object": "as:Object",
41
+ "Offer": "as:Offer",
42
+ "OrderedCollection": "as:OrderedCollection",
43
+ "OrderedCollectionPage": "as:OrderedCollectionPage",
44
+ "Organization": "as:Organization",
45
+ "Page": "as:Page",
46
+ "Person": "as:Person",
47
+ "Place": "as:Place",
48
+ "Profile": "as:Profile",
49
+ "Question": "as:Question",
50
+ "Reject": "as:Reject",
51
+ "Remove": "as:Remove",
52
+ "Service": "as:Service",
53
+ "TentativeAccept": "as:TentativeAccept",
54
+ "TentativeReject": "as:TentativeReject",
55
+ "Tombstone": "as:Tombstone",
56
+ "Undo": "as:Undo",
57
+ "Update": "as:Update",
58
+ "Video": "as:Video",
59
+ "View": "as:View",
60
+ "Listen": "as:Listen",
61
+ "Read": "as:Read",
62
+ "Move": "as:Move",
63
+ "Travel": "as:Travel",
64
+ "IsFollowing": "as:IsFollowing",
65
+ "IsFollowedBy": "as:IsFollowedBy",
66
+ "IsContact": "as:IsContact",
67
+ "IsMember": "as:IsMember",
68
+ "subject": {
69
+ "@id": "as:subject",
70
+ "@type": "@id"
71
+ },
72
+ "relationship": {
73
+ "@id": "as:relationship",
74
+ "@type": "@id"
75
+ },
76
+ "actor": {
77
+ "@id": "as:actor",
78
+ "@type": "@id"
79
+ },
80
+ "attributedTo": {
81
+ "@id": "as:attributedTo",
82
+ "@type": "@id"
83
+ },
84
+ "attachment": {
85
+ "@id": "as:attachment",
86
+ "@type": "@id"
87
+ },
88
+ "bcc": {
89
+ "@id": "as:bcc",
90
+ "@type": "@id"
91
+ },
92
+ "bto": {
93
+ "@id": "as:bto",
94
+ "@type": "@id"
95
+ },
96
+ "cc": {
97
+ "@id": "as:cc",
98
+ "@type": "@id"
99
+ },
100
+ "context": {
101
+ "@id": "as:context",
102
+ "@type": "@id"
103
+ },
104
+ "current": {
105
+ "@id": "as:current",
106
+ "@type": "@id"
107
+ },
108
+ "first": {
109
+ "@id": "as:first",
110
+ "@type": "@id"
111
+ },
112
+ "generator": {
113
+ "@id": "as:generator",
114
+ "@type": "@id"
115
+ },
116
+ "icon": {
117
+ "@id": "as:icon",
118
+ "@type": "@id"
119
+ },
120
+ "image": {
121
+ "@id": "as:image",
122
+ "@type": "@id"
123
+ },
124
+ "inReplyTo": {
125
+ "@id": "as:inReplyTo",
126
+ "@type": "@id"
127
+ },
128
+ "items": {
129
+ "@id": "as:items",
130
+ "@type": "@id"
131
+ },
132
+ "instrument": {
133
+ "@id": "as:instrument",
134
+ "@type": "@id"
135
+ },
136
+ "orderedItems": {
137
+ "@id": "as:items",
138
+ "@type": "@id",
139
+ "@container": "@list"
140
+ },
141
+ "last": {
142
+ "@id": "as:last",
143
+ "@type": "@id"
144
+ },
145
+ "location": {
146
+ "@id": "as:location",
147
+ "@type": "@id"
148
+ },
149
+ "next": {
150
+ "@id": "as:next",
151
+ "@type": "@id"
152
+ },
153
+ "object": {
154
+ "@id": "as:object",
155
+ "@type": "@id"
156
+ },
157
+ "oneOf": {
158
+ "@id": "as:oneOf",
159
+ "@type": "@id"
160
+ },
161
+ "anyOf": {
162
+ "@id": "as:anyOf",
163
+ "@type": "@id"
164
+ },
165
+ "closed": {
166
+ "@id": "as:closed",
167
+ "@type": "xsd:dateTime"
168
+ },
169
+ "origin": {
170
+ "@id": "as:origin",
171
+ "@type": "@id"
172
+ },
173
+ "accuracy": {
174
+ "@id": "as:accuracy",
175
+ "@type": "xsd:float"
176
+ },
177
+ "prev": {
178
+ "@id": "as:prev",
179
+ "@type": "@id"
180
+ },
181
+ "preview": {
182
+ "@id": "as:preview",
183
+ "@type": "@id"
184
+ },
185
+ "replies": {
186
+ "@id": "as:replies",
187
+ "@type": "@id"
188
+ },
189
+ "result": {
190
+ "@id": "as:result",
191
+ "@type": "@id"
192
+ },
193
+ "audience": {
194
+ "@id": "as:audience",
195
+ "@type": "@id"
196
+ },
197
+ "partOf": {
198
+ "@id": "as:partOf",
199
+ "@type": "@id"
200
+ },
201
+ "tag": {
202
+ "@id": "as:tag",
203
+ "@type": "@id"
204
+ },
205
+ "target": {
206
+ "@id": "as:target",
207
+ "@type": "@id"
208
+ },
209
+ "to": {
210
+ "@id": "as:to",
211
+ "@type": "@id"
212
+ },
213
+ "url": {
214
+ "@id": "as:url",
215
+ "@type": "@id"
216
+ },
217
+ "altitude": {
218
+ "@id": "as:altitude",
219
+ "@type": "xsd:float"
220
+ },
221
+ "content": "as:content",
222
+ "contentMap": {
223
+ "@id": "as:content",
224
+ "@container": "@language"
225
+ },
226
+ "name": "as:name",
227
+ "nameMap": {
228
+ "@id": "as:name",
229
+ "@container": "@language"
230
+ },
231
+ "duration": {
232
+ "@id": "as:duration",
233
+ "@type": "xsd:duration"
234
+ },
235
+ "endTime": {
236
+ "@id": "as:endTime",
237
+ "@type": "xsd:dateTime"
238
+ },
239
+ "height": {
240
+ "@id": "as:height",
241
+ "@type": "xsd:nonNegativeInteger"
242
+ },
243
+ "href": {
244
+ "@id": "as:href",
245
+ "@type": "@id"
246
+ },
247
+ "hreflang": "as:hreflang",
248
+ "latitude": {
249
+ "@id": "as:latitude",
250
+ "@type": "xsd:float"
251
+ },
252
+ "longitude": {
253
+ "@id": "as:longitude",
254
+ "@type": "xsd:float"
255
+ },
256
+ "mediaType": "as:mediaType",
257
+ "published": {
258
+ "@id": "as:published",
259
+ "@type": "xsd:dateTime"
260
+ },
261
+ "radius": {
262
+ "@id": "as:radius",
263
+ "@type": "xsd:float"
264
+ },
265
+ "rel": "as:rel",
266
+ "startIndex": {
267
+ "@id": "as:startIndex",
268
+ "@type": "xsd:nonNegativeInteger"
269
+ },
270
+ "startTime": {
271
+ "@id": "as:startTime",
272
+ "@type": "xsd:dateTime"
273
+ },
274
+ "summary": "as:summary",
275
+ "summaryMap": {
276
+ "@id": "as:summary",
277
+ "@container": "@language"
278
+ },
279
+ "totalItems": {
280
+ "@id": "as:totalItems",
281
+ "@type": "xsd:nonNegativeInteger"
282
+ },
283
+ "units": "as:units",
284
+ "updated": {
285
+ "@id": "as:updated",
286
+ "@type": "xsd:dateTime"
287
+ },
288
+ "width": {
289
+ "@id": "as:width",
290
+ "@type": "xsd:nonNegativeInteger"
291
+ },
292
+ "describes": {
293
+ "@id": "as:describes",
294
+ "@type": "@id"
295
+ },
296
+ "formerType": {
297
+ "@id": "as:formerType",
298
+ "@type": "@id"
299
+ },
300
+ "deleted": {
301
+ "@id": "as:deleted",
302
+ "@type": "xsd:dateTime"
303
+ },
304
+ "inbox": {
305
+ "@id": "ldp:inbox",
306
+ "@type": "@id"
307
+ },
308
+ "outbox": {
309
+ "@id": "as:outbox",
310
+ "@type": "@id"
311
+ },
312
+ "following": {
313
+ "@id": "as:following",
314
+ "@type": "@id"
315
+ },
316
+ "followers": {
317
+ "@id": "as:followers",
318
+ "@type": "@id"
319
+ },
320
+ "streams": {
321
+ "@id": "as:streams",
322
+ "@type": "@id"
323
+ },
324
+ "preferredUsername": "as:preferredUsername",
325
+ "endpoints": {
326
+ "@id": "as:endpoints",
327
+ "@type": "@id"
328
+ },
329
+ "uploadMedia": {
330
+ "@id": "as:uploadMedia",
331
+ "@type": "@id"
332
+ },
333
+ "proxyUrl": {
334
+ "@id": "as:proxyUrl",
335
+ "@type": "@id"
336
+ },
337
+ "liked": {
338
+ "@id": "as:liked",
339
+ "@type": "@id"
340
+ },
341
+ "oauthAuthorizationEndpoint": {
342
+ "@id": "as:oauthAuthorizationEndpoint",
343
+ "@type": "@id"
344
+ },
345
+ "oauthTokenEndpoint": {
346
+ "@id": "as:oauthTokenEndpoint",
347
+ "@type": "@id"
348
+ },
349
+ "provideClientKey": {
350
+ "@id": "as:provideClientKey",
351
+ "@type": "@id"
352
+ },
353
+ "signClientKey": {
354
+ "@id": "as:signClientKey",
355
+ "@type": "@id"
356
+ },
357
+ "sharedInbox": {
358
+ "@id": "as:sharedInbox",
359
+ "@type": "@id"
360
+ },
361
+ "Public": {
362
+ "@id": "as:Public",
363
+ "@type": "@id"
364
+ },
365
+ "source": "as:source",
366
+ "likes": {
367
+ "@id": "as:likes",
368
+ "@type": "@id"
369
+ },
370
+ "shares": {
371
+ "@id": "as:shares",
372
+ "@type": "@id"
373
+ },
374
+ "alsoKnownAs": {
375
+ "@id": "as:alsoKnownAs",
376
+ "@type": "@id"
377
+ }
378
+ }
379
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "@context": {
3
+ "@protected": true,
4
+ "id": "@id",
5
+ "type": "@type",
6
+ "alsoKnownAs": {
7
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
8
+ "@type": "@id"
9
+ },
10
+ "assertionMethod": {
11
+ "@id": "https://w3id.org/security#assertionMethod",
12
+ "@type": "@id",
13
+ "@container": "@set"
14
+ },
15
+ "authentication": {
16
+ "@id": "https://w3id.org/security#authenticationMethod",
17
+ "@type": "@id",
18
+ "@container": "@set"
19
+ },
20
+ "capabilityDelegation": {
21
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
22
+ "@type": "@id",
23
+ "@container": "@set"
24
+ },
25
+ "capabilityInvocation": {
26
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
27
+ "@type": "@id",
28
+ "@container": "@set"
29
+ },
30
+ "controller": {
31
+ "@id": "https://w3id.org/security#controller",
32
+ "@type": "@id"
33
+ },
34
+ "keyAgreement": {
35
+ "@id": "https://w3id.org/security#keyAgreementMethod",
36
+ "@type": "@id",
37
+ "@container": "@set"
38
+ },
39
+ "service": {
40
+ "@id": "https://www.w3.org/ns/did#service",
41
+ "@type": "@id",
42
+ "@context": {
43
+ "@protected": true,
44
+ "id": "@id",
45
+ "type": "@type",
46
+ "serviceEndpoint": {
47
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
48
+ "@type": "@id"
49
+ }
50
+ }
51
+ },
52
+ "verificationMethod": {
53
+ "@id": "https://w3id.org/security#verificationMethod",
54
+ "@type": "@id"
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "@context": {
3
+ "likesOf": {
4
+ "@id": "https://w3id.org/fep/5711#likesOf",
5
+ "@type": "@id"
6
+ },
7
+ "sharesOf": {
8
+ "@id": "https://w3id.org/fep/5711#sharesOf",
9
+ "@type": "@id"
10
+ },
11
+ "repliesOf": {
12
+ "@id": "https://w3id.org/fep/5711#repliesOf",
13
+ "@type": "@id"
14
+ },
15
+ "inboxOf": {
16
+ "@id": "https://w3id.org/fep/5711#inboxOf",
17
+ "@type": "@id"
18
+ },
19
+ "outboxOf": {
20
+ "@id": "https://w3id.org/fep/5711#outboxOf",
21
+ "@type": "@id"
22
+ },
23
+ "followersOf": {
24
+ "@id": "https://w3id.org/fep/5711#followersOf",
25
+ "@type": "@id"
26
+ },
27
+ "followingOf": {
28
+ "@id": "https://w3id.org/fep/5711#followingOf",
29
+ "@type": "@id"
30
+ },
31
+ "likedOf": {
32
+ "@id": "https://w3id.org/fep/5711#likedOf",
33
+ "@type": "@id"
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "@context": {
3
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
4
+ "gts": "https://gotosocial.org/ns#",
5
+ "LikeRequest": "gts:LikeRequest",
6
+ "ReplyRequest": "gts:ReplyRequest",
7
+ "AnnounceRequest": "gts:AnnounceRequest",
8
+ "QuoteRequest": "https://w3id.org/fep/044f#QuoteRequest",
9
+ "LikeAuthorization": "gts:LikeApproval",
10
+ "ReplyAuthorization": "gts:ReplyAuthorization",
11
+ "AnnounceAuthorization": "gts:AnnounceAuthorization",
12
+ "QuoteAuthorization": "https://w3id.org/fep/044f#QuoteAuthorization",
13
+ "likeAuthorization": {
14
+ "@id": "gts:likeAuthorization",
15
+ "@type": "@id"
16
+ },
17
+ "replyAuthorization": {
18
+ "@id": "gts:replyAuthorization",
19
+ "@type": "@id"
20
+ },
21
+ "announceAuthorization": {
22
+ "@id": "gts:announceAuthorization",
23
+ "@type": "@id"
24
+ },
25
+ "quoteAuthorization": {
26
+ "@id": "https://w3id.org/fep/044f#quoteAuthorization",
27
+ "@type": "@id"
28
+ },
29
+ "interactingObject": {
30
+ "@id": "gts:interactingObject",
31
+ "@type": "@id"
32
+ },
33
+ "interactionTarget": {
34
+ "@id": "gts:interactionTarget",
35
+ "@type": "@id"
36
+ },
37
+ "interactionPolicy": {
38
+ "@id": "gts:interactionPolicy",
39
+ "@type": "@id"
40
+ },
41
+ "canLike": {
42
+ "@id": "gts:canLike",
43
+ "@type": "@id"
44
+ },
45
+ "canReply": {
46
+ "@id": "gts:canReply",
47
+ "@type": "@id"
48
+ },
49
+ "canAnnounce": {
50
+ "@id": "gts:canAnnounce",
51
+ "@type": "@id"
52
+ },
53
+ "canQuote": {
54
+ "@id": "gts:canQuote",
55
+ "@type": "@id"
56
+ },
57
+ "automaticApproval": {
58
+ "@id": "gts:automaticApproval",
59
+ "@type": "@id"
60
+ },
61
+ "manualApproval": {
62
+ "@id": "gts:manualApproval",
63
+ "@type": "@id"
64
+ },
65
+ "hidesToPublicFromUnauthedWeb": {
66
+ "@id": "gts:hidesToPublicFromUnauthedWeb",
67
+ "@type": "xsd:boolean"
68
+ },
69
+ "hidesCcPublicFromUnauthedWeb": {
70
+ "@id": "gts:hidesCcPublicFromUnauthedWeb",
71
+ "@type": "xsd:boolean"
72
+ },
73
+ "always": {
74
+ "@id": "gts:always",
75
+ "@type": "@id"
76
+ },
77
+ "approvalRequired": {
78
+ "@id": "gts:approvalRequired",
79
+ "@type": "@id"
80
+ },
81
+ "approvedBy": {
82
+ "@id": "gts:approvedBy",
83
+ "@type": "@id"
84
+ }
85
+ }
86
+ }