UNPKG

@landingexp/apollo-server-azure-functions

Version:

Production-ready Node.js GraphQL server for Azure Functions

8 lines 511 B
import { Context, HttpRequest, AzureFunction } from '@azure/functions'; import { GraphQLOptions } from '@landingexp/apollo-server-core'; import { ValueOrPromise } from '@landingexp/apollo-server-types'; export interface AzureFunctionGraphQLOptionsFunction { (request: HttpRequest, context: Context): ValueOrPromise<GraphQLOptions>; } export declare function graphqlAzureFunction(options: GraphQLOptions | AzureFunctionGraphQLOptionsFunction): AzureFunction; //# sourceMappingURL=azureFunctionApollo.d.ts.map