return more metadata in search result

This commit is contained in:
Your Name 2023-07-01 10:41:20 -04:00 committed by Henri Dickson
parent 76cc2f97b4
commit bffe467321

View file

@ -10,7 +10,16 @@ from .search.models import enqueue_fetch, query_index
class SearchResult(Schema):
data: List[ItemSchema]
data: List[
EditionSchema
| MovieSchema
| TVShowSchema
| TVSeasonSchema
| AlbumSchema
| PodcastSchema
| GameSchema
| PerformanceSchema
]
pages: int
count: int