MCPcopy Create free account
hub / github.com/effect-app/libs / make

Function make

repos/effect/packages/effect/src/unstable/httpapi/HttpApi.ts:206–211  ·  view source on GitHub ↗
(identifier: Id)

Source from the content-addressed store, hash-verified

204const makeProto = <Id extends string, Groups extends HttpApiGroup.Constraint>(
205 options: {
206 readonly identifier: Id
207 readonly groups: Record.ReadonlyRecord<string, HttpApiGroup.Constraint>
208 readonly annotations: Context.Context<never>
209 }
210): HttpApi<Id, Groups> => {
211 function HttpApi() {}
212 Object.setPrototypeOf(HttpApi, Proto)
213 return Object.assign(HttpApi, options) as any
214}

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…