import { gql } from 'apollo-server-micro';

const typeDefs = gql`
  extend type Query {
    
user: User
  }
`;

const resolvers = {
  Query: {
    user: () => ({
      id: '1',
      name: 'John Doe',
      email: 'john@doe.com',
      createdAt: '2019-01