@fedify/fedify 2.0.0-pr.445.1694 → 2.0.0-pr.449.1725

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.
Files changed (116) hide show
  1. package/dist/{actor-DoMcqXsW.js → actor-C0gLJq8I.js} +187 -187
  2. package/dist/{actor-CwZ2m5rG.cjs → actor-CsRJa7wV.cjs} +187 -187
  3. package/dist/{actor-D8gCwLzv.js → actor-VrXd7EdX.js} +1 -1
  4. package/dist/{authdocloader-Cv_qEn1G.js → authdocloader-6F9IP-VO.js} +3 -3
  5. package/dist/{authdocloader-bsmVF6eO.cjs → authdocloader-BkuVo8LL.cjs} +3 -3
  6. package/dist/{authdocloader-DYTNpaMA.js → authdocloader-C8LXxsmU.js} +3 -3
  7. package/dist/{builder-1_skw-d2.js → builder-JjsppXTK.js} +8 -8
  8. package/dist/{client-D5CBsPrc.js → client-BS-GE3XI.js} +1 -1
  9. package/dist/compat/mod.d.cts +2 -2
  10. package/dist/compat/mod.d.ts +2 -2
  11. package/dist/compat/transformers.test.js +16 -16
  12. package/dist/{context-DBKpNBnc.d.ts → context-B1X8-X33.d.ts} +120 -87
  13. package/dist/{context-DiqjMRef.d.cts → context-DYCJXr7J.d.cts} +120 -87
  14. package/dist/{docloader-Czl3xV10.js → docloader-AMdJU291.js} +1 -1
  15. package/dist/{docloader-CYnQRIXv.cjs → docloader-BdF5STdg.cjs} +1 -1
  16. package/dist/{esm-Dl5T1RNE.js → esm-CvUgdJZ_.js} +1 -1
  17. package/dist/federation/builder.test.js +5 -5
  18. package/dist/federation/collection.test.js +3 -3
  19. package/dist/federation/handler.test.js +17 -17
  20. package/dist/federation/idempotency.test.js +17 -17
  21. package/dist/federation/inbox.test.js +4 -4
  22. package/dist/federation/keycache.test.js +4 -4
  23. package/dist/federation/kv.test.js +3 -3
  24. package/dist/federation/middleware.test.js +18 -18
  25. package/dist/federation/mod.cjs +10 -10
  26. package/dist/federation/mod.d.cts +2 -2
  27. package/dist/federation/mod.d.ts +2 -2
  28. package/dist/federation/mod.js +10 -10
  29. package/dist/federation/mq.test.js +3 -3
  30. package/dist/federation/negotiation.test.js +3 -3
  31. package/dist/federation/retry.test.js +3 -3
  32. package/dist/federation/router.test.js +3 -3
  33. package/dist/federation/send.test.js +10 -10
  34. package/dist/{http-C_Qc2neP.js → http-DVQEn98K.js} +3 -3
  35. package/dist/{http-CAusBl_3.cjs → http-D_BI5KHC.cjs} +3 -3
  36. package/dist/{http-CuS-d4U0.js → http-DbyMqL2X.js} +2 -2
  37. package/dist/{inbox-IETv_Qez.js → inbox-DQlf_-Dz.js} +1 -1
  38. package/dist/{key-C_ruQbbl.js → key-BBzfhQGE.js} +4 -4
  39. package/dist/key-BMz_uAnc.cjs +10 -0
  40. package/dist/{key-DnqhSgAv.js → key-BSJX6n9o.js} +2 -2
  41. package/dist/{key-DuXv64tg.cjs → key-D-RgWfcf.cjs} +2 -2
  42. package/dist/{key-BNJQQm3h.js → key-DFefr8X2.js} +2 -2
  43. package/dist/{key-DpFjiItf.js → key-DW2DrPGl.js} +3 -3
  44. package/dist/{keycache-CSBkusP8.js → keycache-CcIfdj0m.js} +1 -1
  45. package/dist/{keys-D3_MDK7n.js → keys-DnSaJmvD.js} +1 -1
  46. package/dist/{ld-Isot0tiW.js → ld-CAJ6Q2od.js} +2 -2
  47. package/dist/{lookup-D6dro5Au.cjs → lookup-B2Bsau2g.cjs} +1 -1
  48. package/dist/{lookup-Dhm78GlK.js → lookup-BGCuyJRy.js} +1 -1
  49. package/dist/{lookup-CbtuFbtg.js → lookup-C3pnuyiD.js} +1 -1
  50. package/dist/{middleware-BuHr2fzh.js → middleware-1oxZY_0z.js} +36 -37
  51. package/dist/middleware-B8WWe8Q2.js +26 -0
  52. package/dist/{middleware-DQYscW90.js → middleware-BDqkoMAQ.js} +35 -36
  53. package/dist/{middleware-Dgmdgrvb.cjs → middleware-D0XMPoN8.cjs} +36 -37
  54. package/dist/middleware-DipQbJmB.js +17 -0
  55. package/dist/middleware-mLaQeD_Z.cjs +17 -0
  56. package/dist/{mod-D_y2y32N.d.ts → mod-DcKxhFQ8.d.ts} +1 -1
  57. package/dist/{mod-Bpb5QLaZ.d.cts → mod-twdvV2hR.d.cts} +1 -1
  58. package/dist/mod.cjs +10 -10
  59. package/dist/mod.d.cts +3 -3
  60. package/dist/mod.d.ts +3 -3
  61. package/dist/mod.js +10 -10
  62. package/dist/nodeinfo/client.test.js +5 -5
  63. package/dist/nodeinfo/handler.test.js +16 -16
  64. package/dist/nodeinfo/mod.cjs +2 -2
  65. package/dist/nodeinfo/mod.js +2 -2
  66. package/dist/nodeinfo/types.test.js +3 -3
  67. package/dist/{owner-ChSL4aJ7.js → owner-CaIfLBwg.js} +2 -2
  68. package/dist/{proof-ONNmhInb.cjs → proof-AhyVJcNZ.cjs} +3 -3
  69. package/dist/{proof-x3IBewan.js → proof-BQwXHakc.js} +2 -2
  70. package/dist/{proof-BiSCuwyA.js → proof-CKXppjee.js} +3 -3
  71. package/dist/runtime/authdocloader.test.js +9 -9
  72. package/dist/runtime/docloader.test.js +4 -4
  73. package/dist/runtime/key.test.js +5 -5
  74. package/dist/runtime/langstr.test.js +3 -3
  75. package/dist/runtime/link.test.js +3 -3
  76. package/dist/runtime/mod.cjs +6 -6
  77. package/dist/runtime/mod.js +6 -6
  78. package/dist/runtime/multibase/multibase.test.js +3 -3
  79. package/dist/runtime/url.test.js +3 -3
  80. package/dist/{send-D5fjmUEj.js → send-DQd3R1Oc.js} +2 -2
  81. package/dist/sig/http.test.js +8 -8
  82. package/dist/sig/key.test.js +6 -6
  83. package/dist/sig/ld.test.js +7 -7
  84. package/dist/sig/mod.cjs +6 -6
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.js +7 -7
  87. package/dist/sig/proof.test.js +7 -7
  88. package/dist/testing/docloader.test.js +3 -3
  89. package/dist/testing/mod.d.ts +119 -86
  90. package/dist/testing/mod.js +3 -3
  91. package/dist/{testing-tWr1VQxx.js → testing-BljKU-GG.js} +2 -2
  92. package/dist/{type-DaUr3Il7.js → type-COb6KNlm.js} +186 -186
  93. package/dist/{types-DQuSDtDg.js → types-CEn4wB51.js} +1 -1
  94. package/dist/{types-D2Nyz0tR.cjs → types-DI0yutHB.cjs} +1 -1
  95. package/dist/vocab/actor.test.js +5 -5
  96. package/dist/vocab/lookup.test.js +4 -4
  97. package/dist/vocab/mod.cjs +4 -4
  98. package/dist/vocab/mod.js +4 -4
  99. package/dist/vocab/type.test.js +3 -3
  100. package/dist/vocab/vocab.test.js +4 -4
  101. package/dist/{vocab-w--qk7HF.js → vocab-CkWH9P5l.js} +3 -3
  102. package/dist/{vocab-Dd4VMrr0.cjs → vocab-NZXL5Pr-.cjs} +3 -3
  103. package/dist/webfinger/handler.test.js +16 -16
  104. package/dist/webfinger/lookup.test.js +4 -4
  105. package/dist/webfinger/mod.cjs +2 -2
  106. package/dist/webfinger/mod.js +2 -2
  107. package/dist/x/cfworkers.test.js +3 -3
  108. package/dist/x/hono.d.cts +1 -1
  109. package/dist/x/hono.d.ts +1 -1
  110. package/dist/x/sveltekit.d.cts +1 -1
  111. package/dist/x/sveltekit.d.ts +1 -1
  112. package/package.json +1 -1
  113. package/dist/key-DIMJMxf4.cjs +0 -10
  114. package/dist/middleware-BpR6186a.js +0 -26
  115. package/dist/middleware-DDMxdtWM.cjs +0 -17
  116. package/dist/middleware-T-knSMwl.js +0 -17
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-DaUr3Il7.js";
6
+ import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-COb6KNlm.js";
7
7
  import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { domainToASCII, domainToUnicode } from "node:url";
