Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var _require = require('graphql'),
GraphQLObjectType = _require.GraphQLObjectType,
GraphQLInputObjectType = _require.GraphQLInputObjectType,
GraphQLList = _require.GraphQLList,
GraphQLInt = _require.GraphQLInt,
GraphQLNonNull = _require.GraphQLNonNull,
GraphQLString = _require.GraphQLString,
GraphQLBoolean = _require.GraphQLBoolean,
GraphQLEnumType = _require.GraphQLEnumType;
var _require2 = require('graphql-sequelize'),
resolver = _require2.resolver,
defaultListArgs = _require2.defaultListArgs,
defaultArgs = _require2.defaultArgs,
argsToFindOptions = _require2.argsToFindOptions,
relay = _require2.relay;
var _require3 = require('graphql-subscriptions'),
PubSub = _require3.PubSub,
withFilter = _require3.withFilter;
var pubsub = new PubSub();
var Sequelize = require('sequelize');
var attributeFields = require('./graphql-sequelize/attributeFields');
var sequelizeConnection = relay.sequelizeConnection;
var camelCase = require('camelcase');