@the_pixelport/aws-lambda-graphql
Version:
Apollo server for AWS Lambda with WebSocket subscriptions support over API Gateway v1 + v2
11 lines • 607 B
TypeScript
import { GQLStopOperation, GQLConnectionInit } from '../protocol';
import { ExtendableError } from '../errors';
import { APIGatewayWebSocketEvent, IdentifiedOperationRequest } from '../types';
export declare class MalformedOperationError extends ExtendableError {
constructor(reason?: string);
}
export declare class InvalidOperationError extends ExtendableError {
constructor(reason?: string);
}
export declare function parseOperationFromEvent(event: APIGatewayWebSocketEvent): GQLConnectionInit | GQLStopOperation | IdentifiedOperationRequest;
//# sourceMappingURL=parseOperationFromEvent.d.ts.map