9
9
 
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-Czl3xV10.js";
6
- import { validateCryptoKey } from "./key-BNJQQm3h.js";
7
- import { doubleKnock } from "./http-C_Qc2neP.js";
5
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-AMdJU291.js";
6
+ import { validateCryptoKey } from "./key-DFefr8X2.js";
7
+ import { doubleKnock } from "./http-DVQEn98K.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
10
10
  //#region src/runtime/authdocloader.ts
@@ -3,9 +3,9 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_docloader = require('./docloader-CYnQRIXv.cjs');
7
- const require_key = require('./key-DuXv64tg.cjs');
8
- const require_http = require('./http-CAusBl_3.cjs');
6
+ const require_docloader = require('./docloader-BdF5STdg.cjs');
7
+ const require_key = require('./key-D-RgWfcf.cjs');
8
+ const require_http = require('./http-D_BI5KHC.cjs');
9
9
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
10
10
 
11
11
  //#region src/runtime/authdocloader.ts
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-DaUr3Il7.js";
7
- import { validateCryptoKey } from "./key-DnqhSgAv.js";
8
- import { doubleKnock } from "./http-CuS-d4U0.js";
6
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-COb6KNlm.js";
7
+ import { validateCryptoKey } from "./key-BSJX6n9o.js";
8
+ import { doubleKnock } from "./http-DbyMqL2X.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
 
