@fedify/vocab-runtime 2.1.0-dev.565 → 2.1.0-dev.599

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 (71) hide show
  1. package/deno.json +4 -3
  2. package/dist/chunk-CUT6urMc.cjs +30 -0
  3. package/dist/jsonld.cjs +8 -0
  4. package/dist/jsonld.d.cts +6 -0
  5. package/dist/jsonld.d.ts +6 -0
  6. package/dist/jsonld.js +7 -0
  7. package/dist/mod.cjs +4485 -4329
  8. package/dist/mod.d.cts +95 -4
  9. package/dist/mod.d.ts +95 -4
  10. package/dist/mod.js +4474 -4299
  11. package/dist/tests/decimal.test.cjs +154 -0
  12. package/dist/tests/decimal.test.d.cts +1 -0
  13. package/dist/tests/decimal.test.d.ts +1 -0
  14. package/dist/tests/decimal.test.js +153 -0
  15. package/dist/tests/docloader-B7jXFZpf.cjs +4562 -0
  16. package/dist/tests/docloader-DMCOWvVB.js +4550 -0
  17. package/dist/tests/docloader.test.cjs +7 -4491
  18. package/dist/tests/docloader.test.js +4 -4488
  19. package/dist/tests/internal/multicodec.test.cjs +77 -0
  20. package/dist/tests/internal/multicodec.test.d.cts +1 -0
  21. package/dist/tests/internal/multicodec.test.d.ts +1 -0
  22. package/dist/tests/internal/multicodec.test.js +76 -0
  23. package/dist/tests/key-ByCmSI2y.js +183 -0
  24. package/dist/tests/key-CCPn6TEY.cjs +231 -0
  25. package/dist/tests/key.test.cjs +36 -212
  26. package/dist/tests/key.test.js +9 -185
  27. package/dist/tests/langstr-BsVE3s9u.js +30 -0
  28. package/dist/tests/langstr-EPh86hXK.cjs +36 -0
  29. package/dist/tests/langstr.test.cjs +5 -33
  30. package/dist/tests/langstr.test.js +1 -29
  31. package/dist/tests/link.test.cjs +1 -1
  32. package/dist/tests/link.test.js +1 -1
  33. package/dist/tests/multibase/multibase.test.cjs +1 -1
  34. package/dist/tests/multibase/multibase.test.js +1 -1
  35. package/dist/tests/multicodec--6hQ74zI.cjs +59 -0
  36. package/dist/tests/multicodec-Dq3IiOV4.js +41 -0
  37. package/dist/tests/{request-3ywvRFy1.js → request-BQtyeAfw.js} +6 -3
  38. package/dist/tests/{request-Dhnqve0g.cjs → request-CW9KOmQu.cjs} +6 -3
  39. package/dist/tests/request.test.cjs +1 -1
  40. package/dist/tests/request.test.js +1 -1
  41. package/dist/tests/url.test.cjs +1 -1
  42. package/dist/tests/url.test.js +1 -1
  43. package/package.json +12 -2
  44. package/src/contexts/activitystreams.json +379 -0
  45. package/src/contexts/did-v1.json +57 -0
  46. package/src/contexts/fep-5711.json +36 -0
  47. package/src/contexts/gotosocial.json +86 -0
  48. package/src/contexts/identity-v1.json +152 -0
  49. package/src/contexts/joinmastodon.json +28 -0
  50. package/src/contexts/schemaorg.json +8845 -0
  51. package/src/contexts/security-data-integrity-v1.json +78 -0
  52. package/src/contexts/security-data-integrity-v2.json +81 -0
  53. package/src/contexts/security-multikey-v1.json +35 -0
  54. package/src/contexts/security-v1.json +74 -0
  55. package/src/contexts/webfinger.json +10 -0
  56. package/src/contexts.ts +33 -4392
  57. package/src/decimal.test.ts +90 -0
  58. package/src/decimal.ts +112 -0
  59. package/src/internal/multicodec.test.ts +68 -0
  60. package/src/internal/multicodec.ts +53 -0
  61. package/src/jsonld.ts +4 -0
  62. package/src/key.test.ts +22 -1
  63. package/src/key.ts +9 -8
  64. package/src/mod.ts +6 -0
  65. package/tsdown.config.ts +1 -1
  66. /package/dist/tests/{link-Ck2yj4dH.js → link-C3q2TC2G.js} +0 -0
  67. /package/dist/tests/{link-CdFPEo9O.cjs → link-DYNFAdNu.cjs} +0 -0
  68. /package/dist/tests/{multibase-DStmqni9.js → multibase-B4g8pz6F.js} +0 -0
  69. /package/dist/tests/{multibase-BFbBiaPE.cjs → multibase-o_ovPHYJ.cjs} +0 -0
  70. /package/dist/tests/{url-fW_DHbih.js → url-CWEP9Zs9.js} +0 -0
  71. /package/dist/tests/{url-C5Vs9nYh.cjs → url-DIjOdK8Q.cjs} +0 -0
