@graphql-mesh/transport-http-callback
Version:
27 lines (24 loc) • 873 B
text/typescript
import * as _graphql_mesh_transport_common from '@graphql-mesh/transport-common';
import { DisposableExecutor } from '@graphql-mesh/transport-common';
interface HTTPCallbackTransportOptions {
/**
* The gateway's public URL, which your subgraphs access, must include the path configured on the gateway.
*
* @default http://localhost:4000/callback
*/
public_url?: string;
/**
* The path of the router's callback endpoint
*
* @default /callback
*/
path?: string;
/**
* @default 5000
*/
heartbeat_interval?: number;
}
declare const _default: {
getSubgraphExecutor({ transportEntry, fetch, pubsub, logger, }: _graphql_mesh_transport_common.TransportGetSubgraphExecutorOptions<HTTPCallbackTransportOptions>): DisposableExecutor;
};
export { type HTTPCallbackTransportOptions, _default as default };