<?php

declare(strict_types=1);

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

use App\GraphQL\Schema\Queries\Models\Singular\EloquentSingularQuery;
use App\GraphQL\Schema\Types\List\PlaylistType;

class PlaylistQuery extends EloquentSingularQuery
{
    public function name(): string
    {
        return 'playlist';
    }

    public function description(): string
    {
        return 'Returns a playlist resource.';
    }

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