MCPcopy Create free account
hub / github.com/Effect-TS/effect / httpapi.mjs

File httpapi.mjs

packages/effect/typeperf/compare/httpapi.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const endpointIdentifier = (index) => `getUser${String(index).padStart(4, "0")}`
2
3const endpoint = (index, indent = " ") => `${indent}HttpApiEndpoint.get("${endpointIdentifier(index)}", "/users/:id", {
4${indent} params: Params,

Callers

nothing calls this directly

Calls 10

clientMethodsFixtureFunction · 0.85
clientGroupsFixtureFunction · 0.85
clientEndpointFixtureFunction · 0.85
urlBuilderFixtureFunction · 0.85
builderEndpointFixtureFunction · 0.85
handlersFixtureFunction · 0.85
importsFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected