@graphql-mesh/utils
Version:
5 lines (4 loc) • 686 B
TypeScript
import { YamlConfig, MeshPubSub, ImportFn } from '@graphql-mesh/types';
import { IResolvers } from '@graphql-tools/utils';
export declare function resolveAdditionalResolversWithoutImport(additionalResolver: YamlConfig.AdditionalStitchingResolverObject | YamlConfig.AdditionalSubscriptionObject | YamlConfig.AdditionalStitchingBatchResolverObject, pubsub: MeshPubSub): IResolvers;
export declare function resolveAdditionalResolvers(baseDir: string, additionalResolvers: (string | YamlConfig.AdditionalStitchingResolverObject | YamlConfig.AdditionalSubscriptionObject | YamlConfig.AdditionalStitchingBatchResolverObject)[], importFn: ImportFn, pubsub: MeshPubSub): Promise<IResolvers[]>;