@fedify/vocab 2.3.2-dev.1556 → 2.3.2
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 +1728 -353
- package/dist/mod.d.cts +42 -0
- package/dist/mod.d.ts +42 -0
- package/dist/mod.js +1728 -353
- package/dist-tests/{actor-B3yhEluK.mjs → actor-C1JXaHGB.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-C9xeg7Od.mjs → vocab-qOXUdrGm.mjs} +1728 -353
- 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
|
@@ -23,6 +23,9 @@ declare class Object$1 {
|
|
|
23
23
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
24
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
25
|
protected get _baseUrl(): URL | undefined;
|
|
26
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
27
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
28
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
26
29
|
/**
|
|
27
30
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
|
28
31
|
*/
|
|
@@ -1920,6 +1923,9 @@ declare class PropertyValue {
|
|
|
1920
1923
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1921
1924
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1922
1925
|
protected get _baseUrl(): URL | undefined;
|
|
1926
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1927
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1928
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1923
1929
|
/**
|
|
1924
1930
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1925
1931
|
*/
|
|
@@ -2015,6 +2021,9 @@ declare class Measure {
|
|
|
2015
2021
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2016
2022
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2017
2023
|
protected get _baseUrl(): URL | undefined;
|
|
2024
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2025
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2026
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2018
2027
|
/**
|
|
2019
2028
|
* The type URI of {@link Measure}: `http://www.ontology-of-units-of-measure.org/resource/om-2/Measure`.
|
|
2020
2029
|
*/
|
|
@@ -2552,6 +2561,9 @@ declare class InteractionPolicy {
|
|
|
2552
2561
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2553
2562
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2554
2563
|
protected get _baseUrl(): URL | undefined;
|
|
2564
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2565
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2566
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2555
2567
|
/**
|
|
2556
2568
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2557
2569
|
*/
|
|
@@ -2686,6 +2698,9 @@ declare class InteractionRule {
|
|
|
2686
2698
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2687
2699
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2688
2700
|
protected get _baseUrl(): URL | undefined;
|
|
2701
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2702
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2703
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2689
2704
|
/**
|
|
2690
2705
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2691
2706
|
*/
|
|
@@ -4095,6 +4110,9 @@ declare class DidService {
|
|
|
4095
4110
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4096
4111
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4097
4112
|
protected get _baseUrl(): URL | undefined;
|
|
4113
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4114
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4115
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4098
4116
|
/**
|
|
4099
4117
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
4100
4118
|
*/
|
|
@@ -4269,6 +4287,9 @@ declare class DataIntegrityProof {
|
|
|
4269
4287
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4270
4288
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4271
4289
|
protected get _baseUrl(): URL | undefined;
|
|
4290
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4291
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4292
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4272
4293
|
/**
|
|
4273
4294
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
4274
4295
|
*/
|
|
@@ -4400,6 +4421,9 @@ declare class CryptographicKey {
|
|
|
4400
4421
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4401
4422
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4402
4423
|
protected get _baseUrl(): URL | undefined;
|
|
4424
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4425
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4426
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4403
4427
|
/**
|
|
4404
4428
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
4405
4429
|
*/
|
|
@@ -4510,6 +4534,9 @@ declare class Multikey {
|
|
|
4510
4534
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4511
4535
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4512
4536
|
protected get _baseUrl(): URL | undefined;
|
|
4537
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4538
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4539
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4513
4540
|
/**
|
|
4514
4541
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
4515
4542
|
*/
|
|
@@ -4827,6 +4854,9 @@ declare class Commitment {
|
|
|
4827
4854
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4828
4855
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4829
4856
|
protected get _baseUrl(): URL | undefined;
|
|
4857
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4858
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4859
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4830
4860
|
/**
|
|
4831
4861
|
* The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
|
|
4832
4862
|
*/
|
|
@@ -4929,6 +4959,9 @@ declare class Intent {
|
|
|
4929
4959
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4930
4960
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4931
4961
|
protected get _baseUrl(): URL | undefined;
|
|
4962
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4963
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4964
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4932
4965
|
/**
|
|
4933
4966
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
4934
4967
|
*/
|
|
@@ -9145,6 +9178,9 @@ declare class Endpoints {
|
|
|
9145
9178
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9146
9179
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9147
9180
|
protected get _baseUrl(): URL | undefined;
|
|
9181
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
9182
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
9183
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
9148
9184
|
/**
|
|
9149
9185
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
9150
9186
|
*/
|
|
@@ -10473,6 +10509,9 @@ declare class Link {
|
|
|
10473
10509
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10474
10510
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10475
10511
|
protected get _baseUrl(): URL | undefined;
|
|
10512
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10513
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10514
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10476
10515
|
/**
|
|
10477
10516
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
10478
10517
|
*/
|
|
@@ -16702,6 +16741,9 @@ declare class Source {
|
|
|
16702
16741
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16703
16742
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16704
16743
|
protected get _baseUrl(): URL | undefined;
|
|
16744
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
16745
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
16746
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
16705
16747
|
/**
|
|
16706
16748
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
16707
16749
|
*/
|
package/dist/mod.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ declare class Object$1 {
|
|
|
23
23
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
24
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
25
|
protected get _baseUrl(): URL | undefined;
|
|
26
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
27
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
28
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
26
29
|
/**
|
|
27
30
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
|
28
31
|
*/
|
|
@@ -1920,6 +1923,9 @@ declare class PropertyValue {
|
|
|
1920
1923
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1921
1924
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1922
1925
|
protected get _baseUrl(): URL | undefined;
|
|
1926
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
1927
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
1928
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
1923
1929
|
/**
|
|
1924
1930
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
|
1925
1931
|
*/
|
|
@@ -2015,6 +2021,9 @@ declare class Measure {
|
|
|
2015
2021
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2016
2022
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2017
2023
|
protected get _baseUrl(): URL | undefined;
|
|
2024
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2025
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2026
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2018
2027
|
/**
|
|
2019
2028
|
* The type URI of {@link Measure}: `http://www.ontology-of-units-of-measure.org/resource/om-2/Measure`.
|
|
2020
2029
|
*/
|
|
@@ -2552,6 +2561,9 @@ declare class InteractionPolicy {
|
|
|
2552
2561
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2553
2562
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2554
2563
|
protected get _baseUrl(): URL | undefined;
|
|
2564
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2565
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2566
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2555
2567
|
/**
|
|
2556
2568
|
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2557
2569
|
*/
|
|
@@ -2686,6 +2698,9 @@ declare class InteractionRule {
|
|
|
2686
2698
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2687
2699
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2688
2700
|
protected get _baseUrl(): URL | undefined;
|
|
2701
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2702
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2703
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2689
2704
|
/**
|
|
2690
2705
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2691
2706
|
*/
|
|
@@ -4095,6 +4110,9 @@ declare class DidService {
|
|
|
4095
4110
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4096
4111
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4097
4112
|
protected get _baseUrl(): URL | undefined;
|
|
4113
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4114
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4115
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4098
4116
|
/**
|
|
4099
4117
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
4100
4118
|
*/
|
|
@@ -4269,6 +4287,9 @@ declare class DataIntegrityProof {
|
|
|
4269
4287
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4270
4288
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4271
4289
|
protected get _baseUrl(): URL | undefined;
|
|
4290
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4291
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4292
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4272
4293
|
/**
|
|
4273
4294
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
4274
4295
|
*/
|
|
@@ -4400,6 +4421,9 @@ declare class CryptographicKey {
|
|
|
4400
4421
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4401
4422
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4402
4423
|
protected get _baseUrl(): URL | undefined;
|
|
4424
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4425
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4426
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4403
4427
|
/**
|
|
4404
4428
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
4405
4429
|
*/
|
|
@@ -4510,6 +4534,9 @@ declare class Multikey {
|
|
|
4510
4534
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4511
4535
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4512
4536
|
protected get _baseUrl(): URL | undefined;
|
|
4537
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4538
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4539
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4513
4540
|
/**
|
|
4514
4541
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
4515
4542
|
*/
|
|
@@ -4827,6 +4854,9 @@ declare class Commitment {
|
|
|
4827
4854
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4828
4855
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4829
4856
|
protected get _baseUrl(): URL | undefined;
|
|
4857
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4858
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4859
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4830
4860
|
/**
|
|
4831
4861
|
* The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
|
|
4832
4862
|
*/
|
|
@@ -4929,6 +4959,9 @@ declare class Intent {
|
|
|
4929
4959
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4930
4960
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4931
4961
|
protected get _baseUrl(): URL | undefined;
|
|
4962
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
4963
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
4964
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
4932
4965
|
/**
|
|
4933
4966
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
4934
4967
|
*/
|
|
@@ -9145,6 +9178,9 @@ declare class Endpoints {
|
|
|
9145
9178
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9146
9179
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9147
9180
|
protected get _baseUrl(): URL | undefined;
|
|
9181
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
9182
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
9183
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
9148
9184
|
/**
|
|
9149
9185
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
9150
9186
|
*/
|
|
@@ -10473,6 +10509,9 @@ declare class Link {
|
|
|
10473
10509
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10474
10510
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10475
10511
|
protected get _baseUrl(): URL | undefined;
|
|
10512
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10513
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10514
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10476
10515
|
/**
|
|
10477
10516
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
10478
10517
|
*/
|
|
@@ -16702,6 +16741,9 @@ declare class Source {
|
|
|
16702
16741
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16703
16742
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16704
16743
|
protected get _baseUrl(): URL | undefined;
|
|
16744
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
16745
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
16746
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
16705
16747
|
/**
|
|
16706
16748
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
16707
16749
|
*/
|