Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
TypeScript
123456789101112131415161718192021222324252627282930313233343536declare global { namespace App { interface PageData { publicConfig?: { bobbinUrl: string; knotMirrorUrl: string; apiUrl: string; deliberiUrl: string; sitesDomain: string; moderationServiceDid: string; turnstileSiteKey: string; camoEnabled: boolean; // when the server defers the diff fetch to the browser ssrDiffMaxBytes: number; ogreUrl: string; }; }
interface Platform { // 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> }; // verified email → did lookup, populated once by cmd/email-did-migrate EMAIL_DID?: { get(key: string): Promise<string | null> }; }; } }}
export {};