MCPcopy Index your code
hub / github.com/anomalyco/opencode / compile

Function compile

packages/httpapi-codegen/test/generate.test.ts:23–25  ·  view source on GitHub ↗
(source: HttpApi.HttpApi<Id, Groups>)

Source from the content-addressed store, hash-verified

21}
22
23function compile<Id extends string, Groups extends HttpApiGroup.Any>(source: HttpApi.HttpApi<Id, Groups>) {
24 return emitEffect(compileContract(source))
25}
26
27describe("HttpApiCodegen.generate", () => {
28 test("compiles one contract for Promise and Effect emitters", () => {

Callers

nothing calls this directly

Calls 1

emitEffectFunction · 0.90

Tested by

no test coverage detected