/* Import types. */
// import PlayerType from '../types/Player.js'

import {
    GraphQLBoolean,
    GraphQLFloat,
    GraphQLList,
    GraphQLNonNull,
    GraphQLObjectType,
    GraphQLInt,
    GraphQLString,
} from 'graphql'

export default {
    type: new GraphQLList(GraphQLString),
    // args: {
    //     fieldName: {
    //         type: new GraphQLList(GraphQLString),
    //         description: `Field description goes here.`,
    //     },
    // },
    resolve: (_root, _args, _ctx) => {
        console.log('Player (args):', _args)

        return [{
            field1: 'This is a PLAYER asset!',
            field2: 1337,
            field3: 88888888,
        }]
    },
    description: `Player description goes here.`,
}
