@fedify/vocab 2.3.14 → 2.3.15
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 +289 -219
- package/dist/mod.d.cts +70 -0
- package/dist/mod.d.ts +70 -0
- package/dist/mod.js +289 -219
- package/dist-tests/{actor-CdnIo4XD.mjs → actor-pD1GaHgZ.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +34 -14
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-Cyuznh-0.mjs → vocab-DHuK2moR.mjs} +288 -218
- package/dist-tests/vocab.test.mjs +11 -3
- package/package.json +5 -5
- package/src/lookup.test.ts +37 -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 _baseUrl(): URL | undefined;
|
|
@@ -1925,6 +1930,11 @@ declare class PropertyValue {
|
|
|
1925
1930
|
message: string;
|
|
1926
1931
|
values?: Record<string, unknown>;
|
|
1927
1932
|
} | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1935
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1936
|
+
* accessor name and its getter/setter semantics stable.
|
|
1937
|
+
*/
|
|
1928
1938
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1929
1939
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1930
1940
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2024,6 +2034,11 @@ declare class Measure {
|
|
|
2024
2034
|
message: string;
|
|
2025
2035
|
values?: Record<string, unknown>;
|
|
2026
2036
|
} | undefined;
|
|
2037
|
+
/**
|
|
2038
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2039
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2040
|
+
* accessor name and its getter/setter semantics stable.
|
|
2041
|
+
*/
|
|
2027
2042
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2028
2043
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2029
2044
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2567,6 +2582,11 @@ declare class InteractionPolicy {
|
|
|
2567
2582
|
message: string;
|
|
2568
2583
|
values?: Record<string, unknown>;
|
|
2569
2584
|
} | undefined;
|
|
2585
|
+
/**
|
|
2586
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2587
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2588
|
+
* accessor name and its getter/setter semantics stable.
|
|
2589
|
+
*/
|
|
2570
2590
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2571
2591
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2572
2592
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2705,6 +2725,11 @@ declare class InteractionRule {
|
|
|
2705
2725
|
message: string;
|
|
2706
2726
|
values?: Record<string, unknown>;
|
|
2707
2727
|
} | undefined;
|
|
2728
|
+
/**
|
|
2729
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2730
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2731
|
+
* accessor name and its getter/setter semantics stable.
|
|
2732
|
+
*/
|
|
2708
2733
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2709
2734
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2710
2735
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4124,6 +4149,11 @@ declare class DidService {
|
|
|
4124
4149
|
message: string;
|
|
4125
4150
|
values?: Record<string, unknown>;
|
|
4126
4151
|
} | undefined;
|
|
4152
|
+
/**
|
|
4153
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4154
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4155
|
+
* accessor name and its getter/setter semantics stable.
|
|
4156
|
+
*/
|
|
4127
4157
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4128
4158
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4129
4159
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4303,6 +4333,11 @@ declare class DataIntegrityProof {
|
|
|
4303
4333
|
message: string;
|
|
4304
4334
|
values?: Record<string, unknown>;
|
|
4305
4335
|
} | undefined;
|
|
4336
|
+
/**
|
|
4337
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4338
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4339
|
+
* accessor name and its getter/setter semantics stable.
|
|
4340
|
+
*/
|
|
4306
4341
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4307
4342
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4308
4343
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4438,6 +4473,11 @@ declare class CryptographicKey {
|
|
|
4438
4473
|
message: string;
|
|
4439
4474
|
values?: Record<string, unknown>;
|
|
4440
4475
|
} | undefined;
|
|
4476
|
+
/**
|
|
4477
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4478
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4479
|
+
* accessor name and its getter/setter semantics stable.
|
|
4480
|
+
*/
|
|
4441
4481
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4442
4482
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4443
4483
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4552,6 +4592,11 @@ declare class Multikey {
|
|
|
4552
4592
|
message: string;
|
|
4553
4593
|
values?: Record<string, unknown>;
|
|
4554
4594
|
} | undefined;
|
|
4595
|
+
/**
|
|
4596
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4597
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4598
|
+
* accessor name and its getter/setter semantics stable.
|
|
4599
|
+
*/
|
|
4555
4600
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4556
4601
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4557
4602
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4874,6 +4919,11 @@ declare class Commitment {
|
|
|
4874
4919
|
message: string;
|
|
4875
4920
|
values?: Record<string, unknown>;
|
|
4876
4921
|
} | undefined;
|
|
4922
|
+
/**
|
|
4923
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4924
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4925
|
+
* accessor name and its getter/setter semantics stable.
|
|
4926
|
+
*/
|
|
4877
4927
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4878
4928
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4879
4929
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4980,6 +5030,11 @@ declare class Intent {
|
|
|
4980
5030
|
message: string;
|
|
4981
5031
|
values?: Record<string, unknown>;
|
|
4982
5032
|
} | undefined;
|
|
5033
|
+
/**
|
|
5034
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
5035
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
5036
|
+
* accessor name and its getter/setter semantics stable.
|
|
5037
|
+
*/
|
|
4983
5038
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4984
5039
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4985
5040
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -9217,6 +9272,11 @@ declare class Endpoints {
|
|
|
9217
9272
|
message: string;
|
|
9218
9273
|
values?: Record<string, unknown>;
|
|
9219
9274
|
} | undefined;
|
|
9275
|
+
/**
|
|
9276
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
9277
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
9278
|
+
* accessor name and its getter/setter semantics stable.
|
|
9279
|
+
*/
|
|
9220
9280
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9221
9281
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9222
9282
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -10553,6 +10613,11 @@ declare class Link {
|
|
|
10553
10613
|
message: string;
|
|
10554
10614
|
values?: Record<string, unknown>;
|
|
10555
10615
|
} | undefined;
|
|
10616
|
+
/**
|
|
10617
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
10618
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
10619
|
+
* accessor name and its getter/setter semantics stable.
|
|
10620
|
+
*/
|
|
10556
10621
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10557
10622
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10558
10623
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -16810,6 +16875,11 @@ declare class Source {
|
|
|
16810
16875
|
message: string;
|
|
16811
16876
|
values?: Record<string, unknown>;
|
|
16812
16877
|
} | undefined;
|
|
16878
|
+
/**
|
|
16879
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
16880
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
16881
|
+
* accessor name and its getter/setter semantics stable.
|
|
16882
|
+
*/
|
|
16813
16883
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16814
16884
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16815
16885
|
protected get _baseUrl(): URL | undefined;
|
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 _baseUrl(): URL | undefined;
|
|
@@ -1925,6 +1930,11 @@ declare class PropertyValue {
|
|
|
1925
1930
|
message: string;
|
|
1926
1931
|
values?: Record<string, unknown>;
|
|
1927
1932
|
} | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
1935
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
1936
|
+
* accessor name and its getter/setter semantics stable.
|
|
1937
|
+
*/
|
|
1928
1938
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
1929
1939
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
1930
1940
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2024,6 +2034,11 @@ declare class Measure {
|
|
|
2024
2034
|
message: string;
|
|
2025
2035
|
values?: Record<string, unknown>;
|
|
2026
2036
|
} | undefined;
|
|
2037
|
+
/**
|
|
2038
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2039
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2040
|
+
* accessor name and its getter/setter semantics stable.
|
|
2041
|
+
*/
|
|
2027
2042
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2028
2043
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2029
2044
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2567,6 +2582,11 @@ declare class InteractionPolicy {
|
|
|
2567
2582
|
message: string;
|
|
2568
2583
|
values?: Record<string, unknown>;
|
|
2569
2584
|
} | undefined;
|
|
2585
|
+
/**
|
|
2586
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2587
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2588
|
+
* accessor name and its getter/setter semantics stable.
|
|
2589
|
+
*/
|
|
2570
2590
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2571
2591
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2572
2592
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -2705,6 +2725,11 @@ declare class InteractionRule {
|
|
|
2705
2725
|
message: string;
|
|
2706
2726
|
values?: Record<string, unknown>;
|
|
2707
2727
|
} | undefined;
|
|
2728
|
+
/**
|
|
2729
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
2730
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
2731
|
+
* accessor name and its getter/setter semantics stable.
|
|
2732
|
+
*/
|
|
2708
2733
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
2709
2734
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2710
2735
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4124,6 +4149,11 @@ declare class DidService {
|
|
|
4124
4149
|
message: string;
|
|
4125
4150
|
values?: Record<string, unknown>;
|
|
4126
4151
|
} | undefined;
|
|
4152
|
+
/**
|
|
4153
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4154
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4155
|
+
* accessor name and its getter/setter semantics stable.
|
|
4156
|
+
*/
|
|
4127
4157
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4128
4158
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4129
4159
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4303,6 +4333,11 @@ declare class DataIntegrityProof {
|
|
|
4303
4333
|
message: string;
|
|
4304
4334
|
values?: Record<string, unknown>;
|
|
4305
4335
|
} | undefined;
|
|
4336
|
+
/**
|
|
4337
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4338
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4339
|
+
* accessor name and its getter/setter semantics stable.
|
|
4340
|
+
*/
|
|
4306
4341
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4307
4342
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4308
4343
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4438,6 +4473,11 @@ declare class CryptographicKey {
|
|
|
4438
4473
|
message: string;
|
|
4439
4474
|
values?: Record<string, unknown>;
|
|
4440
4475
|
} | undefined;
|
|
4476
|
+
/**
|
|
4477
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4478
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4479
|
+
* accessor name and its getter/setter semantics stable.
|
|
4480
|
+
*/
|
|
4441
4481
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4442
4482
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4443
4483
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4552,6 +4592,11 @@ declare class Multikey {
|
|
|
4552
4592
|
message: string;
|
|
4553
4593
|
values?: Record<string, unknown>;
|
|
4554
4594
|
} | undefined;
|
|
4595
|
+
/**
|
|
4596
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4597
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4598
|
+
* accessor name and its getter/setter semantics stable.
|
|
4599
|
+
*/
|
|
4555
4600
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4556
4601
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4557
4602
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4874,6 +4919,11 @@ declare class Commitment {
|
|
|
4874
4919
|
message: string;
|
|
4875
4920
|
values?: Record<string, unknown>;
|
|
4876
4921
|
} | undefined;
|
|
4922
|
+
/**
|
|
4923
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
4924
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
4925
|
+
* accessor name and its getter/setter semantics stable.
|
|
4926
|
+
*/
|
|
4877
4927
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4878
4928
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4879
4929
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -4980,6 +5030,11 @@ declare class Intent {
|
|
|
4980
5030
|
message: string;
|
|
4981
5031
|
values?: Record<string, unknown>;
|
|
4982
5032
|
} | undefined;
|
|
5033
|
+
/**
|
|
5034
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
5035
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
5036
|
+
* accessor name and its getter/setter semantics stable.
|
|
5037
|
+
*/
|
|
4983
5038
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
4984
5039
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
4985
5040
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -9217,6 +9272,11 @@ declare class Endpoints {
|
|
|
9217
9272
|
message: string;
|
|
9218
9273
|
values?: Record<string, unknown>;
|
|
9219
9274
|
} | undefined;
|
|
9275
|
+
/**
|
|
9276
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
9277
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
9278
|
+
* accessor name and its getter/setter semantics stable.
|
|
9279
|
+
*/
|
|
9220
9280
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
9221
9281
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
9222
9282
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -10553,6 +10613,11 @@ declare class Link {
|
|
|
10553
10613
|
message: string;
|
|
10554
10614
|
values?: Record<string, unknown>;
|
|
10555
10615
|
} | undefined;
|
|
10616
|
+
/**
|
|
10617
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
10618
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
10619
|
+
* accessor name and its getter/setter semantics stable.
|
|
10620
|
+
*/
|
|
10556
10621
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
10557
10622
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
10558
10623
|
protected get _baseUrl(): URL | undefined;
|
|
@@ -16810,6 +16875,11 @@ declare class Source {
|
|
|
16810
16875
|
message: string;
|
|
16811
16876
|
values?: Record<string, unknown>;
|
|
16812
16877
|
} | undefined;
|
|
16878
|
+
/**
|
|
16879
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
16880
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
16881
|
+
* accessor name and its getter/setter semantics stable.
|
|
16882
|
+
*/
|
|
16813
16883
|
protected get _cachedJsonLd(): unknown | undefined;
|
|
16814
16884
|
protected set _cachedJsonLd(value: unknown | undefined);
|
|
16815
16885
|
protected get _baseUrl(): URL | undefined;
|