gotql
Version:
A GraphQL query framework for serverside apps
13 lines • 535 B
TypeScript
import { QueryType } from './types/QueryType';
import { UserOptions } from './types/UserOptions';
/**
* Performs a mutation on the specified GraphQL endpoint
*
* @param {string} endPoint GraphQL Endpoint
* @param {queryType} query The JSON gotQL query object
* @param {userOpts} [options] User options
* @public
* @return {Promise<any>} A response object containing all the data
*/
export declare function mutation(endPoint: string, query: QueryType, options?: UserOptions): Promise<any>;
//# sourceMappingURL=mutation.d.ts.map