fix(database): applicera compound-allergen-rättningar + vegansk currypasta

This commit is contained in:
Sven (AAMOS AI)
2026-08-09 21:15:41 +07:00
parent dee39e5708
commit 0ae42a15b2
2 changed files with 16 additions and 2 deletions
+15 -2
View File
@@ -284,6 +284,9 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
ing("falukorv", "Falukorv", "Falu sausage", "kott_fagel", { ing("falukorv", "Falukorv", "Falu sausage", "kott_fagel", {
isPork: true, isPork: true,
isBeef: true, isBeef: true,
containsGluten: true,
containsLactose: true,
allergens: ["gluten", "milk"],
n: { kcal: 230, p: 10, k: 6, f: 19, mf: 7, salt: 1.9 }, n: { kcal: 230, p: 10, k: 6, f: 19, mf: 7, salt: 1.9 },
shelfLifeGuidance: { fridge: 10 }, shelfLifeGuidance: { fridge: 10 },
defaultPriceMinorPerKg: 7000, defaultPriceMinorPerKg: 7000,
@@ -303,6 +306,9 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
ing("meatball_pork_beef", "Köttbullar (färdiga)", "Meatballs", "kott_fagel", { ing("meatball_pork_beef", "Köttbullar (färdiga)", "Meatballs", "kott_fagel", {
isPork: true, isPork: true,
isBeef: true, isBeef: true,
containsGluten: true,
containsLactose: true,
allergens: ["gluten", "eggs", "milk"],
n: { kcal: 230, p: 13, k: 7, f: 17, mf: 6.5, salt: 1.8 }, n: { kcal: 230, p: 13, k: 7, f: 17, mf: 6.5, salt: 1.8 },
shelfLifeGuidance: { fridge: 5, freezer: 120 }, shelfLifeGuidance: { fridge: 5, freezer: 120 },
defaultPriceMinorPerKg: 9000, defaultPriceMinorPerKg: 9000,
@@ -763,13 +769,20 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
defaultPriceMinorPerKg: 9000, defaultPriceMinorPerKg: 9000,
}), }),
ing("red_curry_paste", "Röd currypasta", "Red curry paste", "skafferi", { ing("red_curry_paste", "Röd currypasta", "Red curry paste", "skafferi", {
...veg, allergens: ["crustaceans", "fish"],
allergens: [],
densityGPerMl: 1.05, densityGPerMl: 1.05,
n: { kcal: 120, p: 3, k: 15, f: 5, mf: 1, salt: 6 }, n: { kcal: 120, p: 3, k: 15, f: 5, mf: 1, salt: 6 },
shelfLifeGuidance: { pantry: 365, fridge: 30 }, shelfLifeGuidance: { pantry: 365, fridge: 30 },
defaultPriceMinorPerKg: 15000, defaultPriceMinorPerKg: 15000,
}), }),
ing("red_curry_paste_vegan", "Röd currypasta (vegansk)", "Vegan red curry paste", "skafferi", {
...veg,
allergens: [],
densityGPerMl: 1.05,
n: { kcal: 115, p: 2.5, k: 14, f: 5, mf: 1, salt: 6 },
shelfLifeGuidance: { pantry: 365, fridge: 30 },
defaultPriceMinorPerKg: 16000,
}),
ing("mustard", "Senap", "Mustard", "skafferi", { ing("mustard", "Senap", "Mustard", "skafferi", {
...veg, ...veg,
allergens: ["mustard"], allergens: ["mustard"],
@@ -77,6 +77,7 @@ const targets: PipelineTarget[] = [
{ mealType: "dinner", mainIngredientId: "minced_mixed", dietVariant: "standard", count: 2 }, { mealType: "dinner", mainIngredientId: "minced_mixed", dietVariant: "standard", count: 2 },
// Veg-varianter // Veg-varianter
{ mealType: "dinner", mainIngredientId: "tofu", dietVariant: "vegan", count: 3 }, { mealType: "dinner", mainIngredientId: "tofu", dietVariant: "vegan", count: 3 },
{ mealType: "dinner", mainIngredientId: "red_curry_paste_vegan", dietVariant: "vegan", count: 2 },
{ mealType: "dinner", mainIngredientId: "red_lentils", dietVariant: "vegetarian", count: 2 }, { mealType: "dinner", mainIngredientId: "red_lentils", dietVariant: "vegetarian", count: 2 },
{ mealType: "dinner", mainIngredientId: "chickpeas_canned", dietVariant: "vegan", count: 2 }, { mealType: "dinner", mainIngredientId: "chickpeas_canned", dietVariant: "vegan", count: 2 },
]; ];