@@ -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": "gts:QuoteRequest",
9
+ "LikeAuthorization": "gts:LikeApproval",
10
+ "ReplyAuthorization": "gts:ReplyAuthorization",
11
+ "AnnounceAuthorization": "gts:AnnounceAuthorization",
12
+ "QuoteAuthorization": "gts: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": "gts: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
+ }
@@ -0,0 +1,152 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "cred": "https://w3id.org/credentials#",
6
+ "dc": "http://purl.org/dc/terms/",
7
+ "identity": "https://w3id.org/identity#",
8
+ "perm": "https://w3id.org/permissions#",
9
+ "ps": "https://w3id.org/payswarm#",
10
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
11
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
12
+ "sec": "https://w3id.org/security#",
13
+ "schema": "http://schema.org/",
14
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
15
+ "Group": "https://www.w3.org/ns/activitystreams#Group",
16
+ "claim": {
17
+ "@id": "cred:claim",
18
+ "@type": "@id"
19
+ },
20
+ "credential": {
21
+ "@id": "cred:credential",
22
+ "@type": "@id"
23
+ },
24
+ "issued": {
25
+ "@id": "cred:issued",
26
+ "@type": "xsd:dateTime"
27
+ },
28
+ "issuer": {
29
+ "@id": "cred:issuer",
30
+ "@type": "@id"
31
+ },
32
+ "recipient": {
33
+ "@id": "cred:recipient",
34
+ "@type": "@id"
35
+ },
36
+ "Credential": "cred:Credential",
37
+ "CryptographicKeyCredential": "cred:CryptographicKeyCredential",
38
+ "about": {
39
+ "@id": "schema:about",
40
+ "@type": "@id"
41
+ },
42
+ "address": {
43
+ "@id": "schema:address",
44
+ "@type": "@id"
45
+ },
46
+ "addressCountry": "schema:addressCountry",
47
+ "addressLocality": "schema:addressLocality",
48
+ "addressRegion": "schema:addressRegion",
49
+ "comment": "rdfs:comment",
50
+ "created": {
51
+ "@id": "dc:created",
52
+ "@type": "xsd:dateTime"
53
+ },
54
+ "creator": {
55
+ "@id": "dc:creator",
56
+ "@type": "@id"
57
+ },
58
+ "description": "schema:description",
59
+ "email": "schema:email",
60
+ "familyName": "schema:familyName",
61
+ "givenName": "schema:givenName",
62
+ "image": {
63
+ "@id": "schema:image",
64
+ "@type": "@id"
65
+ },
66
+ "label": "rdfs:label",
67
+ "name": "schema:name",
68
+ "postalCode": "schema:postalCode",
69
+ "streetAddress": "schema:streetAddress",
70
+ "title": "dc:title",
71
+ "url": {
72
+ "@id": "schema:url",
73
+ "@type": "@id"
74
+ },
75
+ "Person": "schema:Person",
76
+ "PostalAddress": "schema:PostalAddress",
77
+ "Organization": "schema:Organization",
78
+ "identityService": {
79
+ "@id": "identity:identityService",
80
+ "@type": "@id"
81
+ },
82
+ "idp": {
83
+ "@id": "identity:idp",
84
+ "@type": "@id"
85
+ },
86
+ "Identity": "identity:Identity",
87
+ "paymentProcessor": "ps:processor",
88
+ "preferences": {
89
+ "@id": "ps:preferences",
90
+ "@type": "@vocab"
91
+ },
92
+ "cipherAlgorithm": "sec:cipherAlgorithm",
93
+ "cipherData": "sec:cipherData",
94
+ "cipherKey": "sec:cipherKey",
95
+ "digestAlgorithm": "sec:digestAlgorithm",
96
+ "digestValue": "sec:digestValue",
97
+ "domain": "sec:domain",
98
+ "expires": {
99
+ "@id": "sec:expiration",
100
+ "@type": "xsd:dateTime"
101
+ },
102
+ "initializationVector": "sec:initializationVector",
103
+ "member": {
104
+ "@id": "schema:member",
105
+ "@type": "@id"
106
+ },
107
+ "memberOf": {
108
+ "@id": "schema:memberOf",
109
+ "@type": "@id"
110
+ },
111
+ "nonce": "sec:nonce",
112
+ "normalizationAlgorithm": "sec:normalizationAlgorithm",
113
+ "owner": {
114
+ "@id": "sec:owner",
115
+ "@type": "@id"
116
+ },
117
+ "password": "sec:password",
118
+ "privateKey": {
119
+ "@id": "sec:privateKey",
120
+ "@type": "@id"
121
+ },
122
+ "privateKeyPem": "sec:privateKeyPem",
123
+ "publicKey": {
124
+ "@id": "sec:publicKey",
125
+ "@type": "@id"
126
+ },
127
+ "publicKeyPem": "sec:publicKeyPem",
128
+ "publicKeyService": {
129
+ "@id": "sec:publicKeyService",
130
+ "@type": "@id"
131
+ },
132
+ "revoked": {
133
+ "@id": "sec:revoked",
134
+ "@type": "xsd:dateTime"
135
+ },
136
+ "signature": "sec:signature",
137
+ "signatureAlgorithm": "sec:signatureAlgorithm",
138
+ "signatureValue": "sec:signatureValue",
139
+ "CryptographicKey": "sec:Key",
140
+ "EncryptedMessage": "sec:EncryptedMessage",
141
+ "GraphSignature2012": "sec:GraphSignature2012",
142
+ "LinkedDataSignature2015": "sec:LinkedDataSignature2015",
143
+ "accessControl": {
144
+ "@id": "perm:accessControl",
145
+ "@type": "@id"
146
+ },
147
+ "writePermission": {
148
+ "@id": "perm:writePermission",
149
+ "@type": "@id"
150
+ }
151
+ }
152
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "@context": {
3
+ "toot": "http://joinmastodon.org/ns#",
4
+ "Emoji": "toot:Emoji",
5
+ "featured": {
6
+ "@id": "toot:featured",
7
+ "@type": "@id"
8
+ },
9
+ "featuredTags": {
10
+ "@id": "toot:featuredTags",
11
+ "@type": "@id"
12
+ },
13
+ "focalPoint": {
14
+ "@container": "@list",
15
+ "@id": "toot:focalPoint"
16
+ },
17
+ "blurhash": "toot:blurhash",
18
+ "discoverable": "toot:discoverable",
19
+ "indexable": "toot:indexable",
20
+ "memorial": "toot:memorial",
21
+ "votersCount": "toot:votersCount",
22
+ "suspended": "toot:suspended",
23
+ "attributionDomains": {
24
+ "@id": "toot:attributionDomains",
25
+ "@type": "@id"
26
+ }
27
+ }
28
+ }