feat(seed): add aliases for milk, yoghurt, crème fraiche and carrot

This commit is contained in:
Sven (AAMOS AI)
2026-08-16 21:23:07 +07:00
parent 5ad6bf6f60
commit 305b6d1886
@@ -131,7 +131,7 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
n: { kcal: 60, p: 3.4, k: 4.7, f: 3, mf: 1.9, s: 4.7, salt: 0.1 }, n: { kcal: 60, p: 3.4, k: 4.7, f: 3, mf: 1.9, s: 4.7, salt: 0.1 },
shelfLifeGuidance: { fridge: 7 }, shelfLifeGuidance: { fridge: 7 },
defaultPriceMinorPerKg: 1600, defaultPriceMinorPerKg: 1600,
aliases: ["mjölk", "helmjölk"], aliases: ["mjölk 3", "mjolk 3", "standardmjölk", "standardmjolk", "mjölk", "helmjölk"],
}), }),
ing("milk_1_5", "Mellanmjölk 1,5 %", "Semi-skimmed milk", "mejeri", { ing("milk_1_5", "Mellanmjölk 1,5 %", "Semi-skimmed milk", "mejeri", {
...vgt, ...vgt,
@@ -174,7 +174,7 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
shelfLifeGuidance: { fridge: 7 }, shelfLifeGuidance: { fridge: 7 },
defaultPriceMinorPerKg: 5500, defaultPriceMinorPerKg: 5500,
}), }),
ing("creme_fraiche", "Crème fraiche", "Crème fraîche", "mejeri", { ing("creme_fraiche", "Crème fraiche", "Crème fraîche", "mejeri", { aliases: ["creme fraiche", "crème fraiche 32%", "creme fraiche 32%", "crème fraiche 32 %", "creme fraiche 32 %"],
...vgt, ...vgt,
defaultUnit: "DECILITER", defaultUnit: "DECILITER",
densityGPerMl: 1, densityGPerMl: 1,
@@ -193,7 +193,7 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
defaultPriceMinorPerKg: 4500, defaultPriceMinorPerKg: 4500,
aliases: ["kesella"], aliases: ["kesella"],
}), }),
ing("yoghurt_natural", "Naturell yoghurt 3 %", "Plain yogurt", "mejeri", { ing("yoghurt_natural", "Naturell yoghurt 3 %", "Plain yogurt", "mejeri", { aliases: ["yoghurt", "yogurt", "naturell yoghurt", "grekisk yoghurt", "greek yogurt", "grekisk style yoghurt", "greek style yogurt"],
...vgt, ...vgt,
defaultUnit: "DECILITER", defaultUnit: "DECILITER",
densityGPerMl: 1.03, densityGPerMl: 1.03,
@@ -392,7 +392,7 @@ export const SEED_INGREDIENTS: SeedIngredient[] = [
shelfLifeGuidance: { pantry: 60 }, shelfLifeGuidance: { pantry: 60 },
defaultPriceMinorPerKg: 9000, defaultPriceMinorPerKg: 9000,
}), }),
ing("carrot", "Morot", "Carrot", "gronsaker", { ing("carrot", "Morot", "Carrot", "gronsaker", { aliases: ["morötter", "morotter", "carrots"],
...veg, ...veg,
defaultUnit: "COUNT", defaultUnit: "COUNT",
gramsPerPiece: 125, gramsPerPiece: 125,