We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b29a6e commit 77797c8Copy full SHA for 77797c8
packages/fedify/src/federation/callback.ts
@@ -21,9 +21,10 @@ export type NodeInfoDispatcher<TContextData> = (
21
*
22
* @template TContextData The context data to pass to the {@link Context}.
23
*/
24
-export type WebFingerLinkDispatcher<TContextData> = (
+export type WebFingerLinksDispatcher<TContextData> = (
25
context: RequestContext<TContextData>,
26
-) => Link[] | Promise<Link[]>;
+ resource: URL,
27
+) => readonly Link[] | Promise<readonly Link[]>;
28
29
/**
30
* A callback that dispatches an {@link Actor} object.
0 commit comments