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

Function make

packages/effect/src/unstable/httpapi/HttpApiGroup.ts:394–402  ·  view source on GitHub ↗
(identifier: Id, options?: {
  readonly topLevel?: TopLevel | undefined
})

Source from the content-addressed store, hash-verified

392 * @since 4.0.0
393 */
394export const make = <const Id extends string, const TopLevel extends boolean = false>(identifier: Id, options?: {
395 readonly topLevel?: TopLevel | undefined
396}): HttpApiGroup<Id, never, TopLevel> =>
397 makeProto({
398 identifier,
399 topLevel: (options?.topLevel ?? false) as TopLevel,
400 endpoints: {},
401 annotations: Context.empty()
402 })

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected