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

Method add

packages/effect/src/unstable/httpapi/HttpApi.ts:66–66  ·  view source on GitHub ↗

* Add a `HttpApiGroup` to the `HttpApi`.

(...groups: A)

Source from the content-addressed store, hash-verified

64 * Add a `HttpApiGroup` to the `HttpApi`.
65 */
66 add<const A extends NonEmptyReadonlyArray<HttpApiGroup.Constraint>>(...groups: A): HttpApi<Id, Groups | A[number]>
67
68 /**
69 * Adds every group from another `HttpApi` while preserving its annotation scope.

Callers 15

layerFunction · 0.65
HttpApiTest.tsFile · 0.65
servicesPartialFunction · 0.65
onEndpointFunction · 0.65
addNoContentFunction · 0.65
addContentFunction · 0.65
HttpApiSecurity.tsFile · 0.65
layerFunction · 0.65
layerCdnFunction · 0.65
layerFunction · 0.65
getErrorSchemasFunction · 0.65
annotateFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected