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

Function renderImportedGroup

packages/httpapi-codegen/src/index.ts:393–398  ·  view source on GitHub ↗
(group: string)

Source from the content-addressed store, hash-verified

391}
392
393function renderImportedGroup(group: string) {
394 return {
395 imports: [group],
396 source: `const Api = HttpApi.make("generated").add(${group})\n\n`,
397 }
398}
399
400function renderImportedProjection(groups: ReadonlyArray<Group>, endpoints: Readonly<Record<string, string>>) {
401 const imports = groups.flatMap((group) =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected