@the_pixelport/aws-lambda-graphql
Version:
Apollo server for AWS Lambda with WebSocket subscriptions support over API Gateway v1 + v2
24 lines • 621 B
TypeScript
import { DocumentNode } from 'graphql';
/**
* This are data from graphql operation request
*/
export interface OperationRequest {
[key: string]: any;
extensions?: {
[key: string]: any;
};
operationName?: string;
query: string | DocumentNode;
variables?: {
[key: string]: any;
};
}
/**
* This is operation request that contains operationId
*
* For example GQL_START contains id of an operation that is then assigned to operationId
*/
export interface IdentifiedOperationRequest extends OperationRequest {
operationId: string;
}
//# sourceMappingURL=operations.d.ts.map