@fedify/fedify 2.0.0-dev.1961 → 2.0.0-dev.211

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 (266) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +66 -36
  3. package/dist/{builder-BrqBKkVi.js → builder-CBUaUcr5.js} +5 -3
  4. package/dist/{client-BsGzbnV-.d.ts → client-CUTUGgvJ.d.ts} +18 -18
  5. package/dist/{client-pY7-3icS.js → client-Dg7OfUDA.js} +28 -23
  6. package/dist/{client-94iWEfQa.d.cts → client-by-PEGAJ.d.cts} +18 -18
  7. package/dist/compat/mod.cjs +1 -1
  8. package/dist/compat/mod.d.cts +6 -10
  9. package/dist/compat/mod.d.ts +6 -10
  10. package/dist/compat/mod.js +1 -1
  11. package/dist/compat/transformers.test.js +22 -21
  12. package/dist/context-Bns6uTJq.js +109 -0
  13. package/dist/{context-V-XS2_6O.d.ts → context-C7vzWilY.d.ts} +63 -65
  14. package/dist/{context-PxGADCsD.d.cts → context-CrB9RFy5.d.cts} +63 -65
  15. package/dist/deno-Ldk6cZ5y.js +117 -0
  16. package/dist/{testing-DpRy1YTU.js → dist-B5f6a8Tt.js} +90 -110
  17. package/dist/{docloader-HB61Uc88.js → docloader-CX_8i5G9.js} +3 -3
  18. package/dist/{esm-DaZiDvFW.js → esm-DGl7uK1r.js} +1 -1
  19. package/dist/federation/builder.test.js +7 -5
  20. package/dist/federation/collection.test.js +2 -3
  21. package/dist/federation/handler.test.js +110 -22
  22. package/dist/federation/idempotency.test.js +23 -22
  23. package/dist/federation/inbox.test.js +4 -3
  24. package/dist/federation/keycache.test.js +4 -4
  25. package/dist/federation/kv.test.js +56 -3
  26. package/dist/federation/middleware.test.js +95 -93
  27. package/dist/federation/mod.cjs +8 -10
  28. package/dist/federation/mod.d.cts +7 -11
  29. package/dist/federation/mod.d.ts +7 -11
  30. package/dist/federation/mod.js +8 -11
  31. package/dist/federation/mq.test.js +5 -6
  32. package/dist/federation/negotiation.test.js +2 -3
  33. package/dist/federation/retry.test.js +2 -3
  34. package/dist/federation/router.test.js +2 -2
  35. package/dist/federation/send.test.js +51 -9
  36. package/dist/{webfinger/handler.test.js → federation/webfinger.test.js} +24 -22
  37. package/dist/{federation-CRpdnOMS.cjs → federation-B431K2gm.cjs} +22 -0
  38. package/dist/{federation-jcR8-ZxP.js → federation-BbZwNNWj.js} +28 -6
  39. package/dist/{http-M8k5mKc0.d.cts → http-ClB3pLcL.d.cts} +1 -1
  40. package/dist/{http-CUsGQiwU.js → http-CnZ1IHUS.js} +119 -9
  41. package/dist/{http-BbO0ejuk.d.ts → http-DLBDPal9.d.ts} +1 -1
  42. package/dist/{http-B2bao4EB.js → http-DNpKjQw7.js} +3 -2
  43. package/dist/{http-BxgYWxTY.cjs → http-dzRhLC1t.cjs} +132 -16
  44. package/dist/{inbox-CAojlSWc.js → inbox-DR-Gk02p.js} +2 -1
  45. package/dist/{key-Dz-KWCap.js → key-C1rxalIW.js} +3 -3
  46. package/dist/{keycache-Czcf33al.js → keycache-DRxpZ5r9.js} +1 -1
  47. package/dist/{keys-BN4nelft.js → keys-ZbcByPg9.js} +1 -1
  48. package/dist/{kv-Bxr0Q87_.d.cts → kv-B4vFhIYL.d.cts} +30 -1
  49. package/dist/{kv-BKNZ-Tb-.d.ts → kv-CYySNrsn.d.ts} +30 -1
  50. package/dist/{kv-CRZrzyXm.js → kv-QzKcOQgP.js} +22 -0
  51. package/dist/{kv-cache-DN9pfMBe.js → kv-cache-BEeqyGER.js} +14 -1
  52. package/dist/{kv-cache-5j5Pb-V6.cjs → kv-cache-BlS1sett.cjs} +2 -2
  53. package/dist/{kv-cache-Bq6kUUoG.js → kv-cache-DpIq7Isv.js} +2 -2
  54. package/dist/{ld-CEJHYq8u.js → ld-Cm6SNnYj.js} +4 -3
  55. package/dist/middleware-BJ396MAL.cjs +12 -0
  56. package/dist/{middleware-DW3rJHWy.cjs → middleware-CBBhOrXl.cjs} +210 -194
  57. package/dist/middleware-CRk4rARo.js +12 -0
  58. package/dist/middleware-DaemJ_4r.js +26 -0
  59. package/dist/{middleware-DgrceAHB.js → middleware-DmcjHVg8.js} +162 -165
  60. package/dist/{middleware-Df9OWALM.js → middleware-JPuzpoIQ.js} +164 -154
  61. package/dist/{mod-DMpuiKXi.d.cts → mod-0p9zUdzg.d.cts} +6 -6
  62. package/dist/mod-0qnPv4EC.d.cts +62 -0
  63. package/dist/{mod-DgxG-byT.d.cts → mod-BrS8tiad.d.cts} +2 -2
  64. package/dist/mod-C3SOvTD1.d.ts +64 -0
  65. package/dist/{mod-BoRKfJPE.d.cts → mod-D6pS5_xJ.d.cts} +4 -4
  66. package/dist/{mod-D5Z2tISD.d.ts → mod-jOa7W503.d.ts} +2 -2
  67. package/dist/{mod-Cdo6SYlJ.d.ts → mod-waqu-BL_.d.ts} +4 -4
  68. package/dist/{mod-aAE2wOWV.d.ts → mod-xc20HhMD.d.ts} +6 -6
  69. package/dist/mod.cjs +11 -93
  70. package/dist/mod.d.cts +11 -15
  71. package/dist/mod.d.ts +11 -15
  72. package/dist/mod.js +11 -15
  73. package/dist/nodeinfo/client.test.js +3 -4
  74. package/dist/nodeinfo/handler.test.js +22 -21
  75. package/dist/nodeinfo/mod.cjs +2 -2
  76. package/dist/nodeinfo/mod.d.cts +2 -2
  77. package/dist/nodeinfo/mod.d.ts +2 -2
  78. package/dist/nodeinfo/mod.js +2 -2
  79. package/dist/nodeinfo/types.test.js +2 -3
  80. package/dist/otel/exporter.test.js +893 -0
  81. package/dist/otel/mod.cjs +256 -0
  82. package/dist/otel/mod.d.cts +230 -0
  83. package/dist/otel/mod.d.ts +232 -0
  84. package/dist/otel/mod.js +255 -0
  85. package/dist/{owner-kQRGVXG1.d.ts → owner-BgI8C-VY.d.ts} +1 -2
  86. package/dist/{owner-B4HbyP8s.d.cts → owner-C-zfmVAD.d.cts} +1 -2
  87. package/dist/{owner-JwI-WzF-.js → owner-D-ZwLwaI.js} +44 -8
  88. package/dist/{proof-Dhqndmfg.js → proof-B-5l6HNZ.js} +3 -2
  89. package/dist/{proof-CObJuclI.cjs → proof-C2oMTHcU.cjs} +63 -28
  90. package/dist/{proof-xH0V1mdD.js → proof-lN5nVUla.js} +46 -11
  91. package/dist/router-D9eI0s4b.js +118 -0
  92. package/dist/{send-1o7D-GGL.js → send-D0AlkVEU.js} +9 -4
  93. package/dist/sig/http.test.js +6 -7
  94. package/dist/sig/key.test.js +5 -5
  95. package/dist/sig/ld.test.js +6 -6
  96. package/dist/sig/mod.cjs +3 -5
  97. package/dist/sig/mod.d.cts +3 -5
  98. package/dist/sig/mod.d.ts +3 -5
  99. package/dist/sig/mod.js +3 -5
  100. package/dist/sig/owner.test.js +29 -6
  101. package/dist/sig/proof.test.js +6 -6
  102. package/dist/testing/mod.d.ts +70 -6999
  103. package/dist/testing/mod.js +4 -3
  104. package/dist/{transformers-CoBS-oFG.cjs → transformers-BjBg6Lag.cjs} +2 -2
  105. package/dist/{transformers-BFT6d7J5.js → transformers-N_ip_y4P.js} +2 -2
  106. package/dist/{types-BtUjyi5y.js → types-8l28uC8o.js} +30 -25
  107. package/dist/{types-CWgzGaqk.cjs → types-B6z6CqIz.cjs} +30 -25
  108. package/dist/{types-C2XVl6gj.js → types-CPz01LGH.js} +3 -3
  109. package/dist/utils/docloader.test.js +7 -8
  110. package/dist/utils/kv-cache.test.js +5 -3
  111. package/dist/utils/mod.cjs +3 -5
  112. package/dist/utils/mod.d.cts +3 -4
  113. package/dist/utils/mod.d.ts +3 -4
  114. package/dist/utils/mod.js +3 -5
  115. package/package.json +24 -35
  116. package/dist/actor-DhgrrgXz.cjs +0 -42079
  117. package/dist/actor-DiKHxw_H.js +0 -41647
  118. package/dist/actor-DqFajh9s.d.ts +0 -130
  119. package/dist/actor-Kqyoic-M.js +0 -146
  120. package/dist/actor-f2NtjyCg.d.cts +0 -128
  121. package/dist/fixtures/activitypub.academy/users/brauca_darradiul.json +0 -83
  122. package/dist/fixtures/example.com/announce.json +0 -6
  123. package/dist/fixtures/example.com/collection.json +0 -19
  124. package/dist/fixtures/example.com/create.json +0 -6
  125. package/dist/fixtures/example.com/cross-origin-actor.json +0 -6
  126. package/dist/fixtures/example.com/hong-gildong.json +0 -11
  127. package/dist/fixtures/example.com/invite.json +0 -7
  128. package/dist/fixtures/example.com/key.json +0 -7
  129. package/dist/fixtures/example.com/key2.json +0 -6
  130. package/dist/fixtures/example.com/object.json +0 -6
  131. package/dist/fixtures/example.com/orderedcollectionpage.json +0 -24
  132. package/dist/fixtures/example.com/paged/a.json +0 -13
  133. package/dist/fixtures/example.com/paged/b.json +0 -16
  134. package/dist/fixtures/example.com/paged-collection.json +0 -6
  135. package/dist/fixtures/example.com/person.json +0 -22
  136. package/dist/fixtures/example.com/person2.json +0 -40
  137. package/dist/fixtures/example.com/test.json +0 -5
  138. package/dist/fixtures/example.com/users/handle.json +0 -16
  139. package/dist/fixtures/example.com/wrong-type.json +0 -3
  140. package/dist/fixtures/media.example.com/avatars/test-avatar.jpg.json +0 -6
  141. package/dist/fixtures/oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd.json +0 -24
  142. package/dist/fixtures/remote.domain/users/bob.json +0 -20
  143. package/dist/fixtures/server.example/users/alice.json +0 -20
  144. package/dist/fixtures/w3id.org/identity/v1.json +0 -152
  145. package/dist/fixtures/w3id.org/security/data-integrity/v1.json +0 -74
  146. package/dist/fixtures/w3id.org/security/multikey/v1.json +0 -35
  147. package/dist/fixtures/w3id.org/security/v1.json +0 -50
  148. package/dist/fixtures/wizard.casa/users/hongminhee.json +0 -69
  149. package/dist/fixtures/www.w3.org/ns/activitystreams.json +0 -379
  150. package/dist/fixtures/www.w3.org/ns/did/v1.json +0 -58
  151. package/dist/lookup-D8hvtZHY.js +0 -42178
  152. package/dist/lookup-_Hap2IXS.cjs +0 -265
  153. package/dist/lookup-gMu_9ZKY.js +0 -253
  154. package/dist/middleware-19QFZj7b.js +0 -26
  155. package/dist/middleware-BbbcXY4w.cjs +0 -15
  156. package/dist/middleware-CSTK543z.js +0 -15
  157. package/dist/mod-BlVovdcy.d.ts +0 -309
  158. package/dist/mod-BxRCHTz-.d.cts +0 -307
  159. package/dist/mod-C58MZ7Wx.d.cts +0 -113
  160. package/dist/mod-CcDPcLJW.d.cts +0 -1
  161. package/dist/mod-Ds0mpFZU.d.ts +0 -115
  162. package/dist/mod-bjzj5QIb.d.ts +0 -2
  163. package/dist/src/vocab/accept.yaml +0 -15
  164. package/dist/src/vocab/activity.yaml +0 -98
  165. package/dist/src/vocab/add.yaml +0 -16
  166. package/dist/src/vocab/announce.yaml +0 -30
  167. package/dist/src/vocab/application.yaml +0 -324
  168. package/dist/src/vocab/arrive.yaml +0 -15
  169. package/dist/src/vocab/article.yaml +0 -46
  170. package/dist/src/vocab/audio.yaml +0 -11
  171. package/dist/src/vocab/block.yaml +0 -16
  172. package/dist/src/vocab/chatmessage.yaml +0 -50
  173. package/dist/src/vocab/collection.yaml +0 -154
  174. package/dist/src/vocab/collectionpage.yaml +0 -55
  175. package/dist/src/vocab/create.yaml +0 -28
  176. package/dist/src/vocab/dataintegrityproof.yaml +0 -56
  177. package/dist/src/vocab/delete.yaml +0 -27
  178. package/dist/src/vocab/didservice.yaml +0 -22
  179. package/dist/src/vocab/dislike.yaml +0 -14
  180. package/dist/src/vocab/document.yaml +0 -31
  181. package/dist/src/vocab/emoji.yaml +0 -12
  182. package/dist/src/vocab/emojireact.yaml +0 -17
  183. package/dist/src/vocab/endpoints.yaml +0 -85
  184. package/dist/src/vocab/event.yaml +0 -11
  185. package/dist/src/vocab/export.yaml +0 -9
  186. package/dist/src/vocab/flag.yaml +0 -15
  187. package/dist/src/vocab/follow.yaml +0 -19
  188. package/dist/src/vocab/group.yaml +0 -324
  189. package/dist/src/vocab/hashtag.yaml +0 -14
  190. package/dist/src/vocab/ignore.yaml +0 -14
  191. package/dist/src/vocab/image.yaml +0 -9
  192. package/dist/src/vocab/intransitiveactivity.yaml +0 -15
  193. package/dist/src/vocab/invite.yaml +0 -14
  194. package/dist/src/vocab/join.yaml +0 -14
  195. package/dist/src/vocab/key.yaml +0 -28
  196. package/dist/src/vocab/leave.yaml +0 -14
  197. package/dist/src/vocab/like.yaml +0 -16
  198. package/dist/src/vocab/link.yaml +0 -101
  199. package/dist/src/vocab/listen.yaml +0 -12
  200. package/dist/src/vocab/mention.yaml +0 -9
  201. package/dist/src/vocab/move.yaml +0 -15
  202. package/dist/src/vocab/multikey.yaml +0 -36
  203. package/dist/src/vocab/note.yaml +0 -48
  204. package/dist/src/vocab/object.yaml +0 -404
  205. package/dist/src/vocab/offer.yaml +0 -15
  206. package/dist/src/vocab/orderedcollection.yaml +0 -39
  207. package/dist/src/vocab/orderedcollectionpage.yaml +0 -50
  208. package/dist/src/vocab/organization.yaml +0 -324
  209. package/dist/src/vocab/page.yaml +0 -11
  210. package/dist/src/vocab/person.yaml +0 -324
  211. package/dist/src/vocab/place.yaml +0 -75
  212. package/dist/src/vocab/profile.yaml +0 -26
  213. package/dist/src/vocab/propertyvalue.yaml +0 -32
  214. package/dist/src/vocab/question.yaml +0 -103
  215. package/dist/src/vocab/read.yaml +0 -13
  216. package/dist/src/vocab/reject.yaml +0 -14
  217. package/dist/src/vocab/relationship.yaml +0 -52
  218. package/dist/src/vocab/remove.yaml +0 -14
  219. package/dist/src/vocab/service.yaml +0 -324
  220. package/dist/src/vocab/source.yaml +0 -26
  221. package/dist/src/vocab/tentativeaccept.yaml +0 -14
  222. package/dist/src/vocab/tentativereject.yaml +0 -14
  223. package/dist/src/vocab/tombstone.yaml +0 -24
  224. package/dist/src/vocab/travel.yaml +0 -16
  225. package/dist/src/vocab/undo.yaml +0 -26
  226. package/dist/src/vocab/update.yaml +0 -58
  227. package/dist/src/vocab/video.yaml +0 -11
  228. package/dist/src/vocab/view.yaml +0 -13
  229. package/dist/testing/docloader.test.js +0 -22
  230. package/dist/vocab/actor.test.js +0 -5963
  231. package/dist/vocab/lookup.test.d.ts +0 -3
  232. package/dist/vocab/lookup.test.js +0 -454
  233. package/dist/vocab/mod.cjs +0 -86
  234. package/dist/vocab/mod.d.cts +0 -4
  235. package/dist/vocab/mod.d.ts +0 -6
  236. package/dist/vocab/mod.js +0 -9
  237. package/dist/vocab/type.test.d.ts +0 -3
  238. package/dist/vocab/type.test.js +0 -24
  239. package/dist/vocab/vocab.test.d.ts +0 -3
  240. package/dist/vocab/vocab.test.js +0 -9397
  241. package/dist/vocab-BCWe1Ih5.d.ts +0 -14905
  242. package/dist/vocab-CAwj263k.js +0 -255
  243. package/dist/vocab-CeDBzu-f.d.cts +0 -14903
  244. package/dist/vocab-DgHGCFcw.cjs +0 -291
  245. package/dist/webfinger/handler.test.d.ts +0 -3
  246. package/dist/webfinger/lookup.test.d.ts +0 -3
  247. package/dist/webfinger/lookup.test.js +0 -193
  248. package/dist/webfinger/mod.cjs +0 -8
  249. package/dist/webfinger/mod.d.cts +0 -2
  250. package/dist/webfinger/mod.d.ts +0 -4
  251. package/dist/webfinger/mod.js +0 -8
  252. package/dist/webfinger-C72Y8lrh.js +0 -4
  253. package/dist/webfinger-vAtLmxOF.cjs +0 -4
  254. /package/dist/{collection-BzWsN9pB.js → collection-CcnIw1qY.js} +0 -0
  255. /package/dist/{testing/docloader.test.d.ts → federation/webfinger.test.d.ts} +0 -0
  256. /package/dist/{mod-CVgZgliM.d.ts → mod-1E3W847c.d.ts} +0 -0
  257. /package/dist/{mod-B-hUPT2N.d.cts → mod-C81L6_lQ.d.cts} +0 -0
  258. /package/dist/{negotiation-C4nFufNk.js → negotiation-5NPJL6zp.js} +0 -0
  259. /package/dist/{nodeinfo-BnthBobC.js → nodeinfo-BlLsRSiT.js} +0 -0
  260. /package/dist/{nodeinfo-CdN0rEnZ.cjs → nodeinfo-DuMYTpbZ.cjs} +0 -0
  261. /package/dist/{vocab/actor.test.d.ts → otel/exporter.test.d.ts} +0 -0
  262. /package/dist/{retry-CfF8Gn4d.js → retry-D4GJ670a.js} +0 -0
  263. /package/dist/{sig-C34-oHBl.js → sig-CwuONEzF.js} +0 -0
  264. /package/dist/{sig-YYj5tCnr.cjs → sig-DeXX2xnj.cjs} +0 -0
  265. /package/dist/{utils-DyRU1gdZ.cjs → utils-Db0ZmjcD.cjs} +0 -0
  266. /package/dist/{utils-D-Va7aXC.js → utils-Wranxuoe.js} +0 -0
