@graphql-mesh/cli
Version:
15 lines (14 loc) • 756 B
TypeScript
/// <reference types="node" />
/// <reference types="node/http" />
/// <reference types="postgraphile/build/postgraphile/http/frameworks" />
/// <reference types="got/dist/source/core/utils/timed-out" />
import 'json-bigint-patch';
import { Server } from 'http';
import { MeshInstance, ServeMeshOptions } from '@graphql-mesh/runtime';
import { GraphQLMeshCLIParams } from '../..';
import type { Logger } from '@graphql-mesh/types';
export declare function serveMesh({ baseDir, argsPort, getBuiltMesh, logger, rawServeConfig, playgroundTitle, }: ServeMeshOptions, cliParams: GraphQLMeshCLIParams): Promise<{
mesh: MeshInstance;
httpServer: Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
logger: Logger;
}>;