function loadTypedefsSync(pointerOrPointers, options) {
    var pointerOptionMap = normalizePointers(pointerOrPointers);
    var globOptions = {};
    applyDefaultOptions(options);
    var sources = collectSourcesSync({
        pointerOptionMap: pointerOptionMap,
        options: options,
    });
    var validSources = [];
    sources.forEach(function (partialSource) {
        parseSource({
            partialSource: partialSource,
            options: options,
            globOptions: globOptions,
            pointerOptionMap: pointerOptionMap,
            addValidSource: function (source) {
                validSources.push(source);
            },
        });
    });
    return prepareResult({ options: options, pointerOptionMap: pointerOptionMap, validSources: validSources });
}
/**
 * Synchronously loads any GraphQL documents (i.e. executable documents like
 * operations and fragments as well as type system definitions) from the
 * provided pointers.
 * @param pointerOrPointers Pointers to the sources to load the documents from
 * @param options Additional options
 */
Synchronously loads any GraphQL documents  from the
provided pointers.
@param pointerOrPointers Pointers to the sources to load the documents from
@param options Additional options
Synchronously loads any GraphQL documents from the provided pointers . @param pointerOrPointers Pointers to the sources to load the documents from @param options Additional options
function loadTypedefsSync(pointerOrPointers, options) {
    var pointerOptionMap = normalizePointers(pointerOrPointers);
    var globOptions = {};
    applyDefaultOptions(options);
    var sources = collectSourcesSync({
        pointerOptionMap: pointerOptionMap,
        options: options,
    });
    var validSources = [];
    sources.forEach(function (partialSource) {
        parseSource({
            partialSource: partialSource,
            options: options,
            globOptions: globOptions,
            pointerOptionMap: pointerOptionMap,
            addValidSource: function (source) {
                validSources.push(source);
            },
        });
    });
    return prepareResult({ options: options, pointerOptionMap: pointerOptionMap, validSources: validSources });
}
function loadTypedefsSync ( pointerOrPointers , options ) { var pointerOptionMap = normalizePointers ( pointerOrPointers ) ; var globOptions = { } ; applyDefaultOptions ( options ) ; var sources = collectSourcesSync ( { pointerOptionMap : pointerOptionMap , options : options , } ) ; var validSources = [ ] ; sources . forEach ( function ( partialSource ) { parseSource ( { partialSource : partialSource , options : options , globOptions : globOptions , pointerOptionMap : pointerOptionMap , addValidSource : function ( source ) { validSources . push ( source ) ; } , } ) ; } ) ; return prepareResult ( { options : options , pointerOptionMap : pointerOptionMap , validSources : validSources } ) ; }
Synchronously loads any GraphQL documents (i.e.
Synchronously loads any GraphQL documents ( i . e .