( group: GraphQLGroup.GraphQLGroup<Ops>, f: (operation: Ops) => unknown )
| 292 | // Type boundary: a mapping over the operations cannot prove the mapped type's |
| 293 | // name/kind relationship. |
| 294 | const fromGroup = <Ops extends GraphQL.Any>( |
| 295 | group: GraphQLGroup.GraphQLGroup<Ops>, |
| 296 | f: (operation: Ops) => unknown |
| 297 | ): GraphQLClient<Ops> => |
| 298 | Object.fromEntries(group.operations.map((operation) => [operation.name, f(operation)])) as GraphQLClient<Ops> |
| 299 | |
| 300 | /** |
| 301 | * The middleware implementations an operation runs through, outermost first, |
no test coverage detected