11
11
  //#region src/runtime/authdocloader.ts
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default, getTypeId } from "./type-DaUr3Il7.js";
7
- import { Router, RouterError } from "./lookup-CbtuFbtg.js";
8
- import { InboxListenerSet } from "./inbox-IETv_Qez.js";
6
+ import { deno_default, getTypeId } from "./type-COb6KNlm.js";
7
+ import { Router, RouterError } from "./lookup-C3pnuyiD.js";
8
+ import { InboxListenerSet } from "./inbox-DQlf_-Dz.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
11
11
 
@@ -43,7 +43,7 @@ var FederationBuilderImpl = class {
43
43
  this.collectionTypeIds = {};
44
44
  }
45
45
  async build(options) {
46
- const { FederationImpl } = await import("./middleware-BpR6186a.js");
46
+ const { FederationImpl } = await import("./middleware-B8WWe8Q2.js");
47
47
  const f = new FederationImpl(options);
48
48
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
49
49
  f.router = this.router.clone();
@@ -496,11 +496,11 @@ var FederationBuilderImpl = class {
496
496
  };
497
497
  return setters;
498
498
  }
499
- setCollectionDispatcher(name, ...args) {
500
- return this.#setCustomCollectionDispatcher(name, "collection", ...args);
499
+ setCollectionDispatcher(name, itemType, path, dispatcher) {
500
+ return this.#setCustomCollectionDispatcher(name, "collection", itemType, path, dispatcher);
501
501
  }
502
- setOrderedCollectionDispatcher(name, ...args) {
503
- return this.#setCustomCollectionDispatcher(name, "orderedCollection", ...args);
502
+ setOrderedCollectionDispatcher(name, itemType, path, dispatcher) {
503
+ return this.#setCustomCollectionDispatcher(name, "orderedCollection", itemType, path, dispatcher);
504
504
  }
505
505
  #setCustomCollectionDispatcher(name, collectionType, itemType, path, dispatcher) {
506
506
  const strName = String(name);
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { getUserAgent } from "./type-DaUr3Il7.js";
6
+ import { getUserAgent } from "./type-COb6KNlm.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
 
9
9
  //#region src/nodeinfo/client.ts
@@ -7,7 +7,7 @@ import "../http-D-e6AFwR.cjs";
7
7
  import "../owner-BN_tO3cY.cjs";
8
8
  import "../mod-CxkWO3Mg.cjs";
9
9
  import "../mod-jQ4OODsl.cjs";
10
- import { ActivityTransformer } from "../context-DiqjMRef.cjs";
10
+ import { ActivityTransformer } from "../context-DYCJXr7J.cjs";
11
11
  import "../mq-B7R1Q-M5.cjs";
12
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-Bpb5QLaZ.cjs";
12
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-twdvV2hR.cjs";
13
13
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -9,7 +9,7 @@ import "../http-D6Uj2x2y.js";
9
9
  import "../owner-hd9lvQcP.js";
10
10
  import "../mod-DlU8ISoa.js";
11
11
  import "../mod-DBzN0aCM.js";
12
- import { ActivityTransformer } from "../context-DBKpNBnc.js";
12
+ import { ActivityTransformer } from "../context-B1X8-X33.js";
13
13
  import "../mq-CRGm1e_F.js";
14
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-D_y2y32N.js";
14
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DcKxhFQ8.js";
15
15
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Follow, Person } from "../type-DaUr3Il7.js";
6
+ import { Follow, Person } from "../type-COb6KNlm.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DQYscW90.js";
12
- import "../client-D5CBsPrc.js";
13
- import "../lookup-CbtuFbtg.js";
11
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-BDqkoMAQ.js";
12
+ import "../client-BS-GE3XI.js";
13
+ import "../lookup-C3pnuyiD.js";
14
14
  import "../types-BSuWJsOm.js";
15
- import "../actor-D8gCwLzv.js";
16
- import "../key-DnqhSgAv.js";
17
- import "../http-CuS-d4U0.js";
18
- import "../authdocloader-DYTNpaMA.js";
19
- import "../ld-Isot0tiW.js";
20
- import "../owner-ChSL4aJ7.js";
21
- import "../proof-x3IBewan.js";
22
- import "../inbox-IETv_Qez.js";
23
- import "../builder-1_skw-d2.js";
15
+ import "../actor-VrXd7EdX.js";
16
+ import "../key-BSJX6n9o.js";
17
+ import "../http-DbyMqL2X.js";
18
+ import "../authdocloader-C8LXxsmU.js";
19
+ import "../ld-CAJ6Q2od.js";
20
+ import "../owner-CaIfLBwg.js";
21
+ import "../proof-BQwXHakc.js";
22
+ import "../inbox-DQlf_-Dz.js";
23
+ import "../builder-JjsppXTK.js";
24
24
  import "../collection-CcnIw1qY.js";
25
- import "../keycache-CSBkusP8.js";
25
+ import "../keycache-CcIfdj0m.js";
26
26
  import "../negotiation-5NPJL6zp.js";
27
27
  import "../retry-D4GJ670a.js";
28
- import "../send-D5fjmUEj.js";
29
- import { test } from "../testing-tWr1VQxx.js";
28
+ import "../send-DQd3R1Oc.js";
29
+ import { test } from "../testing-BljKU-GG.js";
30
30
 
31
31
  //#region src/compat/transformers.test.ts
32
32
  const federation = new FederationImpl({ kv: new MemoryKvStore() });
@@ -283,7 +283,7 @@ type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: R
283
283
  * the entire collection without pagination.
284
284
  * @since 1.8.0
285
285
  */
286
- type CustomCollectionDispatcher<TItem, TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: TParams, cursor: string | null) => PageItems<TItem> | null | Promise<PageItems<TItem> | null>;
286
+ type CustomCollectionDispatcher<TItem, TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>, cursor: string | null) => PageItems<TItem> | null | Promise<PageItems<TItem> | null>;
287
287
  /**
288
288
  * A callback that counts the number of items in a custom collection.
289
289
  *
@@ -293,7 +293,7 @@ type CustomCollectionDispatcher<TItem, TParams extends Record<string, string>, T
293
293
  * @param values The parameters of the requested URL.
294
294
  * @since 1.8.0
295
295
  */
