Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function generateFragmentTypes() {
var hopsConfig = require('hops-config');
var options = {
schemaFile: hopsConfig.graphqlSchemaFile,
graphqlUri: hopsConfig.graphqlUri,
headers: [],
};
return require('../lib/fragments')(options);
}
createLink: function() {
return new ApolloLink.HttpLink({
uri: hopsConfig.graphqlUri,
});
},
createCache: function() {