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