import { GraphQLObjectType , GraphQLString , GraphQLList , GraphQLNonNull , GraphQLID , GraphQLBoolean , } from 'graphql' ; const UserType = new GraphQLObjectType ( { name : 'UserType' , fields : { name : { type : GraphQLString , resolve : o => o . name , } , password : { type : GraphQLString , resolve : o => o . password , } , email : { type : GraphQLString , resolve : o => o . email , } , hasNextPage : { type : GraphQLBoolean , resolve : o => o . hasNextPage , } , token : { type : GraphQLString , resolve : o => o . token , } , } , } ) ; export default UserType ;