UNPKG

@graphql-mesh/serve-runtime

Version:
5 lines (4 loc) 392 B
import { DocumentNode, GraphQLSchema } from 'graphql'; import { MeshServeContext } from './types'; export type UnifiedGraphConfig = GraphQLSchema | DocumentNode | string | (() => UnifiedGraphConfig) | Promise<UnifiedGraphConfig>; export declare function handleUnifiedGraphConfig(unifiedGraphConfig: UnifiedGraphConfig, serveContext: MeshServeContext): Promise<GraphQLSchema> | GraphQLSchema;