MCPcopy
hub / github.com/NateBJones-Projects/OB1 / json

Function json

integrations/smart-ingest/index.ts:195–197  ·  view source on GitHub ↗
(data: unknown, status = 200)

Source from the content-addressed store, hash-verified

193// ── Helpers ─────────────────────────────────────────────────────────────────
194
195function json(data: unknown, status = 200): Response {
196 return new Response(JSON.stringify(data, null, 2), { status, headers: CORS_HEADERS });
197}
198
199async function computeInputHash(text: string): Promise<string> {
200 const encoder = new TextEncoder();

Callers 3

handleExecuteJobFunction · 0.70
index.tsFile · 0.70
POSTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…