296
- type CustomCollectionCounter<TParams extends Record<string, string>, TContextData> = (context: RequestContext<TContextData>, values: TParams) => number | bigint | null | Promise<number | bigint | null>;
296
+ type CustomCollectionCounter<TParam extends string, TContextData> = (context: RequestContext<TContextData>, values: Record<TParam, string>) => number | bigint | null | Promise<number | bigint | null>;
297
297
  /**
298
298
  * A callback that returns a cursor for a custom collection.
299
299
  *
@@ -306,7 +306,7 @@ type CustomCollectionCounter<TParams extends Record<string, string>, TContextDat
306
306
  * @param values The parameters of the requested URL.
307
307
  * @since 1.8.0
308
308
  */
309
- type CustomCollectionCursor<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: TParams) => string | null | Promise<string | null>;
309
+ type CustomCollectionCursor<TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>) => string | null | Promise<string | null>;
310
310
  //#endregion
311
311
  //#region src/federation/handler.d.ts
312
312
 
@@ -704,7 +704,7 @@ interface Federatable<TContextData> {
704
704
  * @returns An object with methods to set other actor dispatcher callbacks.
705
705
  * @throws {RouterError} Thrown if the path pattern is invalid.
706
706
  */
707
- setActorDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
707
+ setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
708
708
  /**
709
709
  * Registers an object dispatcher.
710
710
  *
@@ -768,7 +768,7 @@ interface Federatable<TContextData> {
768
768
  */
769
769
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
770
770
  typeId: URL;
771
- }, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
771
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
772
772
  /**
773
773
  * Registers an object dispatcher.
774
774
  *
@@ -784,7 +784,7 @@ interface Federatable<TContextData> {
784
784
  */
785
785
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
786
786
  typeId: URL;
787
- }, path: `${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
787
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
788
788
  /**
789
789
  * Registers an object dispatcher.
790
790
  *
@@ -800,7 +800,7 @@ interface Federatable<TContextData> {
800
800
  */
801
801
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
802
802
  typeId: URL;
803
- }, path: `${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
803
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
804
804
  /**
805
805
  * Registers an inbox dispatcher.
806
806
  *
@@ -812,7 +812,7 @@ interface Federatable<TContextData> {
812
812
  * @param dispatcher An inbox dispatcher callback to register.
813
813
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
814
814
  */
815
- setInboxDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
815
+ setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
816
816
  /**
817
817
  * Registers an outbox dispatcher.
818
818
  *
@@ -836,7 +836,7 @@ interface Federatable<TContextData> {
836
836
  * @param dispatcher An outbox dispatcher callback to register.
837
837
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
838
838
  */
839
- setOutboxDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
839
+ setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
840
840
  /**
841
841
  * Registers a following collection dispatcher.
842
842
  * @param path The URI path pattern for the following collection. The syntax
@@ -848,7 +848,7 @@ interface Federatable<TContextData> {
848
848
  * callbacks.
849
849
  * @throws {RouterError} Thrown if the path pattern is invalid.
850
850
  */
851
- setFollowingDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
851
+ setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
852
852
  /**
853
853
  * Registers a followers collection dispatcher.
854
854
  * @param path The URI path pattern for the followers collection. The syntax
@@ -860,7 +860,7 @@ interface Federatable<TContextData> {
860
860
  * callbacks.
861
861
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
862
862
  */
863
- setFollowersDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
863
+ setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
864
864
  /**
865
865
  * Registers a liked collection dispatcher.
866
866
  * @param path The URI path pattern for the liked collection. The syntax
@@ -872,7 +872,7 @@ interface Federatable<TContextData> {
872
872
  * callbacks.
873
873
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
874
874
  */
875
- setLikedDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
875
+ setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
876
876
  /**
877
877
  * Registers a featured collection dispatcher.
878
878
  * @param path The URI path pattern for the featured collection. The syntax
@@ -884,7 +884,7 @@ interface Federatable<TContextData> {
884
884
  * callbacks.
885
885
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
886
886
  */
887
- setFeaturedDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
887
+ setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
888
888
  /**
889
889
  * Registers a featured tags collection dispatcher.
890
890
  * @param path The URI path pattern for the featured tags collection.
@@ -896,7 +896,7 @@ interface Federatable<TContextData> {
896
896
  * callbacks.
897
897
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
898
898
  */
899
- setFeaturedTagsDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
899
+ setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
900
900
  /**
901
901
  * Assigns the URL path for the inbox and starts setting inbox listeners.
902
902
  *
@@ -926,7 +926,7 @@ interface Federatable<TContextData> {
926
926
  * @returns An object to register inbox listeners.
927
927
  * @throws {RouteError} Thrown if the path pattern is invalid.
928
928
  */
929
- setInboxListeners(inboxPath: `${string}{identifier}${string}` | `${string}{handle}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
929
+ setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
930
930
  /**
931
931
  * Registers a collection of objects dispatcher.
932
932
  *
@@ -941,7 +941,43 @@ interface Federatable<TContextData> {
941
941
  * The path must have one or more variables.
942
942
  * @param dispatcher A collection dispatcher callback to register.
943
943
  */
944
- setCollectionDispatcher<TObject extends Object$1, TParams extends Record<string, string>>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: ParamsKeyPath<TParams>, dispatcher: CustomCollectionDispatcher<TObject, TParams, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParams, RequestContext<TContextData>, TContextData>;
944
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
945
+ typeId: URL;
946
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
947
+ /**
948
+ * Registers a collection of objects dispatcher.
949
+ *
950
+ * @template TContextData The context data to pass to the {@link Context}.
951
+ * @template TObject The type of objects to dispatch.
952
+ * @template TParam The parameter names of the requested URL.
953
+ * @param name A unique name for the collection dispatcher.
954
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
955
+ * @param path The URI path pattern for the collection dispatcher.
956
+ * The syntax is based on URI Template
957
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
958
+ * The path must have one or more variables.
959
+ * @param dispatcher A collection dispatcher callback to register.
960
+ */
961
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
962
+ typeId: URL;
963
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
964
+ /**
965
+ * Registers a collection of objects dispatcher.
966
+ *
967
+ * @template TContextData The context data to pass to the {@link Context}.
968
+ * @template TObject The type of objects to dispatch.
969
+ * @template TParam The parameter names of the requested URL.
970
+ * @param name A unique name for the collection dispatcher.
971
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
972
+ * @param path The URI path pattern for the collection dispatcher.
973
+ * The syntax is based on URI Template
974
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
975
+ * The path must have one or more variables.
976
+ * @param dispatcher A collection dispatcher callback to register.
977
+ */
978
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
979
+ typeId: URL;
980
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
945
981
  /**
946
982
  * Registers an ordered collection of objects dispatcher.
947
983
  *
@@ -956,7 +992,43 @@ interface Federatable<TContextData> {
956
992
  * The path must have one or more variables.
957
993
  * @param dispatcher A collection dispatcher callback to register.
958
994
  */
959
- setOrderedCollectionDispatcher<TObject extends Object$1, TParams extends Record<string, string>>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: ParamsKeyPath<TParams>, dispatcher: CustomCollectionDispatcher<TObject, TParams, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParams, RequestContext<TContextData>, TContextData>;
995
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
996
+ typeId: URL;
997
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
998
+ /**
999
+ * Registers an ordered collection of objects dispatcher.
1000
+ *
1001
+ * @template TContextData The context data to pass to the {@link Context}.
1002
+ * @template TObject The type of objects to dispatch.
1003
+ * @template TParam The parameter names of the requested URL.
1004
+ * @param name A unique name for the collection dispatcher.
1005
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
1006
+ * @param path The URI path pattern for the collection dispatcher.
1007
+ * The syntax is based on URI Template
1008
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
1009
+ * The path must have one or more variables.
1010
+ * @param dispatcher A collection dispatcher callback to register.
1011
+ */
1012
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
1013
+ typeId: URL;
1014
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
1015
+ /**
1016
+ * Registers an ordered collection of objects dispatcher.
1017
+ *
1018
+ * @template TContextData The context data to pass to the {@link Context}.
1019
+ * @template TObject The type of objects to dispatch.
1020
+ * @template TParam The parameter names of the requested URL.
1021
+ * @param name A unique name for the collection dispatcher.
1022
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
1023
+ * @param path The URI path pattern for the collection dispatcher.
1024
+ * The syntax is based on URI Template
1025
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
1026
+ * The path must have one or more variables.
1027
+ * @param dispatcher A collection dispatcher callback to register.
1028
+ */
1029
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
1030
+ typeId: URL;
1031
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
960
1032
  }
961
1033
  /**
962
1034
  * An object that registers federation-related business logic and dispatches
@@ -1428,38 +1500,38 @@ interface FederationFetchOptions<TContextData> {
1428
1500
  /**
1429
1501
  * Additional settings for a custom collection dispatcher.
1430
1502
  *
1431
- * @template TParams The type of the parameters in the URL path.
1503
+ * @template TParam The type of the parameters in the URL path.
1432
1504
  * @template TContext The type of the context. {@link Context} or
1433
1505
  * {@link RequestContext}.
1434
1506
  * @template TContextData The context data to pass to the {@link Context}.
1435
1507
  * @template TFilter The type of filter for the collection.
1436
1508
  */
1437
- interface CustomCollectionCallbackSetters<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> {
1509
+ interface CustomCollectionCallbackSetters<TParam extends string, TContext extends Context<TContextData>, TContextData> {
1438
1510
  /**
1439
1511
  * Sets the counter for the custom collection.
1440
1512
  * @param counter A callback that returns the number of items in the custom collection.
1441
1513
  * @returns The setters object so that settings can be chained.
1442
1514
  */
1443
- setCounter(counter: CustomCollectionCounter<TParams, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1515
+ setCounter(counter: CustomCollectionCounter<TParam, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1444
1516
  /**
1445
1517
  * Sets the first cursor for the custom collection.
1446
1518
  * @param cursor The cursor for the first item in the custom collection.
1447
1519
  * @returns The setters object so that settings can be chained.
1448
1520
  */
1449
- setFirstCursor(cursor: CustomCollectionCursor<TParams, TContext, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1521
+ setFirstCursor(cursor: CustomCollectionCursor<TParam, TContext, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1450
1522
  /**
1451
1523
  * Sets the last cursor for the custom collection.
1452
1524
  * @param cursor The cursor for the last item in the custom collection.
1453
1525
  * @returns The setters object so that settings can be chained.
1454
1526
  */
1455
- setLastCursor(cursor: CustomCollectionCursor<TParams, TContext, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1527
+ setLastCursor(cursor: CustomCollectionCursor<TParam, TContext, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1456
1528
  /**
1457
1529
  * Specifies the conditions under which requests are authorized.
1458
1530
  * @param predicate A callback that returns whether a request is authorized.
1459
1531
  * @returns The setters object so that settings can be chained.
1460
1532
  * @since 0.7.0
1461
1533
  */
1462
- authorize(predicate: ObjectAuthorizePredicate<TContextData, string>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1534
+ authorize(predicate: ObjectAuthorizePredicate<TContextData, string>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1463
1535
  }
1464
1536
  /**
1465
1537
  * Represents an object with a type ID, which is either a constructor or an
@@ -1471,73 +1543,34 @@ type ConstructorWithTypeId<TObject extends Object$1> = (new (...args: any[]) =>
1471
1543
  typeId: URL;
1472
1544
  };
1473
1545
  /**
1474
- * Represents a path from the key of parameter objects.
1475
- * @param Params - A record of parameters where keys are parameter names and
1476
- * values are their string representations.
1477
- * @returns A string representing the path with all parameters.
1478
- * @example
1479
- * ```ts
1480
- * type UserPostPath = ParamsKeyPath<{ userId: string; postId: string }>;
1481
- * let userPostPath: UserPostPath;
1482
- * // userPostPath = "/posts/{postId}"; // invalid - does not contain `{userId}`
1483
- * // userPostPath = "/users/{userId}"; // invalid - does not contain `{postId}`
1484
- * userPostPath = "/users/{userId}/posts/{postId}"; // valid
1485
- * userPostPath = "/posts/{postId}/users/{userId}"; // valid
1486
- * ```
1487
- */
1488
- type ParamsKeyPath<Params extends Record<string, string>> = ParamsPath<Extract<keyof Params, string>> & string;
1489
- /**
1490
- * Represents a path with multiple parameters.
1491
- * All permutations of the parameters are included in the union type.
1492
- * The path must have all parameters in the form of `{paramName}`.
1493
- * @param Params - A union of parameter names.
1494
- * @returns A string representing the path with all parameters.
1495
- * @example
1496
- * ```ts
1497
- * type UserPostPath = ParamsPath<"userId" | "postId">;
1498
- * // = `${string}{userId}${string}` & `${string}{postId}${string}`
1499
- * // =
1500
- * // | `${string}{userId}${string}{postId}${string}`
1501
- * // | `${string}{postId}${string}{userId}${string}`
1502
- * let userPostPath: UserPostPath;
1503
- * userPostPath = "/users/posts"; // ❌ invalid
1504
- * userPostPath = "/users/{userId}"; // ❌ invalid
1505
- * userPostPath = "/posts/{postId}"; // ❌ invalid
1506
- * userPostPath = "/users/{userId}/posts/{postId}"; // ✅ valid
1507
- * userPostPath = "/posts/{postId}/users/{userId}"; // ✅ valid
1508
- */
1509
- type ParamsPath<Params extends string> = UnionToIntersection<ParamPath<Params>>;
1510
- /**
1511
- * Represents a path with a single parameter.
1512
- * The path must have at least one of the parameters in the form of `{paramName}`.
1513
- * @param Param - The name of the parameter.
1514
- * @returns A string representing the path with the parameter.
1515
- * @example
1516
- * ```ts
1517
- * type UserPostPath = ParamPath<"userId" | "postId">;
1518
- * // = `${string}{userId}${string}` | `${string}{postId}${string}`
1519
- * let userPostPath: UserPostPath;
1520
- * userPostPath = "/users/posts"; // ❌ invalid
1521
- * userPostPath = "/users/{userId}"; // ✅ valid
1522
- * userPostPath = "/posts/{postId}"; // ✅ valid
1523
- * userPostPath = "/users/{userId}/posts/{postId}"; // ✅ valid
1524
- * userPostPath = "/posts/{postId}/users/{userId}"; // ✅ valid
1525
- */
1526
- type ParamPath<Param extends string> = `${string}{${Param}}${string}`;
1527
- /**
1528
- * Converts union types to intersection types.
1546
+ * Defines a union of all valid RFC 6570 URI Template expressions for a given
1547
+ * parameter name.
1529
1548
  *
1530
- * @template U - The union type to convert.
1531
- * @returns The intersection type of the union.
1549
+ * RFC 6570 specifies a syntax for URI templates, allowing for variable
1550
+ * expansion. This type captures all Level 1-4 operator expressions for a
1551
+ * single, named variable.
1552
+ *
1553
+ * The supported expression types are:
1554
+ * - `{Param}`: Simple string expansion
1555
+ * - `+{Param}`: Reserved string expansion
1556
+ * - `#{Param}`: Fragment expansion
1557
+ * - `{.Param}`: Label expansion with a dot-prefix
1558
+ * - `{/Param}`: Path segment expansion
1559
+ * - `{;Param}`: Path-style parameter expansion
1560
+ * - `{?Param}`: Query component expansion
1561
+ * - `{&Param}`: Query continuation expansion
1562
+ *
1563
+ * @template Param The name of the parameter to be used in the expressions.
1532
1564
  * @example
1533
1565
  * ```ts
1534
- * type A = { a: string };
1535
- * type B = { b: number };
1536
- * type AorB = A | B;
1537
- * type AandB = UnionToIntersection<AorB>;
1538
- * // AandB = { a: string; b: number }
1566
+ * type UserIdExpression = Rfc6570Expression<"userId">;
1567
+ *
1568
+ * // The variable `userPath` can be assigned any of the valid expressions.
1569
+ * const userPath: UserIdExpression = "{/userId}";
1570
+ * ```
1571
+ * @see {@link https://tools.ietf.org/html/rfc6570} for the full specification.
1539
1572
  */
1540
- type UnionToIntersection<U> = (U extends unknown ? (x: U) => void : never) extends ((x: infer I) => void) ? I : never;
1573
+ type Rfc6570Expression<Param extends string> = `{${Param}}` | `{+${Param}}` | `{#${Param}}` | `{.${Param}}` | `{/${Param}}` | `{;${Param}}` | `{?${Param}}` | `{&${Param}}`;
1541
1574
  //#endregion
1542
1575
  //#region src/federation/context.d.ts
1543
1576
  /**
@@ -2308,4 +2341,4 @@ interface ActorKeyPair extends CryptoKeyPair {
2308
2341
  multikey: Multikey;
2309
2342
  }
2310
2343
  //#endregion
2311
- export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
2344
+ export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };