| 10 | import { HttpRequestHandler } from "postgraphile"; |
| 11 | |
| 12 | export interface GraphileApolloLinkInterface { |
| 13 | /** The request object. */ |
| 14 | req: Request; |
| 15 | |
| 16 | /** The response object. */ |
| 17 | res: Response; |
| 18 | |
| 19 | /** The instance of the express middleware returned by calling `postgraphile()` */ |
| 20 | postgraphileMiddleware: HttpRequestHandler<Request, Response>; |
| 21 | |
| 22 | /** An optional rootValue to use inside resolvers. */ |
| 23 | rootValue?: any; |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * A Graphile Apollo link for use during SSR. Allows Apollo Client to resolve |
nothing calls this directly
no outgoing calls
no test coverage detected