(raw: RawGroup)
| 72 | ? error |
| 73 | : new ClientError({ cause: error }) |
| 74 | const Endpoint2 = (raw: RawGroup) => (input: Endpoint2Input) => |
| 75 | raw["get"]({ params: { sessionID: input["sessionID"] } }).pipe( |
| 76 | Effect.mapError(mapEndpoint2Error), |
| 77 | Effect.map((value) => value.data), |
| 78 | ) |
| 79 | |
| 80 | type Endpoint3Input = { readonly sessionID: (typeof Endpoint3Params.Type)["sessionID"] } |
| 81 | const Endpoint3DeclaredError = Schema.Never |