graphql-mapping-template
Version:
An AST wrapper around AWS AppSync resolvers
25 lines • 801 B
TypeScript
import { ObjectNode } from './ast';
export declare class HttpMappingTemplate {
static RESOLVER_VERSION_ID: string;
static getRequest({ resourcePath, params }: {
resourcePath: string;
params: ObjectNode;
}): ObjectNode;
static postRequest({ resourcePath, params }: {
resourcePath: string;
params: ObjectNode;
}): ObjectNode;
static putRequest({ resourcePath, params }: {
resourcePath: string;
params: ObjectNode;
}): ObjectNode;
static deleteRequest({ resourcePath, params }: {
resourcePath: string;
params: ObjectNode;
}): ObjectNode;
static patchRequest({ resourcePath, params }: {
resourcePath: string;
params: ObjectNode;
}): ObjectNode;
}
//# sourceMappingURL=http.d.ts.map