@omnigraph/soap
Version:
21 lines (20 loc) • 670 B
TypeScript
import type { Logger, MeshFetch } from '@graphql-mesh/types';
export * from './SOAPLoader.js';
export type * from './types.js';
export * from '@graphql-mesh/transport-soap';
export interface SOAPSubgraphLoaderOptions {
source?: string;
endpoint?: string;
fetch?: MeshFetch;
logger?: Logger;
schemaHeaders?: Record<string, string>;
operationHeaders?: Record<string, string>;
}
export declare function loadSOAPSubgraph(subgraphName: string, options: SOAPSubgraphLoaderOptions): ({ cwd, fetch, logger }: {
cwd: string;
fetch: MeshFetch;
logger: Logger;
}) => {
name: string;
schema$: Promise<import("graphql").GraphQLSchema>;
};