@graphql-tools/load
Version:
A set of utils for faster development of GraphQL tools
15 lines (14 loc) • 537 B
TypeScript
import { Source } from '@graphql-tools/utils';
import { LoadTypedefsOptions } from '../load-typedefs.js';
export declare function collectSources<TOptions>({ pointerOptionMap, options, }: {
pointerOptionMap: {
[key: string]: any;
};
options: LoadTypedefsOptions<Partial<TOptions>>;
}): Promise<Source[]>;
export declare function collectSourcesSync<TOptions>({ pointerOptionMap, options, }: {
pointerOptionMap: {
[key: string]: any;
};
options: LoadTypedefsOptions<Partial<TOptions>>;
}): Source[];