@@ -1,324 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Application
3
- compactName: Application
4
- uri: "https://www.w3.org/ns/activitystreams#Application"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Describes a software application.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/v1"
11
- - "https://w3id.org/security/data-integrity/v1"
12
- - "https://www.w3.org/ns/did/v1"
13
- - "https://w3id.org/security/multikey/v1"
14
- - alsoKnownAs:
15
- "@id": "as:alsoKnownAs"
16
- "@type": "@id"
17
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
18
- movedTo:
19
- "@id": "as:movedTo"
20
- "@type": "@id"
21
- toot: "http://joinmastodon.org/ns#"
22
- Emoji: "toot:Emoji"
23
- featured:
24
- "@id": "toot:featured"
25
- "@type": "@id"
26
- featuredTags:
27
- "@id": "toot:featuredTags"
28
- "@type": "@id"
29
- discoverable: "toot:discoverable"
30
- suspended: "toot:suspended"
31
- memorial: "toot:memorial"
32
- indexable: "toot:indexable"
33
- schema: "http://schema.org#"
34
- PropertyValue: "schema:PropertyValue"
35
- value: "schema:value"
36
- misskey: "https://misskey-hub.net/ns#"
37
- _misskey_followedMessage: "misskey:_misskey_followedMessage"
38
- isCat: "misskey:isCat"
39
-
40
- properties:
41
- - pluralName: preferredUsernames
42
- singularName: preferredUsername
43
- singularAccessor: true
44
- compactName: preferredUsername
45
- uri: "https://www.w3.org/ns/activitystreams#preferredUsername"
46
- description: |
47
- A short username which may be used to refer to the actor,
48
- with no uniqueness guarantees.
49
- range:
50
- - "http://www.w3.org/2001/XMLSchema#string"
51
- - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
52
-
53
- - pluralName: publicKeys
54
- singularName: publicKey
55
- singularAccessor: true
56
- compactName: publicKey
57
- uri: "https://w3id.org/security#publicKey"
58
- description: A public part of the key pair owned by this actor.
59
- untyped: true
60
- range:
61
- - "https://w3id.org/security#Key"
62
-
63
- - pluralName: assertionMethods
64
- singularName: assertionMethod
65
- singularAccessor: true
66
- compactName: assertionMethod
67
- uri: "https://w3id.org/security#assertionMethod"
68
- description: |
69
- Represents this actor's public keys. It serves as equivalent to
70
- the `publicKeys` property, but is used for [FEP-521a] compliance.
71
-
72
- [FEP-521a]: https://w3id.org/fep/521a
73
- range:
74
- - "https://w3id.org/security#Multikey"
75
-
76
- - singularName: manuallyApprovesFollowers
77
- functional: true
78
- compactName: manuallyApprovesFollowers
79
- uri: "https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"
80
- description: |
81
- When `true`, conveys that for this actor, follow requests are not usually
82
- automatically approved, but instead are examined by a person who may accept
83
- or reject the request, at some time in the future. Setting of `false`
84
- conveys no information and may be ignored. This information is typically
85
- used to affect display of accounts, such as showing an account as private or
86
- locked.
87
- range:
88
- - "http://www.w3.org/2001/XMLSchema#boolean"
89
-
90
- - singularName: inbox
91
- functional: true
92
- compactName: inbox
93
- uri: "http://www.w3.org/ns/ldp#inbox"
94
- description: |
95
- The inbox stream contains all activities received by the actor. The server
96
- SHOULD filter content according to the requester's permission. In general,
97
- the owner of an inbox is likely to be able to access all of their inbox
98
- contents. Depending on access control, some other content may be public,
99
- whereas other content may require authentication for non-owner users,
100
- if they can access the inbox at all.
101
-
102
- The server MUST perform de-duplication of activities returned by the inbox.
103
- Duplication can occur if an activity is addressed both to an actor's
104
- followers, and a specific actor who also follows the recipient actor,
105
- and the server has failed to de-duplicate the recipients list.
106
- Such deduplication MUST be performed by comparing the `id` of the activities
107
- and dropping any activities already seen.
108
- range:
109
- - "https://www.w3.org/ns/activitystreams#OrderedCollection"
110
- - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
111
-
112
- - singularName: outbox
113
- functional: true
114
- compactName: outbox
115
- uri: "https://www.w3.org/ns/activitystreams#outbox"
116
- description: |
117
- The outbox stream contains activities the user has published,
118
- subject to the ability of the requestor to retrieve the activity
119
- (that is, the contents of the outbox are filtered by the permissions of
120
- the person reading it). If a user submits a request without
121
- [Authorization](https://www.w3.org/TR/activitypub/#authorization)
122
- the server should respond with all of the
123
- [Public](https://www.w3.org/TR/activitypub/#public-addressing) posts.
124
- This could potentially be all relevant objects published by the user,
125
- though the number of available items is left to the discretion of those
126
- implementing and deploying the server.
127
- range:
128
- - "https://www.w3.org/ns/activitystreams#OrderedCollection"
129
- - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
130
-
131
- - singularName: following
132
- functional: true
133
- compactName: following
134
- uri: "https://www.w3.org/ns/activitystreams#following"
135
- description: |
136
- This is a list of everybody that the actor has followed, added as a
137
- [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox).
138
- The `following` collection MUST be either an {@link OrderedCollection}
139
- or a {@link Collection} and MAY be filtered on privileges of
140
- an authenticated user or as appropriate when no authentication is given.
141
- range:
142
- - "https://www.w3.org/ns/activitystreams#Collection"
143
-
144
- - singularName: followers
145
- functional: true
146
- compactName: followers
147
- uri: "https://www.w3.org/ns/activitystreams#followers"
148
- description: |
149
- This is a list of everyone who has sent a {@link Follow} activity
150
- for the actor, added as a
151
- [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox).
152
- This is where one would find a list of all the actors that are following
153
- the actor. The `followers` collection MUST be either
154
- an {@link OrderedCollection} or a {@link Collection} and MAY be filtered on
155
- privileges of an authenticated user or as appropriate when no authentication
156
- is given.
157
- range:
158
- - "https://www.w3.org/ns/activitystreams#Collection"
159
-
160
- - singularName: liked
161
- functional: true
162
- compactName: liked
163
- uri: "https://www.w3.org/ns/activitystreams#liked"
164
- description: |
165
- This is a list of every object from all of the actor's {@link Like}
166
- activities, added as a
167
- [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
168
- The `liked` collection MUST be either an {@link OrderedCollection} or
169
- a {@link Collection} and MAY be filtered on privileges of an authenticated
170
- user or as appropriate when no authentication is given.
171
- range:
172
- - "https://www.w3.org/ns/activitystreams#Collection"
173
-
174
- - singularName: featured
175
- functional: true
176
- compactName: featured
177
- uri: "http://joinmastodon.org/ns#featured"
178
- description: |
179
- What is known in Mastodon as "pinned statuses", or statuses that are always
180
- featured at the top of people's profiles, is implemented using an extra
181
- property `featured` on the actor object that points to a {@link Collection}
182
- of objects.
183
- range:
184
- - "https://www.w3.org/ns/activitystreams#Collection"
185
-
186
- - singularName: featuredTags
187
- functional: true
188
- compactName: featuredTags
189
- uri: "http://joinmastodon.org/ns#featuredTags"
190
- description: |
191
- What is known in Mastodon as "featured hashtags", hashtags that are featured
192
- at people's profiles, is implemented using an extra property `featuredTags`
193
- on the actor object that points to a {@link Collection} of {@link Hashtag}
194
- objects specifically.
195
- range:
196
- - "https://www.w3.org/ns/activitystreams#Collection"
197
-
198
- - pluralName: streams
199
- singularName: stream
200
- singularAccessor: false
201
- compactName: streams
202
- uri: "https://www.w3.org/ns/activitystreams#streams"
203
- description: |
204
- A list of supplementary Collections which may be of interest.
205
- range:
206
- - "https://www.w3.org/ns/activitystreams#Collection"
207
-
208
- - singularName: endpoints
209
- functional: true
210
- compactName: endpoints
211
- uri: "https://www.w3.org/ns/activitystreams#endpoints"
212
- description: |
213
- A JSON object which maps additional (typically server/domain-wide) endpoints
214
- which may be useful either for this actor or someone referencing this actor.
215
- This mapping may be nested inside the actor document as the value or may be
216
- a link to a JSON-LD document with these properties.
217
- range:
218
- - "https://www.w3.org/ns/activitystreams#Endpoints"
219
-
220
- - singularName: discoverable
221
- functional: true
222
- compactName: discoverable
223
- uri: "http://joinmastodon.org/ns#discoverable"
224
- description: |
225
- Allows users to opt-in or opt-out of discoverability features like
226
- the profile directory. This flag may also be used as an indicator of
227
- the user's preferences toward being included in external discovery services,
228
- such as search engines or other indexing tools.
229
- range:
230
- - "http://www.w3.org/2001/XMLSchema#boolean"
231
-
232
- - singularName: suspended
233
- functional: true
234
- compactName: suspended
235
- uri: "http://joinmastodon.org/ns#suspended"
236
- description: |
237
- Reports whether a user was locally suspended, for better handling of
238
- these accounts.
239
- range:
240
- - "http://www.w3.org/2001/XMLSchema#boolean"
241
-
242
- - singularName: memorial
243
- functional: true
244
- compactName: memorial
245
- uri: "http://joinmastodon.org/ns#memorial"
246
- description: Whether the actor is in-memorial state.
247
- range:
248
- - "http://www.w3.org/2001/XMLSchema#boolean"
249
-
250
- - singularName: indexable
251
- functional: true
252
- compactName: indexable
253
- uri: "http://joinmastodon.org/ns#indexable"
254
- description: Whether the actor allows to be indexed.
255
- range:
256
- - "http://www.w3.org/2001/XMLSchema#boolean"
257
-
258
- - singularName: successor
259
- functional: true
260
- compactName: movedTo
261
- uri: "https://www.w3.org/ns/activitystreams#movedTo"
262
- description: >-
263
- Signifies that an actor has been moved to a different ID.
264
- Used in Mastodon-style data portability with the {@link Move} activity;
265
- see [ActivityPub Data Portability/Move
266
- Action](https://swicg.github.io/activitypub-data-portability/#move-action)
267
- for more details.
268
- range:
269
- - "https://www.w3.org/ns/activitystreams#Application"
270
- - "https://www.w3.org/ns/activitystreams#Group"
271
- - "https://www.w3.org/ns/activitystreams#Organization"
272
- - "https://www.w3.org/ns/activitystreams#Person"
273
- - "https://www.w3.org/ns/activitystreams#Service"
274
-
275
- - pluralName: aliases
276
- singularName: alias
277
- singularAccessor: true
278
- compactName: alsoKnownAs
279
- uri: "https://www.w3.org/ns/activitystreams#alsoKnownAs"
280
- description: |
281
- The `aliases` (`alsoKnownAs`) property is used to specify alternative names
282
- or aliases for an entity. It can be used to provide additional identifiers
283
- or labels for an entity, which can be useful in scenarios where an entity
284
- may have multiple names or aliases.
285
- range:
286
- - "https://www.w3.org/ns/activitystreams#Application"
287
- - "https://www.w3.org/ns/activitystreams#Group"
288
- - "https://www.w3.org/ns/activitystreams#Organization"
289
- - "https://www.w3.org/ns/activitystreams#Person"
290
- - "https://www.w3.org/ns/activitystreams#Service"
291
-
292
- - pluralName: services
293
- singularName: service
294
- singularAccessor: true
295
- compactName: service
296
- uri: "https://www.w3.org/ns/did#service"
297
- description: |
298
- Means of communicating or interacting with the DID subject or associated
299
- entities via one or more service endpoints. Examples include discovery
300
- services, agent services, social networking services, file storage services,
301
- and verifiable credential repository services.
302
- range:
303
- - "https://www.w3.org/ns/did#Service"
304
-
305
- - singularName: followedMessage
306
- functional: true
307
- compactName: _misskey_followedMessage
308
- uri: "https://misskey-hub.net/ns#_misskey_followedMessage"
309
- description: |
310
- This value is used for `Actor` type objects to show message on followed.
311
- range:
312
- - "http://www.w3.org/2001/XMLSchema#string"
313
-
314
- - singularName: cat
315
- functional: true
316
- compactName: isCat
317
- uri: "https://misskey-hub.net/ns#isCat"
318
- description: |
319
- Used on actors to indicate that they in some way identify as a cat,
320
- expressed as a boolean value. If this property is set to `true`,
321
- displaying the actor or their notes will have some special effects
322
- attached in some clients.
323
- range:
324
- - "http://www.w3.org/2001/XMLSchema#boolean"
@@ -1,15 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Arrive
3
- compactName: Arrive
4
- uri: "https://www.w3.org/ns/activitystreams#Arrive"
5
- extends: "https://www.w3.org/ns/activitystreams#IntransitiveActivity"
6
- entity: true
7
- description: |
8
- An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`.
9
- The `origin` can be used to identify the context from which the `actor` originated.
10
- The `target` typically has no defined meaning.
11
- defaultContext:
12
- - "https://w3id.org/identity/v1"
13
- - "https://www.w3.org/ns/activitystreams"
14
- - "https://w3id.org/security/data-integrity/v1"
15
- properties: []
@@ -1,46 +0,0 @@
1
- $schema: ../../../vocab-tools/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: ../../../vocab-tools/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: ../../../vocab-tools/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: ../../../vocab-tools/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: ../../../vocab-tools/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: ../../../vocab-tools/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"