feat(reviews): add reviews route

allows seeing all reviews with optional filters.
works sans JS as well

closes https://github.com/zyachel/libremdb/issues/25
closes https://codeberg.org/zyachel/libremdb/issues/19
This commit is contained in:
zyachel
2024-03-31 15:37:44 +05:30
parent cf71cd39e1
commit dc42b3204c
29 changed files with 1053 additions and 31 deletions

View File

@ -126,7 +126,7 @@ const cleanName = (rawData: RawName) => {
},
})),
credits: {
total: misc.totalCredits.total,
total: misc.totalCredits?.total ?? null,
summary: {
titleType: misc.creditSummary.titleTypeCategories.map(cat => ({
total: cat.total,