12345678910111213141516 |
- import { GraphQLSchema } from 'graphql';
- import { IExecutableSchemaDefinition } from './types.cjs';
- /**
- * Configuration object for schema merging
- */
- export type MergeSchemasConfig<T = any> = Partial<IExecutableSchemaDefinition<T>> & {
- /**
- * The schemas to be merged
- */
- schemas?: GraphQLSchema[];
- };
- /**
- * Synchronously merges multiple schemas, typeDefinitions and/or resolvers into a single schema.
- * @param config Configuration object
- */
- export declare function mergeSchemas(config: MergeSchemasConfig): GraphQLSchema;
|