This commit is contained in:
Cayden Schwechten 2026-10-31 20:44:29 -05:00
commit c19b910c36
80 changed files with 16134 additions and 0 deletions

9
app/lib/recipes/ing.ts Normal file
View file

@ -0,0 +1,9 @@
import type { RecipeIngredient, RecipeUnit } from "@/app/types";
/** Tiny helper so ingredient lists read like a recipe card: ing("rice", 1.5, "cup"). */
export const ing = (itemId: string, amount: number, unit: RecipeUnit, note?: string): RecipeIngredient => ({
itemId,
amount,
unit,
note,
});