Unverified Commit 562e3dc0 authored by Hong Minhee's avatar Hong Minhee
Browse files

Re-export `FederationOrigin` interface

parent 0f44ca2e
Loading
Loading
Loading
Loading
+21 B (256 KiB)

File changed.

No diff preview for this file type.

+0 −2
Original line number Diff line number Diff line
@@ -555,7 +555,6 @@ For example, if you want to set the canonical origin to `https://example.com`,
you can pass the string:

~~~~ typescript twoslash
// @noErrors: 2353
import { createFederation, type KvStore } from "@fedify/fedify";
// ---cut-before---
const federation = createFederation({
@@ -609,7 +608,6 @@ handles, and the `~FederationOrigin.webOrigin` is used to [construct the URLs
in the `Context` object](./context.md#building-the-object-uris):

~~~~ typescript twoslash
// @noErrors: 2353
import { createFederation, type KvStore } from "@fedify/fedify";
// ---cut-before---
const federation = createFederation({
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
    "@braintree/sanitize-url": "^7.1.1",
    "@deno/kv": "^0.8.4",
    "@fedify/amqp": "0.1.0",
    "@fedify/fedify": "1.4.3",
    "@fedify/fedify": "1.5.0-dev.679",
    "@fedify/postgres": "0.2.2",
    "@fedify/redis": "0.3.0",
    "@hono/node-server": "^1.13.7",
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ export {
  createFederation,
  type CreateFederationOptions,
  type FederationKvPrefixes,
  type FederationOrigin,
  type FederationQueueOptions,
} from "./middleware.ts";
export * from "./mq.ts";