MCPcopy Create free account
hub / github.com/anomalyco/opencode / adaptGroup1

Function adaptGroup1

packages/client/src/generated-effect/client.ts:26–26  ·  view source on GitHub ↗
(raw: RawClient["server.location"])

Source from the content-addressed store, hash-verified

24 raw["location.get"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError))
25
26const adaptGroup1 = (raw: RawClient["server.location"]) => ({ get: Endpoint1_0(raw) })
27
28type Endpoint2_0Request = Parameters<RawClient["server.agent"]["agent.list"]>[0]
29type Endpoint2_0Input = { readonly location?: Endpoint2_0Request["query"]["location"] }

Callers 1

adaptClientFunction · 0.70

Calls 1

Endpoint1_0Function · 0.85

Tested by

no test coverage detected