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

Function Endpoint12_0

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

Source from the content-addressed store, hash-verified

504type Endpoint12_0Request = Parameters<RawClient["server.skill"]["skill.list"]>[0]
505type Endpoint12_0Input = { readonly location?: Endpoint12_0Request["query"]["location"] }
506const Endpoint12_0 = (raw: RawClient["server.skill"]) => (input?: Endpoint12_0Input) =>
507 raw["skill.list"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError))
508
509const adaptGroup12 = (raw: RawClient["server.skill"]) => ({ list: Endpoint12_0(raw) })
510

Callers 1

adaptGroup12Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected