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

Function optionsFromApi

packages/effect/src/unstable/httpapi/HttpApi.ts:198–202  ·  view source on GitHub ↗
(api: Top)

Source from the content-addressed store, hash-verified

196}
197
198const optionsFromApi = (api: Top) => ({
199 identifier: api.identifier,
200 groups: api.groups,
201 annotations: api.annotations
202})
203
204const makeProto = <Id extends string, Groups extends HttpApiGroup.Constraint>(
205 options: {

Callers 6

addFunction · 0.85
addHttpApiFunction · 0.85
prefixFunction · 0.85
middlewareFunction · 0.85
annotateFunction · 0.85
annotateMergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected