added new media sub types

This commit is contained in:
pushrbx 2024-01-17 23:49:34 +00:00 committed by GitHub
parent bb71a7a9eb
commit ce64eb0678
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View File

@ -16,7 +16,7 @@ use Spatie\Enum\Laravel\Enum;
* schema="anime_search_query_type",
* description="Available Anime types",
* type="string",
* enum={"tv","movie","ova","special","ona","music"}
* enum={"tv","movie","ova","special","ona","music","cm","pv","tv-special"}
* )
*/
final class AnimeTypeEnum extends Enum
@ -29,7 +29,10 @@ final class AnimeTypeEnum extends Enum
'ova' => 'OVA',
'special' => 'Special',
'ona' => 'ONA',
'music' => 'Music'
'music' => 'Music',
'cm' => 'CM',
'pv' => 'PV',
'tv-special' => 'TV Special'
];
}
}

View File

@ -17,7 +17,7 @@ use Spatie\Enum\Laravel\Enum;
* schema="manga_search_query_type",
* description="Available Manga types",
* type="string",
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua"}
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua","one-shot"}
* )
*/
final class MangaTypeEnum extends Enum
@ -31,7 +31,8 @@ final class MangaTypeEnum extends Enum
'oneshot' => 'One-shot',
'doujin' => 'Doujinshi',
'manhwa' => 'Manhwa',
'manhua' => 'Manhua'
'manhua' => 'Manhua',
'one-shot' => 'One-shot'
];
}
}