Package-level declarations

Types

Link copied to clipboard
interface CantEatDao

Data Access Object for the CantEat table. This class provides methods for interacting with the CantEat table in the database.

Link copied to clipboard
data class dbCantEat(val localId: Long, val serverId: String? = null, val name: String)

Represents a CantEat entity in the database.

Link copied to clipboard
data class dbLike(val localId: Long, val serverId: String? = null, val name: String, val category: String)

Represents a "like" in the database.

Link copied to clipboard
data class dbRecipe(val localId: Long, val serverId: String? = null, val slug: String, val title: String, val ingredients: List<String>, val optionalIngredients: List<String>, val herbs: List<String>, val steps: List<String>, val image: String?)

Represents a "recipe" in the database.

Link copied to clipboard
abstract class JndDb : RoomDatabase

Represents the database for the application.

Link copied to clipboard
interface LikeDao

Data Access Object (DAO) for the "likes" table in the database.

Link copied to clipboard
interface RecipeDao

Data Access Object (DAO) for the "recipes" table in the database.

Functions

Link copied to clipboard

Extension function to convert a list of dbCantEat objects to a list of CantEat domain models.

Link copied to clipboard

Converts a list of dbLike objects to a list of Like domain objects.

Link copied to clipboard

Converts a dbRecipe object to a Recipe domain object.

Link copied to clipboard

Converts a list of dbRecipe objects to a list of Recipe domain objects.