types.d.ts (view raw)
1type Recipe = { 2 id: number; 3 url: string; 4 name: string; 5 ingredients: GroceryItem[]; 6 imageUrl: string; 7 createdAt: string; 8}; 9 10type GroceryItem = { 11 name: string; 12 quantity: number; 13 unit: string; 14};