@graphql-mesh/cli
Version:
15 lines (14 loc) • 774 B
TypeScript
/// <reference types="node" />
/// <reference types="node/http.js" />
/// <reference types="postgraphile/build/postgraphile/http/frameworks.js" />
/// <reference types="got/dist/source/core/utils/timed-out.js" />
import { Server } from 'http';
import 'json-bigint-patch';
import { MeshInstance, ServeMeshOptions } from '@graphql-mesh/runtime';
import type { Logger } from '@graphql-mesh/types';
import { GraphQLMeshCLIParams } from '../../index.js';
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;
}>;