@fedify/fedify 2.0.0-dev.1566 → 2.0.0-dev.159

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 (297) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +66 -30
  3. package/dist/{assert_rejects-DiIiJbZn.js → assert_rejects-Ce45JcFg.js} +1 -1
  4. package/dist/{assert_is_error-BPGph1Jx.js → assert_throws-BNXdRGWP.js} +31 -1
  5. package/dist/{builder-B2I70zuM.js → builder-oZcZfn1d.js} +15 -8
  6. package/dist/chunk-DqRYRqnO.cjs +34 -0
  7. package/dist/client-94iWEfQa.d.cts +222 -0
  8. package/dist/{client-DF8anIB5.d.ts → client-BivSNrEg.d.ts} +3 -75
  9. package/dist/{client-BVDUd3WA.js → client-CgMTXmAD.js} +3 -22
  10. package/dist/compat/mod.cjs +10 -0
  11. package/dist/compat/mod.d.cts +7 -0
  12. package/dist/compat/mod.d.ts +6 -12
  13. package/dist/compat/mod.js +5 -5
  14. package/dist/compat/transformers.test.js +21 -20
  15. package/dist/compat-DmDDELst.cjs +4 -0
  16. package/dist/compat-nxUqe4Z-.js +4 -0
  17. package/dist/context-Bns6uTJq.js +109 -0
  18. package/dist/{context-9gCpIkiz.d.ts → context-CYZ2i00R.d.ts} +321 -129
  19. package/dist/context-D2MrtLch.d.cts +2447 -0
  20. package/dist/deno-CGe3r5lB.js +117 -0
  21. package/dist/{testing-CWE5Nn0S.js → dist-B5f6a8Tt.js} +90 -111
  22. package/dist/{authdocloader-BilVqAPe.js → docloader-Bh4ZzxTs.js} +17 -8
  23. package/dist/{esm-eH43VACi.js → esm-DGl7uK1r.js} +32 -17
  24. package/dist/federation/builder.test.js +12 -13
  25. package/dist/federation/collection.test.js +6 -9
  26. package/dist/federation/handler.test.js +115 -148
  27. package/dist/federation/idempotency.test.js +202 -0
  28. package/dist/federation/inbox.test.js +5 -6
  29. package/dist/federation/keycache.test.js +4 -5
  30. package/dist/federation/kv.test.js +61 -9
  31. package/dist/federation/middleware.test.js +311 -131
  32. package/dist/federation/mod.cjs +25 -0
  33. package/dist/federation/mod.d.cts +7 -0
  34. package/dist/federation/mod.d.ts +7 -13
  35. package/dist/federation/mod.js +11 -16
  36. package/dist/federation/mq.test.js +9 -10
  37. package/dist/federation/negotiation.test.js +25 -0
  38. package/dist/federation/retry.test.js +2 -4
  39. package/dist/federation/router.test.js +6 -8
  40. package/dist/federation/send.test.js +55 -15
  41. package/dist/{webfinger/handler.test.js → federation/webfinger.test.js} +27 -26
  42. package/dist/federation-B431K2gm.cjs +266 -0
  43. package/dist/{federation-CMX7WzeL.js → federation-BbZwNNWj.js} +31 -9
  44. package/dist/http-AW19epBO.cjs +1222 -0
  45. package/dist/{http-BE2S7wC2.js → http-CN7c23sh.js} +4 -3
  46. package/dist/{http-Cdjyj7h1.js → http-CZ24XIWJ.js} +375 -15
  47. package/dist/http-ClB3pLcL.d.cts +253 -0
  48. package/dist/{http-DqSNLFNY.d.ts → http-DLBDPal9.d.ts} +2 -2
  49. package/dist/{inbox-CtcEN1S1.js → inbox-DLgz90Tj.js} +25 -7
  50. package/dist/{key-q4xxkABj.js → key-fb8Ovh-p.js} +3 -2
  51. package/dist/{keycache-CtCHz6HR.js → keycache-DRxpZ5r9.js} +1 -1
  52. package/dist/{keys-BiuLoxwK.js → keys-ZbcByPg9.js} +2 -1
  53. package/dist/{kv-C7sopW2E.d.ts → kv-CtOmTRNc.d.ts} +30 -1
  54. package/dist/kv-D8q9fLkA.d.cts +110 -0
  55. package/dist/{kv-CRZrzyXm.js → kv-QzKcOQgP.js} +22 -0
  56. package/dist/kv-cache-8rnKI8DT.cjs +134 -0
  57. package/dist/kv-cache-BEeqyGER.js +107 -0
  58. package/dist/kv-cache-DGCF5il_.js +122 -0
  59. package/dist/{ld-PkXepnwg.js → ld-9If_eMWm.js} +6 -4
  60. package/dist/{middleware-BQHcEUgM.js → middleware-BpTxdimj.js} +230 -327
  61. package/dist/middleware-DR-CCeAc.cjs +12 -0
  62. package/dist/{middleware-HDts7zkt.js → middleware-DdBvEeAn.js} +272 -271
  63. package/dist/middleware-DrwTlwzK.js +12 -0
  64. package/dist/middleware-psDtCgD-.cjs +4242 -0
  65. package/dist/middleware-vXfeY_vA.js +26 -0
  66. package/dist/mod-BrS8tiad.d.cts +266 -0
  67. package/dist/mod-C81L6_lQ.d.cts +1 -0
  68. package/dist/mod-CJgbdSqb.d.ts +109 -0
  69. package/dist/mod-CNNTHyBC.d.cts +80 -0
  70. package/dist/mod-CS-MS7gZ.d.cts +62 -0
  71. package/dist/{mod-Bqxcp7eN.d.ts → mod-D_cmv2il.d.ts} +4 -4
  72. package/dist/mod-DcPRcifg.d.cts +107 -0
  73. package/dist/mod-DqFSzJA0.d.ts +64 -0
  74. package/dist/{mod-Drmz72EK.d.ts → mod-jOa7W503.d.ts} +3 -3
  75. package/dist/mod.cjs +55 -0
  76. package/dist/mod.d.cts +11 -0
  77. package/dist/mod.d.ts +11 -17
  78. package/dist/mod.js +15 -21
  79. package/dist/negotiation-5NPJL6zp.js +71 -0
  80. package/dist/nodeinfo/client.test.js +29 -111
  81. package/dist/nodeinfo/handler.test.js +26 -26
  82. package/dist/nodeinfo/mod.cjs +10 -0
  83. package/dist/nodeinfo/mod.d.cts +3 -0
  84. package/dist/nodeinfo/mod.d.ts +3 -5
  85. package/dist/nodeinfo/mod.js +6 -7
  86. package/dist/nodeinfo/types.test.js +7 -15
  87. package/dist/nodeinfo-BlLsRSiT.js +4 -0
  88. package/dist/nodeinfo-DuMYTpbZ.cjs +4 -0
  89. package/dist/otel/exporter.test.js +899 -0
  90. package/dist/otel/mod.cjs +262 -0
  91. package/dist/otel/mod.d.cts +230 -0
  92. package/dist/otel/mod.d.ts +232 -0
  93. package/dist/otel/mod.js +261 -0
  94. package/dist/{owner-CQPnQVtf.d.ts → owner-BgI8C-VY.d.ts} +2 -3
  95. package/dist/owner-C-zfmVAD.d.cts +66 -0
  96. package/dist/{owner-DZ5zP8JS.js → owner-CCSlDz_P.js} +45 -8
  97. package/dist/{proof-D8S7qgEZ.js → proof-1s5PweRC.js} +53 -17
  98. package/dist/proof-DCmRymP1.cjs +709 -0
  99. package/dist/{proof-ohtusUSV.js → proof-WPbBCoJ-.js} +4 -3
  100. package/dist/router-D9eI0s4b.js +118 -0
  101. package/dist/{send-BBi1tzS8.js → send-DBgPrFik.js} +9 -4
  102. package/dist/sig/http.test.js +12 -14
  103. package/dist/sig/key.test.js +9 -11
  104. package/dist/sig/ld.test.js +8 -10
  105. package/dist/sig/mod.cjs +26 -0
  106. package/dist/sig/mod.d.cts +4 -0
  107. package/dist/sig/mod.d.ts +3 -7
  108. package/dist/sig/mod.js +6 -10
  109. package/dist/sig/owner.test.js +33 -12
  110. package/dist/sig/proof.test.js +13 -14
  111. package/dist/sig-CwuONEzF.js +4 -0
  112. package/dist/sig-DeXX2xnj.cjs +4 -0
  113. package/dist/testing/mod.d.ts +180 -6946
  114. package/dist/testing/mod.js +4 -4
  115. package/dist/transformers-BjBg6Lag.cjs +116 -0
  116. package/dist/{transformers-Dna8Fg7k.js → transformers-N_ip_y4P.js} +5 -5
  117. package/dist/{types-BIgY6c-l.js → types-BEdCLHqP.js} +1 -3
  118. package/dist/types-Q-qkJXBV.cjs +315 -0
  119. package/dist/{types-CTYFFnQp.js → types-hKTi53FO.js} +8 -169
  120. package/dist/{runtime/authdocloader.test.js → utils/docloader.test.js} +13 -15
  121. package/dist/utils/kv-cache.test.js +211 -0
  122. package/dist/utils/mod.cjs +10 -0
  123. package/dist/utils/mod.d.cts +4 -0
  124. package/dist/utils/mod.d.ts +6 -0
  125. package/dist/utils/mod.js +9 -0
  126. package/dist/utils-Db0ZmjcD.cjs +4 -0
  127. package/dist/utils-Wranxuoe.js +4 -0
  128. package/package.json +69 -55
  129. package/dist/actor-BKxX_F1w.js +0 -37311
  130. package/dist/actor-C22bXuuC.d.ts +0 -130
  131. package/dist/actor-DI_YpFlI.js +0 -146
  132. package/dist/assert_throws-BOO88avQ.js +0 -39
  133. package/dist/authdocloader-UdvnssIx.js +0 -52
  134. package/dist/compat-Bb5myD13.js +0 -4
  135. package/dist/denokv-Bv33Xxea.js +0 -57
  136. package/dist/docloader-4XS4XdXc.js +0 -4615
  137. package/dist/docloader-CxWcuWqQ.d.ts +0 -221
  138. package/dist/fixtures/activitypub.academy/users/brauca_darradiul.json +0 -83
  139. package/dist/fixtures/example.com/announce.json +0 -6
  140. package/dist/fixtures/example.com/collection.json +0 -19
  141. package/dist/fixtures/example.com/create.json +0 -6
  142. package/dist/fixtures/example.com/cross-origin-actor.json +0 -6
  143. package/dist/fixtures/example.com/hong-gildong.json +0 -11
  144. package/dist/fixtures/example.com/invite.json +0 -7
  145. package/dist/fixtures/example.com/key.json +0 -7
  146. package/dist/fixtures/example.com/key2.json +0 -6
  147. package/dist/fixtures/example.com/object.json +0 -6
  148. package/dist/fixtures/example.com/orderedcollectionpage.json +0 -24
  149. package/dist/fixtures/example.com/paged/a.json +0 -13
  150. package/dist/fixtures/example.com/paged/b.json +0 -16
  151. package/dist/fixtures/example.com/paged-collection.json +0 -6
  152. package/dist/fixtures/example.com/person.json +0 -22
  153. package/dist/fixtures/example.com/person2.json +0 -40
  154. package/dist/fixtures/example.com/test.json +0 -5
  155. package/dist/fixtures/example.com/users/handle.json +0 -16
  156. package/dist/fixtures/example.com/wrong-type.json +0 -3
  157. package/dist/fixtures/oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd.json +0 -24
  158. package/dist/fixtures/remote.domain/users/bob.json +0 -20
  159. package/dist/fixtures/server.example/users/alice.json +0 -20
  160. package/dist/fixtures/w3id.org/identity/v1.json +0 -152
  161. package/dist/fixtures/w3id.org/security/data-integrity/v1.json +0 -74
  162. package/dist/fixtures/w3id.org/security/multikey/v1.json +0 -35
  163. package/dist/fixtures/w3id.org/security/v1.json +0 -50
  164. package/dist/fixtures/wizard.casa/users/hongminhee.json +0 -69
  165. package/dist/fixtures/www.w3.org/ns/activitystreams.json +0 -379
  166. package/dist/fixtures/www.w3.org/ns/did/v1.json +0 -58
  167. package/dist/key-C2_QSigr.js +0 -260
  168. package/dist/key-Ck2-lYS5.js +0 -10
  169. package/dist/key-II1NsE_S.js +0 -10
  170. package/dist/lookup-DCIN2EFw.js +0 -322
  171. package/dist/lookup-DVlWgAsd.js +0 -131
  172. package/dist/middleware-CTQfgVW8.js +0 -17
  173. package/dist/middleware-D3rOl6Au.js +0 -26
  174. package/dist/mod-Cxt4Kpf6.d.ts +0 -291
  175. package/dist/mod-DBzN0aCM.d.ts +0 -115
  176. package/dist/mod-TFoH2Ql8.d.ts +0 -104
  177. package/dist/mod-g0xFzAP9.d.ts +0 -2
  178. package/dist/mq-CRGm1e_F.d.ts +0 -143
  179. package/dist/nodeinfo/semver.test.js +0 -143
  180. package/dist/nodeinfo-CyEbLjHs.js +0 -4
  181. package/dist/runtime/docloader.test.js +0 -522
  182. package/dist/runtime/key.test.js +0 -103
  183. package/dist/runtime/langstr.test.js +0 -39
  184. package/dist/runtime/mod.d.ts +0 -8
  185. package/dist/runtime/mod.js +0 -13
  186. package/dist/runtime/multibase/multibase.test.d.ts +0 -3
  187. package/dist/runtime/multibase/multibase.test.js +0 -358
  188. package/dist/runtime/url.test.d.ts +0 -3
  189. package/dist/runtime/url.test.js +0 -45
  190. package/dist/runtime-BSkOVUWM.js +0 -4
  191. package/dist/semver-dArNLkR9.js +0 -149
  192. package/dist/sig-BXJO--F9.js +0 -4
  193. package/dist/src/vocab/accept.yaml +0 -15
  194. package/dist/src/vocab/activity.yaml +0 -98
  195. package/dist/src/vocab/add.yaml +0 -16
  196. package/dist/src/vocab/announce.yaml +0 -30
  197. package/dist/src/vocab/application.yaml +0 -324
  198. package/dist/src/vocab/arrive.yaml +0 -15
  199. package/dist/src/vocab/article.yaml +0 -46
  200. package/dist/src/vocab/audio.yaml +0 -11
  201. package/dist/src/vocab/block.yaml +0 -16
  202. package/dist/src/vocab/chatmessage.yaml +0 -50
  203. package/dist/src/vocab/collection.yaml +0 -154
  204. package/dist/src/vocab/collectionpage.yaml +0 -55
  205. package/dist/src/vocab/create.yaml +0 -28
  206. package/dist/src/vocab/dataintegrityproof.yaml +0 -56
  207. package/dist/src/vocab/delete.yaml +0 -27
  208. package/dist/src/vocab/didservice.yaml +0 -22
  209. package/dist/src/vocab/dislike.yaml +0 -14
  210. package/dist/src/vocab/document.yaml +0 -31
  211. package/dist/src/vocab/emoji.yaml +0 -12
  212. package/dist/src/vocab/emojireact.yaml +0 -17
  213. package/dist/src/vocab/endpoints.yaml +0 -85
  214. package/dist/src/vocab/event.yaml +0 -11
  215. package/dist/src/vocab/export.yaml +0 -9
  216. package/dist/src/vocab/flag.yaml +0 -15
  217. package/dist/src/vocab/follow.yaml +0 -19
  218. package/dist/src/vocab/group.yaml +0 -324
  219. package/dist/src/vocab/hashtag.yaml +0 -14
  220. package/dist/src/vocab/ignore.yaml +0 -14
  221. package/dist/src/vocab/image.yaml +0 -9
  222. package/dist/src/vocab/intransitiveactivity.yaml +0 -15
  223. package/dist/src/vocab/invite.yaml +0 -14
  224. package/dist/src/vocab/join.yaml +0 -14
  225. package/dist/src/vocab/key.yaml +0 -28
  226. package/dist/src/vocab/leave.yaml +0 -14
  227. package/dist/src/vocab/like.yaml +0 -16
  228. package/dist/src/vocab/link.yaml +0 -101
  229. package/dist/src/vocab/listen.yaml +0 -12
  230. package/dist/src/vocab/mention.yaml +0 -9
  231. package/dist/src/vocab/move.yaml +0 -15
  232. package/dist/src/vocab/multikey.yaml +0 -36
  233. package/dist/src/vocab/note.yaml +0 -48
  234. package/dist/src/vocab/object.yaml +0 -404
  235. package/dist/src/vocab/offer.yaml +0 -15
  236. package/dist/src/vocab/orderedcollection.yaml +0 -39
  237. package/dist/src/vocab/orderedcollectionpage.yaml +0 -50
  238. package/dist/src/vocab/organization.yaml +0 -324
  239. package/dist/src/vocab/page.yaml +0 -11
  240. package/dist/src/vocab/person.yaml +0 -324
  241. package/dist/src/vocab/place.yaml +0 -75
  242. package/dist/src/vocab/profile.yaml +0 -26
  243. package/dist/src/vocab/propertyvalue.yaml +0 -32
  244. package/dist/src/vocab/question.yaml +0 -103
  245. package/dist/src/vocab/read.yaml +0 -13
  246. package/dist/src/vocab/reject.yaml +0 -14
  247. package/dist/src/vocab/relationship.yaml +0 -52
  248. package/dist/src/vocab/remove.yaml +0 -14
  249. package/dist/src/vocab/service.yaml +0 -324
  250. package/dist/src/vocab/source.yaml +0 -26
  251. package/dist/src/vocab/tentativeaccept.yaml +0 -14
  252. package/dist/src/vocab/tentativereject.yaml +0 -14
  253. package/dist/src/vocab/tombstone.yaml +0 -24
  254. package/dist/src/vocab/travel.yaml +0 -16
  255. package/dist/src/vocab/undo.yaml +0 -26
  256. package/dist/src/vocab/update.yaml +0 -58
  257. package/dist/src/vocab/video.yaml +0 -11
  258. package/dist/src/vocab/view.yaml +0 -13
  259. package/dist/testing/docloader.test.js +0 -24
  260. package/dist/type-B7_rMIU9.js +0 -42006
  261. package/dist/vocab/actor.test.d.ts +0 -3
  262. package/dist/vocab/actor.test.js +0 -5965
  263. package/dist/vocab/lookup.test.d.ts +0 -3
  264. package/dist/vocab/lookup.test.js +0 -206
  265. package/dist/vocab/mod.d.ts +0 -8
  266. package/dist/vocab/mod.js +0 -10
  267. package/dist/vocab/schema.yaml +0 -247
  268. package/dist/vocab/type.test.d.ts +0 -3
  269. package/dist/vocab/type.test.js +0 -25
  270. package/dist/vocab/vocab.test.d.ts +0 -3
  271. package/dist/vocab/vocab.test.js +0 -3363
  272. package/dist/vocab-3Eie7Ze4.js +0 -246
  273. package/dist/vocab-SOE1ifCr.d.ts +0 -14634
  274. package/dist/webfinger/handler.test.d.ts +0 -3
  275. package/dist/webfinger/lookup.test.d.ts +0 -3
  276. package/dist/webfinger/lookup.test.js +0 -195
  277. package/dist/webfinger/mod.d.ts +0 -6
  278. package/dist/webfinger/mod.js +0 -9
  279. package/dist/webfinger-C3GIyXIg.js +0 -4
  280. package/dist/x/cfworkers.d.ts +0 -61
  281. package/dist/x/cfworkers.js +0 -98
  282. package/dist/x/cfworkers.test.d.ts +0 -3
  283. package/dist/x/cfworkers.test.js +0 -179
  284. package/dist/x/hono.d.ts +0 -56
  285. package/dist/x/hono.js +0 -60
  286. package/dist/x/sveltekit.d.ts +0 -48
  287. package/dist/x/sveltekit.js +0 -68
  288. /package/dist/{assert_not_equals-f3m3epl3.js → assert_not_equals-C80BG-_5.js} +0 -0
  289. /package/dist/{collection-CSzG2j1P.js → collection-CcnIw1qY.js} +0 -0
  290. /package/dist/{nodeinfo/semver.test.d.ts → federation/idempotency.test.d.ts} +0 -0
  291. /package/dist/{runtime/authdocloader.test.d.ts → federation/negotiation.test.d.ts} +0 -0
  292. /package/dist/{runtime/docloader.test.d.ts → federation/webfinger.test.d.ts} +0 -0
  293. /package/dist/{mod-1pDWKvUL.d.ts → mod-1E3W847c.d.ts} +0 -0
  294. /package/dist/{runtime/key.test.d.ts → otel/exporter.test.d.ts} +0 -0
  295. /package/dist/{std__assert-X-_kMxKM.js → std__assert-DWivtrGR.js} +0 -0
  296. /package/dist/{testing → utils}/docloader.test.d.ts +0 -0
  297. /package/dist/{runtime/langstr.test.d.ts → utils/kv-cache.test.d.ts} +0 -0
