feat: ingredientds

This commit is contained in:
2026-05-18 14:51:25 +02:00
parent 7a907f2b17
commit 8c612452f2
8 changed files with 50 additions and 4 deletions
@@ -14,6 +14,7 @@ class MealPostIngredientsRequest extends FormRequest
'meal_posts_id' => ['required', 'exists:meal_posts,id'],
'position' => ['required', 'integer'],
'ingredient' => ['required', 'string'],
'quantity' => ['required', 'integer', 'min:1'],
'unit' => ['required', Rule::enum(IngredientUnit::class)],
];
}