Frontend WASM compilado + fixes PartialEq + uuid js feature
Build & Deploy NutriApp / build-and-deploy (push) Failing after 7m12s
Build & Deploy NutriApp / build-and-deploy (push) Failing after 7m12s
This commit is contained in:
+5
-5
@@ -43,7 +43,7 @@ pub enum CategoriaIngrediente {
|
||||
// ─── DTOs ─────────────────────────────────────────────────────
|
||||
|
||||
/// Receta con sus ingredientes
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct RecetaDto {
|
||||
pub id: Uuid,
|
||||
pub nombre: String,
|
||||
@@ -56,7 +56,7 @@ pub struct RecetaDto {
|
||||
}
|
||||
|
||||
/// Cantidad de un ingrediente en una receta
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct IngredienteRecetaDto {
|
||||
pub ingrediente_id: Uuid,
|
||||
pub nombre: String,
|
||||
@@ -66,7 +66,7 @@ pub struct IngredienteRecetaDto {
|
||||
}
|
||||
|
||||
/// Un platillo asignado a un slot del calendario
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct SlotComidaDto {
|
||||
pub id: Uuid,
|
||||
pub fecha: NaiveDate,
|
||||
@@ -77,7 +77,7 @@ pub struct SlotComidaDto {
|
||||
}
|
||||
|
||||
/// Solicitud de lista de compras
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct ListaCompraRequest {
|
||||
pub familia_id: Uuid,
|
||||
pub desde: NaiveDate,
|
||||
@@ -85,7 +85,7 @@ pub struct ListaCompraRequest {
|
||||
}
|
||||
|
||||
/// Item de la lista de compras
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct ItemCompraDto {
|
||||
pub ingrediente_id: Uuid,
|
||||
pub nombre: String,
|
||||
|
||||
Reference in New Issue
Block a user