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

Function endpointIdentifier

packages/effect/typeperf/compare/httpapi.mjs:1–1  ·  view source on GitHub ↗
(index)

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 2

endpointFunction · 0.85
handlerCallFunction · 0.85

Calls 1

StringInterface · 0.50

Tested by

no test coverage detected