@graphql-mesh/urql-exchange
Version:
9 lines (8 loc) • 368 B
TypeScript
import { ExecuteMeshFn, SubscribeMeshFn } from '@graphql-mesh/runtime';
import { Exchange } from '@urql/core';
export interface MeshExchangeOptions {
execute: ExecuteMeshFn;
subscribe?: SubscribeMeshFn;
}
/** Exchange for executing queries locally on a schema using graphql-js. */
export declare const meshExchange: (options: MeshExchangeOptions) => Exchange;