feat: add ratings
This commit is contained in:
parent
c37fc2f1a3
commit
614d1e210c
13 changed files with 98 additions and 66 deletions
|
@ -22,6 +22,7 @@ export default async function () {
|
|||
status: book['status'],
|
||||
tags: book['tags'],
|
||||
categories: book['categories']?.length > 1 ? book['categories'].join(', ') : book['categories']?.[0],
|
||||
rating: book['rating'] !== 'unrated' ? book['rating'] : '',
|
||||
type: 'book',
|
||||
}
|
||||
})
|
||||
|
|
Reference in a new issue