mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
revert changes to magazine model
This commit is contained in:
parent
2272ed17c4
commit
8c6398dd58
@ -72,33 +72,6 @@ class Magazine extends JikanApiSearchableModel
|
||||
];
|
||||
}
|
||||
|
||||
public function getCollectionSchema(): array
|
||||
{
|
||||
return [
|
||||
'name' => $this->searchableAs(),
|
||||
'fields' => [
|
||||
[
|
||||
'name' => '.*',
|
||||
'type' => 'auto',
|
||||
],
|
||||
[
|
||||
'name' => 'titles',
|
||||
'type' => 'string',
|
||||
'optional' => false,
|
||||
'infix' => true,
|
||||
'sort' => true
|
||||
],
|
||||
[
|
||||
'name' => 'url',
|
||||
'type' => 'string',
|
||||
'optional' => false,
|
||||
'infix' => true,
|
||||
'sort' => true
|
||||
],
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
public function typesenseQueryBy(): array
|
||||
{
|
||||
return [
|
||||
|
Loading…
x
Reference in New Issue
Block a user