@@ -1,46 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Article
3
- compactName: Article
4
- uri: "https://www.w3.org/ns/activitystreams#Article"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Represents any kind of multi-paragraph written work.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
11
- - toot: "http://joinmastodon.org/ns#"
12
- misskey: "https://misskey-hub.net/ns#"
13
- fedibird: "http://fedibird.com/ns#"
14
- sensitive: "as:sensitive"
15
- Emoji: "toot:Emoji"
16
- Hashtag: "as:Hashtag"
17
- quoteUrl: "as:quoteUrl"
18
- _misskey_quote: "misskey:_misskey_quote"
19
- quoteUri: "fedibird:quoteUri"
20
- emojiReactions:
21
- "@id": "fedibird:emojiReactions"
22
- "@type": "@id"
23
-
24
- properties:
25
- - singularName: quoteUrl
26
- functional: true
27
- compactName: quoteUrl
28
- uri: "https://www.w3.org/ns/activitystreams#quoteUrl"
29
- redundantProperties:
30
- - compactName: _misskey_quote
31
- uri: "https://misskey-hub.net/ns#_misskey_quote"
32
- - compactName: quoteUri
33
- uri: "http://fedibird.com/ns#quoteUri"
34
- description: |
35
- The URI of the ActivityStreams object that this object quotes.
36
-
37
- This property sets three JSON-LD properties at once under the hood:
38
-
39
- 1. https://www.w3.org/ns/activitystreams#quoteUrl
40
- 2. https://misskey-hub.net/ns#_misskey_quote
41
- 3. http://fedibird.com/ns#quoteUri
42
-
43
- When a JSON-LD object is parsed, this property is filled with one of
44
- the values of those three properties in order.
45
- range:
46
- - "fedify:url"
@@ -1,11 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Audio
3
- compactName: Audio
4
- uri: "https://www.w3.org/ns/activitystreams#Audio"
5
- extends: "https://www.w3.org/ns/activitystreams#Document"
6
- entity: true
7
- description: Represents an audio document of any kind.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
11
- properties: []
@@ -1,16 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Block
3
- compactName: Block
4
- uri: "https://www.w3.org/ns/activitystreams#Block"
5
- extends: "https://www.w3.org/ns/activitystreams#Ignore"
6
- entity: true
7
- description: |
8
- Indicates that the `actor` is blocking the `object`. Blocking is a stronger
9
- form of {@link Ignore}. The typical use is to support social systems that
10
- allow one user to block activities or content of other users. The `target`
11
- and `origin` typically have no defined meaning.
12
- defaultContext:
13
- - "https://w3id.org/identity/v1"
14
- - "https://www.w3.org/ns/activitystreams"
15
- - "https://w3id.org/security/data-integrity/v1"
16
- properties: []
@@ -1,50 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: ChatMessage
3
- compactName: ChatMessage
4
- uri: "http://litepub.social/ns#ChatMessage"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: |
8
- `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to
9
- {@link Note}s, but the addressing is done by having a single AP actor in
10
- the `to` field. Addressing multiple actors is not allowed. These messages
11
- are always private, there is no public version of them. They are created with
12
- a {@link Create} activity.
13
- defaultContext:
14
- - "https://www.w3.org/ns/activitystreams"
15
- - "https://w3id.org/security/data-integrity/v1"
16
- - toot: "http://joinmastodon.org/ns#"
17
- misskey: "https://misskey-hub.net/ns#"
18
- fedibird: "http://fedibird.com/ns#"
19
- Emoji: "toot:Emoji"
20
- ChatMessage: "http://litepub.social/ns#ChatMessage"
21
- quoteUrl: "as:quoteUrl"
22
- _misskey_quote: "misskey:_misskey_quote"
23
- quoteUri: "fedibird:quoteUri"
24
- emojiReactions:
25
- "@id": "fedibird:emojiReactions"
26
- "@type": "@id"
27
-
28
- properties:
29
- - singularName: quoteUrl
30
- functional: true
31
- compactName: quoteUrl
32
- uri: "https://www.w3.org/ns/activitystreams#quoteUrl"
33
- redundantProperties:
34
- - compactName: _misskey_quote
35
- uri: "https://misskey-hub.net/ns#_misskey_quote"
36
- - compactName: quoteUri
37
- uri: "http://fedibird.com/ns#quoteUri"
38
- description: |
39
- The URI of the ActivityStreams object that this object quotes.
40
-
41
- This property sets three JSON-LD properties at once under the hood:
42
-
43
- 1. https://www.w3.org/ns/activitystreams#quoteUrl
44
- 2. https://misskey-hub.net/ns#_misskey_quote
45
- 3. http://fedibird.com/ns#quoteUri
46
-
47
- When a JSON-LD object is parsed, this property is filled with one of
48
- the values of those three properties in order.
49
- range:
50
- - "fedify:url"
@@ -1,154 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Collection
3
- compactName: Collection
4
- uri: "https://www.w3.org/ns/activitystreams#Collection"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: |
8
- A `Collection` is a subtype of {@link Object} that represents ordered or
9
- unordered sets of {@link Object} or {@link Link} instances.
10
-
11
- Refer to the Activity Streams 2.0 Core specification for a complete
12
- description of the Collection type.
13
- defaultContext:
14
- - "https://www.w3.org/ns/activitystreams"
15
- - "https://w3id.org/security/data-integrity/v1"
16
- - toot: "http://joinmastodon.org/ns#"
17
- misskey: "https://misskey-hub.net/ns#"
18
- fedibird: "http://fedibird.com/ns#"
19
- ChatMessage: "http://litepub.social/ns#ChatMessage"
20
- sensitive: "as:sensitive"
21
- votersCount: "toot:votersCount"
22
- Emoji: "toot:Emoji"
23
- Hashtag: "as:Hashtag"
24
- quoteUrl: "as:quoteUrl"
25
- _misskey_quote: "misskey:_misskey_quote"
26
- quoteUri: "fedibird:quoteUri"
27
- emojiReactions:
28
- "@id": "fedibird:emojiReactions"
29
- "@type": "@id"
30
-
31
- properties:
32
- - singularName: totalItems
33
- functional: true
34
- compactName: totalItems
35
- uri: "https://www.w3.org/ns/activitystreams#totalItems"
36
- description: |
37
- A non-negative integer specifying the total number of objects contained by
38
- the logical view of the collection. This number might not reflect the actual
39
- number of items serialized within the {@link Collection} object instance.
40
- range:
41
- - "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
42
-
43
- - singularName: current
44
- functional: true
45
- compactName: current
46
- uri: "https://www.w3.org/ns/activitystreams#current"
47
- description: |
48
- In a paged {@link Collection}, indicates the page that contains
49
- the most recently updated member items.
50
- range:
51
- - "https://www.w3.org/ns/activitystreams#CollectionPage"
52
-
53
- - singularName: first
54
- functional: true
55
- compactName: first
56
- uri: "https://www.w3.org/ns/activitystreams#first"
57
- description: |
58
- In a paged {@link Collection}, indicates the furthest preceding page of
59
- items in the collection.
60
- range:
61
- - "https://www.w3.org/ns/activitystreams#CollectionPage"
62
-
63
- - singularName: last
64
- functional: true
65
- compactName: last
66
- uri: "https://www.w3.org/ns/activitystreams#last"
67
- description: |
68
- In a paged {@link Collection}, indicates the furthest proceeding page of
69
- the collection.
70
- range:
71
- - "https://www.w3.org/ns/activitystreams#CollectionPage"
72
-
73
- - pluralName: items
74
- singularName: item
75
- compactName: items
76
- uri: "https://www.w3.org/ns/activitystreams#items"
77
- description: |
78
- Identifies the items contained in a collection. The items might be ordered
79
- or unordered.
80
- range:
81
- - "https://www.w3.org/ns/activitystreams#Object"
82
- - "https://www.w3.org/ns/activitystreams#Link"
83
-
84
- - singularName: likesOf
85
- functional: true
86
- compactName: likesOf
87
- uri: "https://w3id.org/fep/5711#likesOf"
88
- description: |
89
- Defines an object for which the collection is the value of the likes property.
90
- range:
91
- - "https://www.w3.org/ns/activitystreams#Object"
92
-
93
- - singularName: sharesOf
94
- functional: true
95
- compactName: sharesOf
96
- uri: "https://w3id.org/fep/5711#sharesOf"
97
- description: |
98
- Defines an object for which the collection is the value of the shares property.
99
- range:
100
- - "https://www.w3.org/ns/activitystreams#Object"
101
-
102
- - singularName: repliesOf
103
- functional: true
104
- compactName: repliesOf
105
- uri: "https://w3id.org/fep/5711#repliesOf"
106
- description: |
107
- Defines an object for which the collection is the value of the replies property.
108
- range:
109
- - "https://www.w3.org/ns/activitystreams#Object"
110
-
111
- - singularName: inboxOf
112
- functional: true
113
- compactName: inboxOf
114
- uri: "https://w3id.org/fep/5711#inboxOf"
115
- description: |
116
- Defines an actor for which the collection is the value of the inbox property.
117
- range:
118
- - "https://www.w3.org/ns/activitystreams#Object"
119
-
120
- - singularName: outboxOf
121
- functional: true
122
- compactName: outboxOf
123
- uri: "https://w3id.org/fep/5711#outboxOf"
124
- description: |
125
- Defines an actor for which the collection is the value of the outbox property.
126
- range:
127
- - "https://www.w3.org/ns/activitystreams#Object"
128
-
129
- - singularName: followersOf
130
- functional: true
131
- compactName: followersOf
132
- uri: "https://w3id.org/fep/5711#followersOf"
133
- description: |
134
- Defines an actor for which the collection is the value of the followers property.
135
- range:
136
- - "https://www.w3.org/ns/activitystreams#Object"
137
-
138
- - singularName: followingOf
139
- functional: true
140
- compactName: followingOf
141
- uri: "https://w3id.org/fep/5711#followingOf"
142
- description: |
143
- Defines an actor for which the collection is the value of the following property.
144
- range:
145
- - "https://www.w3.org/ns/activitystreams#Object"
146
-
147
- - singularName: likedOf
148
- functional: true
149
- compactName: likedOf
150
- uri: "https://w3id.org/fep/5711#likedOf"
151
- description: |
152
- Defines an actor for which the collection is the value of the liked property.
153
- range:
154
- - "https://www.w3.org/ns/activitystreams#Object"
@@ -1,55 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: CollectionPage
3
- compactName: CollectionPage
4
- uri: "https://www.w3.org/ns/activitystreams#CollectionPage"
5
- extends: "https://www.w3.org/ns/activitystreams#Collection"
6
- entity: true
7
- description: |
8
- Used to represent distinct subsets of items from a `Collection`.
9
- Refer to the Activity Streams 2.0 Core for a complete description of
10
- the `CollectionPage` object.
11
- defaultContext:
12
- - "https://www.w3.org/ns/activitystreams"
13
- - "https://w3id.org/security/data-integrity/v1"
14
- - toot: "http://joinmastodon.org/ns#"
15
- misskey: "https://misskey-hub.net/ns#"
16
- fedibird: "http://fedibird.com/ns#"
17
- ChatMessage: "http://litepub.social/ns#ChatMessage"
18
- sensitive: "as:sensitive"
19
- votersCount: "toot:votersCount"
20
- Emoji: "toot:Emoji"
21
- Hashtag: "as:Hashtag"
22
- quoteUrl: "as:quoteUrl"
23
- _misskey_quote: "misskey:_misskey_quote"
24
- quoteUri: "fedibird:quoteUri"
25
- emojiReactions:
26
- "@id": "fedibird:emojiReactions"
27
- "@type": "@id"
28
-
29
- properties:
30
- - singularName: partOf
31
- functional: true
32
- compactName: partOf
33
- uri: "https://www.w3.org/ns/activitystreams#partOf"
34
- description: |
35
- Identifies the {@link Collection} to which a {@link CollectionPage} objects
36
- items belong.
37
- range:
38
- - "https://www.w3.org/ns/activitystreams#Collection"
39
-
40
- - singularName: next
41
- functional: true
42
- compactName: next
43
- uri: "https://www.w3.org/ns/activitystreams#next"
44
- description: In a paged {@link Collection}, indicates the next page of items.
45
- range:
46
- - "https://www.w3.org/ns/activitystreams#CollectionPage"
47
-
48
- - singularName: prev
49
- functional: true
50
- compactName: prev
51
- uri: "https://www.w3.org/ns/activitystreams#prev"
52
- description: |
53
- In a paged {@link Collection}, identifies the previous page of items.
54
- range:
55
- - "https://www.w3.org/ns/activitystreams#CollectionPage"
@@ -1,28 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Create
3
- compactName: Create
4
- uri: "https://www.w3.org/ns/activitystreams#Create"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: Indicates that the `actor` has created the `object`.
8
- defaultContext:
9
- - "https://w3id.org/identity/v1"
10
- - "https://www.w3.org/ns/activitystreams"
11
- - "https://w3id.org/security/data-integrity/v1"
12
- - toot: "http://joinmastodon.org/ns#"
13
- misskey: "https://misskey-hub.net/ns#"
14
- fedibird: "http://fedibird.com/ns#"
15
- sensitive: "as:sensitive"
16
- votersCount:
17
- "@id": "toot:votersCount"
18
- "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
19
- Emoji: "toot:Emoji"
20
- Hashtag: "as:Hashtag"
21
- ChatMessage: "http://litepub.social/ns#ChatMessage"
22
- quoteUrl: "as:quoteUrl"
23
- _misskey_quote: "misskey:_misskey_quote"
24
- quoteUri: "fedibird:quoteUri"
25
- emojiReactions:
26
- "@id": "fedibird:emojiReactions"
27
- "@type": "@id"
28
- properties: []
@@ -1,56 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: DataIntegrityProof
3
- uri: "https://w3id.org/security#DataIntegrityProof"
4
- entity: true
5
- description: |
6
- A proof that can be added to any activity or object, allowing recipients to
7
- verify the identity of the actor and the integrity of the data.
8
- defaultContext: "https://w3id.org/security/data-integrity/v1"
9
-
10
- properties:
11
- - singularName: cryptosuite
12
- functional: true
13
- uri: "https://w3id.org/security#cryptosuite"
14
- description: |
15
- The cryptographic suite used to create the proof.
16
- range:
17
- - "https://w3id.org/security#cryptosuiteString"
18
-
19
- - singularName: verificationMethod
20
- functional: true
21
- uri: "https://w3id.org/security#verificationMethod"
22
- description: |
23
- A key owned by an actor according to [FEP-521a: Representing actor's public
24
- keys][1].
25
-
26
- [1]: https://w3id.org/fep/521a
27
- range:
28
- - "https://w3id.org/security#Multikey"
29
-
30
- - singularName: proofPurpose
31
- functional: true
32
- uri: "https://w3id.org/security#proofPurpose"
33
- description: |
34
- The reason the proof was created.
35
-
36
- - `"assertionMethod"`
37
- - `"authentication"`
38
- - `"capabilityInvocation"`
39
- - `"capabilityDelegation"`
40
- - `"keyAgreement"`
41
- range:
42
- - fedify:proofPurpose
43
-
44
- - singularName: proofValue
45
- functional: true
46
- uri: "https://w3id.org/security#proofValue"
47
- description: The proof value.
48
- range:
49
- - "https://w3id.org/security#multibase"
50
-
51
- - singularName: created
52
- functional: true
53
- uri: "http://purl.org/dc/terms/created"
54
- description: The date and time the proof was created.
55
- range:
56
- - "http://www.w3.org/2001/XMLSchema#dateTime"
@@ -1,27 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Delete
3
- compactName: Delete
4
- uri: "https://www.w3.org/ns/activitystreams#Delete"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: |
8
- Indicates that the `actor` has deleted the `object`. If specified,
9
- the `origin` indicates the context from which the `object` was deleted.
10
- defaultContext:
11
- - "https://w3id.org/identity/v1"
12
- - "https://www.w3.org/ns/activitystreams"
13
- - "https://w3id.org/security/data-integrity/v1"
14
- - toot: "http://joinmastodon.org/ns#"
15
- misskey: "https://misskey-hub.net/ns#"
16
- fedibird: "http://fedibird.com/ns#"
17
- sensitive: "as:sensitive"
18
- votersCount:
19
- "@id": "toot:votersCount"
20
- "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
21
- Emoji: "toot:Emoji"
22
- Hashtag: "as:Hashtag"
23
- ChatMessage: "http://litepub.social/ns#ChatMessage"
24
- quoteUrl: "as:quoteUrl"
25
- _misskey_quote: "misskey:_misskey_quote"
26
- quoteUri: "fedibird:quoteUri"
27
- properties: []
@@ -1,22 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: DidService
3
- uri: "https://www.w3.org/ns/did#Service"
4
- entity: true
5
- description: |
6
- Means of communicating or interacting with the DID subject or associated
7
- entities via one or more service endpoints. Examples include discovery
8
- services, agent services, social networking services, file storage services,
9
- and verifiable credential repository services.
10
- defaultContext: "https://www.w3.org/ns/did/v1"
11
-
12
- properties:
13
- - pluralName: endpoints
14
- singularName: endpoint
15
- singularAccessor: true
16
- uri: "https://www.w3.org/ns/did#serviceEndpoint"
17
- description: |
18
- A network address, such as an HTTP URL, at which services operate on behalf
19
- of a DID subject.
20
- range:
21
- - "http://www.w3.org/2001/XMLSchema#anyURI"
22
-
@@ -1,14 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Dislike
3
- compactName: Dislike
4
- uri: "https://www.w3.org/ns/activitystreams#Dislike"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: Indicates that the `actor` dislikes the `object`.
8
- defaultContext:
9
- - "https://w3id.org/identity/v1"
10
- - "https://www.w3.org/ns/activitystreams"
11
- - "https://w3id.org/security/data-integrity/v1"
12
- - toot: "http://joinmastodon.org/ns#"
13
- Emoji: "toot:Emoji"
14
- properties: []
@@ -1,31 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Document
3
- compactName: Document
4
- uri: "https://www.w3.org/ns/activitystreams#Document"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Represents a document of any kind.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
11
-
12
- properties:
13
- - singularName: width
14
- functional: true
15
- compactName: width
16
- uri: "https://www.w3.org/ns/activitystreams#width"
17
- description: |
18
- Specifies a hint as to the rendering width in
19
- device-independent pixels of the linked resource.
20
- range:
21
- - "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
22
-
23
- - singularName: height
24
- functional: true
25
- compactName: height
26
- uri: "https://www.w3.org/ns/activitystreams#height"
27
- description: |
28
- Specifies a hint as to the rendering height in
29
- device-independent pixels of the linked resource.
30
- range:
31
- - "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
@@ -1,12 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Emoji
3
- compactName: Emoji
4
- uri: "http://joinmastodon.org/ns#Emoji"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Represents a custom emoji.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - toot: "http://joinmastodon.org/ns#"
11
- Emoji: "toot:Emoji"
12
- properties: []
@@ -1,17 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: EmojiReact
3
- compactName: EmojiReact
4
- uri: "http://litepub.social/ns#EmojiReact"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: |
8
- Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
9
- defaultContext:
10
- - "https://w3id.org/identity/v1"
11
- - "https://www.w3.org/ns/activitystreams"
12
- - "https://w3id.org/security/data-integrity/v1"
13
- - litepub: "http://litepub.social/ns#"
14
- toot: "http://joinmastodon.org/ns#"
15
- EmojiReact: "litepub:EmojiReact"
16
- Emoji: "toot:Emoji"
17
- properties: []
@@ -1,85 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Endpoints
3
- compactName: as:Endpoints
4
- uri: "https://www.w3.org/ns/activitystreams#Endpoints"
5
- entity: false
6
- description: Contents of {@link Actor}'s `endpoints`.
7
- defaultContext: "https://www.w3.org/ns/activitystreams"
8
-
9
- properties:
10
- - singularName: proxyUrl
11
- functional: true
12
- compactName: proxyUrl
13
- uri: "https://www.w3.org/ns/activitystreams#proxyUrl"
14
- description: |
15
- Endpoint URI so this actor's clients may access remote ActivityStreams
16
- objects which require authentication to access. To use this endpoint,
17
- the client posts an `x-www-form-urlencoded` `id` parameter with the value
18
- being the `id` of the requested ActivityStreams object.
19
- range:
20
- - "http://www.w3.org/2001/XMLSchema#anyURI"
21
-
22
- - singularName: oauthAuthorizationEndpoint
23
- functional: true
24
- compactName: oauthAuthorizationEndpoint
25
- uri: "https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"
26
- description: |
27
- If OAuth 2.0 bearer tokens [RFC 6749] [RFC 6750] are being used for
28
- authenticating [client to server
29
- interactions](https://www.w3.org/TR/activitypub/#client-to-server-interactions),
30
- this endpoint specifies a URI at which a browser-authenticated user may
31
- obtain a new authorization grant.
32
- range:
33
- - "http://www.w3.org/2001/XMLSchema#anyURI"
34
-
35
- - singularName: oauthTokenEndpoint
36
- functional: true
37
- compactName: oauthTokenEndpoint
38
- uri: "https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"
39
- description: |
40
- If OAuth 2.0 bearer tokens [RFC 6749] [RFC 6750] are being used for
41
- authenticating [client to server
42
- interactions](https://www.w3.org/TR/activitypub/#client-to-server-interactions),
43
- this endpoint specifies a URI at which a client may acquire an access token.
44
- range:
45
- - "http://www.w3.org/2001/XMLSchema#anyURI"
46
-
47
- - singularName: provideClientKey
48
- functional: true
49
- compactName: provideClientKey
50
- uri: "https://www.w3.org/ns/activitystreams#provideClientKey"
51
- description: |
52
- If Linked Data Signatures and HTTP Signatures are being used for
53
- authentication and authorization, this endpoint specifies a URI at which
54
- browser-authenticated users may authorize a client's public key for [client
55
- to server interactions](https://www.w3.org/TR/activitypub/#client-to-server-interactions).
56
- range:
57
- - "http://www.w3.org/2001/XMLSchema#anyURI"
58
-
59
- - singularName: signClientKey
60
- functional: true
61
- compactName: signClientKey
62
- uri: "https://www.w3.org/ns/activitystreams#signClientKey"
63
- description: |
64
- If Linked Data Signatures and HTTP Signatures are being used for
65
- authentication and authorization, this endpoint specifies a URI at which
66
- a client key may be signed by the actor's key for a time window to act on
67
- behalf of the actor in interacting with foreign servers.
68
- range:
69
- - "http://www.w3.org/2001/XMLSchema#anyURI"
70
-
71
- - singularName: sharedInbox
72
- functional: true
73
- compactName: sharedInbox
74
- uri: "https://www.w3.org/ns/activitystreams#sharedInbox"
75
- description: |
76
- An optional endpoint [used for wide delivery of publicly addressed
77
- activities and activities sent to
78
- followers](https://www.w3.org/TR/activitypub/#shared-inbox-delivery).
79
- `sharedInbox` endpoints SHOULD also be publicly readable
80
- {@link OrderedCollection} objects containing objects addressed to the
81
- [Public](https://www.w3.org/TR/activitypub/#public-addressing) special
82
- collection. Reading from the `sharedInbox` endpoint MUST NOT present
83
- objects which are not addressed to the `Public`` endpoint.
84
- range:
85
- - "http://www.w3.org/2001/XMLSchema#anyURI"
@@ -1,11 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Event
3
- compactName: Event
4
- uri: "https://www.w3.org/ns/activitystreams#Event"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Represents any kind of event.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
11
- properties: []
@@ -1,9 +0,0 @@
1
- $schema: ../codegen/schema.yaml
2
- name: Export
3
- uri: "https://w3id.org/fep/9091#Export"
4
- extends: "https://www.w3.org/ns/did#Service"
5
- entity: true
6
- description: |
7
- "Export Actor" service.
8
- defaultContext: "https://www.w3.org/ns/did/v1"
9
- properties: []