@fedify/vocab-runtime 2.1.0-dev.592 → 2.1.0-dev.600
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.
- package/deno.json +1 -1
- package/dist/mod.cjs +4428 -4289
- package/dist/mod.d.cts +95 -4
- package/dist/mod.d.ts +95 -4
- package/dist/mod.js +4426 -4290
- package/dist/tests/decimal.test.cjs +154 -0
- package/dist/tests/decimal.test.d.cts +1 -0
- package/dist/tests/decimal.test.d.ts +1 -0
- package/dist/tests/decimal.test.js +153 -0
- package/dist/tests/docloader-jdqVG3g0.js +4550 -0
- package/dist/tests/docloader-nnrZVFak.cjs +4562 -0
- package/dist/tests/docloader.test.cjs +7 -4491
- package/dist/tests/docloader.test.js +4 -4488
- package/dist/tests/internal/multicodec.test.cjs +1 -1
- package/dist/tests/internal/multicodec.test.js +1 -1
- package/dist/tests/key-ByCmSI2y.js +183 -0
- package/dist/tests/key-CCPn6TEY.cjs +231 -0
- package/dist/tests/key.test.cjs +33 -211
- package/dist/tests/key.test.js +3 -181
- package/dist/tests/langstr-BsVE3s9u.js +30 -0
- package/dist/tests/langstr-EPh86hXK.cjs +36 -0
- package/dist/tests/langstr.test.cjs +5 -33
- package/dist/tests/langstr.test.js +1 -29
- package/dist/tests/link.test.cjs +1 -1
- package/dist/tests/link.test.js +1 -1
- package/dist/tests/multibase/multibase.test.cjs +1 -1
- package/dist/tests/multibase/multibase.test.js +1 -1
- package/dist/tests/{request-DKDE-Rcx.js → request-BmHXdzZg.js} +1 -1
- package/dist/tests/{request-CK7hgRUX.cjs → request-_M2j5bTc.cjs} +1 -1
- package/dist/tests/request.test.cjs +1 -1
- package/dist/tests/request.test.js +1 -1
- package/dist/tests/url.test.cjs +1 -1
- package/dist/tests/url.test.js +1 -1
- package/package.json +2 -2
- package/src/contexts/activitystreams.json +379 -0
- package/src/contexts/did-v1.json +57 -0
- package/src/contexts/fep-5711.json +36 -0
- package/src/contexts/gotosocial.json +86 -0
- package/src/contexts/identity-v1.json +152 -0
- package/src/contexts/joinmastodon.json +28 -0
- package/src/contexts/schemaorg.json +8845 -0
- package/src/contexts/security-data-integrity-v1.json +78 -0
- package/src/contexts/security-data-integrity-v2.json +81 -0
- package/src/contexts/security-multikey-v1.json +35 -0
- package/src/contexts/security-v1.json +74 -0
- package/src/contexts/webfinger.json +10 -0
- package/src/contexts.ts +33 -4392
- package/src/decimal.test.ts +90 -0
- package/src/decimal.ts +112 -0
- package/src/mod.ts +6 -0
- /package/dist/tests/{link-Ck2yj4dH.js → link-C3q2TC2G.js} +0 -0
- /package/dist/tests/{link-CdFPEo9O.cjs → link-DYNFAdNu.cjs} +0 -0
- /package/dist/tests/{multibase-BdHCGO4H.js → multibase-B4g8pz6F.js} +0 -0
- /package/dist/tests/{multibase-B2D6B0V4.cjs → multibase-o_ovPHYJ.cjs} +0 -0
- /package/dist/tests/{multicodec-mHcRzSGY.cjs → multicodec--6hQ74zI.cjs} +0 -0
- /package/dist/tests/{multicodec-DvC5xnX2.js → multicodec-Dq3IiOV4.js} +0 -0
- /package/dist/tests/{url-fW_DHbih.js → url-CWEP9Zs9.js} +0 -0
- /package/dist/tests/{url-C5Vs9nYh.cjs → url-DIjOdK8Q.cjs} +0 -0
|
@@ -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
|
+
}
|