@fedify/vocab-runtime 2.1.0-dev.536 → 2.1.0-dev.565
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 +80 -1
- package/dist/mod.js +80 -1
- package/dist/tests/docloader.test.cjs +80 -1
- package/dist/tests/docloader.test.js +80 -1
- package/dist/tests/{request-CffdtAsa.js → request-3ywvRFy1.js} +1 -1
- package/dist/tests/{request-CAP4IaaZ.cjs → request-Dhnqve0g.cjs} +1 -1
- package/dist/tests/request.test.cjs +1 -1
- package/dist/tests/request.test.js +1 -1
- package/package.json +1 -1
- package/src/contexts.ts +91 -0
- package/tsdown.config.ts +1 -1
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -4191,7 +4191,40 @@ const preloadedContexts = {
|
|
|
4191
4191
|
"yield": { "@id": "schema:yield" }
|
|
4192
4192
|
} },
|
|
4193
4193
|
"https://gotosocial.org/ns": { "@context": {
|
|
4194
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
4194
4195
|
"gts": "https://gotosocial.org/ns#",
|
|
4196
|
+
"LikeRequest": "gts:LikeRequest",
|
|
4197
|
+
"ReplyRequest": "gts:ReplyRequest",
|
|
4198
|
+
"AnnounceRequest": "gts:AnnounceRequest",
|
|
4199
|
+
"QuoteRequest": "gts:QuoteRequest",
|
|
4200
|
+
"LikeAuthorization": "gts:LikeApproval",
|
|
4201
|
+
"ReplyAuthorization": "gts:ReplyAuthorization",
|
|
4202
|
+
"AnnounceAuthorization": "gts:AnnounceAuthorization",
|
|
4203
|
+
"QuoteAuthorization": "gts:QuoteAuthorization",
|
|
4204
|
+
"likeAuthorization": {
|
|
4205
|
+
"@id": "gts:likeAuthorization",
|
|
4206
|
+
"@type": "@id"
|
|
4207
|
+
},
|
|
4208
|
+
"replyAuthorization": {
|
|
4209
|
+
"@id": "gts:replyAuthorization",
|
|
4210
|
+
"@type": "@id"
|
|
4211
|
+
},
|
|
4212
|
+
"announceAuthorization": {
|
|
4213
|
+
"@id": "gts:announceAuthorization",
|
|
4214
|
+
"@type": "@id"
|
|
4215
|
+
},
|
|
4216
|
+
"quoteAuthorization": {
|
|
4217
|
+
"@id": "gts:quoteAuthorization",
|
|
4218
|
+
"@type": "@id"
|
|
4219
|
+
},
|
|
4220
|
+
"interactingObject": {
|
|
4221
|
+
"@id": "gts:interactingObject",
|
|
4222
|
+
"@type": "@id"
|
|
4223
|
+
},
|
|
4224
|
+
"interactionTarget": {
|
|
4225
|
+
"@id": "gts:interactionTarget",
|
|
4226
|
+
"@type": "@id"
|
|
4227
|
+
},
|
|
4195
4228
|
"interactionPolicy": {
|
|
4196
4229
|
"@id": "gts:interactionPolicy",
|
|
4197
4230
|
"@type": "@id"
|
|
@@ -4208,6 +4241,26 @@ const preloadedContexts = {
|
|
|
4208
4241
|
"@id": "gts:canAnnounce",
|
|
4209
4242
|
"@type": "@id"
|
|
4210
4243
|
},
|
|
4244
|
+
"canQuote": {
|
|
4245
|
+
"@id": "gts:canQuote",
|
|
4246
|
+
"@type": "@id"
|
|
4247
|
+
},
|
|
4248
|
+
"automaticApproval": {
|
|
4249
|
+
"@id": "gts:automaticApproval",
|
|
4250
|
+
"@type": "@id"
|
|
4251
|
+
},
|
|
4252
|
+
"manualApproval": {
|
|
4253
|
+
"@id": "gts:manualApproval",
|
|
4254
|
+
"@type": "@id"
|
|
4255
|
+
},
|
|
4256
|
+
"hidesToPublicFromUnauthedWeb": {
|
|
4257
|
+
"@id": "gts:hidesToPublicFromUnauthedWeb",
|
|
4258
|
+
"@type": "xsd:boolean"
|
|
4259
|
+
},
|
|
4260
|
+
"hidesCcPublicFromUnauthedWeb": {
|
|
4261
|
+
"@id": "gts:hidesCcPublicFromUnauthedWeb",
|
|
4262
|
+
"@type": "xsd:boolean"
|
|
4263
|
+
},
|
|
4211
4264
|
"always": {
|
|
4212
4265
|
"@id": "gts:always",
|
|
4213
4266
|
"@type": "@id"
|
|
@@ -4254,6 +4307,32 @@ const preloadedContexts = {
|
|
|
4254
4307
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
4255
4308
|
"@type": "@id"
|
|
4256
4309
|
}
|
|
4310
|
+
} },
|
|
4311
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
4312
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4313
|
+
"Emoji": "toot:Emoji",
|
|
4314
|
+
"featured": {
|
|
4315
|
+
"@id": "toot:featured",
|
|
4316
|
+
"@type": "@id"
|
|
4317
|
+
},
|
|
4318
|
+
"featuredTags": {
|
|
4319
|
+
"@id": "toot:featuredTags",
|
|
4320
|
+
"@type": "@id"
|
|
4321
|
+
},
|
|
4322
|
+
"focalPoint": {
|
|
4323
|
+
"@container": "@list",
|
|
4324
|
+
"@id": "toot:focalPoint"
|
|
4325
|
+
},
|
|
4326
|
+
"blurhash": "toot:blurhash",
|
|
4327
|
+
"discoverable": "toot:discoverable",
|
|
4328
|
+
"indexable": "toot:indexable",
|
|
4329
|
+
"memorial": "toot:memorial",
|
|
4330
|
+
"votersCount": "toot:votersCount",
|
|
4331
|
+
"suspended": "toot:suspended",
|
|
4332
|
+
"attributionDomains": {
|
|
4333
|
+
"@id": "toot:attributionDomains",
|
|
4334
|
+
"@type": "@id"
|
|
4335
|
+
}
|
|
4257
4336
|
} }
|
|
4258
4337
|
};
|
|
4259
4338
|
var contexts_default = preloadedContexts;
|
|
@@ -4261,7 +4340,7 @@ var contexts_default = preloadedContexts;
|
|
|
4261
4340
|
//#endregion
|
|
4262
4341
|
//#region deno.json
|
|
4263
4342
|
var name = "@fedify/vocab-runtime";
|
|
4264
|
-
var version = "2.1.0-dev.
|
|
4343
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
4265
4344
|
var license = "MIT";
|
|
4266
4345
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
4267
4346
|
var description = "Runtime library for @fedify/vocab";
|
package/dist/mod.js
CHANGED
|
@@ -4168,7 +4168,40 @@ const preloadedContexts = {
|
|
|
4168
4168
|
"yield": { "@id": "schema:yield" }
|
|
4169
4169
|
} },
|
|
4170
4170
|
"https://gotosocial.org/ns": { "@context": {
|
|
4171
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
4171
4172
|
"gts": "https://gotosocial.org/ns#",
|
|
4173
|
+
"LikeRequest": "gts:LikeRequest",
|
|
4174
|
+
"ReplyRequest": "gts:ReplyRequest",
|
|
4175
|
+
"AnnounceRequest": "gts:AnnounceRequest",
|
|
4176
|
+
"QuoteRequest": "gts:QuoteRequest",
|
|
4177
|
+
"LikeAuthorization": "gts:LikeApproval",
|
|
4178
|
+
"ReplyAuthorization": "gts:ReplyAuthorization",
|
|
4179
|
+
"AnnounceAuthorization": "gts:AnnounceAuthorization",
|
|
4180
|
+
"QuoteAuthorization": "gts:QuoteAuthorization",
|
|
4181
|
+
"likeAuthorization": {
|
|
4182
|
+
"@id": "gts:likeAuthorization",
|
|
4183
|
+
"@type": "@id"
|
|
4184
|
+
},
|
|
4185
|
+
"replyAuthorization": {
|
|
4186
|
+
"@id": "gts:replyAuthorization",
|
|
4187
|
+
"@type": "@id"
|
|
4188
|
+
},
|
|
4189
|
+
"announceAuthorization": {
|
|
4190
|
+
"@id": "gts:announceAuthorization",
|
|
4191
|
+
"@type": "@id"
|
|
4192
|
+
},
|
|
4193
|
+
"quoteAuthorization": {
|
|
4194
|
+
"@id": "gts:quoteAuthorization",
|
|
4195
|
+
"@type": "@id"
|
|
4196
|
+
},
|
|
4197
|
+
"interactingObject": {
|
|
4198
|
+
"@id": "gts:interactingObject",
|
|
4199
|
+
"@type": "@id"
|
|
4200
|
+
},
|
|
4201
|
+
"interactionTarget": {
|
|
4202
|
+
"@id": "gts:interactionTarget",
|
|
4203
|
+
"@type": "@id"
|
|
4204
|
+
},
|
|
4172
4205
|
"interactionPolicy": {
|
|
4173
4206
|
"@id": "gts:interactionPolicy",
|
|
4174
4207
|
"@type": "@id"
|
|
@@ -4185,6 +4218,26 @@ const preloadedContexts = {
|
|
|
4185
4218
|
"@id": "gts:canAnnounce",
|
|
4186
4219
|
"@type": "@id"
|
|
4187
4220
|
},
|
|
4221
|
+
"canQuote": {
|
|
4222
|
+
"@id": "gts:canQuote",
|
|
4223
|
+
"@type": "@id"
|
|
4224
|
+
},
|
|
4225
|
+
"automaticApproval": {
|
|
4226
|
+
"@id": "gts:automaticApproval",
|
|
4227
|
+
"@type": "@id"
|
|
4228
|
+
},
|
|
4229
|
+
"manualApproval": {
|
|
4230
|
+
"@id": "gts:manualApproval",
|
|
4231
|
+
"@type": "@id"
|
|
4232
|
+
},
|
|
4233
|
+
"hidesToPublicFromUnauthedWeb": {
|
|
4234
|
+
"@id": "gts:hidesToPublicFromUnauthedWeb",
|
|
4235
|
+
"@type": "xsd:boolean"
|
|
4236
|
+
},
|
|
4237
|
+
"hidesCcPublicFromUnauthedWeb": {
|
|
4238
|
+
"@id": "gts:hidesCcPublicFromUnauthedWeb",
|
|
4239
|
+
"@type": "xsd:boolean"
|
|
4240
|
+
},
|
|
4188
4241
|
"always": {
|
|
4189
4242
|
"@id": "gts:always",
|
|
4190
4243
|
"@type": "@id"
|
|
@@ -4231,6 +4284,32 @@ const preloadedContexts = {
|
|
|
4231
4284
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
4232
4285
|
"@type": "@id"
|
|
4233
4286
|
}
|
|
4287
|
+
} },
|
|
4288
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
4289
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4290
|
+
"Emoji": "toot:Emoji",
|
|
4291
|
+
"featured": {
|
|
4292
|
+
"@id": "toot:featured",
|
|
4293
|
+
"@type": "@id"
|
|
4294
|
+
},
|
|
4295
|
+
"featuredTags": {
|
|
4296
|
+
"@id": "toot:featuredTags",
|
|
4297
|
+
"@type": "@id"
|
|
4298
|
+
},
|
|
4299
|
+
"focalPoint": {
|
|
4300
|
+
"@container": "@list",
|
|
4301
|
+
"@id": "toot:focalPoint"
|
|
4302
|
+
},
|
|
4303
|
+
"blurhash": "toot:blurhash",
|
|
4304
|
+
"discoverable": "toot:discoverable",
|
|
4305
|
+
"indexable": "toot:indexable",
|
|
4306
|
+
"memorial": "toot:memorial",
|
|
4307
|
+
"votersCount": "toot:votersCount",
|
|
4308
|
+
"suspended": "toot:suspended",
|
|
4309
|
+
"attributionDomains": {
|
|
4310
|
+
"@id": "toot:attributionDomains",
|
|
4311
|
+
"@type": "@id"
|
|
4312
|
+
}
|
|
4234
4313
|
} }
|
|
4235
4314
|
};
|
|
4236
4315
|
var contexts_default = preloadedContexts;
|
|
@@ -4238,7 +4317,7 @@ var contexts_default = preloadedContexts;
|
|
|
4238
4317
|
//#endregion
|
|
4239
4318
|
//#region deno.json
|
|
4240
4319
|
var name = "@fedify/vocab-runtime";
|
|
4241
|
-
var version = "2.1.0-dev.
|
|
4320
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
4242
4321
|
var license = "MIT";
|
|
4243
4322
|
var exports = { ".": "./src/mod.ts" };
|
|
4244
4323
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
|
-
const require_request = require('./request-
|
|
2
|
+
const require_request = require('./request-Dhnqve0g.cjs');
|
|
3
3
|
const require_link = require('./link-CdFPEo9O.cjs');
|
|
4
4
|
const require_url = require('./url-C5Vs9nYh.cjs');
|
|
5
5
|
const node_assert = require_chunk.__toESM(require("node:assert"));
|
|
@@ -5397,7 +5397,40 @@ const preloadedContexts = {
|
|
|
5397
5397
|
"yield": { "@id": "schema:yield" }
|
|
5398
5398
|
} },
|
|
5399
5399
|
"https://gotosocial.org/ns": { "@context": {
|
|
5400
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
5400
5401
|
"gts": "https://gotosocial.org/ns#",
|
|
5402
|
+
"LikeRequest": "gts:LikeRequest",
|
|
5403
|
+
"ReplyRequest": "gts:ReplyRequest",
|
|
5404
|
+
"AnnounceRequest": "gts:AnnounceRequest",
|
|
5405
|
+
"QuoteRequest": "gts:QuoteRequest",
|
|
5406
|
+
"LikeAuthorization": "gts:LikeApproval",
|
|
5407
|
+
"ReplyAuthorization": "gts:ReplyAuthorization",
|
|
5408
|
+
"AnnounceAuthorization": "gts:AnnounceAuthorization",
|
|
5409
|
+
"QuoteAuthorization": "gts:QuoteAuthorization",
|
|
5410
|
+
"likeAuthorization": {
|
|
5411
|
+
"@id": "gts:likeAuthorization",
|
|
5412
|
+
"@type": "@id"
|
|
5413
|
+
},
|
|
5414
|
+
"replyAuthorization": {
|
|
5415
|
+
"@id": "gts:replyAuthorization",
|
|
5416
|
+
"@type": "@id"
|
|
5417
|
+
},
|
|
5418
|
+
"announceAuthorization": {
|
|
5419
|
+
"@id": "gts:announceAuthorization",
|
|
5420
|
+
"@type": "@id"
|
|
5421
|
+
},
|
|
5422
|
+
"quoteAuthorization": {
|
|
5423
|
+
"@id": "gts:quoteAuthorization",
|
|
5424
|
+
"@type": "@id"
|
|
5425
|
+
},
|
|
5426
|
+
"interactingObject": {
|
|
5427
|
+
"@id": "gts:interactingObject",
|
|
5428
|
+
"@type": "@id"
|
|
5429
|
+
},
|
|
5430
|
+
"interactionTarget": {
|
|
5431
|
+
"@id": "gts:interactionTarget",
|
|
5432
|
+
"@type": "@id"
|
|
5433
|
+
},
|
|
5401
5434
|
"interactionPolicy": {
|
|
5402
5435
|
"@id": "gts:interactionPolicy",
|
|
5403
5436
|
"@type": "@id"
|
|
@@ -5414,6 +5447,26 @@ const preloadedContexts = {
|
|
|
5414
5447
|
"@id": "gts:canAnnounce",
|
|
5415
5448
|
"@type": "@id"
|
|
5416
5449
|
},
|
|
5450
|
+
"canQuote": {
|
|
5451
|
+
"@id": "gts:canQuote",
|
|
5452
|
+
"@type": "@id"
|
|
5453
|
+
},
|
|
5454
|
+
"automaticApproval": {
|
|
5455
|
+
"@id": "gts:automaticApproval",
|
|
5456
|
+
"@type": "@id"
|
|
5457
|
+
},
|
|
5458
|
+
"manualApproval": {
|
|
5459
|
+
"@id": "gts:manualApproval",
|
|
5460
|
+
"@type": "@id"
|
|
5461
|
+
},
|
|
5462
|
+
"hidesToPublicFromUnauthedWeb": {
|
|
5463
|
+
"@id": "gts:hidesToPublicFromUnauthedWeb",
|
|
5464
|
+
"@type": "xsd:boolean"
|
|
5465
|
+
},
|
|
5466
|
+
"hidesCcPublicFromUnauthedWeb": {
|
|
5467
|
+
"@id": "gts:hidesCcPublicFromUnauthedWeb",
|
|
5468
|
+
"@type": "xsd:boolean"
|
|
5469
|
+
},
|
|
5417
5470
|
"always": {
|
|
5418
5471
|
"@id": "gts:always",
|
|
5419
5472
|
"@type": "@id"
|
|
@@ -5460,6 +5513,32 @@ const preloadedContexts = {
|
|
|
5460
5513
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
5461
5514
|
"@type": "@id"
|
|
5462
5515
|
}
|
|
5516
|
+
} },
|
|
5517
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
5518
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
5519
|
+
"Emoji": "toot:Emoji",
|
|
5520
|
+
"featured": {
|
|
5521
|
+
"@id": "toot:featured",
|
|
5522
|
+
"@type": "@id"
|
|
5523
|
+
},
|
|
5524
|
+
"featuredTags": {
|
|
5525
|
+
"@id": "toot:featuredTags",
|
|
5526
|
+
"@type": "@id"
|
|
5527
|
+
},
|
|
5528
|
+
"focalPoint": {
|
|
5529
|
+
"@container": "@list",
|
|
5530
|
+
"@id": "toot:focalPoint"
|
|
5531
|
+
},
|
|
5532
|
+
"blurhash": "toot:blurhash",
|
|
5533
|
+
"discoverable": "toot:discoverable",
|
|
5534
|
+
"indexable": "toot:indexable",
|
|
5535
|
+
"memorial": "toot:memorial",
|
|
5536
|
+
"votersCount": "toot:votersCount",
|
|
5537
|
+
"suspended": "toot:suspended",
|
|
5538
|
+
"attributionDomains": {
|
|
5539
|
+
"@id": "toot:attributionDomains",
|
|
5540
|
+
"@type": "@id"
|
|
5541
|
+
}
|
|
5463
5542
|
} }
|
|
5464
5543
|
};
|
|
5465
5544
|
var contexts_default = preloadedContexts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-
|
|
1
|
+
import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-3ywvRFy1.js";
|
|
2
2
|
import { HttpHeaderLink } from "./link-Ck2yj4dH.js";
|
|
3
3
|
import { UrlError, validatePublicUrl } from "./url-fW_DHbih.js";
|
|
4
4
|
import "node:module";
|
|
@@ -5423,7 +5423,40 @@ const preloadedContexts = {
|
|
|
5423
5423
|
"yield": { "@id": "schema:yield" }
|
|
5424
5424
|
} },
|
|
5425
5425
|
"https://gotosocial.org/ns": { "@context": {
|
|
5426
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
5426
5427
|
"gts": "https://gotosocial.org/ns#",
|
|
5428
|
+
"LikeRequest": "gts:LikeRequest",
|
|
5429
|
+
"ReplyRequest": "gts:ReplyRequest",
|
|
5430
|
+
"AnnounceRequest": "gts:AnnounceRequest",
|
|
5431
|
+
"QuoteRequest": "gts:QuoteRequest",
|
|
5432
|
+
"LikeAuthorization": "gts:LikeApproval",
|
|
5433
|
+
"ReplyAuthorization": "gts:ReplyAuthorization",
|
|
5434
|
+
"AnnounceAuthorization": "gts:AnnounceAuthorization",
|
|
5435
|
+
"QuoteAuthorization": "gts:QuoteAuthorization",
|
|
5436
|
+
"likeAuthorization": {
|
|
5437
|
+
"@id": "gts:likeAuthorization",
|
|
5438
|
+
"@type": "@id"
|
|
5439
|
+
},
|
|
5440
|
+
"replyAuthorization": {
|
|
5441
|
+
"@id": "gts:replyAuthorization",
|
|
5442
|
+
"@type": "@id"
|
|
5443
|
+
},
|
|
5444
|
+
"announceAuthorization": {
|
|
5445
|
+
"@id": "gts:announceAuthorization",
|
|
5446
|
+
"@type": "@id"
|
|
5447
|
+
},
|
|
5448
|
+
"quoteAuthorization": {
|
|
5449
|
+
"@id": "gts:quoteAuthorization",
|
|
5450
|
+
"@type": "@id"
|
|
5451
|
+
},
|
|
5452
|
+
"interactingObject": {
|
|
5453
|
+
"@id": "gts:interactingObject",
|
|
5454
|
+
"@type": "@id"
|
|
5455
|
+
},
|
|
5456
|
+
"interactionTarget": {
|
|
5457
|
+
"@id": "gts:interactionTarget",
|
|
5458
|
+
"@type": "@id"
|
|
5459
|
+
},
|
|
5427
5460
|
"interactionPolicy": {
|
|
5428
5461
|
"@id": "gts:interactionPolicy",
|
|
5429
5462
|
"@type": "@id"
|
|
@@ -5440,6 +5473,26 @@ const preloadedContexts = {
|
|
|
5440
5473
|
"@id": "gts:canAnnounce",
|
|
5441
5474
|
"@type": "@id"
|
|
5442
5475
|
},
|
|
5476
|
+
"canQuote": {
|
|
5477
|
+
"@id": "gts:canQuote",
|
|
5478
|
+
"@type": "@id"
|
|
5479
|
+
},
|
|
5480
|
+
"automaticApproval": {
|
|
5481
|
+
"@id": "gts:automaticApproval",
|
|
5482
|
+
"@type": "@id"
|
|
5483
|
+
},
|
|
5484
|
+
"manualApproval": {
|
|
5485
|
+
"@id": "gts:manualApproval",
|
|
5486
|
+
"@type": "@id"
|
|
5487
|
+
},
|
|
5488
|
+
"hidesToPublicFromUnauthedWeb": {
|
|
5489
|
+
"@id": "gts:hidesToPublicFromUnauthedWeb",
|
|
5490
|
+
"@type": "xsd:boolean"
|
|
5491
|
+
},
|
|
5492
|
+
"hidesCcPublicFromUnauthedWeb": {
|
|
5493
|
+
"@id": "gts:hidesCcPublicFromUnauthedWeb",
|
|
5494
|
+
"@type": "xsd:boolean"
|
|
5495
|
+
},
|
|
5443
5496
|
"always": {
|
|
5444
5497
|
"@id": "gts:always",
|
|
5445
5498
|
"@type": "@id"
|
|
@@ -5486,6 +5539,32 @@ const preloadedContexts = {
|
|
|
5486
5539
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
5487
5540
|
"@type": "@id"
|
|
5488
5541
|
}
|
|
5542
|
+
} },
|
|
5543
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
5544
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
5545
|
+
"Emoji": "toot:Emoji",
|
|
5546
|
+
"featured": {
|
|
5547
|
+
"@id": "toot:featured",
|
|
5548
|
+
"@type": "@id"
|
|
5549
|
+
},
|
|
5550
|
+
"featuredTags": {
|
|
5551
|
+
"@id": "toot:featuredTags",
|
|
5552
|
+
"@type": "@id"
|
|
5553
|
+
},
|
|
5554
|
+
"focalPoint": {
|
|
5555
|
+
"@container": "@list",
|
|
5556
|
+
"@id": "toot:focalPoint"
|
|
5557
|
+
},
|
|
5558
|
+
"blurhash": "toot:blurhash",
|
|
5559
|
+
"discoverable": "toot:discoverable",
|
|
5560
|
+
"indexable": "toot:indexable",
|
|
5561
|
+
"memorial": "toot:memorial",
|
|
5562
|
+
"votersCount": "toot:votersCount",
|
|
5563
|
+
"suspended": "toot:suspended",
|
|
5564
|
+
"attributionDomains": {
|
|
5565
|
+
"@id": "toot:attributionDomains",
|
|
5566
|
+
"@type": "@id"
|
|
5567
|
+
}
|
|
5489
5568
|
} }
|
|
5490
5569
|
};
|
|
5491
5570
|
var contexts_default = preloadedContexts;
|
|
@@ -2,7 +2,7 @@ import process from "node:process";
|
|
|
2
2
|
|
|
3
3
|
//#region deno.json
|
|
4
4
|
var name = "@fedify/vocab-runtime";
|
|
5
|
-
var version = "2.1.0-dev.
|
|
5
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
6
6
|
var license = "MIT";
|
|
7
7
|
var exports = { ".": "./src/mod.ts" };
|
|
8
8
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -3,7 +3,7 @@ const node_process = require_chunk.__toESM(require("node:process"));
|
|
|
3
3
|
|
|
4
4
|
//#region deno.json
|
|
5
5
|
var name = "@fedify/vocab-runtime";
|
|
6
|
-
var version = "2.1.0-dev.
|
|
6
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
7
7
|
var license = "MIT";
|
|
8
8
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
9
9
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
|
-
const require_request = require('./request-
|
|
2
|
+
const require_request = require('./request-Dhnqve0g.cjs');
|
|
3
3
|
const node_assert = require_chunk.__toESM(require("node:assert"));
|
|
4
4
|
const node_test = require_chunk.__toESM(require("node:test"));
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
package/package.json
CHANGED
package/src/contexts.ts
CHANGED
|
@@ -4247,7 +4247,40 @@ const preloadedContexts: Record<string, unknown> = {
|
|
|
4247
4247
|
},
|
|
4248
4248
|
"https://gotosocial.org/ns": {
|
|
4249
4249
|
"@context": {
|
|
4250
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
4250
4251
|
"gts": "https://gotosocial.org/ns#",
|
|
4252
|
+
"LikeRequest": "gts:LikeRequest",
|
|
4253
|
+
"ReplyRequest": "gts:ReplyRequest",
|
|
4254
|
+
"AnnounceRequest": "gts:AnnounceRequest",
|
|
4255
|
+
"QuoteRequest": "gts:QuoteRequest",
|
|
4256
|
+
"LikeAuthorization": "gts:LikeApproval",
|
|
4257
|
+
"ReplyAuthorization": "gts:ReplyAuthorization",
|
|
4258
|
+
"AnnounceAuthorization": "gts:AnnounceAuthorization",
|
|
4259
|
+
"QuoteAuthorization": "gts:QuoteAuthorization",
|
|
4260
|
+
"likeAuthorization": {
|
|
4261
|
+
"@id": "gts:likeAuthorization",
|
|
4262
|
+
"@type": "@id",
|
|
4263
|
+
},
|
|
4264
|
+
"replyAuthorization": {
|
|
4265
|
+
"@id": "gts:replyAuthorization",
|
|
4266
|
+
"@type": "@id",
|
|
4267
|
+
},
|
|
4268
|
+
"announceAuthorization": {
|
|
4269
|
+
"@id": "gts:announceAuthorization",
|
|
4270
|
+
"@type": "@id",
|
|
4271
|
+
},
|
|
4272
|
+
"quoteAuthorization": {
|
|
4273
|
+
"@id": "gts:quoteAuthorization",
|
|
4274
|
+
"@type": "@id",
|
|
4275
|
+
},
|
|
4276
|
+
"interactingObject": {
|
|
4277
|
+
"@id": "gts:interactingObject",
|
|
4278
|
+
"@type": "@id",
|
|
4279
|
+
},
|
|
4280
|
+
"interactionTarget": {
|
|
4281
|
+
"@id": "gts:interactionTarget",
|
|
4282
|
+
"@type": "@id",
|
|
4283
|
+
},
|
|
4251
4284
|
"interactionPolicy": {
|
|
4252
4285
|
"@id": "gts:interactionPolicy",
|
|
4253
4286
|
"@type": "@id",
|
|
@@ -4264,6 +4297,26 @@ const preloadedContexts: Record<string, unknown> = {
|
|
|
4264
4297
|
"@id": "gts:canAnnounce",
|
|
4265
4298
|
"@type": "@id",
|
|
4266
4299
|
},
|
|
4300
|
+
"canQuote": {
|
|
4301
|
+
"@id": "gts:canQuote",
|
|
4302
|
+
"@type": "@id",
|
|
4303
|
+
},
|
|
4304
|
+
"automaticApproval": {
|
|
4305
|
+
"@id": "gts:automaticApproval",
|
|
4306
|
+
"@type": "@id",
|
|
4307
|
+
},
|
|
4308
|
+
"manualApproval": {
|
|
4309
|
+
"@id": "gts:manualApproval",
|
|
4310
|
+
"@type": "@id",
|
|
4311
|
+
},
|
|
4312
|
+
"hidesToPublicFromUnauthedWeb": {
|
|
4313
|
+
"@id": "gts:hidesToPublicFromUnauthedWeb",
|
|
4314
|
+
"@type": "xsd:boolean",
|
|
4315
|
+
},
|
|
4316
|
+
"hidesCcPublicFromUnauthedWeb": {
|
|
4317
|
+
"@id": "gts:hidesCcPublicFromUnauthedWeb",
|
|
4318
|
+
"@type": "xsd:boolean",
|
|
4319
|
+
},
|
|
4267
4320
|
"always": {
|
|
4268
4321
|
"@id": "gts:always",
|
|
4269
4322
|
"@type": "@id",
|
|
@@ -4314,6 +4367,44 @@ const preloadedContexts: Record<string, unknown> = {
|
|
|
4314
4367
|
},
|
|
4315
4368
|
},
|
|
4316
4369
|
},
|
|
4370
|
+
|
|
4371
|
+
// Mastodon's "toot:" namespace. The URL http://joinmastodon.org/ns has
|
|
4372
|
+
// *never* served a real JSON-LD context document—Mastodon has always inlined
|
|
4373
|
+
// these term definitions directly in every outgoing @context array. However,
|
|
4374
|
+
// some ActivityPub implementations (e.g., Bonfire) put the bare URL in their
|
|
4375
|
+
// @context, which causes JSON-LD processors to try to dereference it and fail
|
|
4376
|
+
// with a 404. We ship a built-in copy here so that Fedify can parse such
|
|
4377
|
+
// documents without a network round-trip to a URL that will never resolve.
|
|
4378
|
+
// See: https://github.com/mastodon/joinmastodon/issues/148
|
|
4379
|
+
// https://github.com/fedify-dev/fedify/issues/630
|
|
4380
|
+
"http://joinmastodon.org/ns": {
|
|
4381
|
+
"@context": {
|
|
4382
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4383
|
+
"Emoji": "toot:Emoji",
|
|
4384
|
+
"featured": {
|
|
4385
|
+
"@id": "toot:featured",
|
|
4386
|
+
"@type": "@id",
|
|
4387
|
+
},
|
|
4388
|
+
"featuredTags": {
|
|
4389
|
+
"@id": "toot:featuredTags",
|
|
4390
|
+
"@type": "@id",
|
|
4391
|
+
},
|
|
4392
|
+
"focalPoint": {
|
|
4393
|
+
"@container": "@list",
|
|
4394
|
+
"@id": "toot:focalPoint",
|
|
4395
|
+
},
|
|
4396
|
+
"blurhash": "toot:blurhash",
|
|
4397
|
+
"discoverable": "toot:discoverable",
|
|
4398
|
+
"indexable": "toot:indexable",
|
|
4399
|
+
"memorial": "toot:memorial",
|
|
4400
|
+
"votersCount": "toot:votersCount",
|
|
4401
|
+
"suspended": "toot:suspended",
|
|
4402
|
+
"attributionDomains": {
|
|
4403
|
+
"@id": "toot:attributionDomains",
|
|
4404
|
+
"@type": "@id",
|
|
4405
|
+
},
|
|
4406
|
+
},
|
|
4407
|
+
},
|
|
4317
4408
|
};
|
|
4318
4409
|
|
|
4319
4410
|
export default preloadedContexts;
|