@fedify/vocab 2.1.30 → 2.1.31
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 +257 -202
- package/dist/mod.d.cts +55 -0
- package/dist/mod.d.ts +55 -0
- package/dist/mod.js +257 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-C-AmqlF6.mjs → deno-B6BABxfi.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +22 -8
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BdFWN1ns.mjs → vocab-De7fFc2M.mjs} +256 -201
- package/dist-tests/vocab.test.mjs +11 -3
- package/package.json +5 -5
- package/src/lookup.test.ts +25 -5
- package/src/vocab.test.ts +13 -2
package/dist/mod.d.cts
CHANGED
|
@@ -20,6 +20,11 @@ declare class Object$1 {
|
|
|
20
20
|
message: string;
|
|
21
21
|
values?: Record<string, unknown>;
|
|
22
22
|
} | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
25
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
26
|
+
* accessor name and its getter/setter semantics stable.
|
|
27
|
+
*/
|
|
23
28
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
29
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
30
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -1887,6 +1892,11 @@ declare class PropertyValue {
|
|
|
1887
1892
|
message: string;
|
|
1888
1893
|
values?: Record<string, unknown>;
|
|
1889
1894
|
} | undefined;
|
|
1895
|
+
/**
|
|
1896
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1897
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1898
|
+
* accessor name and its getter/setter semantics stable.
|
|
1899
|
+
*/
|
|
1890
1900
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1891
1901
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1892
1902
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2426,6 +2436,11 @@ declare class InteractionPolicy {
|
|
|
2426
2436
|
message: string;
|
|
2427
2437
|
values?: Record<string, unknown>;
|
|
2428
2438
|
} | undefined;
|
|
2439
|
+
/**
|
|
2440
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2441
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2442
|
+
* accessor name and its getter/setter semantics stable.
|
|
2443
|
+
*/
|
|
2429
2444
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2430
2445
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2431
2446
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2555,6 +2570,11 @@ declare class InteractionRule {
|
|
|
2555
2570
|
message: string;
|
|
2556
2571
|
values?: Record<string, unknown>;
|
|
2557
2572
|
} | undefined;
|
|
2573
|
+
/**
|
|
2574
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2575
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2576
|
+
* accessor name and its getter/setter semantics stable.
|
|
2577
|
+
*/
|
|
2558
2578
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2559
2579
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2560
2580
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3540,6 +3560,11 @@ declare class DidService {
|
|
|
3540
3560
|
message: string;
|
|
3541
3561
|
values?: Record<string, unknown>;
|
|
3542
3562
|
} | undefined;
|
|
3563
|
+
/**
|
|
3564
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3565
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3566
|
+
* accessor name and its getter/setter semantics stable.
|
|
3567
|
+
*/
|
|
3543
3568
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3544
3569
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3545
3570
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3718,6 +3743,11 @@ declare class DataIntegrityProof {
|
|
|
3718
3743
|
message: string;
|
|
3719
3744
|
values?: Record<string, unknown>;
|
|
3720
3745
|
} | undefined;
|
|
3746
|
+
/**
|
|
3747
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3748
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3749
|
+
* accessor name and its getter/setter semantics stable.
|
|
3750
|
+
*/
|
|
3721
3751
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3722
3752
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3723
3753
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3852,6 +3882,11 @@ declare class CryptographicKey {
|
|
|
3852
3882
|
message: string;
|
|
3853
3883
|
values?: Record<string, unknown>;
|
|
3854
3884
|
} | undefined;
|
|
3885
|
+
/**
|
|
3886
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3887
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3888
|
+
* accessor name and its getter/setter semantics stable.
|
|
3889
|
+
*/
|
|
3855
3890
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3856
3891
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3857
3892
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3965,6 +4000,11 @@ declare class Multikey {
|
|
|
3965
4000
|
message: string;
|
|
3966
4001
|
values?: Record<string, unknown>;
|
|
3967
4002
|
} | undefined;
|
|
4003
|
+
/**
|
|
4004
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4005
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4006
|
+
* accessor name and its getter/setter semantics stable.
|
|
4007
|
+
*/
|
|
3968
4008
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3969
4009
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3970
4010
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -7949,6 +7989,11 @@ declare class Endpoints {
|
|
|
7949
7989
|
message: string;
|
|
7950
7990
|
values?: Record<string, unknown>;
|
|
7951
7991
|
} | undefined;
|
|
7992
|
+
/**
|
|
7993
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
7994
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
7995
|
+
* accessor name and its getter/setter semantics stable.
|
|
7996
|
+
*/
|
|
7952
7997
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
7953
7998
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
7954
7999
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -9284,6 +9329,11 @@ declare class Link {
|
|
|
9284
9329
|
message: string;
|
|
9285
9330
|
values?: Record<string, unknown>;
|
|
9286
9331
|
} | undefined;
|
|
9332
|
+
/**
|
|
9333
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
9334
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
9335
|
+
* accessor name and its getter/setter semantics stable.
|
|
9336
|
+
*/
|
|
9287
9337
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9288
9338
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9289
9339
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -15466,6 +15516,11 @@ declare class Source {
|
|
|
15466
15516
|
message: string;
|
|
15467
15517
|
values?: Record<string, unknown>;
|
|
15468
15518
|
} | undefined;
|
|
15519
|
+
/**
|
|
15520
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
15521
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
15522
|
+
* accessor name and its getter/setter semantics stable.
|
|
15523
|
+
*/
|
|
15469
15524
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
15470
15525
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
15471
15526
|
protected get _shouldCacheJsonLd(): boolean;
|
package/dist/mod.d.ts
CHANGED
|
@@ -20,6 +20,11 @@ declare class Object$1 {
|
|
|
20
20
|
message: string;
|
|
21
21
|
values?: Record<string, unknown>;
|
|
22
22
|
} | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
25
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
26
|
+
* accessor name and its getter/setter semantics stable.
|
|
27
|
+
*/
|
|
23
28
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
24
29
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
25
30
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -1887,6 +1892,11 @@ declare class PropertyValue {
|
|
|
1887
1892
|
message: string;
|
|
1888
1893
|
values?: Record<string, unknown>;
|
|
1889
1894
|
} | undefined;
|
|
1895
|
+
/**
|
|
1896
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1897
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1898
|
+
* accessor name and its getter/setter semantics stable.
|
|
1899
|
+
*/
|
|
1890
1900
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1891
1901
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1892
1902
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2426,6 +2436,11 @@ declare class InteractionPolicy {
|
|
|
2426
2436
|
message: string;
|
|
2427
2437
|
values?: Record<string, unknown>;
|
|
2428
2438
|
} | undefined;
|
|
2439
|
+
/**
|
|
2440
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2441
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2442
|
+
* accessor name and its getter/setter semantics stable.
|
|
2443
|
+
*/
|
|
2429
2444
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2430
2445
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2431
2446
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2555,6 +2570,11 @@ declare class InteractionRule {
|
|
|
2555
2570
|
message: string;
|
|
2556
2571
|
values?: Record<string, unknown>;
|
|
2557
2572
|
} | undefined;
|
|
2573
|
+
/**
|
|
2574
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2575
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2576
|
+
* accessor name and its getter/setter semantics stable.
|
|
2577
|
+
*/
|
|
2558
2578
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2559
2579
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2560
2580
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3540,6 +3560,11 @@ declare class DidService {
|
|
|
3540
3560
|
message: string;
|
|
3541
3561
|
values?: Record<string, unknown>;
|
|
3542
3562
|
} | undefined;
|
|
3563
|
+
/**
|
|
3564
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3565
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3566
|
+
* accessor name and its getter/setter semantics stable.
|
|
3567
|
+
*/
|
|
3543
3568
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3544
3569
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3545
3570
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3718,6 +3743,11 @@ declare class DataIntegrityProof {
|
|
|
3718
3743
|
message: string;
|
|
3719
3744
|
values?: Record<string, unknown>;
|
|
3720
3745
|
} | undefined;
|
|
3746
|
+
/**
|
|
3747
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3748
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3749
|
+
* accessor name and its getter/setter semantics stable.
|
|
3750
|
+
*/
|
|
3721
3751
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3722
3752
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3723
3753
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3852,6 +3882,11 @@ declare class CryptographicKey {
|
|
|
3852
3882
|
message: string;
|
|
3853
3883
|
values?: Record<string, unknown>;
|
|
3854
3884
|
} | undefined;
|
|
3885
|
+
/**
|
|
3886
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
3887
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
3888
|
+
* accessor name and its getter/setter semantics stable.
|
|
3889
|
+
*/
|
|
3855
3890
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3856
3891
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3857
3892
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -3965,6 +4000,11 @@ declare class Multikey {
|
|
|
3965
4000
|
message: string;
|
|
3966
4001
|
values?: Record<string, unknown>;
|
|
3967
4002
|
} | undefined;
|
|
4003
|
+
/**
|
|
4004
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4005
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4006
|
+
* accessor name and its getter/setter semantics stable.
|
|
4007
|
+
*/
|
|
3968
4008
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
3969
4009
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
3970
4010
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -7949,6 +7989,11 @@ declare class Endpoints {
|
|
|
7949
7989
|
message: string;
|
|
7950
7990
|
values?: Record<string, unknown>;
|
|
7951
7991
|
} | undefined;
|
|
7992
|
+
/**
|
|
7993
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
7994
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
7995
|
+
* accessor name and its getter/setter semantics stable.
|
|
7996
|
+
*/
|
|
7952
7997
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
7953
7998
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
7954
7999
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -9284,6 +9329,11 @@ declare class Link {
|
|
|
9284
9329
|
message: string;
|
|
9285
9330
|
values?: Record<string, unknown>;
|
|
9286
9331
|
} | undefined;
|
|
9332
|
+
/**
|
|
9333
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
9334
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
9335
|
+
* accessor name and its getter/setter semantics stable.
|
|
9336
|
+
*/
|
|
9287
9337
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9288
9338
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9289
9339
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -15466,6 +15516,11 @@ declare class Source {
|
|
|
15466
15516
|
message: string;
|
|
15467
15517
|
values?: Record<string, unknown>;
|
|
15468
15518
|
} | undefined;
|
|
15519
|
+
/**
|
|
15520
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
15521
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
15522
|
+
* accessor name and its getter/setter semantics stable.
|
|
15523
|
+
*/
|
|
15469
15524
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
15470
15525
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
15471
15526
|
protected get _shouldCacheJsonLd(): boolean;
|