@fedify/vocab-tools 2.0.29-dev.2121 → 2.0.29-dev.2143
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 +21 -3
- package/dist/mod.js +21 -3
- package/package.json +1 -1
- package/src/__snapshots__/class.test.ts.deno.snap +1570 -157
- package/src/__snapshots__/class.test.ts.node.snap +1570 -157
- package/src/__snapshots__/class.test.ts.snap +1570 -157
- package/src/property.ts +22 -2
|
@@ -2222,7 +2222,16 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
2222
2222
|
\\"attachment\\"];
|
|
2223
2223
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
2224
2224
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
2225
|
-
|
|
2225
|
+
try {
|
|
2226
|
+
v = await this.#attachment_fromJsonLd(obj, options);
|
|
2227
|
+
} catch (error) {
|
|
2228
|
+
if (!options.suppressError) throw error;
|
|
2229
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
2230
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
2231
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#attachment\\", index: i, error },
|
|
2232
|
+
);
|
|
2233
|
+
continue;
|
|
2234
|
+
}
|
|
2226
2235
|
}
|
|
2227
2236
|
}
|
|
2228
2237
|
|
|
@@ -2476,7 +2485,16 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
2476
2485
|
\\"attributedTo\\"];
|
|
2477
2486
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
2478
2487
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
2479
|
-
|
|
2488
|
+
try {
|
|
2489
|
+
v = await this.#attribution_fromJsonLd(doc, options);
|
|
2490
|
+
} catch (error) {
|
|
2491
|
+
if (!options.suppressError) throw error;
|
|
2492
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
2493
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
2494
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#attributedTo\\", error },
|
|
2495
|
+
);
|
|
2496
|
+
return null;
|
|
2497
|
+
}
|
|
2480
2498
|
}
|
|
2481
2499
|
}
|
|
2482
2500
|
|
|
@@ -2572,7 +2590,16 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
2572
2590
|
\\"attributedTo\\"];
|
|
2573
2591
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
2574
2592
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
2575
|
-
|
|
2593
|
+
try {
|
|
2594
|
+
v = await this.#attribution_fromJsonLd(obj, options);
|
|
2595
|
+
} catch (error) {
|
|
2596
|
+
if (!options.suppressError) throw error;
|
|
2597
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
2598
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
2599
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#attributedTo\\", index: i, error },
|
|
2600
|
+
);
|
|
2601
|
+
continue;
|
|
2602
|
+
}
|
|
2576
2603
|
}
|
|
2577
2604
|
}
|
|
2578
2605
|
|
|
@@ -2789,7 +2816,16 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
2789
2816
|
\\"audience\\"];
|
|
2790
2817
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
2791
2818
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
2792
|
-
|
|
2819
|
+
try {
|
|
2820
|
+
v = await this.#audience_fromJsonLd(doc, options);
|
|
2821
|
+
} catch (error) {
|
|
2822
|
+
if (!options.suppressError) throw error;
|
|
2823
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
2824
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
2825
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#audience\\", error },
|
|
2826
|
+
);
|
|
2827
|
+
return null;
|
|
2828
|
+
}
|
|
2793
2829
|
}
|
|
2794
2830
|
}
|
|
2795
2831
|
|
|
@@ -2884,7 +2920,16 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
2884
2920
|
\\"audience\\"];
|
|
2885
2921
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
2886
2922
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
2887
|
-
|
|
2923
|
+
try {
|
|
2924
|
+
v = await this.#audience_fromJsonLd(obj, options);
|
|
2925
|
+
} catch (error) {
|
|
2926
|
+
if (!options.suppressError) throw error;
|
|
2927
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
2928
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
2929
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#audience\\", index: i, error },
|
|
2930
|
+
);
|
|
2931
|
+
continue;
|
|
2932
|
+
}
|
|
2888
2933
|
}
|
|
2889
2934
|
}
|
|
2890
2935
|
|
|
@@ -3145,7 +3190,16 @@ get contents(): ((string | LanguageString))[] {
|
|
|
3145
3190
|
\\"context\\"];
|
|
3146
3191
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
3147
3192
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
3148
|
-
|
|
3193
|
+
try {
|
|
3194
|
+
v = await this.#context_fromJsonLd(obj, options);
|
|
3195
|
+
} catch (error) {
|
|
3196
|
+
if (!options.suppressError) throw error;
|
|
3197
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
3198
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
3199
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#context\\", index: i, error },
|
|
3200
|
+
);
|
|
3201
|
+
continue;
|
|
3202
|
+
}
|
|
3149
3203
|
}
|
|
3150
3204
|
}
|
|
3151
3205
|
|
|
@@ -3413,7 +3467,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
3413
3467
|
\\"generator\\"];
|
|
3414
3468
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
3415
3469
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
3416
|
-
|
|
3470
|
+
try {
|
|
3471
|
+
v = await this.#generator_fromJsonLd(obj, options);
|
|
3472
|
+
} catch (error) {
|
|
3473
|
+
if (!options.suppressError) throw error;
|
|
3474
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
3475
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
3476
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#generator\\", index: i, error },
|
|
3477
|
+
);
|
|
3478
|
+
continue;
|
|
3479
|
+
}
|
|
3417
3480
|
}
|
|
3418
3481
|
}
|
|
3419
3482
|
|
|
@@ -3631,7 +3694,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
3631
3694
|
\\"icon\\"];
|
|
3632
3695
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
3633
3696
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
3634
|
-
|
|
3697
|
+
try {
|
|
3698
|
+
v = await this.#icon_fromJsonLd(doc, options);
|
|
3699
|
+
} catch (error) {
|
|
3700
|
+
if (!options.suppressError) throw error;
|
|
3701
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
3702
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
3703
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#icon\\", error },
|
|
3704
|
+
);
|
|
3705
|
+
return null;
|
|
3706
|
+
}
|
|
3635
3707
|
}
|
|
3636
3708
|
}
|
|
3637
3709
|
|
|
@@ -3727,7 +3799,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
3727
3799
|
\\"icon\\"];
|
|
3728
3800
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
3729
3801
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
3730
|
-
|
|
3802
|
+
try {
|
|
3803
|
+
v = await this.#icon_fromJsonLd(obj, options);
|
|
3804
|
+
} catch (error) {
|
|
3805
|
+
if (!options.suppressError) throw error;
|
|
3806
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
3807
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
3808
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#icon\\", index: i, error },
|
|
3809
|
+
);
|
|
3810
|
+
continue;
|
|
3811
|
+
}
|
|
3731
3812
|
}
|
|
3732
3813
|
}
|
|
3733
3814
|
|
|
@@ -3945,7 +4026,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
3945
4026
|
\\"image\\"];
|
|
3946
4027
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
3947
4028
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
3948
|
-
|
|
4029
|
+
try {
|
|
4030
|
+
v = await this.#image_fromJsonLd(doc, options);
|
|
4031
|
+
} catch (error) {
|
|
4032
|
+
if (!options.suppressError) throw error;
|
|
4033
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4034
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
4035
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#image\\", error },
|
|
4036
|
+
);
|
|
4037
|
+
return null;
|
|
4038
|
+
}
|
|
3949
4039
|
}
|
|
3950
4040
|
}
|
|
3951
4041
|
|
|
@@ -4041,7 +4131,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4041
4131
|
\\"image\\"];
|
|
4042
4132
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
4043
4133
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
4044
|
-
|
|
4134
|
+
try {
|
|
4135
|
+
v = await this.#image_fromJsonLd(obj, options);
|
|
4136
|
+
} catch (error) {
|
|
4137
|
+
if (!options.suppressError) throw error;
|
|
4138
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4139
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
4140
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#image\\", index: i, error },
|
|
4141
|
+
);
|
|
4142
|
+
continue;
|
|
4143
|
+
}
|
|
4045
4144
|
}
|
|
4046
4145
|
}
|
|
4047
4146
|
|
|
@@ -4267,7 +4366,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4267
4366
|
\\"inReplyTo\\"];
|
|
4268
4367
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
4269
4368
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
4270
|
-
|
|
4369
|
+
try {
|
|
4370
|
+
v = await this.#replyTarget_fromJsonLd(doc, options);
|
|
4371
|
+
} catch (error) {
|
|
4372
|
+
if (!options.suppressError) throw error;
|
|
4373
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4374
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
4375
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#inReplyTo\\", error },
|
|
4376
|
+
);
|
|
4377
|
+
return null;
|
|
4378
|
+
}
|
|
4271
4379
|
}
|
|
4272
4380
|
}
|
|
4273
4381
|
|
|
@@ -4362,7 +4470,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4362
4470
|
\\"inReplyTo\\"];
|
|
4363
4471
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
4364
4472
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
4365
|
-
|
|
4473
|
+
try {
|
|
4474
|
+
v = await this.#replyTarget_fromJsonLd(obj, options);
|
|
4475
|
+
} catch (error) {
|
|
4476
|
+
if (!options.suppressError) throw error;
|
|
4477
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4478
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
4479
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#inReplyTo\\", index: i, error },
|
|
4480
|
+
);
|
|
4481
|
+
continue;
|
|
4482
|
+
}
|
|
4366
4483
|
}
|
|
4367
4484
|
}
|
|
4368
4485
|
|
|
@@ -4588,7 +4705,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4588
4705
|
\\"location\\"];
|
|
4589
4706
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
4590
4707
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
4591
|
-
|
|
4708
|
+
try {
|
|
4709
|
+
v = await this.#location_fromJsonLd(doc, options);
|
|
4710
|
+
} catch (error) {
|
|
4711
|
+
if (!options.suppressError) throw error;
|
|
4712
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4713
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
4714
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#location\\", error },
|
|
4715
|
+
);
|
|
4716
|
+
return null;
|
|
4717
|
+
}
|
|
4592
4718
|
}
|
|
4593
4719
|
}
|
|
4594
4720
|
|
|
@@ -4683,7 +4809,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4683
4809
|
\\"location\\"];
|
|
4684
4810
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
4685
4811
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
4686
|
-
|
|
4812
|
+
try {
|
|
4813
|
+
v = await this.#location_fromJsonLd(obj, options);
|
|
4814
|
+
} catch (error) {
|
|
4815
|
+
if (!options.suppressError) throw error;
|
|
4816
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
4817
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
4818
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#location\\", index: i, error },
|
|
4819
|
+
);
|
|
4820
|
+
continue;
|
|
4821
|
+
}
|
|
4687
4822
|
}
|
|
4688
4823
|
}
|
|
4689
4824
|
|
|
@@ -4908,7 +5043,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
4908
5043
|
\\"preview\\"];
|
|
4909
5044
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
4910
5045
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
4911
|
-
|
|
5046
|
+
try {
|
|
5047
|
+
v = await this.#preview_fromJsonLd(doc, options);
|
|
5048
|
+
} catch (error) {
|
|
5049
|
+
if (!options.suppressError) throw error;
|
|
5050
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
5051
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
5052
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#preview\\", error },
|
|
5053
|
+
);
|
|
5054
|
+
return null;
|
|
5055
|
+
}
|
|
4912
5056
|
}
|
|
4913
5057
|
}
|
|
4914
5058
|
|
|
@@ -5002,7 +5146,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
5002
5146
|
\\"preview\\"];
|
|
5003
5147
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
5004
5148
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
5005
|
-
|
|
5149
|
+
try {
|
|
5150
|
+
v = await this.#preview_fromJsonLd(obj, options);
|
|
5151
|
+
} catch (error) {
|
|
5152
|
+
if (!options.suppressError) throw error;
|
|
5153
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
5154
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
5155
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#preview\\", index: i, error },
|
|
5156
|
+
);
|
|
5157
|
+
continue;
|
|
5158
|
+
}
|
|
5006
5159
|
}
|
|
5007
5160
|
}
|
|
5008
5161
|
|
|
@@ -5232,7 +5385,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
5232
5385
|
\\"replies\\"];
|
|
5233
5386
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
5234
5387
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
5235
|
-
|
|
5388
|
+
try {
|
|
5389
|
+
v = await this.#replies_fromJsonLd(doc, options);
|
|
5390
|
+
} catch (error) {
|
|
5391
|
+
if (!options.suppressError) throw error;
|
|
5392
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
5393
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
5394
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#replies\\", error },
|
|
5395
|
+
);
|
|
5396
|
+
return null;
|
|
5397
|
+
}
|
|
5236
5398
|
}
|
|
5237
5399
|
}
|
|
5238
5400
|
|
|
@@ -5454,7 +5616,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
5454
5616
|
\\"shares\\"];
|
|
5455
5617
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
5456
5618
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
5457
|
-
|
|
5619
|
+
try {
|
|
5620
|
+
v = await this.#shares_fromJsonLd(doc, options);
|
|
5621
|
+
} catch (error) {
|
|
5622
|
+
if (!options.suppressError) throw error;
|
|
5623
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
5624
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
5625
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#shares\\", error },
|
|
5626
|
+
);
|
|
5627
|
+
return null;
|
|
5628
|
+
}
|
|
5458
5629
|
}
|
|
5459
5630
|
}
|
|
5460
5631
|
|
|
@@ -5676,7 +5847,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
5676
5847
|
\\"likes\\"];
|
|
5677
5848
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
5678
5849
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
5679
|
-
|
|
5850
|
+
try {
|
|
5851
|
+
v = await this.#likes_fromJsonLd(doc, options);
|
|
5852
|
+
} catch (error) {
|
|
5853
|
+
if (!options.suppressError) throw error;
|
|
5854
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
5855
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
5856
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#likes\\", error },
|
|
5857
|
+
);
|
|
5858
|
+
return null;
|
|
5859
|
+
}
|
|
5680
5860
|
}
|
|
5681
5861
|
}
|
|
5682
5862
|
|
|
@@ -5892,7 +6072,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
5892
6072
|
\\"emojiReactions\\"];
|
|
5893
6073
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
5894
6074
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
5895
|
-
|
|
6075
|
+
try {
|
|
6076
|
+
v = await this.#emojiReactions_fromJsonLd(doc, options);
|
|
6077
|
+
} catch (error) {
|
|
6078
|
+
if (!options.suppressError) throw error;
|
|
6079
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
6080
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
6081
|
+
{ property: \\"http://fedibird.com/ns#emojiReactions\\", error },
|
|
6082
|
+
);
|
|
6083
|
+
return null;
|
|
6084
|
+
}
|
|
5896
6085
|
}
|
|
5897
6086
|
}
|
|
5898
6087
|
|
|
@@ -6160,7 +6349,16 @@ get summaries(): ((string | LanguageString))[] {
|
|
|
6160
6349
|
\\"tag\\"];
|
|
6161
6350
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
6162
6351
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
6163
|
-
|
|
6352
|
+
try {
|
|
6353
|
+
v = await this.#tag_fromJsonLd(obj, options);
|
|
6354
|
+
} catch (error) {
|
|
6355
|
+
if (!options.suppressError) throw error;
|
|
6356
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
6357
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
6358
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#tag\\", index: i, error },
|
|
6359
|
+
);
|
|
6360
|
+
continue;
|
|
6361
|
+
}
|
|
6164
6362
|
}
|
|
6165
6363
|
}
|
|
6166
6364
|
|
|
@@ -6411,7 +6609,16 @@ get urls(): ((URL | Link))[] {
|
|
|
6411
6609
|
\\"to\\"];
|
|
6412
6610
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
6413
6611
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
6414
|
-
|
|
6612
|
+
try {
|
|
6613
|
+
v = await this.#to_fromJsonLd(doc, options);
|
|
6614
|
+
} catch (error) {
|
|
6615
|
+
if (!options.suppressError) throw error;
|
|
6616
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
6617
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
6618
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#to\\", error },
|
|
6619
|
+
);
|
|
6620
|
+
return null;
|
|
6621
|
+
}
|
|
6415
6622
|
}
|
|
6416
6623
|
}
|
|
6417
6624
|
|
|
@@ -6506,7 +6713,16 @@ get urls(): ((URL | Link))[] {
|
|
|
6506
6713
|
\\"to\\"];
|
|
6507
6714
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
6508
6715
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
6509
|
-
|
|
6716
|
+
try {
|
|
6717
|
+
v = await this.#to_fromJsonLd(obj, options);
|
|
6718
|
+
} catch (error) {
|
|
6719
|
+
if (!options.suppressError) throw error;
|
|
6720
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
6721
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
6722
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#to\\", index: i, error },
|
|
6723
|
+
);
|
|
6724
|
+
continue;
|
|
6725
|
+
}
|
|
6510
6726
|
}
|
|
6511
6727
|
}
|
|
6512
6728
|
|
|
@@ -6723,7 +6939,16 @@ get urls(): ((URL | Link))[] {
|
|
|
6723
6939
|
\\"bto\\"];
|
|
6724
6940
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
6725
6941
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
6726
|
-
|
|
6942
|
+
try {
|
|
6943
|
+
v = await this.#bto_fromJsonLd(doc, options);
|
|
6944
|
+
} catch (error) {
|
|
6945
|
+
if (!options.suppressError) throw error;
|
|
6946
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
6947
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
6948
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#bto\\", error },
|
|
6949
|
+
);
|
|
6950
|
+
return null;
|
|
6951
|
+
}
|
|
6727
6952
|
}
|
|
6728
6953
|
}
|
|
6729
6954
|
|
|
@@ -6818,7 +7043,16 @@ get urls(): ((URL | Link))[] {
|
|
|
6818
7043
|
\\"bto\\"];
|
|
6819
7044
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
6820
7045
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
6821
|
-
|
|
7046
|
+
try {
|
|
7047
|
+
v = await this.#bto_fromJsonLd(obj, options);
|
|
7048
|
+
} catch (error) {
|
|
7049
|
+
if (!options.suppressError) throw error;
|
|
7050
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
7051
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
7052
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#bto\\", index: i, error },
|
|
7053
|
+
);
|
|
7054
|
+
continue;
|
|
7055
|
+
}
|
|
6822
7056
|
}
|
|
6823
7057
|
}
|
|
6824
7058
|
|
|
@@ -7035,7 +7269,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7035
7269
|
\\"cc\\"];
|
|
7036
7270
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
7037
7271
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
7038
|
-
|
|
7272
|
+
try {
|
|
7273
|
+
v = await this.#cc_fromJsonLd(doc, options);
|
|
7274
|
+
} catch (error) {
|
|
7275
|
+
if (!options.suppressError) throw error;
|
|
7276
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
7277
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
7278
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#cc\\", error },
|
|
7279
|
+
);
|
|
7280
|
+
return null;
|
|
7281
|
+
}
|
|
7039
7282
|
}
|
|
7040
7283
|
}
|
|
7041
7284
|
|
|
@@ -7130,7 +7373,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7130
7373
|
\\"cc\\"];
|
|
7131
7374
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
7132
7375
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
7133
|
-
|
|
7376
|
+
try {
|
|
7377
|
+
v = await this.#cc_fromJsonLd(obj, options);
|
|
7378
|
+
} catch (error) {
|
|
7379
|
+
if (!options.suppressError) throw error;
|
|
7380
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
7381
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
7382
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#cc\\", index: i, error },
|
|
7383
|
+
);
|
|
7384
|
+
continue;
|
|
7385
|
+
}
|
|
7134
7386
|
}
|
|
7135
7387
|
}
|
|
7136
7388
|
|
|
@@ -7347,7 +7599,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7347
7599
|
\\"bcc\\"];
|
|
7348
7600
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
7349
7601
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
7350
|
-
|
|
7602
|
+
try {
|
|
7603
|
+
v = await this.#bcc_fromJsonLd(doc, options);
|
|
7604
|
+
} catch (error) {
|
|
7605
|
+
if (!options.suppressError) throw error;
|
|
7606
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
7607
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
7608
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#bcc\\", error },
|
|
7609
|
+
);
|
|
7610
|
+
return null;
|
|
7611
|
+
}
|
|
7351
7612
|
}
|
|
7352
7613
|
}
|
|
7353
7614
|
|
|
@@ -7442,7 +7703,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7442
7703
|
\\"bcc\\"];
|
|
7443
7704
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
7444
7705
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
7445
|
-
|
|
7706
|
+
try {
|
|
7707
|
+
v = await this.#bcc_fromJsonLd(obj, options);
|
|
7708
|
+
} catch (error) {
|
|
7709
|
+
if (!options.suppressError) throw error;
|
|
7710
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
7711
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
7712
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#bcc\\", index: i, error },
|
|
7713
|
+
);
|
|
7714
|
+
continue;
|
|
7715
|
+
}
|
|
7446
7716
|
}
|
|
7447
7717
|
}
|
|
7448
7718
|
|
|
@@ -7722,7 +7992,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7722
7992
|
\\"proof\\"];
|
|
7723
7993
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
7724
7994
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
7725
|
-
|
|
7995
|
+
try {
|
|
7996
|
+
v = await this.#proof_fromJsonLd(doc, options);
|
|
7997
|
+
} catch (error) {
|
|
7998
|
+
if (!options.suppressError) throw error;
|
|
7999
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
8000
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
8001
|
+
{ property: \\"https://w3id.org/security#proof\\", error },
|
|
8002
|
+
);
|
|
8003
|
+
return null;
|
|
8004
|
+
}
|
|
7726
8005
|
}
|
|
7727
8006
|
}
|
|
7728
8007
|
|
|
@@ -7816,7 +8095,16 @@ get urls(): ((URL | Link))[] {
|
|
|
7816
8095
|
\\"proof\\"];
|
|
7817
8096
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
7818
8097
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
7819
|
-
|
|
8098
|
+
try {
|
|
8099
|
+
v = await this.#proof_fromJsonLd(obj, options);
|
|
8100
|
+
} catch (error) {
|
|
8101
|
+
if (!options.suppressError) throw error;
|
|
8102
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
8103
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
8104
|
+
{ property: \\"https://w3id.org/security#proof\\", index: i, error },
|
|
8105
|
+
);
|
|
8106
|
+
continue;
|
|
8107
|
+
}
|
|
7820
8108
|
}
|
|
7821
8109
|
}
|
|
7822
8110
|
|
|
@@ -13167,7 +13455,16 @@ instruments?: (Object | URL)[];}
|
|
|
13167
13455
|
\\"actor\\"];
|
|
13168
13456
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
13169
13457
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
13170
|
-
|
|
13458
|
+
try {
|
|
13459
|
+
v = await this.#actor_fromJsonLd(doc, options);
|
|
13460
|
+
} catch (error) {
|
|
13461
|
+
if (!options.suppressError) throw error;
|
|
13462
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
13463
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
13464
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#actor\\", error },
|
|
13465
|
+
);
|
|
13466
|
+
return null;
|
|
13467
|
+
}
|
|
13171
13468
|
}
|
|
13172
13469
|
}
|
|
13173
13470
|
|
|
@@ -13263,7 +13560,16 @@ instruments?: (Object | URL)[];}
|
|
|
13263
13560
|
\\"actor\\"];
|
|
13264
13561
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
13265
13562
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
13266
|
-
|
|
13563
|
+
try {
|
|
13564
|
+
v = await this.#actor_fromJsonLd(obj, options);
|
|
13565
|
+
} catch (error) {
|
|
13566
|
+
if (!options.suppressError) throw error;
|
|
13567
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
13568
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
13569
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#actor\\", index: i, error },
|
|
13570
|
+
);
|
|
13571
|
+
continue;
|
|
13572
|
+
}
|
|
13267
13573
|
}
|
|
13268
13574
|
}
|
|
13269
13575
|
|
|
@@ -13481,7 +13787,16 @@ instruments?: (Object | URL)[];}
|
|
|
13481
13787
|
\\"object\\"];
|
|
13482
13788
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
13483
13789
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
13484
|
-
|
|
13790
|
+
try {
|
|
13791
|
+
v = await this.#object_fromJsonLd(doc, options);
|
|
13792
|
+
} catch (error) {
|
|
13793
|
+
if (!options.suppressError) throw error;
|
|
13794
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
13795
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
13796
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#object\\", error },
|
|
13797
|
+
);
|
|
13798
|
+
return null;
|
|
13799
|
+
}
|
|
13485
13800
|
}
|
|
13486
13801
|
}
|
|
13487
13802
|
|
|
@@ -13577,7 +13892,16 @@ instruments?: (Object | URL)[];}
|
|
|
13577
13892
|
\\"object\\"];
|
|
13578
13893
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
13579
13894
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
13580
|
-
|
|
13895
|
+
try {
|
|
13896
|
+
v = await this.#object_fromJsonLd(obj, options);
|
|
13897
|
+
} catch (error) {
|
|
13898
|
+
if (!options.suppressError) throw error;
|
|
13899
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
13900
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
13901
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#object\\", index: i, error },
|
|
13902
|
+
);
|
|
13903
|
+
continue;
|
|
13904
|
+
}
|
|
13581
13905
|
}
|
|
13582
13906
|
}
|
|
13583
13907
|
|
|
@@ -13798,7 +14122,16 @@ instruments?: (Object | URL)[];}
|
|
|
13798
14122
|
\\"target\\"];
|
|
13799
14123
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
13800
14124
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
13801
|
-
|
|
14125
|
+
try {
|
|
14126
|
+
v = await this.#target_fromJsonLd(doc, options);
|
|
14127
|
+
} catch (error) {
|
|
14128
|
+
if (!options.suppressError) throw error;
|
|
14129
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14130
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
14131
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#target\\", error },
|
|
14132
|
+
);
|
|
14133
|
+
return null;
|
|
14134
|
+
}
|
|
13802
14135
|
}
|
|
13803
14136
|
}
|
|
13804
14137
|
|
|
@@ -13897,7 +14230,16 @@ instruments?: (Object | URL)[];}
|
|
|
13897
14230
|
\\"target\\"];
|
|
13898
14231
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
13899
14232
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
13900
|
-
|
|
14233
|
+
try {
|
|
14234
|
+
v = await this.#target_fromJsonLd(obj, options);
|
|
14235
|
+
} catch (error) {
|
|
14236
|
+
if (!options.suppressError) throw error;
|
|
14237
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14238
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
14239
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#target\\", index: i, error },
|
|
14240
|
+
);
|
|
14241
|
+
continue;
|
|
14242
|
+
}
|
|
13901
14243
|
}
|
|
13902
14244
|
}
|
|
13903
14245
|
|
|
@@ -14115,7 +14457,16 @@ instruments?: (Object | URL)[];}
|
|
|
14115
14457
|
\\"result\\"];
|
|
14116
14458
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
14117
14459
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
14118
|
-
|
|
14460
|
+
try {
|
|
14461
|
+
v = await this.#result_fromJsonLd(doc, options);
|
|
14462
|
+
} catch (error) {
|
|
14463
|
+
if (!options.suppressError) throw error;
|
|
14464
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14465
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
14466
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#result\\", error },
|
|
14467
|
+
);
|
|
14468
|
+
return null;
|
|
14469
|
+
}
|
|
14119
14470
|
}
|
|
14120
14471
|
}
|
|
14121
14472
|
|
|
@@ -14211,7 +14562,16 @@ instruments?: (Object | URL)[];}
|
|
|
14211
14562
|
\\"result\\"];
|
|
14212
14563
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
14213
14564
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
14214
|
-
|
|
14565
|
+
try {
|
|
14566
|
+
v = await this.#result_fromJsonLd(obj, options);
|
|
14567
|
+
} catch (error) {
|
|
14568
|
+
if (!options.suppressError) throw error;
|
|
14569
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14570
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
14571
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#result\\", index: i, error },
|
|
14572
|
+
);
|
|
14573
|
+
continue;
|
|
14574
|
+
}
|
|
14215
14575
|
}
|
|
14216
14576
|
}
|
|
14217
14577
|
|
|
@@ -14430,7 +14790,16 @@ instruments?: (Object | URL)[];}
|
|
|
14430
14790
|
\\"origin\\"];
|
|
14431
14791
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
14432
14792
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
14433
|
-
|
|
14793
|
+
try {
|
|
14794
|
+
v = await this.#origin_fromJsonLd(doc, options);
|
|
14795
|
+
} catch (error) {
|
|
14796
|
+
if (!options.suppressError) throw error;
|
|
14797
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14798
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
14799
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#origin\\", error },
|
|
14800
|
+
);
|
|
14801
|
+
return null;
|
|
14802
|
+
}
|
|
14434
14803
|
}
|
|
14435
14804
|
}
|
|
14436
14805
|
|
|
@@ -14527,7 +14896,16 @@ instruments?: (Object | URL)[];}
|
|
|
14527
14896
|
\\"origin\\"];
|
|
14528
14897
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
14529
14898
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
14530
|
-
|
|
14899
|
+
try {
|
|
14900
|
+
v = await this.#origin_fromJsonLd(obj, options);
|
|
14901
|
+
} catch (error) {
|
|
14902
|
+
if (!options.suppressError) throw error;
|
|
14903
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
14904
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
14905
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#origin\\", index: i, error },
|
|
14906
|
+
);
|
|
14907
|
+
continue;
|
|
14908
|
+
}
|
|
14531
14909
|
}
|
|
14532
14910
|
}
|
|
14533
14911
|
|
|
@@ -14744,7 +15122,16 @@ instruments?: (Object | URL)[];}
|
|
|
14744
15122
|
\\"instrument\\"];
|
|
14745
15123
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
14746
15124
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
14747
|
-
|
|
15125
|
+
try {
|
|
15126
|
+
v = await this.#instrument_fromJsonLd(doc, options);
|
|
15127
|
+
} catch (error) {
|
|
15128
|
+
if (!options.suppressError) throw error;
|
|
15129
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
15130
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
15131
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#instrument\\", error },
|
|
15132
|
+
);
|
|
15133
|
+
return null;
|
|
15134
|
+
}
|
|
14748
15135
|
}
|
|
14749
15136
|
}
|
|
14750
15137
|
|
|
@@ -14839,7 +15226,16 @@ instruments?: (Object | URL)[];}
|
|
|
14839
15226
|
\\"instrument\\"];
|
|
14840
15227
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
14841
15228
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
14842
|
-
|
|
15229
|
+
try {
|
|
15230
|
+
v = await this.#instrument_fromJsonLd(obj, options);
|
|
15231
|
+
} catch (error) {
|
|
15232
|
+
if (!options.suppressError) throw error;
|
|
15233
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
15234
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
15235
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#instrument\\", index: i, error },
|
|
15236
|
+
);
|
|
15237
|
+
continue;
|
|
15238
|
+
}
|
|
14843
15239
|
}
|
|
14844
15240
|
}
|
|
14845
15241
|
|
|
@@ -19042,7 +19438,16 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19042
19438
|
\\"owner\\"];
|
|
19043
19439
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
19044
19440
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
19045
|
-
|
|
19441
|
+
try {
|
|
19442
|
+
v = await this.#owner_fromJsonLd(doc, options);
|
|
19443
|
+
} catch (error) {
|
|
19444
|
+
if (!options.suppressError) throw error;
|
|
19445
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
19446
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
19447
|
+
{ property: \\"https://w3id.org/security#owner\\", error },
|
|
19448
|
+
);
|
|
19449
|
+
return null;
|
|
19450
|
+
}
|
|
19046
19451
|
}
|
|
19047
19452
|
}
|
|
19048
19453
|
|
|
@@ -19948,7 +20353,16 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
19948
20353
|
\\"controller\\"];
|
|
19949
20354
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
19950
20355
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
19951
|
-
|
|
20356
|
+
try {
|
|
20357
|
+
v = await this.#controller_fromJsonLd(doc, options);
|
|
20358
|
+
} catch (error) {
|
|
20359
|
+
if (!options.suppressError) throw error;
|
|
20360
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
20361
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
20362
|
+
{ property: \\"https://w3id.org/security#controller\\", error },
|
|
20363
|
+
);
|
|
20364
|
+
return null;
|
|
20365
|
+
}
|
|
19952
20366
|
}
|
|
19953
20367
|
}
|
|
19954
20368
|
|
|
@@ -22675,7 +23089,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
22675
23089
|
\\"publicKey\\"];
|
|
22676
23090
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
22677
23091
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
22678
|
-
|
|
23092
|
+
try {
|
|
23093
|
+
v = await this.#publicKey_fromJsonLd(doc, options);
|
|
23094
|
+
} catch (error) {
|
|
23095
|
+
if (!options.suppressError) throw error;
|
|
23096
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
23097
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
23098
|
+
{ property: \\"https://w3id.org/security#publicKey\\", error },
|
|
23099
|
+
);
|
|
23100
|
+
return null;
|
|
23101
|
+
}
|
|
22679
23102
|
}
|
|
22680
23103
|
}
|
|
22681
23104
|
|
|
@@ -22768,7 +23191,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
22768
23191
|
\\"publicKey\\"];
|
|
22769
23192
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
22770
23193
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
22771
|
-
|
|
23194
|
+
try {
|
|
23195
|
+
v = await this.#publicKey_fromJsonLd(obj, options);
|
|
23196
|
+
} catch (error) {
|
|
23197
|
+
if (!options.suppressError) throw error;
|
|
23198
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
23199
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
23200
|
+
{ property: \\"https://w3id.org/security#publicKey\\", index: i, error },
|
|
23201
|
+
);
|
|
23202
|
+
continue;
|
|
23203
|
+
}
|
|
22772
23204
|
}
|
|
22773
23205
|
}
|
|
22774
23206
|
|
|
@@ -22987,7 +23419,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
22987
23419
|
\\"assertionMethod\\"];
|
|
22988
23420
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
22989
23421
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
22990
|
-
|
|
23422
|
+
try {
|
|
23423
|
+
v = await this.#assertionMethod_fromJsonLd(doc, options);
|
|
23424
|
+
} catch (error) {
|
|
23425
|
+
if (!options.suppressError) throw error;
|
|
23426
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
23427
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
23428
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", error },
|
|
23429
|
+
);
|
|
23430
|
+
return null;
|
|
23431
|
+
}
|
|
22991
23432
|
}
|
|
22992
23433
|
}
|
|
22993
23434
|
|
|
@@ -23084,7 +23525,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
23084
23525
|
\\"assertionMethod\\"];
|
|
23085
23526
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
23086
23527
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
23087
|
-
|
|
23528
|
+
try {
|
|
23529
|
+
v = await this.#assertionMethod_fromJsonLd(obj, options);
|
|
23530
|
+
} catch (error) {
|
|
23531
|
+
if (!options.suppressError) throw error;
|
|
23532
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
23533
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
23534
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
|
|
23535
|
+
);
|
|
23536
|
+
continue;
|
|
23537
|
+
}
|
|
23088
23538
|
}
|
|
23089
23539
|
}
|
|
23090
23540
|
|
|
@@ -23340,7 +23790,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
23340
23790
|
\\"inbox\\"];
|
|
23341
23791
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
23342
23792
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
23343
|
-
|
|
23793
|
+
try {
|
|
23794
|
+
v = await this.#inbox_fromJsonLd(doc, options);
|
|
23795
|
+
} catch (error) {
|
|
23796
|
+
if (!options.suppressError) throw error;
|
|
23797
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
23798
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
23799
|
+
{ property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
|
|
23800
|
+
);
|
|
23801
|
+
return null;
|
|
23802
|
+
}
|
|
23344
23803
|
}
|
|
23345
23804
|
}
|
|
23346
23805
|
|
|
@@ -23573,7 +24032,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
23573
24032
|
\\"outbox\\"];
|
|
23574
24033
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
23575
24034
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
23576
|
-
|
|
24035
|
+
try {
|
|
24036
|
+
v = await this.#outbox_fromJsonLd(doc, options);
|
|
24037
|
+
} catch (error) {
|
|
24038
|
+
if (!options.suppressError) throw error;
|
|
24039
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
24040
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
24041
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
|
|
24042
|
+
);
|
|
24043
|
+
return null;
|
|
24044
|
+
}
|
|
23577
24045
|
}
|
|
23578
24046
|
}
|
|
23579
24047
|
|
|
@@ -23792,7 +24260,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
23792
24260
|
\\"following\\"];
|
|
23793
24261
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
23794
24262
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
23795
|
-
|
|
24263
|
+
try {
|
|
24264
|
+
v = await this.#following_fromJsonLd(doc, options);
|
|
24265
|
+
} catch (error) {
|
|
24266
|
+
if (!options.suppressError) throw error;
|
|
24267
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
24268
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
24269
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
|
|
24270
|
+
);
|
|
24271
|
+
return null;
|
|
24272
|
+
}
|
|
23796
24273
|
}
|
|
23797
24274
|
}
|
|
23798
24275
|
|
|
@@ -24014,7 +24491,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
24014
24491
|
\\"followers\\"];
|
|
24015
24492
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
24016
24493
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
24017
|
-
|
|
24494
|
+
try {
|
|
24495
|
+
v = await this.#followers_fromJsonLd(doc, options);
|
|
24496
|
+
} catch (error) {
|
|
24497
|
+
if (!options.suppressError) throw error;
|
|
24498
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
24499
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
24500
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
|
|
24501
|
+
);
|
|
24502
|
+
return null;
|
|
24503
|
+
}
|
|
24018
24504
|
}
|
|
24019
24505
|
}
|
|
24020
24506
|
|
|
@@ -24234,7 +24720,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
24234
24720
|
\\"liked\\"];
|
|
24235
24721
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
24236
24722
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
24237
|
-
|
|
24723
|
+
try {
|
|
24724
|
+
v = await this.#liked_fromJsonLd(doc, options);
|
|
24725
|
+
} catch (error) {
|
|
24726
|
+
if (!options.suppressError) throw error;
|
|
24727
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
24728
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
24729
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
|
|
24730
|
+
);
|
|
24731
|
+
return null;
|
|
24732
|
+
}
|
|
24238
24733
|
}
|
|
24239
24734
|
}
|
|
24240
24735
|
|
|
@@ -24452,7 +24947,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
24452
24947
|
\\"featured\\"];
|
|
24453
24948
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
24454
24949
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
24455
|
-
|
|
24950
|
+
try {
|
|
24951
|
+
v = await this.#featured_fromJsonLd(doc, options);
|
|
24952
|
+
} catch (error) {
|
|
24953
|
+
if (!options.suppressError) throw error;
|
|
24954
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
24955
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
24956
|
+
{ property: \\"http://joinmastodon.org/ns#featured\\", error },
|
|
24957
|
+
);
|
|
24958
|
+
return null;
|
|
24959
|
+
}
|
|
24456
24960
|
}
|
|
24457
24961
|
}
|
|
24458
24962
|
|
|
@@ -24670,7 +25174,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
24670
25174
|
\\"featuredTags\\"];
|
|
24671
25175
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
24672
25176
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
24673
|
-
|
|
25177
|
+
try {
|
|
25178
|
+
v = await this.#featuredTags_fromJsonLd(doc, options);
|
|
25179
|
+
} catch (error) {
|
|
25180
|
+
if (!options.suppressError) throw error;
|
|
25181
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
25182
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
25183
|
+
{ property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
|
|
25184
|
+
);
|
|
25185
|
+
return null;
|
|
25186
|
+
}
|
|
24674
25187
|
}
|
|
24675
25188
|
}
|
|
24676
25189
|
|
|
@@ -24886,7 +25399,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
24886
25399
|
\\"streams\\"];
|
|
24887
25400
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
24888
25401
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
24889
|
-
|
|
25402
|
+
try {
|
|
25403
|
+
v = await this.#stream_fromJsonLd(obj, options);
|
|
25404
|
+
} catch (error) {
|
|
25405
|
+
if (!options.suppressError) throw error;
|
|
25406
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
25407
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
25408
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
|
|
25409
|
+
);
|
|
25410
|
+
continue;
|
|
25411
|
+
}
|
|
24890
25412
|
}
|
|
24891
25413
|
}
|
|
24892
25414
|
|
|
@@ -25212,7 +25734,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
25212
25734
|
\\"movedTo\\"];
|
|
25213
25735
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
25214
25736
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
25215
|
-
|
|
25737
|
+
try {
|
|
25738
|
+
v = await this.#successor_fromJsonLd(doc, options);
|
|
25739
|
+
} catch (error) {
|
|
25740
|
+
if (!options.suppressError) throw error;
|
|
25741
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
25742
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
25743
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
|
|
25744
|
+
);
|
|
25745
|
+
return null;
|
|
25746
|
+
}
|
|
25216
25747
|
}
|
|
25217
25748
|
}
|
|
25218
25749
|
|
|
@@ -25466,7 +25997,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
25466
25997
|
\\"alsoKnownAs\\"];
|
|
25467
25998
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
25468
25999
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
25469
|
-
|
|
26000
|
+
try {
|
|
26001
|
+
v = await this.#alias_fromJsonLd(doc, options);
|
|
26002
|
+
} catch (error) {
|
|
26003
|
+
if (!options.suppressError) throw error;
|
|
26004
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
26005
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
26006
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
|
|
26007
|
+
);
|
|
26008
|
+
return null;
|
|
26009
|
+
}
|
|
25470
26010
|
}
|
|
25471
26011
|
}
|
|
25472
26012
|
|
|
@@ -25563,7 +26103,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
25563
26103
|
\\"alsoKnownAs\\"];
|
|
25564
26104
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
25565
26105
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
25566
|
-
|
|
26106
|
+
try {
|
|
26107
|
+
v = await this.#alias_fromJsonLd(obj, options);
|
|
26108
|
+
} catch (error) {
|
|
26109
|
+
if (!options.suppressError) throw error;
|
|
26110
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
26111
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
26112
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
|
|
26113
|
+
);
|
|
26114
|
+
continue;
|
|
26115
|
+
}
|
|
25567
26116
|
}
|
|
25568
26117
|
}
|
|
25569
26118
|
|
|
@@ -25782,7 +26331,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
25782
26331
|
\\"service\\"];
|
|
25783
26332
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
25784
26333
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
25785
|
-
|
|
26334
|
+
try {
|
|
26335
|
+
v = await this.#service_fromJsonLd(doc, options);
|
|
26336
|
+
} catch (error) {
|
|
26337
|
+
if (!options.suppressError) throw error;
|
|
26338
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
26339
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
26340
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", error },
|
|
26341
|
+
);
|
|
26342
|
+
return null;
|
|
26343
|
+
}
|
|
25786
26344
|
}
|
|
25787
26345
|
}
|
|
25788
26346
|
|
|
@@ -25879,7 +26437,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
25879
26437
|
\\"service\\"];
|
|
25880
26438
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
25881
26439
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
25882
|
-
|
|
26440
|
+
try {
|
|
26441
|
+
v = await this.#service_fromJsonLd(obj, options);
|
|
26442
|
+
} catch (error) {
|
|
26443
|
+
if (!options.suppressError) throw error;
|
|
26444
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
26445
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
26446
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
|
|
26447
|
+
);
|
|
26448
|
+
continue;
|
|
26449
|
+
}
|
|
25883
26450
|
}
|
|
25884
26451
|
}
|
|
25885
26452
|
|
|
@@ -31765,7 +32332,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31765
32332
|
\\"current\\"];
|
|
31766
32333
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
31767
32334
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
31768
|
-
|
|
32335
|
+
try {
|
|
32336
|
+
v = await this.#current_fromJsonLd(doc, options);
|
|
32337
|
+
} catch (error) {
|
|
32338
|
+
if (!options.suppressError) throw error;
|
|
32339
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
32340
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
32341
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#current\\", error },
|
|
32342
|
+
);
|
|
32343
|
+
return null;
|
|
32344
|
+
}
|
|
31769
32345
|
}
|
|
31770
32346
|
}
|
|
31771
32347
|
|
|
@@ -31981,7 +32557,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31981
32557
|
\\"first\\"];
|
|
31982
32558
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
31983
32559
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
31984
|
-
|
|
32560
|
+
try {
|
|
32561
|
+
v = await this.#first_fromJsonLd(doc, options);
|
|
32562
|
+
} catch (error) {
|
|
32563
|
+
if (!options.suppressError) throw error;
|
|
32564
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
32565
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
32566
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#first\\", error },
|
|
32567
|
+
);
|
|
32568
|
+
return null;
|
|
32569
|
+
}
|
|
31985
32570
|
}
|
|
31986
32571
|
}
|
|
31987
32572
|
|
|
@@ -32197,7 +32782,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32197
32782
|
\\"last\\"];
|
|
32198
32783
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
32199
32784
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
32200
|
-
|
|
32785
|
+
try {
|
|
32786
|
+
v = await this.#last_fromJsonLd(doc, options);
|
|
32787
|
+
} catch (error) {
|
|
32788
|
+
if (!options.suppressError) throw error;
|
|
32789
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
32790
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
32791
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#last\\", error },
|
|
32792
|
+
);
|
|
32793
|
+
return null;
|
|
32794
|
+
}
|
|
32201
32795
|
}
|
|
32202
32796
|
}
|
|
32203
32797
|
|
|
@@ -32423,7 +33017,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32423
33017
|
\\"items\\"];
|
|
32424
33018
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
32425
33019
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
32426
|
-
|
|
33020
|
+
try {
|
|
33021
|
+
v = await this.#item_fromJsonLd(obj, options);
|
|
33022
|
+
} catch (error) {
|
|
33023
|
+
if (!options.suppressError) throw error;
|
|
33024
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
33025
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
33026
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
|
|
33027
|
+
);
|
|
33028
|
+
continue;
|
|
33029
|
+
}
|
|
32427
33030
|
}
|
|
32428
33031
|
}
|
|
32429
33032
|
|
|
@@ -32639,7 +33242,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32639
33242
|
\\"likesOf\\"];
|
|
32640
33243
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
32641
33244
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
32642
|
-
|
|
33245
|
+
try {
|
|
33246
|
+
v = await this.#likesOf_fromJsonLd(doc, options);
|
|
33247
|
+
} catch (error) {
|
|
33248
|
+
if (!options.suppressError) throw error;
|
|
33249
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
33250
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
33251
|
+
{ property: \\"https://w3id.org/fep/5711#likesOf\\", error },
|
|
33252
|
+
);
|
|
33253
|
+
return null;
|
|
33254
|
+
}
|
|
32643
33255
|
}
|
|
32644
33256
|
}
|
|
32645
33257
|
|
|
@@ -32854,7 +33466,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32854
33466
|
\\"sharesOf\\"];
|
|
32855
33467
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
32856
33468
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
32857
|
-
|
|
33469
|
+
try {
|
|
33470
|
+
v = await this.#sharesOf_fromJsonLd(doc, options);
|
|
33471
|
+
} catch (error) {
|
|
33472
|
+
if (!options.suppressError) throw error;
|
|
33473
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
33474
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
33475
|
+
{ property: \\"https://w3id.org/fep/5711#sharesOf\\", error },
|
|
33476
|
+
);
|
|
33477
|
+
return null;
|
|
33478
|
+
}
|
|
32858
33479
|
}
|
|
32859
33480
|
}
|
|
32860
33481
|
|
|
@@ -33069,7 +33690,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
33069
33690
|
\\"repliesOf\\"];
|
|
33070
33691
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
33071
33692
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
33072
|
-
|
|
33693
|
+
try {
|
|
33694
|
+
v = await this.#repliesOf_fromJsonLd(doc, options);
|
|
33695
|
+
} catch (error) {
|
|
33696
|
+
if (!options.suppressError) throw error;
|
|
33697
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
33698
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
33699
|
+
{ property: \\"https://w3id.org/fep/5711#repliesOf\\", error },
|
|
33700
|
+
);
|
|
33701
|
+
return null;
|
|
33702
|
+
}
|
|
33073
33703
|
}
|
|
33074
33704
|
}
|
|
33075
33705
|
|
|
@@ -33284,7 +33914,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
33284
33914
|
\\"inboxOf\\"];
|
|
33285
33915
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
33286
33916
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
33287
|
-
|
|
33917
|
+
try {
|
|
33918
|
+
v = await this.#inboxOf_fromJsonLd(doc, options);
|
|
33919
|
+
} catch (error) {
|
|
33920
|
+
if (!options.suppressError) throw error;
|
|
33921
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
33922
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
33923
|
+
{ property: \\"https://w3id.org/fep/5711#inboxOf\\", error },
|
|
33924
|
+
);
|
|
33925
|
+
return null;
|
|
33926
|
+
}
|
|
33288
33927
|
}
|
|
33289
33928
|
}
|
|
33290
33929
|
|
|
@@ -33499,7 +34138,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
33499
34138
|
\\"outboxOf\\"];
|
|
33500
34139
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
33501
34140
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
33502
|
-
|
|
34141
|
+
try {
|
|
34142
|
+
v = await this.#outboxOf_fromJsonLd(doc, options);
|
|
34143
|
+
} catch (error) {
|
|
34144
|
+
if (!options.suppressError) throw error;
|
|
34145
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
34146
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
34147
|
+
{ property: \\"https://w3id.org/fep/5711#outboxOf\\", error },
|
|
34148
|
+
);
|
|
34149
|
+
return null;
|
|
34150
|
+
}
|
|
33503
34151
|
}
|
|
33504
34152
|
}
|
|
33505
34153
|
|
|
@@ -33714,7 +34362,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
33714
34362
|
\\"followersOf\\"];
|
|
33715
34363
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
33716
34364
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
33717
|
-
|
|
34365
|
+
try {
|
|
34366
|
+
v = await this.#followersOf_fromJsonLd(doc, options);
|
|
34367
|
+
} catch (error) {
|
|
34368
|
+
if (!options.suppressError) throw error;
|
|
34369
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
34370
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
34371
|
+
{ property: \\"https://w3id.org/fep/5711#followersOf\\", error },
|
|
34372
|
+
);
|
|
34373
|
+
return null;
|
|
34374
|
+
}
|
|
33718
34375
|
}
|
|
33719
34376
|
}
|
|
33720
34377
|
|
|
@@ -33929,7 +34586,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
33929
34586
|
\\"followingOf\\"];
|
|
33930
34587
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
33931
34588
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
33932
|
-
|
|
34589
|
+
try {
|
|
34590
|
+
v = await this.#followingOf_fromJsonLd(doc, options);
|
|
34591
|
+
} catch (error) {
|
|
34592
|
+
if (!options.suppressError) throw error;
|
|
34593
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
34594
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
34595
|
+
{ property: \\"https://w3id.org/fep/5711#followingOf\\", error },
|
|
34596
|
+
);
|
|
34597
|
+
return null;
|
|
34598
|
+
}
|
|
33933
34599
|
}
|
|
33934
34600
|
}
|
|
33935
34601
|
|
|
@@ -34144,7 +34810,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
34144
34810
|
\\"likedOf\\"];
|
|
34145
34811
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
34146
34812
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
34147
|
-
|
|
34813
|
+
try {
|
|
34814
|
+
v = await this.#likedOf_fromJsonLd(doc, options);
|
|
34815
|
+
} catch (error) {
|
|
34816
|
+
if (!options.suppressError) throw error;
|
|
34817
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
34818
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
34819
|
+
{ property: \\"https://w3id.org/fep/5711#likedOf\\", error },
|
|
34820
|
+
);
|
|
34821
|
+
return null;
|
|
34822
|
+
}
|
|
34148
34823
|
}
|
|
34149
34824
|
}
|
|
34150
34825
|
|
|
@@ -36029,7 +36704,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36029
36704
|
\\"partOf\\"];
|
|
36030
36705
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
36031
36706
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
36032
|
-
|
|
36707
|
+
try {
|
|
36708
|
+
v = await this.#partOf_fromJsonLd(doc, options);
|
|
36709
|
+
} catch (error) {
|
|
36710
|
+
if (!options.suppressError) throw error;
|
|
36711
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
36712
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
36713
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#partOf\\", error },
|
|
36714
|
+
);
|
|
36715
|
+
return null;
|
|
36716
|
+
}
|
|
36033
36717
|
}
|
|
36034
36718
|
}
|
|
36035
36719
|
|
|
@@ -36243,7 +36927,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36243
36927
|
\\"next\\"];
|
|
36244
36928
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
36245
36929
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
36246
|
-
|
|
36930
|
+
try {
|
|
36931
|
+
v = await this.#next_fromJsonLd(doc, options);
|
|
36932
|
+
} catch (error) {
|
|
36933
|
+
if (!options.suppressError) throw error;
|
|
36934
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
36935
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
36936
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#next\\", error },
|
|
36937
|
+
);
|
|
36938
|
+
return null;
|
|
36939
|
+
}
|
|
36247
36940
|
}
|
|
36248
36941
|
}
|
|
36249
36942
|
|
|
@@ -36458,7 +37151,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36458
37151
|
\\"prev\\"];
|
|
36459
37152
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
36460
37153
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
36461
|
-
|
|
37154
|
+
try {
|
|
37155
|
+
v = await this.#prev_fromJsonLd(doc, options);
|
|
37156
|
+
} catch (error) {
|
|
37157
|
+
if (!options.suppressError) throw error;
|
|
37158
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
37159
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
37160
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#prev\\", error },
|
|
37161
|
+
);
|
|
37162
|
+
return null;
|
|
37163
|
+
}
|
|
36462
37164
|
}
|
|
36463
37165
|
}
|
|
36464
37166
|
|
|
@@ -41454,7 +42156,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
41454
42156
|
\\"publicKey\\"];
|
|
41455
42157
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
41456
42158
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
41457
|
-
|
|
42159
|
+
try {
|
|
42160
|
+
v = await this.#publicKey_fromJsonLd(doc, options);
|
|
42161
|
+
} catch (error) {
|
|
42162
|
+
if (!options.suppressError) throw error;
|
|
42163
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
42164
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
42165
|
+
{ property: \\"https://w3id.org/security#publicKey\\", error },
|
|
42166
|
+
);
|
|
42167
|
+
return null;
|
|
42168
|
+
}
|
|
41458
42169
|
}
|
|
41459
42170
|
}
|
|
41460
42171
|
|
|
@@ -41547,7 +42258,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
41547
42258
|
\\"publicKey\\"];
|
|
41548
42259
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
41549
42260
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
41550
|
-
|
|
42261
|
+
try {
|
|
42262
|
+
v = await this.#publicKey_fromJsonLd(obj, options);
|
|
42263
|
+
} catch (error) {
|
|
42264
|
+
if (!options.suppressError) throw error;
|
|
42265
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
42266
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
42267
|
+
{ property: \\"https://w3id.org/security#publicKey\\", index: i, error },
|
|
42268
|
+
);
|
|
42269
|
+
continue;
|
|
42270
|
+
}
|
|
41551
42271
|
}
|
|
41552
42272
|
}
|
|
41553
42273
|
|
|
@@ -41766,7 +42486,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
41766
42486
|
\\"assertionMethod\\"];
|
|
41767
42487
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
41768
42488
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
41769
|
-
|
|
42489
|
+
try {
|
|
42490
|
+
v = await this.#assertionMethod_fromJsonLd(doc, options);
|
|
42491
|
+
} catch (error) {
|
|
42492
|
+
if (!options.suppressError) throw error;
|
|
42493
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
42494
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
42495
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", error },
|
|
42496
|
+
);
|
|
42497
|
+
return null;
|
|
42498
|
+
}
|
|
41770
42499
|
}
|
|
41771
42500
|
}
|
|
41772
42501
|
|
|
@@ -41863,7 +42592,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
41863
42592
|
\\"assertionMethod\\"];
|
|
41864
42593
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
41865
42594
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
41866
|
-
|
|
42595
|
+
try {
|
|
42596
|
+
v = await this.#assertionMethod_fromJsonLd(obj, options);
|
|
42597
|
+
} catch (error) {
|
|
42598
|
+
if (!options.suppressError) throw error;
|
|
42599
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
42600
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
42601
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
|
|
42602
|
+
);
|
|
42603
|
+
continue;
|
|
42604
|
+
}
|
|
41867
42605
|
}
|
|
41868
42606
|
}
|
|
41869
42607
|
|
|
@@ -42119,7 +42857,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
42119
42857
|
\\"inbox\\"];
|
|
42120
42858
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
42121
42859
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
42122
|
-
|
|
42860
|
+
try {
|
|
42861
|
+
v = await this.#inbox_fromJsonLd(doc, options);
|
|
42862
|
+
} catch (error) {
|
|
42863
|
+
if (!options.suppressError) throw error;
|
|
42864
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
42865
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
42866
|
+
{ property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
|
|
42867
|
+
);
|
|
42868
|
+
return null;
|
|
42869
|
+
}
|
|
42123
42870
|
}
|
|
42124
42871
|
}
|
|
42125
42872
|
|
|
@@ -42352,7 +43099,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
42352
43099
|
\\"outbox\\"];
|
|
42353
43100
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
42354
43101
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
42355
|
-
|
|
43102
|
+
try {
|
|
43103
|
+
v = await this.#outbox_fromJsonLd(doc, options);
|
|
43104
|
+
} catch (error) {
|
|
43105
|
+
if (!options.suppressError) throw error;
|
|
43106
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
43107
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
43108
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
|
|
43109
|
+
);
|
|
43110
|
+
return null;
|
|
43111
|
+
}
|
|
42356
43112
|
}
|
|
42357
43113
|
}
|
|
42358
43114
|
|
|
@@ -42571,7 +43327,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
42571
43327
|
\\"following\\"];
|
|
42572
43328
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
42573
43329
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
42574
|
-
|
|
43330
|
+
try {
|
|
43331
|
+
v = await this.#following_fromJsonLd(doc, options);
|
|
43332
|
+
} catch (error) {
|
|
43333
|
+
if (!options.suppressError) throw error;
|
|
43334
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
43335
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
43336
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
|
|
43337
|
+
);
|
|
43338
|
+
return null;
|
|
43339
|
+
}
|
|
42575
43340
|
}
|
|
42576
43341
|
}
|
|
42577
43342
|
|
|
@@ -42793,7 +43558,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
42793
43558
|
\\"followers\\"];
|
|
42794
43559
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
42795
43560
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
42796
|
-
|
|
43561
|
+
try {
|
|
43562
|
+
v = await this.#followers_fromJsonLd(doc, options);
|
|
43563
|
+
} catch (error) {
|
|
43564
|
+
if (!options.suppressError) throw error;
|
|
43565
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
43566
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
43567
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
|
|
43568
|
+
);
|
|
43569
|
+
return null;
|
|
43570
|
+
}
|
|
42797
43571
|
}
|
|
42798
43572
|
}
|
|
42799
43573
|
|
|
@@ -43013,7 +43787,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
43013
43787
|
\\"liked\\"];
|
|
43014
43788
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
43015
43789
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
43016
|
-
|
|
43790
|
+
try {
|
|
43791
|
+
v = await this.#liked_fromJsonLd(doc, options);
|
|
43792
|
+
} catch (error) {
|
|
43793
|
+
if (!options.suppressError) throw error;
|
|
43794
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
43795
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
43796
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
|
|
43797
|
+
);
|
|
43798
|
+
return null;
|
|
43799
|
+
}
|
|
43017
43800
|
}
|
|
43018
43801
|
}
|
|
43019
43802
|
|
|
@@ -43231,7 +44014,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
43231
44014
|
\\"featured\\"];
|
|
43232
44015
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
43233
44016
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
43234
|
-
|
|
44017
|
+
try {
|
|
44018
|
+
v = await this.#featured_fromJsonLd(doc, options);
|
|
44019
|
+
} catch (error) {
|
|
44020
|
+
if (!options.suppressError) throw error;
|
|
44021
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
44022
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
44023
|
+
{ property: \\"http://joinmastodon.org/ns#featured\\", error },
|
|
44024
|
+
);
|
|
44025
|
+
return null;
|
|
44026
|
+
}
|
|
43235
44027
|
}
|
|
43236
44028
|
}
|
|
43237
44029
|
|
|
@@ -43449,7 +44241,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
43449
44241
|
\\"featuredTags\\"];
|
|
43450
44242
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
43451
44243
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
43452
|
-
|
|
44244
|
+
try {
|
|
44245
|
+
v = await this.#featuredTags_fromJsonLd(doc, options);
|
|
44246
|
+
} catch (error) {
|
|
44247
|
+
if (!options.suppressError) throw error;
|
|
44248
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
44249
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
44250
|
+
{ property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
|
|
44251
|
+
);
|
|
44252
|
+
return null;
|
|
44253
|
+
}
|
|
43453
44254
|
}
|
|
43454
44255
|
}
|
|
43455
44256
|
|
|
@@ -43665,7 +44466,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
43665
44466
|
\\"streams\\"];
|
|
43666
44467
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
43667
44468
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
43668
|
-
|
|
44469
|
+
try {
|
|
44470
|
+
v = await this.#stream_fromJsonLd(obj, options);
|
|
44471
|
+
} catch (error) {
|
|
44472
|
+
if (!options.suppressError) throw error;
|
|
44473
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
44474
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
44475
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
|
|
44476
|
+
);
|
|
44477
|
+
continue;
|
|
44478
|
+
}
|
|
43669
44479
|
}
|
|
43670
44480
|
}
|
|
43671
44481
|
|
|
@@ -43991,7 +44801,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
43991
44801
|
\\"movedTo\\"];
|
|
43992
44802
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
43993
44803
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
43994
|
-
|
|
44804
|
+
try {
|
|
44805
|
+
v = await this.#successor_fromJsonLd(doc, options);
|
|
44806
|
+
} catch (error) {
|
|
44807
|
+
if (!options.suppressError) throw error;
|
|
44808
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
44809
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
44810
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
|
|
44811
|
+
);
|
|
44812
|
+
return null;
|
|
44813
|
+
}
|
|
43995
44814
|
}
|
|
43996
44815
|
}
|
|
43997
44816
|
|
|
@@ -44245,7 +45064,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
44245
45064
|
\\"alsoKnownAs\\"];
|
|
44246
45065
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
44247
45066
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
44248
|
-
|
|
45067
|
+
try {
|
|
45068
|
+
v = await this.#alias_fromJsonLd(doc, options);
|
|
45069
|
+
} catch (error) {
|
|
45070
|
+
if (!options.suppressError) throw error;
|
|
45071
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
45072
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
45073
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
|
|
45074
|
+
);
|
|
45075
|
+
return null;
|
|
45076
|
+
}
|
|
44249
45077
|
}
|
|
44250
45078
|
}
|
|
44251
45079
|
|
|
@@ -44342,7 +45170,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
44342
45170
|
\\"alsoKnownAs\\"];
|
|
44343
45171
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
44344
45172
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
44345
|
-
|
|
45173
|
+
try {
|
|
45174
|
+
v = await this.#alias_fromJsonLd(obj, options);
|
|
45175
|
+
} catch (error) {
|
|
45176
|
+
if (!options.suppressError) throw error;
|
|
45177
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
45178
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
45179
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
|
|
45180
|
+
);
|
|
45181
|
+
continue;
|
|
45182
|
+
}
|
|
44346
45183
|
}
|
|
44347
45184
|
}
|
|
44348
45185
|
|
|
@@ -44561,7 +45398,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
44561
45398
|
\\"service\\"];
|
|
44562
45399
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
44563
45400
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
44564
|
-
|
|
45401
|
+
try {
|
|
45402
|
+
v = await this.#service_fromJsonLd(doc, options);
|
|
45403
|
+
} catch (error) {
|
|
45404
|
+
if (!options.suppressError) throw error;
|
|
45405
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
45406
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
45407
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", error },
|
|
45408
|
+
);
|
|
45409
|
+
return null;
|
|
45410
|
+
}
|
|
44565
45411
|
}
|
|
44566
45412
|
}
|
|
44567
45413
|
|
|
@@ -44658,7 +45504,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
44658
45504
|
\\"service\\"];
|
|
44659
45505
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
44660
45506
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
44661
|
-
|
|
45507
|
+
try {
|
|
45508
|
+
v = await this.#service_fromJsonLd(obj, options);
|
|
45509
|
+
} catch (error) {
|
|
45510
|
+
if (!options.suppressError) throw error;
|
|
45511
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
45512
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
45513
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
|
|
45514
|
+
);
|
|
45515
|
+
continue;
|
|
45516
|
+
}
|
|
44662
45517
|
}
|
|
44663
45518
|
}
|
|
44664
45519
|
|
|
@@ -47830,7 +48685,16 @@ get names(): ((string | LanguageString))[] {
|
|
|
47830
48685
|
\\"preview\\"];
|
|
47831
48686
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
47832
48687
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
47833
|
-
|
|
48688
|
+
try {
|
|
48689
|
+
v = await this.#preview_fromJsonLd(obj, options);
|
|
48690
|
+
} catch (error) {
|
|
48691
|
+
if (!options.suppressError) throw error;
|
|
48692
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
48693
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
48694
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#preview\\", index: i, error },
|
|
48695
|
+
);
|
|
48696
|
+
continue;
|
|
48697
|
+
}
|
|
47834
48698
|
}
|
|
47835
48699
|
}
|
|
47836
48700
|
|
|
@@ -52964,7 +53828,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
52964
53828
|
\\"orderedItems\\"];
|
|
52965
53829
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
52966
53830
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
52967
|
-
|
|
53831
|
+
try {
|
|
53832
|
+
v = await this.#item_fromJsonLd(obj, options);
|
|
53833
|
+
} catch (error) {
|
|
53834
|
+
if (!options.suppressError) throw error;
|
|
53835
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
53836
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
53837
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
|
|
53838
|
+
);
|
|
53839
|
+
continue;
|
|
53840
|
+
}
|
|
52968
53841
|
}
|
|
52969
53842
|
}
|
|
52970
53843
|
|
|
@@ -53715,7 +54588,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53715
54588
|
\\"orderedItems\\"];
|
|
53716
54589
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
53717
54590
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
53718
|
-
|
|
54591
|
+
try {
|
|
54592
|
+
v = await this.#item_fromJsonLd(obj, options);
|
|
54593
|
+
} catch (error) {
|
|
54594
|
+
if (!options.suppressError) throw error;
|
|
54595
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
54596
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
54597
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
|
|
54598
|
+
);
|
|
54599
|
+
continue;
|
|
54600
|
+
}
|
|
53719
54601
|
}
|
|
53720
54602
|
}
|
|
53721
54603
|
|
|
@@ -55407,7 +56289,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
55407
56289
|
\\"publicKey\\"];
|
|
55408
56290
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
55409
56291
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
55410
|
-
|
|
56292
|
+
try {
|
|
56293
|
+
v = await this.#publicKey_fromJsonLd(doc, options);
|
|
56294
|
+
} catch (error) {
|
|
56295
|
+
if (!options.suppressError) throw error;
|
|
56296
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
56297
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
56298
|
+
{ property: \\"https://w3id.org/security#publicKey\\", error },
|
|
56299
|
+
);
|
|
56300
|
+
return null;
|
|
56301
|
+
}
|
|
55411
56302
|
}
|
|
55412
56303
|
}
|
|
55413
56304
|
|
|
@@ -55500,7 +56391,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
55500
56391
|
\\"publicKey\\"];
|
|
55501
56392
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
55502
56393
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
55503
|
-
|
|
56394
|
+
try {
|
|
56395
|
+
v = await this.#publicKey_fromJsonLd(obj, options);
|
|
56396
|
+
} catch (error) {
|
|
56397
|
+
if (!options.suppressError) throw error;
|
|
56398
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
56399
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
56400
|
+
{ property: \\"https://w3id.org/security#publicKey\\", index: i, error },
|
|
56401
|
+
);
|
|
56402
|
+
continue;
|
|
56403
|
+
}
|
|
55504
56404
|
}
|
|
55505
56405
|
}
|
|
55506
56406
|
|
|
@@ -55719,7 +56619,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
55719
56619
|
\\"assertionMethod\\"];
|
|
55720
56620
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
55721
56621
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
55722
|
-
|
|
56622
|
+
try {
|
|
56623
|
+
v = await this.#assertionMethod_fromJsonLd(doc, options);
|
|
56624
|
+
} catch (error) {
|
|
56625
|
+
if (!options.suppressError) throw error;
|
|
56626
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
56627
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
56628
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", error },
|
|
56629
|
+
);
|
|
56630
|
+
return null;
|
|
56631
|
+
}
|
|
55723
56632
|
}
|
|
55724
56633
|
}
|
|
55725
56634
|
|
|
@@ -55816,7 +56725,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
55816
56725
|
\\"assertionMethod\\"];
|
|
55817
56726
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
55818
56727
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
55819
|
-
|
|
56728
|
+
try {
|
|
56729
|
+
v = await this.#assertionMethod_fromJsonLd(obj, options);
|
|
56730
|
+
} catch (error) {
|
|
56731
|
+
if (!options.suppressError) throw error;
|
|
56732
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
56733
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
56734
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
|
|
56735
|
+
);
|
|
56736
|
+
continue;
|
|
56737
|
+
}
|
|
55820
56738
|
}
|
|
55821
56739
|
}
|
|
55822
56740
|
|
|
@@ -56072,7 +56990,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
56072
56990
|
\\"inbox\\"];
|
|
56073
56991
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
56074
56992
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
56075
|
-
|
|
56993
|
+
try {
|
|
56994
|
+
v = await this.#inbox_fromJsonLd(doc, options);
|
|
56995
|
+
} catch (error) {
|
|
56996
|
+
if (!options.suppressError) throw error;
|
|
56997
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
56998
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
56999
|
+
{ property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
|
|
57000
|
+
);
|
|
57001
|
+
return null;
|
|
57002
|
+
}
|
|
56076
57003
|
}
|
|
56077
57004
|
}
|
|
56078
57005
|
|
|
@@ -56305,7 +57232,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
56305
57232
|
\\"outbox\\"];
|
|
56306
57233
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
56307
57234
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
56308
|
-
|
|
57235
|
+
try {
|
|
57236
|
+
v = await this.#outbox_fromJsonLd(doc, options);
|
|
57237
|
+
} catch (error) {
|
|
57238
|
+
if (!options.suppressError) throw error;
|
|
57239
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
57240
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
57241
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
|
|
57242
|
+
);
|
|
57243
|
+
return null;
|
|
57244
|
+
}
|
|
56309
57245
|
}
|
|
56310
57246
|
}
|
|
56311
57247
|
|
|
@@ -56524,7 +57460,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
56524
57460
|
\\"following\\"];
|
|
56525
57461
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
56526
57462
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
56527
|
-
|
|
57463
|
+
try {
|
|
57464
|
+
v = await this.#following_fromJsonLd(doc, options);
|
|
57465
|
+
} catch (error) {
|
|
57466
|
+
if (!options.suppressError) throw error;
|
|
57467
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
57468
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
57469
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
|
|
57470
|
+
);
|
|
57471
|
+
return null;
|
|
57472
|
+
}
|
|
56528
57473
|
}
|
|
56529
57474
|
}
|
|
56530
57475
|
|
|
@@ -56746,7 +57691,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
56746
57691
|
\\"followers\\"];
|
|
56747
57692
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
56748
57693
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
56749
|
-
|
|
57694
|
+
try {
|
|
57695
|
+
v = await this.#followers_fromJsonLd(doc, options);
|
|
57696
|
+
} catch (error) {
|
|
57697
|
+
if (!options.suppressError) throw error;
|
|
57698
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
57699
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
57700
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
|
|
57701
|
+
);
|
|
57702
|
+
return null;
|
|
57703
|
+
}
|
|
56750
57704
|
}
|
|
56751
57705
|
}
|
|
56752
57706
|
|
|
@@ -56966,7 +57920,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
56966
57920
|
\\"liked\\"];
|
|
56967
57921
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
56968
57922
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
56969
|
-
|
|
57923
|
+
try {
|
|
57924
|
+
v = await this.#liked_fromJsonLd(doc, options);
|
|
57925
|
+
} catch (error) {
|
|
57926
|
+
if (!options.suppressError) throw error;
|
|
57927
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
57928
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
57929
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
|
|
57930
|
+
);
|
|
57931
|
+
return null;
|
|
57932
|
+
}
|
|
56970
57933
|
}
|
|
56971
57934
|
}
|
|
56972
57935
|
|
|
@@ -57184,7 +58147,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
57184
58147
|
\\"featured\\"];
|
|
57185
58148
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
57186
58149
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
57187
|
-
|
|
58150
|
+
try {
|
|
58151
|
+
v = await this.#featured_fromJsonLd(doc, options);
|
|
58152
|
+
} catch (error) {
|
|
58153
|
+
if (!options.suppressError) throw error;
|
|
58154
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
58155
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
58156
|
+
{ property: \\"http://joinmastodon.org/ns#featured\\", error },
|
|
58157
|
+
);
|
|
58158
|
+
return null;
|
|
58159
|
+
}
|
|
57188
58160
|
}
|
|
57189
58161
|
}
|
|
57190
58162
|
|
|
@@ -57402,7 +58374,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
57402
58374
|
\\"featuredTags\\"];
|
|
57403
58375
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
57404
58376
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
57405
|
-
|
|
58377
|
+
try {
|
|
58378
|
+
v = await this.#featuredTags_fromJsonLd(doc, options);
|
|
58379
|
+
} catch (error) {
|
|
58380
|
+
if (!options.suppressError) throw error;
|
|
58381
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
58382
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
58383
|
+
{ property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
|
|
58384
|
+
);
|
|
58385
|
+
return null;
|
|
58386
|
+
}
|
|
57406
58387
|
}
|
|
57407
58388
|
}
|
|
57408
58389
|
|
|
@@ -57618,7 +58599,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
57618
58599
|
\\"streams\\"];
|
|
57619
58600
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
57620
58601
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
57621
|
-
|
|
58602
|
+
try {
|
|
58603
|
+
v = await this.#stream_fromJsonLd(obj, options);
|
|
58604
|
+
} catch (error) {
|
|
58605
|
+
if (!options.suppressError) throw error;
|
|
58606
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
58607
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
58608
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
|
|
58609
|
+
);
|
|
58610
|
+
continue;
|
|
58611
|
+
}
|
|
57622
58612
|
}
|
|
57623
58613
|
}
|
|
57624
58614
|
|
|
@@ -57944,7 +58934,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
57944
58934
|
\\"movedTo\\"];
|
|
57945
58935
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
57946
58936
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
57947
|
-
|
|
58937
|
+
try {
|
|
58938
|
+
v = await this.#successor_fromJsonLd(doc, options);
|
|
58939
|
+
} catch (error) {
|
|
58940
|
+
if (!options.suppressError) throw error;
|
|
58941
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
58942
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
58943
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
|
|
58944
|
+
);
|
|
58945
|
+
return null;
|
|
58946
|
+
}
|
|
57948
58947
|
}
|
|
57949
58948
|
}
|
|
57950
58949
|
|
|
@@ -58198,7 +59197,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
58198
59197
|
\\"alsoKnownAs\\"];
|
|
58199
59198
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
58200
59199
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
58201
|
-
|
|
59200
|
+
try {
|
|
59201
|
+
v = await this.#alias_fromJsonLd(doc, options);
|
|
59202
|
+
} catch (error) {
|
|
59203
|
+
if (!options.suppressError) throw error;
|
|
59204
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
59205
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
59206
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
|
|
59207
|
+
);
|
|
59208
|
+
return null;
|
|
59209
|
+
}
|
|
58202
59210
|
}
|
|
58203
59211
|
}
|
|
58204
59212
|
|
|
@@ -58295,7 +59303,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
58295
59303
|
\\"alsoKnownAs\\"];
|
|
58296
59304
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
58297
59305
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
58298
|
-
|
|
59306
|
+
try {
|
|
59307
|
+
v = await this.#alias_fromJsonLd(obj, options);
|
|
59308
|
+
} catch (error) {
|
|
59309
|
+
if (!options.suppressError) throw error;
|
|
59310
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
59311
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
59312
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
|
|
59313
|
+
);
|
|
59314
|
+
continue;
|
|
59315
|
+
}
|
|
58299
59316
|
}
|
|
58300
59317
|
}
|
|
58301
59318
|
|
|
@@ -58514,7 +59531,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
58514
59531
|
\\"service\\"];
|
|
58515
59532
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
58516
59533
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
58517
|
-
|
|
59534
|
+
try {
|
|
59535
|
+
v = await this.#service_fromJsonLd(doc, options);
|
|
59536
|
+
} catch (error) {
|
|
59537
|
+
if (!options.suppressError) throw error;
|
|
59538
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
59539
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
59540
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", error },
|
|
59541
|
+
);
|
|
59542
|
+
return null;
|
|
59543
|
+
}
|
|
58518
59544
|
}
|
|
58519
59545
|
}
|
|
58520
59546
|
|
|
@@ -58611,7 +59637,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
58611
59637
|
\\"service\\"];
|
|
58612
59638
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
58613
59639
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
58614
|
-
|
|
59640
|
+
try {
|
|
59641
|
+
v = await this.#service_fromJsonLd(obj, options);
|
|
59642
|
+
} catch (error) {
|
|
59643
|
+
if (!options.suppressError) throw error;
|
|
59644
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
59645
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
59646
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
|
|
59647
|
+
);
|
|
59648
|
+
continue;
|
|
59649
|
+
}
|
|
58615
59650
|
}
|
|
58616
59651
|
}
|
|
58617
59652
|
|
|
@@ -62540,7 +63575,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
62540
63575
|
\\"publicKey\\"];
|
|
62541
63576
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
62542
63577
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
62543
|
-
|
|
63578
|
+
try {
|
|
63579
|
+
v = await this.#publicKey_fromJsonLd(doc, options);
|
|
63580
|
+
} catch (error) {
|
|
63581
|
+
if (!options.suppressError) throw error;
|
|
63582
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
63583
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
63584
|
+
{ property: \\"https://w3id.org/security#publicKey\\", error },
|
|
63585
|
+
);
|
|
63586
|
+
return null;
|
|
63587
|
+
}
|
|
62544
63588
|
}
|
|
62545
63589
|
}
|
|
62546
63590
|
|
|
@@ -62633,7 +63677,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
62633
63677
|
\\"publicKey\\"];
|
|
62634
63678
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
62635
63679
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
62636
|
-
|
|
63680
|
+
try {
|
|
63681
|
+
v = await this.#publicKey_fromJsonLd(obj, options);
|
|
63682
|
+
} catch (error) {
|
|
63683
|
+
if (!options.suppressError) throw error;
|
|
63684
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
63685
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
63686
|
+
{ property: \\"https://w3id.org/security#publicKey\\", index: i, error },
|
|
63687
|
+
);
|
|
63688
|
+
continue;
|
|
63689
|
+
}
|
|
62637
63690
|
}
|
|
62638
63691
|
}
|
|
62639
63692
|
|
|
@@ -62852,7 +63905,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
62852
63905
|
\\"assertionMethod\\"];
|
|
62853
63906
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
62854
63907
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
62855
|
-
|
|
63908
|
+
try {
|
|
63909
|
+
v = await this.#assertionMethod_fromJsonLd(doc, options);
|
|
63910
|
+
} catch (error) {
|
|
63911
|
+
if (!options.suppressError) throw error;
|
|
63912
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
63913
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
63914
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", error },
|
|
63915
|
+
);
|
|
63916
|
+
return null;
|
|
63917
|
+
}
|
|
62856
63918
|
}
|
|
62857
63919
|
}
|
|
62858
63920
|
|
|
@@ -62949,7 +64011,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
62949
64011
|
\\"assertionMethod\\"];
|
|
62950
64012
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
62951
64013
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
62952
|
-
|
|
64014
|
+
try {
|
|
64015
|
+
v = await this.#assertionMethod_fromJsonLd(obj, options);
|
|
64016
|
+
} catch (error) {
|
|
64017
|
+
if (!options.suppressError) throw error;
|
|
64018
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
64019
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
64020
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
|
|
64021
|
+
);
|
|
64022
|
+
continue;
|
|
64023
|
+
}
|
|
62953
64024
|
}
|
|
62954
64025
|
}
|
|
62955
64026
|
|
|
@@ -63205,7 +64276,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
63205
64276
|
\\"inbox\\"];
|
|
63206
64277
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
63207
64278
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
63208
|
-
|
|
64279
|
+
try {
|
|
64280
|
+
v = await this.#inbox_fromJsonLd(doc, options);
|
|
64281
|
+
} catch (error) {
|
|
64282
|
+
if (!options.suppressError) throw error;
|
|
64283
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
64284
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
64285
|
+
{ property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
|
|
64286
|
+
);
|
|
64287
|
+
return null;
|
|
64288
|
+
}
|
|
63209
64289
|
}
|
|
63210
64290
|
}
|
|
63211
64291
|
|
|
@@ -63438,7 +64518,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
63438
64518
|
\\"outbox\\"];
|
|
63439
64519
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
63440
64520
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
63441
|
-
|
|
64521
|
+
try {
|
|
64522
|
+
v = await this.#outbox_fromJsonLd(doc, options);
|
|
64523
|
+
} catch (error) {
|
|
64524
|
+
if (!options.suppressError) throw error;
|
|
64525
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
64526
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
64527
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
|
|
64528
|
+
);
|
|
64529
|
+
return null;
|
|
64530
|
+
}
|
|
63442
64531
|
}
|
|
63443
64532
|
}
|
|
63444
64533
|
|
|
@@ -63657,7 +64746,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
63657
64746
|
\\"following\\"];
|
|
63658
64747
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
63659
64748
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
63660
|
-
|
|
64749
|
+
try {
|
|
64750
|
+
v = await this.#following_fromJsonLd(doc, options);
|
|
64751
|
+
} catch (error) {
|
|
64752
|
+
if (!options.suppressError) throw error;
|
|
64753
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
64754
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
64755
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
|
|
64756
|
+
);
|
|
64757
|
+
return null;
|
|
64758
|
+
}
|
|
63661
64759
|
}
|
|
63662
64760
|
}
|
|
63663
64761
|
|
|
@@ -63879,7 +64977,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
63879
64977
|
\\"followers\\"];
|
|
63880
64978
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
63881
64979
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
63882
|
-
|
|
64980
|
+
try {
|
|
64981
|
+
v = await this.#followers_fromJsonLd(doc, options);
|
|
64982
|
+
} catch (error) {
|
|
64983
|
+
if (!options.suppressError) throw error;
|
|
64984
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
64985
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
64986
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
|
|
64987
|
+
);
|
|
64988
|
+
return null;
|
|
64989
|
+
}
|
|
63883
64990
|
}
|
|
63884
64991
|
}
|
|
63885
64992
|
|
|
@@ -64099,7 +65206,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
64099
65206
|
\\"liked\\"];
|
|
64100
65207
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
64101
65208
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
64102
|
-
|
|
65209
|
+
try {
|
|
65210
|
+
v = await this.#liked_fromJsonLd(doc, options);
|
|
65211
|
+
} catch (error) {
|
|
65212
|
+
if (!options.suppressError) throw error;
|
|
65213
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
65214
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
65215
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
|
|
65216
|
+
);
|
|
65217
|
+
return null;
|
|
65218
|
+
}
|
|
64103
65219
|
}
|
|
64104
65220
|
}
|
|
64105
65221
|
|
|
@@ -64317,7 +65433,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
64317
65433
|
\\"featured\\"];
|
|
64318
65434
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
64319
65435
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
64320
|
-
|
|
65436
|
+
try {
|
|
65437
|
+
v = await this.#featured_fromJsonLd(doc, options);
|
|
65438
|
+
} catch (error) {
|
|
65439
|
+
if (!options.suppressError) throw error;
|
|
65440
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
65441
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
65442
|
+
{ property: \\"http://joinmastodon.org/ns#featured\\", error },
|
|
65443
|
+
);
|
|
65444
|
+
return null;
|
|
65445
|
+
}
|
|
64321
65446
|
}
|
|
64322
65447
|
}
|
|
64323
65448
|
|
|
@@ -64535,7 +65660,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
64535
65660
|
\\"featuredTags\\"];
|
|
64536
65661
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
64537
65662
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
64538
|
-
|
|
65663
|
+
try {
|
|
65664
|
+
v = await this.#featuredTags_fromJsonLd(doc, options);
|
|
65665
|
+
} catch (error) {
|
|
65666
|
+
if (!options.suppressError) throw error;
|
|
65667
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
65668
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
65669
|
+
{ property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
|
|
65670
|
+
);
|
|
65671
|
+
return null;
|
|
65672
|
+
}
|
|
64539
65673
|
}
|
|
64540
65674
|
}
|
|
64541
65675
|
|
|
@@ -64751,7 +65885,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
64751
65885
|
\\"streams\\"];
|
|
64752
65886
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
64753
65887
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
64754
|
-
|
|
65888
|
+
try {
|
|
65889
|
+
v = await this.#stream_fromJsonLd(obj, options);
|
|
65890
|
+
} catch (error) {
|
|
65891
|
+
if (!options.suppressError) throw error;
|
|
65892
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
65893
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
65894
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
|
|
65895
|
+
);
|
|
65896
|
+
continue;
|
|
65897
|
+
}
|
|
64755
65898
|
}
|
|
64756
65899
|
}
|
|
64757
65900
|
|
|
@@ -65077,7 +66220,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
65077
66220
|
\\"movedTo\\"];
|
|
65078
66221
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
65079
66222
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
65080
|
-
|
|
66223
|
+
try {
|
|
66224
|
+
v = await this.#successor_fromJsonLd(doc, options);
|
|
66225
|
+
} catch (error) {
|
|
66226
|
+
if (!options.suppressError) throw error;
|
|
66227
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
66228
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
66229
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
|
|
66230
|
+
);
|
|
66231
|
+
return null;
|
|
66232
|
+
}
|
|
65081
66233
|
}
|
|
65082
66234
|
}
|
|
65083
66235
|
|
|
@@ -65331,7 +66483,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
65331
66483
|
\\"alsoKnownAs\\"];
|
|
65332
66484
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
65333
66485
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
65334
|
-
|
|
66486
|
+
try {
|
|
66487
|
+
v = await this.#alias_fromJsonLd(doc, options);
|
|
66488
|
+
} catch (error) {
|
|
66489
|
+
if (!options.suppressError) throw error;
|
|
66490
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
66491
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
66492
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
|
|
66493
|
+
);
|
|
66494
|
+
return null;
|
|
66495
|
+
}
|
|
65335
66496
|
}
|
|
65336
66497
|
}
|
|
65337
66498
|
|
|
@@ -65428,7 +66589,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
65428
66589
|
\\"alsoKnownAs\\"];
|
|
65429
66590
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
65430
66591
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
65431
|
-
|
|
66592
|
+
try {
|
|
66593
|
+
v = await this.#alias_fromJsonLd(obj, options);
|
|
66594
|
+
} catch (error) {
|
|
66595
|
+
if (!options.suppressError) throw error;
|
|
66596
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
66597
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
66598
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
|
|
66599
|
+
);
|
|
66600
|
+
continue;
|
|
66601
|
+
}
|
|
65432
66602
|
}
|
|
65433
66603
|
}
|
|
65434
66604
|
|
|
@@ -65647,7 +66817,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
65647
66817
|
\\"service\\"];
|
|
65648
66818
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
65649
66819
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
65650
|
-
|
|
66820
|
+
try {
|
|
66821
|
+
v = await this.#service_fromJsonLd(doc, options);
|
|
66822
|
+
} catch (error) {
|
|
66823
|
+
if (!options.suppressError) throw error;
|
|
66824
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
66825
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
66826
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", error },
|
|
66827
|
+
);
|
|
66828
|
+
return null;
|
|
66829
|
+
}
|
|
65651
66830
|
}
|
|
65652
66831
|
}
|
|
65653
66832
|
|
|
@@ -65744,7 +66923,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
65744
66923
|
\\"service\\"];
|
|
65745
66924
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
65746
66925
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
65747
|
-
|
|
66926
|
+
try {
|
|
66927
|
+
v = await this.#service_fromJsonLd(obj, options);
|
|
66928
|
+
} catch (error) {
|
|
66929
|
+
if (!options.suppressError) throw error;
|
|
66930
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
66931
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
66932
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
|
|
66933
|
+
);
|
|
66934
|
+
continue;
|
|
66935
|
+
}
|
|
65748
66936
|
}
|
|
65749
66937
|
}
|
|
65750
66938
|
|
|
@@ -69520,7 +70708,16 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
|
|
|
69520
70708
|
\\"describes\\"];
|
|
69521
70709
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
69522
70710
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
69523
|
-
|
|
70711
|
+
try {
|
|
70712
|
+
v = await this.#describes_fromJsonLd(doc, options);
|
|
70713
|
+
} catch (error) {
|
|
70714
|
+
if (!options.suppressError) throw error;
|
|
70715
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
70716
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
70717
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#describes\\", error },
|
|
70718
|
+
);
|
|
70719
|
+
return null;
|
|
70720
|
+
}
|
|
69524
70721
|
}
|
|
69525
70722
|
}
|
|
69526
70723
|
|
|
@@ -70360,7 +71557,16 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
70360
71557
|
\\"oneOf\\"];
|
|
70361
71558
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
70362
71559
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
70363
|
-
|
|
71560
|
+
try {
|
|
71561
|
+
v = await this.#exclusiveOption_fromJsonLd(obj, options);
|
|
71562
|
+
} catch (error) {
|
|
71563
|
+
if (!options.suppressError) throw error;
|
|
71564
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
71565
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
71566
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#oneOf\\", index: i, error },
|
|
71567
|
+
);
|
|
71568
|
+
continue;
|
|
71569
|
+
}
|
|
70364
71570
|
}
|
|
70365
71571
|
}
|
|
70366
71572
|
|
|
@@ -70579,7 +71785,16 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
70579
71785
|
\\"anyOf\\"];
|
|
70580
71786
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
70581
71787
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
70582
|
-
|
|
71788
|
+
try {
|
|
71789
|
+
v = await this.#inclusiveOption_fromJsonLd(obj, options);
|
|
71790
|
+
} catch (error) {
|
|
71791
|
+
if (!options.suppressError) throw error;
|
|
71792
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
71793
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
71794
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#anyOf\\", index: i, error },
|
|
71795
|
+
);
|
|
71796
|
+
continue;
|
|
71797
|
+
}
|
|
70583
71798
|
}
|
|
70584
71799
|
}
|
|
70585
71800
|
|
|
@@ -72439,7 +73654,16 @@ relationships?: (Object | URL)[];}
|
|
|
72439
73654
|
\\"subject\\"];
|
|
72440
73655
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
72441
73656
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
72442
|
-
|
|
73657
|
+
try {
|
|
73658
|
+
v = await this.#subject_fromJsonLd(doc, options);
|
|
73659
|
+
} catch (error) {
|
|
73660
|
+
if (!options.suppressError) throw error;
|
|
73661
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
73662
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
73663
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#subject\\", error },
|
|
73664
|
+
);
|
|
73665
|
+
return null;
|
|
73666
|
+
}
|
|
72443
73667
|
}
|
|
72444
73668
|
}
|
|
72445
73669
|
|
|
@@ -72654,7 +73878,16 @@ relationships?: (Object | URL)[];}
|
|
|
72654
73878
|
\\"object\\"];
|
|
72655
73879
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
72656
73880
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
72657
|
-
|
|
73881
|
+
try {
|
|
73882
|
+
v = await this.#object_fromJsonLd(doc, options);
|
|
73883
|
+
} catch (error) {
|
|
73884
|
+
if (!options.suppressError) throw error;
|
|
73885
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
73886
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
73887
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#object\\", error },
|
|
73888
|
+
);
|
|
73889
|
+
return null;
|
|
73890
|
+
}
|
|
72658
73891
|
}
|
|
72659
73892
|
}
|
|
72660
73893
|
|
|
@@ -72748,7 +73981,16 @@ relationships?: (Object | URL)[];}
|
|
|
72748
73981
|
\\"object\\"];
|
|
72749
73982
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
72750
73983
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
72751
|
-
|
|
73984
|
+
try {
|
|
73985
|
+
v = await this.#object_fromJsonLd(obj, options);
|
|
73986
|
+
} catch (error) {
|
|
73987
|
+
if (!options.suppressError) throw error;
|
|
73988
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
73989
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
73990
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#object\\", index: i, error },
|
|
73991
|
+
);
|
|
73992
|
+
continue;
|
|
73993
|
+
}
|
|
72752
73994
|
}
|
|
72753
73995
|
}
|
|
72754
73996
|
|
|
@@ -72966,7 +74208,16 @@ relationships?: (Object | URL)[];}
|
|
|
72966
74208
|
\\"relationship\\"];
|
|
72967
74209
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
72968
74210
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
72969
|
-
|
|
74211
|
+
try {
|
|
74212
|
+
v = await this.#relationship_fromJsonLd(doc, options);
|
|
74213
|
+
} catch (error) {
|
|
74214
|
+
if (!options.suppressError) throw error;
|
|
74215
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
74216
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
74217
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#relationship\\", error },
|
|
74218
|
+
);
|
|
74219
|
+
return null;
|
|
74220
|
+
}
|
|
72970
74221
|
}
|
|
72971
74222
|
}
|
|
72972
74223
|
|
|
@@ -73062,7 +74313,16 @@ relationships?: (Object | URL)[];}
|
|
|
73062
74313
|
\\"relationship\\"];
|
|
73063
74314
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
73064
74315
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
73065
|
-
|
|
74316
|
+
try {
|
|
74317
|
+
v = await this.#relationship_fromJsonLd(obj, options);
|
|
74318
|
+
} catch (error) {
|
|
74319
|
+
if (!options.suppressError) throw error;
|
|
74320
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
74321
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
74322
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#relationship\\", index: i, error },
|
|
74323
|
+
);
|
|
74324
|
+
continue;
|
|
74325
|
+
}
|
|
73066
74326
|
}
|
|
73067
74327
|
}
|
|
73068
74328
|
|
|
@@ -75186,7 +76446,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
75186
76446
|
\\"publicKey\\"];
|
|
75187
76447
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
75188
76448
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
75189
|
-
|
|
76449
|
+
try {
|
|
76450
|
+
v = await this.#publicKey_fromJsonLd(doc, options);
|
|
76451
|
+
} catch (error) {
|
|
76452
|
+
if (!options.suppressError) throw error;
|
|
76453
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
76454
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
76455
|
+
{ property: \\"https://w3id.org/security#publicKey\\", error },
|
|
76456
|
+
);
|
|
76457
|
+
return null;
|
|
76458
|
+
}
|
|
75190
76459
|
}
|
|
75191
76460
|
}
|
|
75192
76461
|
|
|
@@ -75279,7 +76548,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
75279
76548
|
\\"publicKey\\"];
|
|
75280
76549
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
75281
76550
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
75282
|
-
|
|
76551
|
+
try {
|
|
76552
|
+
v = await this.#publicKey_fromJsonLd(obj, options);
|
|
76553
|
+
} catch (error) {
|
|
76554
|
+
if (!options.suppressError) throw error;
|
|
76555
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
76556
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
76557
|
+
{ property: \\"https://w3id.org/security#publicKey\\", index: i, error },
|
|
76558
|
+
);
|
|
76559
|
+
continue;
|
|
76560
|
+
}
|
|
75283
76561
|
}
|
|
75284
76562
|
}
|
|
75285
76563
|
|
|
@@ -75498,7 +76776,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
75498
76776
|
\\"assertionMethod\\"];
|
|
75499
76777
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
75500
76778
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
75501
|
-
|
|
76779
|
+
try {
|
|
76780
|
+
v = await this.#assertionMethod_fromJsonLd(doc, options);
|
|
76781
|
+
} catch (error) {
|
|
76782
|
+
if (!options.suppressError) throw error;
|
|
76783
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
76784
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
76785
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", error },
|
|
76786
|
+
);
|
|
76787
|
+
return null;
|
|
76788
|
+
}
|
|
75502
76789
|
}
|
|
75503
76790
|
}
|
|
75504
76791
|
|
|
@@ -75595,7 +76882,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
75595
76882
|
\\"assertionMethod\\"];
|
|
75596
76883
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
75597
76884
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
75598
|
-
|
|
76885
|
+
try {
|
|
76886
|
+
v = await this.#assertionMethod_fromJsonLd(obj, options);
|
|
76887
|
+
} catch (error) {
|
|
76888
|
+
if (!options.suppressError) throw error;
|
|
76889
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
76890
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
76891
|
+
{ property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
|
|
76892
|
+
);
|
|
76893
|
+
continue;
|
|
76894
|
+
}
|
|
75599
76895
|
}
|
|
75600
76896
|
}
|
|
75601
76897
|
|
|
@@ -75851,7 +77147,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
75851
77147
|
\\"inbox\\"];
|
|
75852
77148
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
75853
77149
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
75854
|
-
|
|
77150
|
+
try {
|
|
77151
|
+
v = await this.#inbox_fromJsonLd(doc, options);
|
|
77152
|
+
} catch (error) {
|
|
77153
|
+
if (!options.suppressError) throw error;
|
|
77154
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
77155
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
77156
|
+
{ property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
|
|
77157
|
+
);
|
|
77158
|
+
return null;
|
|
77159
|
+
}
|
|
75855
77160
|
}
|
|
75856
77161
|
}
|
|
75857
77162
|
|
|
@@ -76084,7 +77389,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
76084
77389
|
\\"outbox\\"];
|
|
76085
77390
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
76086
77391
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
76087
|
-
|
|
77392
|
+
try {
|
|
77393
|
+
v = await this.#outbox_fromJsonLd(doc, options);
|
|
77394
|
+
} catch (error) {
|
|
77395
|
+
if (!options.suppressError) throw error;
|
|
77396
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
77397
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
77398
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
|
|
77399
|
+
);
|
|
77400
|
+
return null;
|
|
77401
|
+
}
|
|
76088
77402
|
}
|
|
76089
77403
|
}
|
|
76090
77404
|
|
|
@@ -76303,7 +77617,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
76303
77617
|
\\"following\\"];
|
|
76304
77618
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
76305
77619
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
76306
|
-
|
|
77620
|
+
try {
|
|
77621
|
+
v = await this.#following_fromJsonLd(doc, options);
|
|
77622
|
+
} catch (error) {
|
|
77623
|
+
if (!options.suppressError) throw error;
|
|
77624
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
77625
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
77626
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
|
|
77627
|
+
);
|
|
77628
|
+
return null;
|
|
77629
|
+
}
|
|
76307
77630
|
}
|
|
76308
77631
|
}
|
|
76309
77632
|
|
|
@@ -76525,7 +77848,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
76525
77848
|
\\"followers\\"];
|
|
76526
77849
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
76527
77850
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
76528
|
-
|
|
77851
|
+
try {
|
|
77852
|
+
v = await this.#followers_fromJsonLd(doc, options);
|
|
77853
|
+
} catch (error) {
|
|
77854
|
+
if (!options.suppressError) throw error;
|
|
77855
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
77856
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
77857
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
|
|
77858
|
+
);
|
|
77859
|
+
return null;
|
|
77860
|
+
}
|
|
76529
77861
|
}
|
|
76530
77862
|
}
|
|
76531
77863
|
|
|
@@ -76745,7 +78077,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
76745
78077
|
\\"liked\\"];
|
|
76746
78078
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
76747
78079
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
76748
|
-
|
|
78080
|
+
try {
|
|
78081
|
+
v = await this.#liked_fromJsonLd(doc, options);
|
|
78082
|
+
} catch (error) {
|
|
78083
|
+
if (!options.suppressError) throw error;
|
|
78084
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
78085
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
78086
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
|
|
78087
|
+
);
|
|
78088
|
+
return null;
|
|
78089
|
+
}
|
|
76749
78090
|
}
|
|
76750
78091
|
}
|
|
76751
78092
|
|
|
@@ -76963,7 +78304,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
76963
78304
|
\\"featured\\"];
|
|
76964
78305
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
76965
78306
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
76966
|
-
|
|
78307
|
+
try {
|
|
78308
|
+
v = await this.#featured_fromJsonLd(doc, options);
|
|
78309
|
+
} catch (error) {
|
|
78310
|
+
if (!options.suppressError) throw error;
|
|
78311
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
78312
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
78313
|
+
{ property: \\"http://joinmastodon.org/ns#featured\\", error },
|
|
78314
|
+
);
|
|
78315
|
+
return null;
|
|
78316
|
+
}
|
|
76967
78317
|
}
|
|
76968
78318
|
}
|
|
76969
78319
|
|
|
@@ -77181,7 +78531,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
77181
78531
|
\\"featuredTags\\"];
|
|
77182
78532
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
77183
78533
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
77184
|
-
|
|
78534
|
+
try {
|
|
78535
|
+
v = await this.#featuredTags_fromJsonLd(doc, options);
|
|
78536
|
+
} catch (error) {
|
|
78537
|
+
if (!options.suppressError) throw error;
|
|
78538
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
78539
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
78540
|
+
{ property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
|
|
78541
|
+
);
|
|
78542
|
+
return null;
|
|
78543
|
+
}
|
|
77185
78544
|
}
|
|
77186
78545
|
}
|
|
77187
78546
|
|
|
@@ -77397,7 +78756,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
77397
78756
|
\\"streams\\"];
|
|
77398
78757
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
77399
78758
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
77400
|
-
|
|
78759
|
+
try {
|
|
78760
|
+
v = await this.#stream_fromJsonLd(obj, options);
|
|
78761
|
+
} catch (error) {
|
|
78762
|
+
if (!options.suppressError) throw error;
|
|
78763
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
78764
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
78765
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
|
|
78766
|
+
);
|
|
78767
|
+
continue;
|
|
78768
|
+
}
|
|
77401
78769
|
}
|
|
77402
78770
|
}
|
|
77403
78771
|
|
|
@@ -77723,7 +79091,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
77723
79091
|
\\"movedTo\\"];
|
|
77724
79092
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
77725
79093
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
77726
|
-
|
|
79094
|
+
try {
|
|
79095
|
+
v = await this.#successor_fromJsonLd(doc, options);
|
|
79096
|
+
} catch (error) {
|
|
79097
|
+
if (!options.suppressError) throw error;
|
|
79098
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
79099
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
79100
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
|
|
79101
|
+
);
|
|
79102
|
+
return null;
|
|
79103
|
+
}
|
|
77727
79104
|
}
|
|
77728
79105
|
}
|
|
77729
79106
|
|
|
@@ -77977,7 +79354,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
77977
79354
|
\\"alsoKnownAs\\"];
|
|
77978
79355
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
77979
79356
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
77980
|
-
|
|
79357
|
+
try {
|
|
79358
|
+
v = await this.#alias_fromJsonLd(doc, options);
|
|
79359
|
+
} catch (error) {
|
|
79360
|
+
if (!options.suppressError) throw error;
|
|
79361
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
79362
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
79363
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
|
|
79364
|
+
);
|
|
79365
|
+
return null;
|
|
79366
|
+
}
|
|
77981
79367
|
}
|
|
77982
79368
|
}
|
|
77983
79369
|
|
|
@@ -78074,7 +79460,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
78074
79460
|
\\"alsoKnownAs\\"];
|
|
78075
79461
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
78076
79462
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
78077
|
-
|
|
79463
|
+
try {
|
|
79464
|
+
v = await this.#alias_fromJsonLd(obj, options);
|
|
79465
|
+
} catch (error) {
|
|
79466
|
+
if (!options.suppressError) throw error;
|
|
79467
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
79468
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
79469
|
+
{ property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
|
|
79470
|
+
);
|
|
79471
|
+
continue;
|
|
79472
|
+
}
|
|
78078
79473
|
}
|
|
78079
79474
|
}
|
|
78080
79475
|
|
|
@@ -78293,7 +79688,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
78293
79688
|
\\"service\\"];
|
|
78294
79689
|
const doc = Array.isArray(prop) ? prop[0] : prop;
|
|
78295
79690
|
if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
|
|
78296
|
-
|
|
79691
|
+
try {
|
|
79692
|
+
v = await this.#service_fromJsonLd(doc, options);
|
|
79693
|
+
} catch (error) {
|
|
79694
|
+
if (!options.suppressError) throw error;
|
|
79695
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
79696
|
+
\\"Failed to parse embedded value of {property}: {error}\\",
|
|
79697
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", error },
|
|
79698
|
+
);
|
|
79699
|
+
return null;
|
|
79700
|
+
}
|
|
78297
79701
|
}
|
|
78298
79702
|
}
|
|
78299
79703
|
|
|
@@ -78390,7 +79794,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
|
|
|
78390
79794
|
\\"service\\"];
|
|
78391
79795
|
const obj = Array.isArray(prop) ? prop[i] : prop;
|
|
78392
79796
|
if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
|
|
78393
|
-
|
|
79797
|
+
try {
|
|
79798
|
+
v = await this.#service_fromJsonLd(obj, options);
|
|
79799
|
+
} catch (error) {
|
|
79800
|
+
if (!options.suppressError) throw error;
|
|
79801
|
+
getLogger([\\"fedify\\", \\"vocab\\"]).debug(
|
|
79802
|
+
\\"Failed to parse embedded value of {property} at index {index}: {error}\\",
|
|
79803
|
+
{ property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
|
|
79804
|
+
);
|
|
79805
|
+
continue;
|
|
79806
|
+
}
|
|
78394
79807
|
}
|
|
78395
79808
|
}
|
|
78396
79809
|
|