@fedify/vocab 2.2.18 → 2.2.20
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 +282 -217
- package/dist/mod.d.cts +65 -0
- package/dist/mod.d.ts +65 -0
- package/dist/mod.js +282 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CkcuHhK7.mjs → deno-CE8IFnvm.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +30 -14
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CCpnNoho.mjs → vocab-C6G3QtaR.mjs} +281 -216
- package/dist-tests/vocab.test.mjs +11 -3
- package/package.json +5 -5
- package/src/lookup.test.ts +33 -11
- 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;
|
|
@@ -1924,6 +1929,11 @@ declare class PropertyValue {
|
|
|
1924
1929
|
message: string;
|
|
1925
1930
|
values?: Record<string, unknown>;
|
|
1926
1931
|
} | undefined;
|
|
1932
|
+
/**
|
|
1933
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1934
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1935
|
+
* accessor name and its getter/setter semantics stable.
|
|
1936
|
+
*/
|
|
1927
1937
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1928
1938
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1929
1939
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2022,6 +2032,11 @@ declare class Measure {
|
|
|
2022
2032
|
message: string;
|
|
2023
2033
|
values?: Record<string, unknown>;
|
|
2024
2034
|
} | undefined;
|
|
2035
|
+
/**
|
|
2036
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2037
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2038
|
+
* accessor name and its getter/setter semantics stable.
|
|
2039
|
+
*/
|
|
2025
2040
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2026
2041
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2027
2042
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2564,6 +2579,11 @@ declare class InteractionPolicy {
|
|
|
2564
2579
|
message: string;
|
|
2565
2580
|
values?: Record<string, unknown>;
|
|
2566
2581
|
} | undefined;
|
|
2582
|
+
/**
|
|
2583
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2584
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2585
|
+
* accessor name and its getter/setter semantics stable.
|
|
2586
|
+
*/
|
|
2567
2587
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2568
2588
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2569
2589
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2701,6 +2721,11 @@ declare class InteractionRule {
|
|
|
2701
2721
|
message: string;
|
|
2702
2722
|
values?: Record<string, unknown>;
|
|
2703
2723
|
} | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2726
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2727
|
+
* accessor name and its getter/setter semantics stable.
|
|
2728
|
+
*/
|
|
2704
2729
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2705
2730
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2706
2731
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4119,6 +4144,11 @@ declare class DidService {
|
|
|
4119
4144
|
message: string;
|
|
4120
4145
|
values?: Record<string, unknown>;
|
|
4121
4146
|
} | undefined;
|
|
4147
|
+
/**
|
|
4148
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4149
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4150
|
+
* accessor name and its getter/setter semantics stable.
|
|
4151
|
+
*/
|
|
4122
4152
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4123
4153
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4124
4154
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4297,6 +4327,11 @@ declare class DataIntegrityProof {
|
|
|
4297
4327
|
message: string;
|
|
4298
4328
|
values?: Record<string, unknown>;
|
|
4299
4329
|
} | undefined;
|
|
4330
|
+
/**
|
|
4331
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4332
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4333
|
+
* accessor name and its getter/setter semantics stable.
|
|
4334
|
+
*/
|
|
4300
4335
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4301
4336
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4302
4337
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4431,6 +4466,11 @@ declare class CryptographicKey {
|
|
|
4431
4466
|
message: string;
|
|
4432
4467
|
values?: Record<string, unknown>;
|
|
4433
4468
|
} | undefined;
|
|
4469
|
+
/**
|
|
4470
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4471
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4472
|
+
* accessor name and its getter/setter semantics stable.
|
|
4473
|
+
*/
|
|
4434
4474
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4435
4475
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4436
4476
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4544,6 +4584,11 @@ declare class Multikey {
|
|
|
4544
4584
|
message: string;
|
|
4545
4585
|
values?: Record<string, unknown>;
|
|
4546
4586
|
} | undefined;
|
|
4587
|
+
/**
|
|
4588
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4589
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4590
|
+
* accessor name and its getter/setter semantics stable.
|
|
4591
|
+
*/
|
|
4547
4592
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4548
4593
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4549
4594
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4658,6 +4703,11 @@ declare class Intent {
|
|
|
4658
4703
|
message: string;
|
|
4659
4704
|
values?: Record<string, unknown>;
|
|
4660
4705
|
} | undefined;
|
|
4706
|
+
/**
|
|
4707
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4708
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4709
|
+
* accessor name and its getter/setter semantics stable.
|
|
4710
|
+
*/
|
|
4661
4711
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4662
4712
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4663
4713
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -8894,6 +8944,11 @@ declare class Endpoints {
|
|
|
8894
8944
|
message: string;
|
|
8895
8945
|
values?: Record<string, unknown>;
|
|
8896
8946
|
} | undefined;
|
|
8947
|
+
/**
|
|
8948
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
8949
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
8950
|
+
* accessor name and its getter/setter semantics stable.
|
|
8951
|
+
*/
|
|
8897
8952
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
8898
8953
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
8899
8954
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -10229,6 +10284,11 @@ declare class Link {
|
|
|
10229
10284
|
message: string;
|
|
10230
10285
|
values?: Record<string, unknown>;
|
|
10231
10286
|
} | undefined;
|
|
10287
|
+
/**
|
|
10288
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
10289
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
10290
|
+
* accessor name and its getter/setter semantics stable.
|
|
10291
|
+
*/
|
|
10232
10292
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10233
10293
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10234
10294
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -16485,6 +16545,11 @@ declare class Source {
|
|
|
16485
16545
|
message: string;
|
|
16486
16546
|
values?: Record<string, unknown>;
|
|
16487
16547
|
} | undefined;
|
|
16548
|
+
/**
|
|
16549
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
16550
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
16551
|
+
* accessor name and its getter/setter semantics stable.
|
|
16552
|
+
*/
|
|
16488
16553
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16489
16554
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16490
16555
|
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;
|
|
@@ -1924,6 +1929,11 @@ declare class PropertyValue {
|
|
|
1924
1929
|
message: string;
|
|
1925
1930
|
values?: Record<string, unknown>;
|
|
1926
1931
|
} | undefined;
|
|
1932
|
+
/**
|
|
1933
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1934
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1935
|
+
* accessor name and its getter/setter semantics stable.
|
|
1936
|
+
*/
|
|
1927
1937
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1928
1938
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1929
1939
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2022,6 +2032,11 @@ declare class Measure {
|
|
|
2022
2032
|
message: string;
|
|
2023
2033
|
values?: Record<string, unknown>;
|
|
2024
2034
|
} | undefined;
|
|
2035
|
+
/**
|
|
2036
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2037
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2038
|
+
* accessor name and its getter/setter semantics stable.
|
|
2039
|
+
*/
|
|
2025
2040
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2026
2041
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2027
2042
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2564,6 +2579,11 @@ declare class InteractionPolicy {
|
|
|
2564
2579
|
message: string;
|
|
2565
2580
|
values?: Record<string, unknown>;
|
|
2566
2581
|
} | undefined;
|
|
2582
|
+
/**
|
|
2583
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2584
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2585
|
+
* accessor name and its getter/setter semantics stable.
|
|
2586
|
+
*/
|
|
2567
2587
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2568
2588
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2569
2589
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -2701,6 +2721,11 @@ declare class InteractionRule {
|
|
|
2701
2721
|
message: string;
|
|
2702
2722
|
values?: Record<string, unknown>;
|
|
2703
2723
|
} | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2726
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2727
|
+
* accessor name and its getter/setter semantics stable.
|
|
2728
|
+
*/
|
|
2704
2729
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2705
2730
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2706
2731
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4119,6 +4144,11 @@ declare class DidService {
|
|
|
4119
4144
|
message: string;
|
|
4120
4145
|
values?: Record<string, unknown>;
|
|
4121
4146
|
} | undefined;
|
|
4147
|
+
/**
|
|
4148
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4149
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4150
|
+
* accessor name and its getter/setter semantics stable.
|
|
4151
|
+
*/
|
|
4122
4152
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4123
4153
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4124
4154
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4297,6 +4327,11 @@ declare class DataIntegrityProof {
|
|
|
4297
4327
|
message: string;
|
|
4298
4328
|
values?: Record<string, unknown>;
|
|
4299
4329
|
} | undefined;
|
|
4330
|
+
/**
|
|
4331
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4332
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4333
|
+
* accessor name and its getter/setter semantics stable.
|
|
4334
|
+
*/
|
|
4300
4335
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4301
4336
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4302
4337
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4431,6 +4466,11 @@ declare class CryptographicKey {
|
|
|
4431
4466
|
message: string;
|
|
4432
4467
|
values?: Record<string, unknown>;
|
|
4433
4468
|
} | undefined;
|
|
4469
|
+
/**
|
|
4470
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4471
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4472
|
+
* accessor name and its getter/setter semantics stable.
|
|
4473
|
+
*/
|
|
4434
4474
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4435
4475
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4436
4476
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4544,6 +4584,11 @@ declare class Multikey {
|
|
|
4544
4584
|
message: string;
|
|
4545
4585
|
values?: Record<string, unknown>;
|
|
4546
4586
|
} | undefined;
|
|
4587
|
+
/**
|
|
4588
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4589
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4590
|
+
* accessor name and its getter/setter semantics stable.
|
|
4591
|
+
*/
|
|
4547
4592
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4548
4593
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4549
4594
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -4658,6 +4703,11 @@ declare class Intent {
|
|
|
4658
4703
|
message: string;
|
|
4659
4704
|
values?: Record<string, unknown>;
|
|
4660
4705
|
} | undefined;
|
|
4706
|
+
/**
|
|
4707
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4708
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4709
|
+
* accessor name and its getter/setter semantics stable.
|
|
4710
|
+
*/
|
|
4661
4711
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4662
4712
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4663
4713
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -8894,6 +8944,11 @@ declare class Endpoints {
|
|
|
8894
8944
|
message: string;
|
|
8895
8945
|
values?: Record<string, unknown>;
|
|
8896
8946
|
} | undefined;
|
|
8947
|
+
/**
|
|
8948
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
8949
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
8950
|
+
* accessor name and its getter/setter semantics stable.
|
|
8951
|
+
*/
|
|
8897
8952
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
8898
8953
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
8899
8954
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -10229,6 +10284,11 @@ declare class Link {
|
|
|
10229
10284
|
message: string;
|
|
10230
10285
|
values?: Record<string, unknown>;
|
|
10231
10286
|
} | undefined;
|
|
10287
|
+
/**
|
|
10288
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
10289
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
10290
|
+
* accessor name and its getter/setter semantics stable.
|
|
10291
|
+
*/
|
|
10232
10292
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10233
10293
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10234
10294
|
protected get _shouldCacheJsonLd(): boolean;
|
|
@@ -16485,6 +16545,11 @@ declare class Source {
|
|
|
16485
16545
|
message: string;
|
|
16486
16546
|
values?: Record<string, unknown>;
|
|
16487
16547
|
} | undefined;
|
|
16548
|
+
/**
|
|
16549
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
16550
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
16551
|
+
* accessor name and its getter/setter semantics stable.
|
|
16552
|
+
*/
|
|
16488
16553
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16489
16554
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16490
16555
|
protected get _shouldCacheJsonLd(): boolean;
|