Добавлена заготовка для seriesSearch

This commit is contained in:
Book Pauk
2022-10-25 16:50:56 +07:00
parent 739f06226f
commit d770d499da
3 changed files with 103 additions and 0 deletions

View File

@@ -258,6 +258,19 @@ class WebWorker {
};
}
async seriesSearch(query) {
this.checkMyState();
const config = await this.dbConfig();
const result = await this.dbSearcher.seriesSearch(query);
return {
series: result.result,
totalFound: result.totalFound,
inpxHash: (config.inpxHash ? config.inpxHash : ''),
};
}
async getAuthorBookList(authorId) {
this.checkMyState();