@cran/gql.koa
Version:
Cran/GraphQL Koa Server
10 lines (9 loc) • 458 B
TypeScript
import type Koa from "koa";
import { ApolloServerBase } from "apollo-server-core";
export declare class ApolloServer extends ApolloServerBase<Koa.Context> {
storedLandingPage?: ReturnType<ApolloServerBase["getLandingPage"]>;
createGraphQLServerOptions(ctx: Koa.Context): Promise<import("apollo-server-core").GraphQLOptions<Record<string, any>, any>>;
getMiddleware(): Koa.Middleware;
private makeMiddleware;
private makeGraphqlRequest;
}