mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
fix(graphql): add missing studio sort argument (#1179)
This commit is contained in:
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace App\GraphQL\Schema\Types\Wiki;
|
||||
|
||||
use App\Enums\GraphQL\Sort\Pivot\ImageableSort;
|
||||
use App\Enums\GraphQL\Sort\Wiki\StudioSort;
|
||||
use App\GraphQL\Schema\Fields\Base\CreatedAtField;
|
||||
use App\GraphQL\Schema\Fields\Base\DeletedAtField;
|
||||
use App\GraphQL\Schema\Fields\Base\IdUnbindableField;
|
||||
@@ -27,6 +28,14 @@ class StudioType extends EloquentType
|
||||
return "Represents a company that produces anime.\n\nFor example, Shaft is the studio that produced the anime Bakemonogatari.";
|
||||
}
|
||||
|
||||
/**
|
||||
* @return class-string<StudioSort>
|
||||
*/
|
||||
public function getEnumSortClass(): string
|
||||
{
|
||||
return StudioSort::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The fields of the type.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user