Function
Endpoint2_0
(raw: RawClient["server.agent"])
Source from the content-addressed store, hash-verified
| 28 | type Endpoint2_0Request = Parameters<RawClient["server.agent"]["agent.list"]>[0] |
| 29 | type Endpoint2_0Input = { readonly location?: Endpoint2_0Request["query"]["location"] } |
| 30 | const Endpoint2_0 = (raw: RawClient["server.agent"]) => (input?: Endpoint2_0Input) => |
| 31 | raw["agent.list"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError)) |
| 32 | |
| 33 | const adaptGroup2 = (raw: RawClient["server.agent"]) => ({ list: Endpoint2_0(raw) }) |
| 34 | |
Tested by
no test coverage detected