abowire
Version:
This is the official **Abowire Javascript SDK**, which makes it easy to connect to the Abowire **GraphQL API** and includes all the required dependencies you need.
5 lines (4 loc) • 324 B
TypeScript
import { OperationResult } from '@urql/core';
export declare const cleanupGraphqlResponse: (obj: any) => any;
export declare const simplifyDataResponse: <T = any>(result: OperationResult<T, import("@urql/core/dist/urql-core-chunk").AnyVariables>) => T;
export declare const handleGraphqlErrors: (error: unknown) => unknown;