MCPcopy
hub / github.com/withastro/flue / Env

Interface Env

apps/docs/src/worker.ts:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8interface Env {
9 ASSETS: {
10 fetch(request: Request): Promise<Response>;
11 };
12 AI: {
13 toMarkdown(
14 document: { name: string; blob: Blob },
15 options?: { conversionOptions?: { html?: { hostname?: string; cssSelector?: string } } },
16 ): Promise<MarkdownConversionResult>;
17 };
18}
19
20function isMarkdownRequest(request: Request, url: URL) {
21 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected