@fedify/vocab 2.1.17 → 2.1.18
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 +1475 -622
- package/dist/mod.d.cts +33 -0
- package/dist/mod.d.ts +33 -0
- package/dist/mod.js +1475 -622
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-D1Pq0QRg.mjs → deno-BqhKrvWk.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-Dz46WAsF.mjs → vocab-9-u7cXAo.mjs} +1475 -622
- 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
|
*/
|
|
@@ -1881,6 +1884,9 @@ declare class PropertyValue {
|
|
|
1881
1884
|
} | undefined;
|
|
1882
1885
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1883
1886
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1887
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1888
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1889
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1884
1890
|
/**
|
|
1885
1891
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1886
1892
|
*/
|
|
@@ -2414,6 +2420,9 @@ declare class InteractionPolicy {
|
|
|
2414
2420
|
} | undefined;
|
|
2415
2421
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2416
2422
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2423
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2424
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2425
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2417
2426
|
/**
|
|
2418
2427
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2419
2428
|
*/
|
|
@@ -2539,6 +2548,9 @@ declare class InteractionRule {
|
|
|
2539
2548
|
} | undefined;
|
|
2540
2549
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2541
2550
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2551
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2552
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2553
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2542
2554
|
/**
|
|
2543
2555
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2544
2556
|
*/
|
|
@@ -3516,6 +3528,9 @@ declare class DidService {
|
|
|
3516
3528
|
} | undefined;
|
|
3517
3529
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3518
3530
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3531
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3532
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3533
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3519
3534
|
/**
|
|
3520
3535
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
3521
3536
|
*/
|
|
@@ -3689,6 +3704,9 @@ declare class DataIntegrityProof {
|
|
|
3689
3704
|
} | undefined;
|
|
3690
3705
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3691
3706
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3707
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3708
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3709
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3692
3710
|
/**
|
|
3693
3711
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
3694
3712
|
*/
|
|
@@ -3819,6 +3837,9 @@ declare class CryptographicKey {
|
|
|
3819
3837
|
} | undefined;
|
|
3820
3838
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3821
3839
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3840
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3841
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3842
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3822
3843
|
/**
|
|
3823
3844
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
3824
3845
|
*/
|
|
@@ -3928,6 +3949,9 @@ declare class Multikey {
|
|
|
3928
3949
|
} | undefined;
|
|
3929
3950
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3930
3951
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3952
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3953
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3954
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3931
3955
|
/**
|
|
3932
3956
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
3933
3957
|
*/
|
|
@@ -7892,6 +7916,9 @@ declare class Endpoints {
|
|
|
7892
7916
|
} | undefined;
|
|
7893
7917
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
7894
7918
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
7919
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
7920
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
7921
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
7895
7922
|
/**
|
|
7896
7923
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
7897
7924
|
*/
|
|
@@ -9219,6 +9246,9 @@ declare class Link {
|
|
|
9219
9246
|
} | undefined;
|
|
9220
9247
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9221
9248
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9249
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
9250
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
9251
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
9222
9252
|
/**
|
|
9223
9253
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
9224
9254
|
*/
|
|
@@ -15373,6 +15403,9 @@ declare class Source {
|
|
|
15373
15403
|
} | undefined;
|
|
15374
15404
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
15375
15405
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
15406
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
15407
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
15408
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
15376
15409
|
/**
|
|
15377
15410
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
15378
15411
|
*/
|
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
|
*/
|
|
@@ -1881,6 +1884,9 @@ declare class PropertyValue {
|
|
|
1881
1884
|
} | undefined;
|
|
1882
1885
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1883
1886
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1887
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1888
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1889
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1884
1890
|
/**
|
|
1885
1891
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1886
1892
|
*/
|
|
@@ -2414,6 +2420,9 @@ declare class InteractionPolicy {
|
|
|
2414
2420
|
} | undefined;
|
|
2415
2421
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2416
2422
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2423
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2424
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2425
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2417
2426
|
/**
|
|
2418
2427
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2419
2428
|
*/
|
|
@@ -2539,6 +2548,9 @@ declare class InteractionRule {
|
|
|
2539
2548
|
} | undefined;
|
|
2540
2549
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2541
2550
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2551
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2552
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2553
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2542
2554
|
/**
|
|
2543
2555
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2544
2556
|
*/
|
|
@@ -3516,6 +3528,9 @@ declare class DidService {
|
|
|
3516
3528
|
} | undefined;
|
|
3517
3529
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3518
3530
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3531
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3532
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3533
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3519
3534
|
/**
|
|
3520
3535
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
3521
3536
|
*/
|
|
@@ -3689,6 +3704,9 @@ declare class DataIntegrityProof {
|
|
|
3689
3704
|
} | undefined;
|
|
3690
3705
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3691
3706
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3707
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3708
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3709
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3692
3710
|
/**
|
|
3693
3711
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
3694
3712
|
*/
|
|
@@ -3819,6 +3837,9 @@ declare class CryptographicKey {
|
|
|
3819
3837
|
} | undefined;
|
|
3820
3838
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3821
3839
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3840
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3841
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3842
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3822
3843
|
/**
|
|
3823
3844
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
3824
3845
|
*/
|
|
@@ -3928,6 +3949,9 @@ declare class Multikey {
|
|
|
3928
3949
|
} | undefined;
|
|
3929
3950
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3930
3951
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3952
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
3953
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
3954
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
3931
3955
|
/**
|
|
3932
3956
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
3933
3957
|
*/
|
|
@@ -7892,6 +7916,9 @@ declare class Endpoints {
|
|
|
7892
7916
|
} | undefined;
|
|
7893
7917
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
7894
7918
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
7919
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
7920
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
7921
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
7895
7922
|
/**
|
|
7896
7923
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
7897
7924
|
*/
|
|
@@ -9219,6 +9246,9 @@ declare class Link {
|
|
|
9219
9246
|
} | undefined;
|
|
9220
9247
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9221
9248
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9249
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
9250
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
9251
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
9222
9252
|
/**
|
|
9223
9253
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
9224
9254
|
*/
|
|
@@ -15373,6 +15403,9 @@ declare class Source {
|
|
|
15373
15403
|
} | undefined;
|
|
15374
15404
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
15375
15405
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
15406
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
15407
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
15408
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
15376
15409
|
/**
|
|
15377
15410
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
15378
15411
|
*/
|