MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/platform/src/HttpApi.ts:261–268  ·  view source on GitHub ↗
(identifier: Id)

Source from the content-addressed store, hash-verified

259 * @category constructors
260 */
261export const make = <const Id extends string>(identifier: Id): HttpApi<Id, never, HttpApiDecodeError> =>
262 makeProto({
263 identifier,
264 groups: new Map() as any,
265 errorSchema: HttpApiDecodeError,
266 annotations: Context.empty(),
267 middlewares: new Set()
268 })
269
270/**
271 * Extract metadata from an `HttpApi`, which can be used to generate documentation

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…