@the_pixelport/aws-lambda-graphql
Version:
Apollo server for AWS Lambda with WebSocket subscriptions support over API Gateway v1 + v2
5 lines • 407 B
TypeScript
import { GQLOperation, GQLConnectionACK, GQLErrorEvent, GQLData, GQLComplete, GQLStopOperation, GQLConnectionInit } from './protocol';
type AllowedProtocolEvents = GQLOperation | GQLConnectionACK | GQLErrorEvent | GQLData | GQLComplete | GQLConnectionInit | GQLStopOperation;
export declare function formatMessage(event: AllowedProtocolEvents): string;
export {};
//# sourceMappingURL=formatMessage.d.ts.map