return more metadata in search result
This commit is contained in:
parent
76cc2f97b4
commit
bffe467321
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue