text: // Imports
  import { GraphQLObjectType, GraphQLString, GraphQLInt } from 'graphql'
  
  // User type
  const UserType = new GraphQLObjectType({
    name: 'user',
    description: 'User type',
  
    fields: () => ({
      id: { type: GraphQLInt },
      name: { type: GraphQLString },
      email: { type: GraphQLString },
      password: { type: GraphQLString },
      role: { type: GraphQLString },
      createdAt: { type: GraphQLString },
      updatedAt: { type: GraphQLString }
    })
  })
  
  // User Login type
  const UserLoginType = new GraphQLObjectType({
    name: 'userAuth',
    description: 'User Authentication Type',
  
    fields: () => ({
      user: { type: UserType },
      token: { type: GraphQLString }
    })
  })
  
  // User Seria type
  const UserSeriaType = new GraphQLObjectType({
    name: 'userSeria',
    description: 'User Seria Type',
  
    fields: () => ({
      id: { type: GraphQLInt },
      name: { type: GraphQLString }
    })
  })
  
  export { UserType, UserLoginType, UserSeriaType }