@pyramation/postgraphile
Version:
A GraphQL schema created by reflection over a PostgreSQL schema 🐘 (previously known as PostGraphQL)
5 lines (4 loc) • 405 B
TypeScript
import { IncomingMessage, ServerResponse } from 'http';
import { Context as KoaContext } from 'koa';
export declare const isKoaApp: (a: any, b: any) => boolean;
export declare const middleware: (ctx: KoaContext, next: (err?: Error | undefined) => Promise<void>, requestHandler: (req: IncomingMessage, res: ServerResponse, next: (err?: Error | undefined) => Promise<any>) => Promise<any>) => Promise<any>;