Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455import type { DiffStyle } from "#lib/components/repo/pierre.ts";import type { DiffFold } from "#lib/components/repo/diffFold.ts";
declare global { namespace App { interface PageData { // per-page og overrides; the repo layout merges these over its // repo-level defaults and renders the one <Meta> meta?: { title?: string; description?: string; type?: "website" | "profile" | "article"; image?: string; noindex?: boolean; }; publicConfig?: { bobbinUrl: string; apiUrl: string; deliberiUrl: string; delegationUrl: string; delegationDid: string; delegationHandleDomain: string; sitesDomain: string; sitesUrl: string; moderationServiceDid: string; primaryKnotHostname: string; primarySpindleHostname: string; turnstileSiteKey: string; camoEnabled: boolean; // when the server defers the diff fetch to the browser ssrDiffMaxBytes: number; ogreUrl: string; }; diffStyle?: DiffStyle; diffFold?: DiffFold; }
interface Platform { // the worker's execution context, only present on Cloudflare ctx?: { waitUntil(promise: Promise<unknown>): void }; // worker service bindings, only present when running on Cloudflare env?: { // diff payloads above this many bytes are not buffered through the // ssr worker; the page refetches them from the browser instead. // "0" disables. defaults to 5 MiB SSR_DIFF_MAX_BYTES?: string; BOBBIN?: { fetch(request: Request): Promise<Response> }; SITEMAP?: { fetch(request: Request): Promise<Response> }; }; } }}
export {};