MCPcopy
hub / github.com/Effect-TS/effect / PeopleApi

Class PeopleApi

packages/platform-node/examples/api.ts:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105{}
106
107class PeopleApi extends HttpApiGroup.make("people")
108 .add(
109 HttpApiEndpoint.get("list", "/")
110 .addSuccess(Schema.Array(User))
111 )
112 .prefix("/people")
113{}
114
115class AnotherApi extends HttpApi.make("another").add(PeopleApi).prefix("/v2") {}
116

Callers

nothing calls this directly

Calls 5

addSuccessMethod · 0.80
prefixMethod · 0.65
addMethod · 0.65
makeMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…