@fedify/vocab 2.2.6 → 2.2.8
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 +1906 -563
- package/dist/mod.d.cts +39 -0
- package/dist/mod.d.ts +39 -0
- package/dist/mod.js +1906 -563
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-C1aZjo5o.mjs → deno-BDmh73g3.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BJL2RQRV.mjs → vocab-KiMp-Gly.mjs} +1906 -563
- package/dist-tests/vocab.test.mjs +31 -1
- package/package.json +4 -4
- package/src/vocab.test.ts +36 -0
package/dist/mod.d.cts
CHANGED
|
@@ -22,6 +22,9 @@ declare class Object$1 {
|
|
|
22
22
|
} | undefined;
|
|
23
23
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
24
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
26
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
27
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
25
28
|
/**
|
|
26
29
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
|
27
30
|
*/
|
|
@@ -1918,6 +1921,9 @@ declare class PropertyValue {
|
|
|
1918
1921
|
} | undefined;
|
|
1919
1922
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1920
1923
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1924
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1925
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1926
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1921
1927
|
/**
|
|
1922
1928
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1923
1929
|
*/
|
|
@@ -2012,6 +2018,9 @@ declare class Measure {
|
|
|
2012
2018
|
} | undefined;
|
|
2013
2019
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2014
2020
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2021
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2022
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2023
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2015
2024
|
/**
|
|
2016
2025
|
* The type URI of {@link Measure}: `http://www.ontology-of-units-of-measure.org/resource/om-2/Measure`.
|
|
2017
2026
|
*/
|
|
@@ -2548,6 +2557,9 @@ declare class InteractionPolicy {
|
|
|
2548
2557
|
} | undefined;
|
|
2549
2558
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2550
2559
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2560
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2561
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2562
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2551
2563
|
/**
|
|
2552
2564
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2553
2565
|
*/
|
|
@@ -2681,6 +2693,9 @@ declare class InteractionRule {
|
|
|
2681
2693
|
} | undefined;
|
|
2682
2694
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2683
2695
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2696
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2697
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2698
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2684
2699
|
/**
|
|
2685
2700
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2686
2701
|
*/
|
|
@@ -4089,6 +4104,9 @@ declare class DidService {
|
|
|
4089
4104
|
} | undefined;
|
|
4090
4105
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4091
4106
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4107
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4108
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4109
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4092
4110
|
/**
|
|
4093
4111
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
4094
4112
|
*/
|
|
@@ -4262,6 +4280,9 @@ declare class DataIntegrityProof {
|
|
|
4262
4280
|
} | undefined;
|
|
4263
4281
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4264
4282
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4283
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4284
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4285
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4265
4286
|
/**
|
|
4266
4287
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
4267
4288
|
*/
|
|
@@ -4392,6 +4413,9 @@ declare class CryptographicKey {
|
|
|
4392
4413
|
} | undefined;
|
|
4393
4414
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4394
4415
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4416
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4417
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4418
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4395
4419
|
/**
|
|
4396
4420
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
4397
4421
|
*/
|
|
@@ -4501,6 +4525,9 @@ declare class Multikey {
|
|
|
4501
4525
|
} | undefined;
|
|
4502
4526
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4503
4527
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4528
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4529
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4530
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4504
4531
|
/**
|
|
4505
4532
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
4506
4533
|
*/
|
|
@@ -4611,6 +4638,9 @@ declare class Intent {
|
|
|
4611
4638
|
} | undefined;
|
|
4612
4639
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4613
4640
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4641
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4642
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4643
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4614
4644
|
/**
|
|
4615
4645
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
4616
4646
|
*/
|
|
@@ -8826,6 +8856,9 @@ declare class Endpoints {
|
|
|
8826
8856
|
} | undefined;
|
|
8827
8857
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
8828
8858
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
8859
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
8860
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
8861
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
8829
8862
|
/**
|
|
8830
8863
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
8831
8864
|
*/
|
|
@@ -10153,6 +10186,9 @@ declare class Link {
|
|
|
10153
10186
|
} | undefined;
|
|
10154
10187
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10155
10188
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10189
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10190
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10191
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10156
10192
|
/**
|
|
10157
10193
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
10158
10194
|
*/
|
|
@@ -16381,6 +16417,9 @@ declare class Source {
|
|
|
16381
16417
|
} | undefined;
|
|
16382
16418
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16383
16419
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16420
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
16421
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
16422
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
16384
16423
|
/**
|
|
16385
16424
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
16386
16425
|
*/
|
package/dist/mod.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ declare class Object$1 {
|
|
|
22
22
|
} | undefined;
|
|
23
23
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
24
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
26
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
27
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
25
28
|
/**
|
|
26
29
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
|
27
30
|
*/
|
|
@@ -1918,6 +1921,9 @@ declare class PropertyValue {
|
|
|
1918
1921
|
} | undefined;
|
|
1919
1922
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1920
1923
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1924
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1925
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1926
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1921
1927
|
/**
|
|
1922
1928
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1923
1929
|
*/
|
|
@@ -2012,6 +2018,9 @@ declare class Measure {
|
|
|
2012
2018
|
} | undefined;
|
|
2013
2019
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2014
2020
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2021
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2022
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2023
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2015
2024
|
/**
|
|
2016
2025
|
* The type URI of {@link Measure}: `http://www.ontology-of-units-of-measure.org/resource/om-2/Measure`.
|
|
2017
2026
|
*/
|
|
@@ -2548,6 +2557,9 @@ declare class InteractionPolicy {
|
|
|
2548
2557
|
} | undefined;
|
|
2549
2558
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2550
2559
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2560
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2561
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2562
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2551
2563
|
/**
|
|
2552
2564
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2553
2565
|
*/
|
|
@@ -2681,6 +2693,9 @@ declare class InteractionRule {
|
|
|
2681
2693
|
} | undefined;
|
|
2682
2694
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2683
2695
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2696
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2697
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2698
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2684
2699
|
/**
|
|
2685
2700
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2686
2701
|
*/
|
|
@@ -4089,6 +4104,9 @@ declare class DidService {
|
|
|
4089
4104
|
} | undefined;
|
|
4090
4105
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4091
4106
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4107
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4108
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4109
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4092
4110
|
/**
|
|
4093
4111
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
4094
4112
|
*/
|
|
@@ -4262,6 +4280,9 @@ declare class DataIntegrityProof {
|
|
|
4262
4280
|
} | undefined;
|
|
4263
4281
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4264
4282
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4283
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4284
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4285
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4265
4286
|
/**
|
|
4266
4287
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
4267
4288
|
*/
|
|
@@ -4392,6 +4413,9 @@ declare class CryptographicKey {
|
|
|
4392
4413
|
} | undefined;
|
|
4393
4414
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4394
4415
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4416
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4417
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4418
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4395
4419
|
/**
|
|
4396
4420
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
4397
4421
|
*/
|
|
@@ -4501,6 +4525,9 @@ declare class Multikey {
|
|
|
4501
4525
|
} | undefined;
|
|
4502
4526
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4503
4527
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4528
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4529
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4530
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4504
4531
|
/**
|
|
4505
4532
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
4506
4533
|
*/
|
|
@@ -4611,6 +4638,9 @@ declare class Intent {
|
|
|
4611
4638
|
} | undefined;
|
|
4612
4639
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4613
4640
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4641
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4642
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4643
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4614
4644
|
/**
|
|
4615
4645
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
4616
4646
|
*/
|
|
@@ -8826,6 +8856,9 @@ declare class Endpoints {
|
|
|
8826
8856
|
} | undefined;
|
|
8827
8857
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
8828
8858
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
8859
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
8860
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
8861
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
8829
8862
|
/**
|
|
8830
8863
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
8831
8864
|
*/
|
|
@@ -10153,6 +10186,9 @@ declare class Link {
|
|
|
10153
10186
|
} | undefined;
|
|
10154
10187
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10155
10188
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10189
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10190
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10191
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10156
10192
|
/**
|
|
10157
10193
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
10158
10194
|
*/
|
|
@@ -16381,6 +16417,9 @@ declare class Source {
|
|
|
16381
16417
|
} | undefined;
|
|
16382
16418
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16383
16419
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16420
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
16421
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
16422
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
16384
16423
|
/**
|
|
16385
16424
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
16386
16425
|
*/
|