<?php

declare(strict_types=1);

namespace App\GraphQL\Schema\Queries\Models\Singular\Wiki;

use App\GraphQL\Schema\Queries\Models\Singular\EloquentSingularQuery;
use App\GraphQL\Schema\Types\Wiki\ArtistType;

class ArtistQuery extends EloquentSingularQuery
{
    public function name(): string
    {
        return 'artist';
    }

    public function description(): string
    {
        return 'Returns an artist resource.';
    }

    /**
     * The base return type of the query.
     */
    public function baseType(): ArtistType
    {
        return new ArtistType();
    }
}
