Altersangaben: Genre-Signal-Chip (Kinder/Jugend aus Audible-Genres) + manuelle Altersnote pro Buch (labels.json, Inline-Edit mit Stift-Button)
This commit is contained in:
@ -17,6 +17,7 @@ export interface Book {
|
||||
percent_complete: number
|
||||
is_finished: boolean
|
||||
date_added: string
|
||||
genres: string
|
||||
local: boolean
|
||||
}
|
||||
|
||||
@ -26,6 +27,9 @@ export const startDecrypt = () => invoke<boolean>('start_decrypt')
|
||||
export const getLibrary = () => invoke<Book[]>('get_library')
|
||||
export const getLocalBooks = () => invoke<Book[]>('get_local_books')
|
||||
export const getStreamOnly = () => invoke<string[]>('stream_only')
|
||||
export const getAlterNotes = () => invoke<Record<string, string>>('get_alter_notes')
|
||||
export const setAlterNote = (asin: string, note: string | null) =>
|
||||
invoke<void>('set_alter_note', { asin, note })
|
||||
|
||||
export interface DlItem {
|
||||
asin: string
|
||||
|
||||
Reference in New Issue
Block a user