package net.keinekekse.app.books.db import net.keinekekse.app.books.model.* interface BookRepository { suspend fun allBooks(): List suspend fun bookById(id: Int): Book? suspend fun booksBySeries(series: Series): List suspend fun bookByTitle(title: String): List suspend fun booksByArtist(artist: Artist): List suspend fun addBook(book: Book) suspend fun removeBook(id: Int): Boolean suspend fun allPublishers(): List suspend fun allArtists(): List suspend fun allSeries(): List suspend fun allTags(): List suspend fun allSamplers(): List }