@fedify/vocab 2.4.0-dev.1668 → 2.4.0-dev.1740
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 +4650 -1205
- package/dist/mod.d.cts +42 -0
- package/dist/mod.d.ts +42 -0
- package/dist/mod.js +4542 -1103
- package/dist-tests/{actor-DMHmbHBF.mjs → actor-Du_ra6Yk.mjs} +16 -9
- package/dist-tests/actor.test.mjs +15 -10
- package/dist-tests/lookup.test.mjs +4 -4
- package/dist-tests/type.test.mjs +2 -2
- package/dist-tests/{vocab-Bjwctrxn.mjs → vocab-CNiWKo57.mjs} +4542 -1103
- package/dist-tests/vocab.test.mjs +32 -2
- package/package.json +4 -4
- package/src/vocab.test.ts +36 -0
- /package/dist-tests/{type-_BlsfT3S.mjs → type-BMdjm4Eg.mjs} +0 -0
- /package/dist-tests/{utils-CQjrpUkt.mjs → utils-Df2odC27.mjs} +0 -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
|
*/
|
|
@@ -2694,6 +2706,9 @@ declare class InteractionRule {
|
|
|
2694
2706
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2695
2707
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2696
2708
|
protected get _baseUrl(): URL | undefined;
|
|
2709
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2710
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2711
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2697
2712
|
/**
|
|
2698
2713
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2699
2714
|
*/
|
|
@@ -5583,6 +5598,9 @@ declare class DidService {
|
|
|
5583
5598
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5584
5599
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5585
5600
|
protected get _baseUrl(): URL | undefined;
|
|
5601
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5602
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5603
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5586
5604
|
/**
|
|
5587
5605
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
5588
5606
|
*/
|
|
@@ -5757,6 +5775,9 @@ declare class DataIntegrityProof {
|
|
|
5757
5775
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5758
5776
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5759
5777
|
protected get _baseUrl(): URL | undefined;
|
|
5778
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5779
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5780
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5760
5781
|
/**
|
|
5761
5782
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
5762
5783
|
*/
|
|
@@ -5888,6 +5909,9 @@ declare class CryptographicKey {
|
|
|
5888
5909
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5889
5910
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5890
5911
|
protected get _baseUrl(): URL | undefined;
|
|
5912
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5913
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5914
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5891
5915
|
/**
|
|
5892
5916
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
5893
5917
|
*/
|
|
@@ -5998,6 +6022,9 @@ declare class Multikey {
|
|
|
5998
6022
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5999
6023
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6000
6024
|
protected get _baseUrl(): URL | undefined;
|
|
6025
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6026
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6027
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6001
6028
|
/**
|
|
6002
6029
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
6003
6030
|
*/
|
|
@@ -6315,6 +6342,9 @@ declare class Commitment {
|
|
|
6315
6342
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
6316
6343
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6317
6344
|
protected get _baseUrl(): URL | undefined;
|
|
6345
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6346
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6347
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6318
6348
|
/**
|
|
6319
6349
|
* The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
|
|
6320
6350
|
*/
|
|
@@ -6417,6 +6447,9 @@ declare class Intent {
|
|
|
6417
6447
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
6418
6448
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6419
6449
|
protected get _baseUrl(): URL | undefined;
|
|
6450
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6451
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6452
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6420
6453
|
/**
|
|
6421
6454
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
6422
6455
|
*/
|
|
@@ -10278,6 +10311,9 @@ declare class Endpoints {
|
|
|
10278
10311
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10279
10312
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10280
10313
|
protected get _baseUrl(): URL | undefined;
|
|
10314
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10315
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10316
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10281
10317
|
/**
|
|
10282
10318
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
10283
10319
|
*/
|
|
@@ -11649,6 +11685,9 @@ declare class Link {
|
|
|
11649
11685
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
11650
11686
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
11651
11687
|
protected get _baseUrl(): URL | undefined;
|
|
11688
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
11689
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
11690
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
11652
11691
|
/**
|
|
11653
11692
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
11654
11693
|
*/
|
|
@@ -17770,6 +17809,9 @@ declare class Source {
|
|
|
17770
17809
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
17771
17810
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
17772
17811
|
protected get _baseUrl(): URL | undefined;
|
|
17812
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
17813
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
17814
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
17773
17815
|
/**
|
|
17774
17816
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
17775
17817
|
*/
|
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
|
*/
|
|
@@ -2694,6 +2706,9 @@ declare class InteractionRule {
|
|
|
2694
2706
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2695
2707
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2696
2708
|
protected get _baseUrl(): URL | undefined;
|
|
2709
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
2710
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
2711
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
2697
2712
|
/**
|
|
2698
2713
|
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2699
2714
|
*/
|
|
@@ -5583,6 +5598,9 @@ declare class DidService {
|
|
|
5583
5598
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5584
5599
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5585
5600
|
protected get _baseUrl(): URL | undefined;
|
|
5601
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5602
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5603
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5586
5604
|
/**
|
|
5587
5605
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
|
5588
5606
|
*/
|
|
@@ -5757,6 +5775,9 @@ declare class DataIntegrityProof {
|
|
|
5757
5775
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5758
5776
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5759
5777
|
protected get _baseUrl(): URL | undefined;
|
|
5778
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5779
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5780
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5760
5781
|
/**
|
|
5761
5782
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
|
5762
5783
|
*/
|
|
@@ -5888,6 +5909,9 @@ declare class CryptographicKey {
|
|
|
5888
5909
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5889
5910
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
5890
5911
|
protected get _baseUrl(): URL | undefined;
|
|
5912
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
5913
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
5914
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
5891
5915
|
/**
|
|
5892
5916
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
|
5893
5917
|
*/
|
|
@@ -5998,6 +6022,9 @@ declare class Multikey {
|
|
|
5998
6022
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
5999
6023
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6000
6024
|
protected get _baseUrl(): URL | undefined;
|
|
6025
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6026
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6027
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6001
6028
|
/**
|
|
6002
6029
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
|
6003
6030
|
*/
|
|
@@ -6315,6 +6342,9 @@ declare class Commitment {
|
|
|
6315
6342
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
6316
6343
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6317
6344
|
protected get _baseUrl(): URL | undefined;
|
|
6345
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6346
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6347
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6318
6348
|
/**
|
|
6319
6349
|
* The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
|
|
6320
6350
|
*/
|
|
@@ -6417,6 +6447,9 @@ declare class Intent {
|
|
|
6417
6447
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
6418
6448
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
6419
6449
|
protected get _baseUrl(): URL | undefined;
|
|
6450
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
6451
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
6452
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
6420
6453
|
/**
|
|
6421
6454
|
* The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`.
|
|
6422
6455
|
*/
|
|
@@ -10278,6 +10311,9 @@ declare class Endpoints {
|
|
|
10278
10311
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10279
10312
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10280
10313
|
protected get _baseUrl(): URL | undefined;
|
|
10314
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
10315
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
10316
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
10281
10317
|
/**
|
|
10282
10318
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
|
10283
10319
|
*/
|
|
@@ -11649,6 +11685,9 @@ declare class Link {
|
|
|
11649
11685
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
11650
11686
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
11651
11687
|
protected get _baseUrl(): URL | undefined;
|
|
11688
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
11689
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
11690
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
11652
11691
|
/**
|
|
11653
11692
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
|
11654
11693
|
*/
|
|
@@ -17770,6 +17809,9 @@ declare class Source {
|
|
|
17770
17809
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
17771
17810
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
17772
17811
|
protected get _baseUrl(): URL | undefined;
|
|
17812
|
+
protected get _shouldCacheJsonLd(): boolean;
|
|
17813
|
+
protected set _shouldCacheJsonLd(value: boolean);
|
|
17814
|
+
protected static _shouldCacheDecodedJsonLd(value: unknown): boolean;
|
|
17773
17815
|
/**
|
|
17774
17816
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
|
17775
17817
|
*/
|