mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
manga: add Light Novel support
This commit is contained in:
parent
e75c0c7a62
commit
4d2a880bdf
@ -17,12 +17,13 @@ class SearchQueryBuilderManga implements SearchQueryBuilderInterface
|
||||
* schema="manga search query type",
|
||||
* description="Manga Search Query Type",
|
||||
* type="string",
|
||||
* enum={"manga","novel","oneshot","doujin","manhwa","manhua"}
|
||||
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua"}
|
||||
* )
|
||||
*/
|
||||
const MAP_TYPES = [
|
||||
'manga' => 'Manga',
|
||||
'novel' => 'Novel',
|
||||
'lightnovel' => 'Light Novel',
|
||||
'oneshot' => 'One-shot',
|
||||
'doujin' => 'Doujinshi',
|
||||
'manhwa' => 'Manhwa',
|
||||
|
@ -21,7 +21,7 @@ class CreateMangaTable extends Migration
|
||||
$table->index('title');
|
||||
$table->index('title_english');
|
||||
$table->index('title_japanese');
|
||||
$table->enum('type', ['Manga', 'Novel', 'One-shot', 'Doujinshi', 'Manhwa', 'Manhua', 'OEL']);
|
||||
$table->enum('type', ['Manga', 'Novel', 'Light Novel', 'One-shot', 'Doujinshi', 'Manhwa', 'Manhua', 'OEL']);
|
||||
$table->integer('chapters')->index('chapters');
|
||||
$table->integer('volumes')->index('volumes');
|
||||
$table->string('status')->index();
|
||||
|
Loading…
x
Reference in New Issue
Block a user