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

Function Endpoint1

packages/httpapi-codegen/test/generated/session.ts:63–64  ·  view source on GitHub ↗
(raw: RawGroup)

Source from the content-addressed store, hash-verified

61 ? error
62 : new ClientError({ cause: error })
63const Endpoint1 = (raw: RawGroup) => (input?: Endpoint1Input) =>
64 raw["list"]({ query: { archived: input?.["archived"] } }).pipe(Effect.mapError(mapEndpoint1Error))
65
66type Endpoint2Input = { readonly sessionID: (typeof Endpoint2Params.Type)["sessionID"] }
67const Endpoint2DeclaredError = Schema.Union([Endpoint2Error0])

Callers 1

adaptGroup0Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected