From f8e2a11d390d753d0b20e4ec1ccbc6f65fee87cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6hm?= Date: Fri, 6 Nov 2026 20:34:58 +0000 Subject: [PATCH 1/4] Seed: ingredients, starter dishes, store layouts; browser tests (26.11.5) 340 canonical ingredients in four languages with base unit, category, freshness, pack sizes and pantry default; 15 German and 15 British family classics with per-portion amounts; aisle orders for REWE, EDEKA, Lidl, ALDI and a generic store. scripts/seed.mjs upserts them after every migration with ids derived from the key, so household data and backups keep pointing at the same ingredients. Households adopt copies (lib/starter.ts, lib/stores.ts). tests/seed.test.ts checks the files. Playwright joins CI (job oberflaeche): the family flow on an iPhone with a virtual passkey, and a walk over every page on iPhone light, dark and desktop checking overflow, 44 px targets, axe and script errors. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q --- .github/workflows/ci.yml | 87 + .gitignore | 2 + CLAUDE.md | 23 +- Dockerfile | 2 + OlaresManifest.yaml | 4 +- db/migrations/0004_seed_tables.sql | 68 + db/seed/chains.json | 717 +++ db/seed/ingredients.json | 7953 ++++++++++++++++++++++++++++ db/seed/starters.de.json | 429 ++ db/seed/starters.en.json | 1585 ++++++ docs/PROJEKTSTART.md | 1 + e2e/ablauf.spec.ts | 139 + e2e/hilfen.ts | 30 + e2e/rundgang.spec.ts | 70 + lib/backup.ts | 7 +- lib/categories.ts | 38 + lib/starter.ts | 41 + lib/stores.ts | 33 + olares/Chart.yaml | 4 +- olares/OlaresManifest.yaml | 4 +- olares/markt/26.11.5.md | 5 + package-lock.json | 73 + package.json | 5 +- playwright.config.ts | 46 + scripts/migrate.mjs | 4 + scripts/seed.mjs | 105 + tests/rls.test.ts | 5 + tests/seed.test.ts | 130 + tests/templates.test.ts | 107 + 29 files changed, 11705 insertions(+), 12 deletions(-) create mode 100644 db/migrations/0004_seed_tables.sql create mode 100644 db/seed/chains.json create mode 100644 db/seed/ingredients.json create mode 100644 db/seed/starters.de.json create mode 100644 db/seed/starters.en.json create mode 100644 e2e/ablauf.spec.ts create mode 100644 e2e/hilfen.ts create mode 100644 e2e/rundgang.spec.ts create mode 100644 lib/categories.ts create mode 100644 lib/starter.ts create mode 100644 lib/stores.ts create mode 100644 olares/markt/26.11.5.md create mode 100644 playwright.config.ts create mode 100644 scripts/seed.mjs create mode 100644 tests/seed.test.ts create mode 100644 tests/templates.test.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8ba919..350fe43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,3 +106,90 @@ jobs: run: npm run build env: NEXT_TELEMETRY_DISABLED: "1" + + # Der Browser: Ablauf einer Familie am iPhone (einrichten, einladen, anmelden, + # Gerät, entfernen, Rückweg) und der Rundgang über jede Seite am iPhone hell + # und dunkel und am Desktop (Überbreite, Ziele unter 44 px, axe, Skriptfehler). + oberflaeche: + name: oberfläche · Browser am iPhone + runs-on: ubuntu-latest + timeout-minutes: 30 + services: + postgres: + image: postgres:16 + env: + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd "pg_isready -U postgres" + --health-interval 5s + --health-timeout 5s + --health-retries 10 + env: + NEXT_TELEMETRY_DISABLED: "1" + steps: + - uses: actions/checkout@v4 + + - name: database host + run: | + if getent hosts postgres >/dev/null 2>&1; then H=postgres; else H=localhost; fi + echo "PGHOST=$H" >> "$GITHUB_ENV" + echo "DATABASE_URL=postgres://lunch:lunch_dev_only@$H/lunch" >> "$GITHUB_ENV" + + - name: psql + run: | + command -v psql >/dev/null && exit 0 + SUDO=""; [ "$(id -u)" != "0" ] && command -v sudo >/dev/null && SUDO="sudo" + $SUDO apt-get update -qq + $SUDO env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq postgresql-client + + - uses: actions/setup-node@v4 + with: + node-version: "22" + cache: "npm" + + - name: install, migrate, build, start + run: | + npm ci + PGPASSWORD=postgres psql -U postgres -c "create role lunch login password 'lunch_dev_only';" + PGPASSWORD=postgres psql -U postgres -c "create database lunch owner lunch;" + MIGRATE_ATTEMPTS=3 npm run migrate + npm run build + cp -r public .next/standalone/ && cp -r .next/static .next/standalone/.next/ + mkdir -p "$RUNNER_TEMP/lunchdaten" + echo "LUNCH_DATA=$RUNNER_TEMP/lunchdaten" >> "$GITHUB_ENV" + (cd .next/standalone && PORT=3020 BACKUP_DISABLED=1 APP_DATA_DIR="$RUNNER_TEMP/lunchdaten" \ + nohup node server.js > "$RUNNER_TEMP/server.log" 2>&1 &) + for i in $(seq 30); do curl -sf localhost:3020/api/ready && break; sleep 1; done + + # Der Browser im Zwischenspeicher, Schlüssel ist die Version aus dem + # Lockfile. --with-deps ist auf Gitea Pflicht (Muster aimighty/rocket). + - name: playwright version + id: pw + run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> "$GITHUB_OUTPUT" + + - uses: actions/cache@v4 + with: + path: ~/.cache/ms-playwright + key: playwright-${{ runner.os }}-${{ steps.pw.outputs.version }} + + - name: install browser + timeout-minutes: 15 + run: npx playwright install --with-deps chromium + + - name: browser tests + run: npx playwright test + env: + LUNCH_URL: http://localhost:3020 + + - name: server log on failure + if: failure() + run: tail -80 "$RUNNER_TEMP/server.log" || true + + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: browser-report + path: | + e2e-bericht + test-results + retention-days: 7 diff --git a/.gitignore b/.gitignore index 3d2872e..287a4fa 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ public/sw.js public/sw.js.map public/swe-worker-*.js test-results +e2e/.auth +e2e-bericht diff --git a/CLAUDE.md b/CLAUDE.md index b98f7b6..edcc0a3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ > **Plattform:** Olares One (Kubernetes), Repo und CI auf Gitea — kein Supabase, > kein Vercel (E-0001). Eigene Gestaltung, nicht AImighty (E-0002). > Verteilung über den Markt, Repo öffentlich (E-0005). -> **Status:** 26.11.4 (Gestaltung E-0009) — Arbeitspakete 1 und 2 fertig: Anmeldung mit Passkeys, +> **Status:** 26.11.5 (Seed) — Arbeitspakete 1 und 2 fertig: Anmeldung mit Passkeys, > Datenmodell (24 Tabellen, E-0007/E-0008), Test mit zwei Haushalten, Sicherung nach > `/app/data`. Als Nächstes Arbeitspaket 3, Seed (`docs/PROJEKTSTART.md`). > **Letzte Aktualisierung:** 6. November 2026 @@ -88,9 +88,14 @@ Datenmodells (`households`, `dishes`, `rounds`, `slots`, …). 8. **Kinder** haben kein `user_id`, melden sich mit Haushaltscode und PIN an, sehen nur Heute, Wünschen, Bewerten, und erzeugen nichts, was außerhalb des Haushalts sichtbar wäre. -9. **Tests:** Vitest für `lib/`, Playwright für die Kernflüsse Wünschen, Planen, - Einkaufen — am Handy, hell und dunkel. Prüfen heißt auch hinsehen: Bilder - jeder geänderten Seite (iPhone mit Safe Area: `viewport-fit=cover`, +9. **Tests:** Vitest für `lib/` und die Datenbank (`tests/`), Playwright im + Browser (`e2e/`, CI-Job „oberfläche“): `ablauf.spec.ts` geht den Weg einer + Familie am iPhone mit virtuellem Passkey, `rundgang.spec.ts` jede Seite am + iPhone hell, dunkel und am Desktop (Überbreite, Ziele unter 44 px, axe, + Skriptfehler). **Neue Seite → in `rundgang.spec.ts`, neuer Weg → in einen + Ablauf.** Lokal: leere Datenbank, Server mit `APP_DATA_DIR`, dann + `LUNCH_DATA= npm run e2e`. Prüfen heißt auch hinsehen: Bilder jeder + geänderten Seite (iPhone mit Safe Area: `viewport-fit=cover`, `env(safe-area-inset-*)`). 10. **Sprache des Projekts:** Doku deutsch, Code, Bezeichner und Commits englisch, Kommentare deutsch. Die Oberfläche duzt (Familienprodukt, wie im @@ -166,6 +171,16 @@ Maßgeblich: `aimighty/plattform` → `betrieb/gitea.md`. --- +## Vorlagen (Arbeitspaket 3) + +`db/seed/ingredients.json` (kanonische Zutaten, vier Sprachen, Basiseinheit, +Packungen, Grundvorrat), `starters.de.json`/`starters.en.json` (je 15 +Familienklassiker, Mengen **pro Portion**), `chains.json` (Gangfolgen REWE, +EDEKA, Lidl, ALDI, allgemein). `scripts/seed.mjs` spielt sie nach jeder +Migration ein — Zutaten mit fester Kennung aus dem Schlüssel, nie gelöscht; +Vorlagen ersetzt. `tests/seed.test.ts` prüft die Dateien. Ein Haushalt +übernimmt Kopien (`lib/starter.ts`, `lib/stores.ts`). + ## Lokal entwickeln ```bash diff --git a/Dockerfile b/Dockerfile index 6686b28..c9c1752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,9 @@ COPY --from=build /app/.next/static ./.next/static # Für den Vorlauf-Container (olares/templates/deployment.yaml): pg liegt # schon im standalone-Baum, weil der Server es benutzt. COPY --from=build /app/scripts/migrate.mjs ./scripts/migrate.mjs +COPY --from=build /app/scripts/seed.mjs ./scripts/seed.mjs COPY --from=build /app/db/migrations ./db/migrations +COPY --from=build /app/db/seed ./db/seed USER 1000 EXPOSE 3000 diff --git a/OlaresManifest.yaml b/OlaresManifest.yaml index 753fba4..dfe12d3 100644 --- a/OlaresManifest.yaml +++ b/OlaresManifest.yaml @@ -21,7 +21,7 @@ metadata: title: What's cooking? description: The family decides together what's for dinner — and the shopping list writes itself. Runs entirely on your own box. icon: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png - version: 26.11.4 + version: 26.11.5 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.4' + versionName: '26.11.5' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/db/migrations/0004_seed_tables.sql b/db/migrations/0004_seed_tables.sql new file mode 100644 index 0000000..b9fd43a --- /dev/null +++ b/db/migrations/0004_seed_tables.sql @@ -0,0 +1,68 @@ +-- 0004_seed_tables.sql — globale Vorlagen für Arbeitspaket 3. +-- +-- Startergerichte und Gangfolgen der Ketten gehören keinem Haushalt: Sie sind +-- Vorlagen, die ein Haushalt übernimmt (lib/starter.ts, lib/stores.ts) — dann +-- als eigene Kopie in dishes bzw. stores. Lesbar für alle, schreibbar nur beim +-- Einspielen (scripts/seed.mjs setzt app.maintenance). Die Inhalte stehen in +-- db/seed/*.json und werden bei jedem Start nach den Migrationen eingespielt. + +alter table ingredients + add column pack_sizes numeric(12, 3)[] not null default '{}', -- übliche Packungen, Basiseinheit + add column pantry_default boolean not null default false; -- Vorschlag für den Grundvorrat + +alter table dishes add column starter_key text; -- aus welchem Startergericht übernommen +create unique index dishes_starter_once_idx on dishes (household_id, starter_key) where starter_key is not null; + +create table starter_dishes ( + key text primary key check (key ~ '^[a-z]{2}_[a-z0-9_]+$'), + locale text not null check (locale in ('de', 'en', 'fr', 'es')), + position integer not null, + title text not null, + base text check (base in ('pasta', 'rice', 'potato', 'bread', 'grain', 'none')), + tags text[] not null default '{}', + effort_minutes integer +); + +create table starter_dish_ingredients ( + starter_key text not null references starter_dishes (key) on delete cascade, + position integer not null, + ingredient_id uuid not null references ingredients (id), + qty_per_portion numeric(12, 3) not null check (qty_per_portion > 0), + unit text not null check (unit in ('g', 'ml', 'piece')), + note text, + is_staple boolean not null default false, + primary key (starter_key, position) +); + +create table starter_dish_steps ( + starter_key text not null references starter_dishes (key) on delete cascade, + position integer not null, + text text not null, + timer_seconds integer check (timer_seconds > 0), + primary key (starter_key, position) +); + +create table store_chains ( + key text primary key check (key ~ '^[a-z0-9_]+$'), + name text not null, + position integer not null +); + +create table chain_aisles ( + chain_key text not null references store_chains (key) on delete cascade, + position integer not null, + names jsonb not null, + ingredient_categories text[] not null, + primary key (chain_key, position) +); + +do $$ +declare t text; +begin + foreach t in array array['starter_dishes', 'starter_dish_ingredients', 'starter_dish_steps', 'store_chains', 'chain_aisles'] loop + execute format('alter table %I enable row level security', t); + execute format('alter table %I force row level security', t); + execute format('create policy %I on %I for select using (true)', t || '_read', t); + execute format('create policy %I on %I using (app_maintenance()) with check (app_maintenance())', t || '_maintain', t); + end loop; +end $$; diff --git a/db/seed/chains.json b/db/seed/chains.json new file mode 100644 index 0000000..2e3b913 --- /dev/null +++ b/db/seed/chains.json @@ -0,0 +1,717 @@ +[ + { + "key": "rewe", + "name": "REWE", + "aisles": [ + { + "names": { + "de": "Obst & Gemüse", + "en": "Fruit & vegetables", + "fr": "Fruits et légumes", + "es": "Frutas y verduras" + }, + "categories": [ + "fruit", + "vegetables", + "herbs" + ] + }, + { + "names": { + "de": "Brot & Backwaren", + "en": "Bread & bakery", + "fr": "Pain et viennoiseries", + "es": "Pan y bollería" + }, + "categories": [ + "bakery" + ] + }, + { + "names": { + "de": "Fleisch, Wurst & Geflügel", + "en": "Meat, sausages & poultry", + "fr": "Viande, charcuterie et volaille", + "es": "Carne, embutidos y aves" + }, + "categories": [ + "meat", + "poultry", + "sausage" + ] + }, + { + "names": { + "de": "Fisch", + "en": "Fish", + "fr": "Poisson", + "es": "Pescado" + }, + "categories": [ + "fish" + ] + }, + { + "names": { + "de": "Käse", + "en": "Cheese", + "fr": "Fromage", + "es": "Queso" + }, + "categories": [ + "cheese" + ] + }, + { + "names": { + "de": "Molkerei & Eier", + "en": "Dairy & eggs", + "fr": "Produits laitiers et œufs", + "es": "Lácteos y huevos" + }, + "categories": [ + "dairy", + "eggs" + ] + }, + { + "names": { + "de": "Kühlregal", + "en": "Chilled", + "fr": "Rayon frais", + "es": "Refrigerados" + }, + "categories": [ + "chilled" + ] + }, + { + "names": { + "de": "Nudeln, Reis & Konserven", + "en": "Pasta, rice & tins", + "fr": "Pâtes, riz et conserves", + "es": "Pasta, arroz y conservas" + }, + "categories": [ + "pasta_rice", + "canned" + ] + }, + { + "names": { + "de": "Saucen, Gewürze, Öl & Essig", + "en": "Sauces, spices, oil & vinegar", + "fr": "Sauces, épices, huile et vinaigre", + "es": "Salsas, especias, aceite y vinagre" + }, + "categories": [ + "sauces", + "spices", + "oil_vinegar" + ] + }, + { + "names": { + "de": "Backen, Frühstück & Nüsse", + "en": "Baking, breakfast & nuts", + "fr": "Pâtisserie, petit-déjeuner et fruits secs", + "es": "Repostería, desayuno y frutos secos" + }, + "categories": [ + "baking", + "breakfast", + "nuts" + ] + }, + { + "names": { + "de": "Süßwaren & Snacks", + "en": "Sweets & snacks", + "fr": "Confiserie et snacks", + "es": "Dulces y aperitivos" + }, + "categories": [ + "sweets" + ] + }, + { + "names": { + "de": "Tiefkühl", + "en": "Frozen", + "fr": "Surgelés", + "es": "Congelados" + }, + "categories": [ + "frozen" + ] + }, + { + "names": { + "de": "Getränke", + "en": "Drinks", + "fr": "Boissons", + "es": "Bebidas" + }, + "categories": [ + "drinks" + ] + } + ] + }, + { + "key": "edeka", + "name": "EDEKA", + "aisles": [ + { + "names": { + "de": "Obst & Gemüse", + "en": "Fruit & vegetables", + "fr": "Fruits et légumes", + "es": "Frutas y verduras" + }, + "categories": [ + "fruit", + "vegetables", + "herbs" + ] + }, + { + "names": { + "de": "Brot & Backwaren", + "en": "Bread & bakery", + "fr": "Pain et viennoiseries", + "es": "Pan y bollería" + }, + "categories": [ + "bakery" + ] + }, + { + "names": { + "de": "Fleisch, Wurst & Geflügel", + "en": "Meat, sausages & poultry", + "fr": "Viande, charcuterie et volaille", + "es": "Carne, embutidos y aves" + }, + "categories": [ + "meat", + "poultry", + "sausage" + ] + }, + { + "names": { + "de": "Fisch", + "en": "Fish", + "fr": "Poisson", + "es": "Pescado" + }, + "categories": [ + "fish" + ] + }, + { + "names": { + "de": "Käse", + "en": "Cheese", + "fr": "Fromage", + "es": "Queso" + }, + "categories": [ + "cheese" + ] + }, + { + "names": { + "de": "Molkerei & Eier", + "en": "Dairy & eggs", + "fr": "Produits laitiers et œufs", + "es": "Lácteos y huevos" + }, + "categories": [ + "dairy", + "eggs", + "chilled" + ] + }, + { + "names": { + "de": "Nudeln, Reis & Getreide", + "en": "Pasta, rice & grains", + "fr": "Pâtes, riz et céréales", + "es": "Pasta, arroz y cereales" + }, + "categories": [ + "pasta_rice" + ] + }, + { + "names": { + "de": "Konserven & Saucen", + "en": "Tins & sauces", + "fr": "Conserves et sauces", + "es": "Conservas y salsas" + }, + "categories": [ + "canned", + "sauces" + ] + }, + { + "names": { + "de": "Gewürze, Öl & Essig", + "en": "Spices, oil & vinegar", + "fr": "Épices, huile et vinaigre", + "es": "Especias, aceite y vinagre" + }, + "categories": [ + "spices", + "oil_vinegar" + ] + }, + { + "names": { + "de": "Backen, Frühstück & Nüsse", + "en": "Baking, breakfast & nuts", + "fr": "Pâtisserie, petit-déjeuner et fruits secs", + "es": "Repostería, desayuno y frutos secos" + }, + "categories": [ + "baking", + "breakfast", + "nuts" + ] + }, + { + "names": { + "de": "Süßwaren & Snacks", + "en": "Sweets & snacks", + "fr": "Confiserie et snacks", + "es": "Dulces y aperitivos" + }, + "categories": [ + "sweets" + ] + }, + { + "names": { + "de": "Tiefkühl", + "en": "Frozen", + "fr": "Surgelés", + "es": "Congelados" + }, + "categories": [ + "frozen" + ] + }, + { + "names": { + "de": "Getränke", + "en": "Drinks", + "fr": "Boissons", + "es": "Bebidas" + }, + "categories": [ + "drinks" + ] + } + ] + }, + { + "key": "lidl", + "name": "Lidl", + "aisles": [ + { + "names": { + "de": "Obst & Gemüse", + "en": "Fruit & vegetables", + "fr": "Fruits et légumes", + "es": "Frutas y verduras" + }, + "categories": [ + "fruit", + "vegetables", + "herbs" + ] + }, + { + "names": { + "de": "Brot & Backwaren", + "en": "Bread & bakery", + "fr": "Pain et viennoiseries", + "es": "Pan y bollería" + }, + "categories": [ + "bakery" + ] + }, + { + "names": { + "de": "Nudeln, Reis & Konserven", + "en": "Pasta, rice & tins", + "fr": "Pâtes, riz et conserves", + "es": "Pasta, arroz y conservas" + }, + "categories": [ + "pasta_rice", + "canned" + ] + }, + { + "names": { + "de": "Saucen, Gewürze, Öl & Essig", + "en": "Sauces, spices, oil & vinegar", + "fr": "Sauces, épices, huile et vinaigre", + "es": "Salsas, especias, aceite y vinagre" + }, + "categories": [ + "sauces", + "spices", + "oil_vinegar" + ] + }, + { + "names": { + "de": "Backen, Frühstück & Nüsse", + "en": "Baking, breakfast & nuts", + "fr": "Pâtisserie, petit-déjeuner et fruits secs", + "es": "Repostería, desayuno y frutos secos" + }, + "categories": [ + "baking", + "breakfast", + "nuts" + ] + }, + { + "names": { + "de": "Süßwaren & Snacks", + "en": "Sweets & snacks", + "fr": "Confiserie et snacks", + "es": "Dulces y aperitivos" + }, + "categories": [ + "sweets" + ] + }, + { + "names": { + "de": "Fleisch, Wurst & Geflügel", + "en": "Meat, sausages & poultry", + "fr": "Viande, charcuterie et volaille", + "es": "Carne, embutidos y aves" + }, + "categories": [ + "meat", + "poultry", + "sausage" + ] + }, + { + "names": { + "de": "Fisch", + "en": "Fish", + "fr": "Poisson", + "es": "Pescado" + }, + "categories": [ + "fish" + ] + }, + { + "names": { + "de": "Kühlregal: Molkerei, Käse & Eier", + "en": "Chilled: dairy, cheese & eggs", + "fr": "Frais : produits laitiers, fromage et œufs", + "es": "Refrigerados: lácteos, queso y huevos" + }, + "categories": [ + "dairy", + "cheese", + "eggs", + "chilled" + ] + }, + { + "names": { + "de": "Tiefkühl", + "en": "Frozen", + "fr": "Surgelés", + "es": "Congelados" + }, + "categories": [ + "frozen" + ] + }, + { + "names": { + "de": "Getränke", + "en": "Drinks", + "fr": "Boissons", + "es": "Bebidas" + }, + "categories": [ + "drinks" + ] + } + ] + }, + { + "key": "aldi", + "name": "ALDI", + "aisles": [ + { + "names": { + "de": "Obst & Gemüse", + "en": "Fruit & vegetables", + "fr": "Fruits et légumes", + "es": "Frutas y verduras" + }, + "categories": [ + "fruit", + "vegetables", + "herbs" + ] + }, + { + "names": { + "de": "Brot & Backwaren", + "en": "Bread & bakery", + "fr": "Pain et viennoiseries", + "es": "Pan y bollería" + }, + "categories": [ + "bakery" + ] + }, + { + "names": { + "de": "Kühlregal: Molkerei, Käse & Eier", + "en": "Chilled: dairy, cheese & eggs", + "fr": "Frais : produits laitiers, fromage et œufs", + "es": "Refrigerados: lácteos, queso y huevos" + }, + "categories": [ + "dairy", + "cheese", + "eggs", + "chilled" + ] + }, + { + "names": { + "de": "Fleisch, Wurst & Fisch", + "en": "Meat, sausages & fish", + "fr": "Viande, charcuterie et poisson", + "es": "Carne, embutidos y pescado" + }, + "categories": [ + "meat", + "poultry", + "sausage", + "fish" + ] + }, + { + "names": { + "de": "Trockensortiment", + "en": "Dry goods", + "fr": "Épicerie", + "es": "Alimentación seca" + }, + "categories": [ + "pasta_rice", + "canned", + "sauces", + "spices", + "oil_vinegar", + "baking", + "breakfast", + "nuts" + ] + }, + { + "names": { + "de": "Süßwaren & Snacks", + "en": "Sweets & snacks", + "fr": "Confiserie et snacks", + "es": "Dulces y aperitivos" + }, + "categories": [ + "sweets" + ] + }, + { + "names": { + "de": "Tiefkühl", + "en": "Frozen", + "fr": "Surgelés", + "es": "Congelados" + }, + "categories": [ + "frozen" + ] + }, + { + "names": { + "de": "Getränke", + "en": "Drinks", + "fr": "Boissons", + "es": "Bebidas" + }, + "categories": [ + "drinks" + ] + } + ] + }, + { + "key": "generic", + "name": "", + "aisles": [ + { + "names": { + "de": "Obst & Gemüse", + "en": "Fruit & vegetables", + "fr": "Fruits et légumes", + "es": "Frutas y verduras" + }, + "categories": [ + "fruit", + "vegetables", + "herbs" + ] + }, + { + "names": { + "de": "Brot & Backwaren", + "en": "Bread & bakery", + "fr": "Pain et viennoiseries", + "es": "Pan y bollería" + }, + "categories": [ + "bakery" + ] + }, + { + "names": { + "de": "Fleisch, Wurst & Geflügel", + "en": "Meat, sausages & poultry", + "fr": "Viande, charcuterie et volaille", + "es": "Carne, embutidos y aves" + }, + "categories": [ + "meat", + "poultry", + "sausage" + ] + }, + { + "names": { + "de": "Fisch", + "en": "Fish", + "fr": "Poisson", + "es": "Pescado" + }, + "categories": [ + "fish" + ] + }, + { + "names": { + "de": "Kühlregal: Molkerei, Käse & Eier", + "en": "Chilled: dairy, cheese & eggs", + "fr": "Frais : produits laitiers, fromage et œufs", + "es": "Refrigerados: lácteos, queso y huevos" + }, + "categories": [ + "dairy", + "cheese", + "eggs", + "chilled" + ] + }, + { + "names": { + "de": "Nudeln, Reis & Getreide", + "en": "Pasta, rice & grains", + "fr": "Pâtes, riz et céréales", + "es": "Pasta, arroz y cereales" + }, + "categories": [ + "pasta_rice" + ] + }, + { + "names": { + "de": "Konserven & Saucen", + "en": "Tins & sauces", + "fr": "Conserves et sauces", + "es": "Conservas y salsas" + }, + "categories": [ + "canned", + "sauces" + ] + }, + { + "names": { + "de": "Gewürze, Öl & Essig", + "en": "Spices, oil & vinegar", + "fr": "Épices, huile et vinaigre", + "es": "Especias, aceite y vinagre" + }, + "categories": [ + "spices", + "oil_vinegar" + ] + }, + { + "names": { + "de": "Backen, Frühstück & Nüsse", + "en": "Baking, breakfast & nuts", + "fr": "Pâtisserie, petit-déjeuner et fruits secs", + "es": "Repostería, desayuno y frutos secos" + }, + "categories": [ + "baking", + "breakfast", + "nuts" + ] + }, + { + "names": { + "de": "Süßwaren & Snacks", + "en": "Sweets & snacks", + "fr": "Confiserie et snacks", + "es": "Dulces y aperitivos" + }, + "categories": [ + "sweets" + ] + }, + { + "names": { + "de": "Tiefkühl", + "en": "Frozen", + "fr": "Surgelés", + "es": "Congelados" + }, + "categories": [ + "frozen" + ] + }, + { + "names": { + "de": "Getränke", + "en": "Drinks", + "fr": "Boissons", + "es": "Bebidas" + }, + "categories": [ + "drinks" + ] + } + ] + } +] diff --git a/db/seed/ingredients.json b/db/seed/ingredients.json new file mode 100644 index 0000000..f94d18c --- /dev/null +++ b/db/seed/ingredients.json @@ -0,0 +1,7953 @@ +[ + { + "key": "potato", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Kartoffeln", + "en": "Potatoes", + "fr": "Pommes de terre", + "es": "Patatas" + }, + "synonyms": [ + "Kartoffeln festkochend", + "Speisekartoffeln", + "Erdäpfel", + "waxy potatoes", + "patatas para cocer" + ], + "packs": [ + 1000, + 1500, + 2000, + 2500 + ], + "pantry": false + }, + { + "key": "floury_potato", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Kartoffeln, mehligkochend", + "en": "Floury potatoes", + "fr": "Pommes de terre farineuses", + "es": "Patatas harinosas" + }, + "synonyms": [ + "mehlige Kartoffeln", + "Kartoffeln mehlig", + "baking potatoes", + "Maris Piper", + "King Edward", + "pommes de terre à purée" + ], + "packs": [ + 1000, + 1500, + 2500 + ], + "pantry": false + }, + { + "key": "sweet_potato", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Süßkartoffeln", + "en": "Sweet potatoes", + "fr": "Patates douces", + "es": "Boniatos" + }, + "synonyms": [ + "Süßkartoffel", + "batata", + "sweet potato" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "onion", + "category": "vegetables", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Zwiebeln", + "en": "Onions", + "fr": "Oignons", + "es": "Cebollas" + }, + "synonyms": [ + "Zwiebel", + "Gemüsezwiebel", + "Speisezwiebeln", + "brown onion", + "yellow onion", + "oignon jaune", + "cebolla" + ], + "packs": [], + "pantry": false + }, + { + "key": "red_onion", + "category": "vegetables", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Rote Zwiebeln", + "en": "Red onions", + "fr": "Oignons rouges", + "es": "Cebollas moradas" + }, + "synonyms": [ + "rote Zwiebel", + "red onion", + "cebolla roja" + ], + "packs": [], + "pantry": false + }, + { + "key": "spring_onion", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Frühlingszwiebeln", + "en": "Spring onions", + "fr": "Oignons nouveaux", + "es": "Cebolletas" + }, + "synonyms": [ + "Lauchzwiebeln", + "scallions", + "green onions", + "cébettes", + "cebollino tierno" + ], + "packs": [], + "pantry": false + }, + { + "key": "shallot", + "category": "vegetables", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Schalotten", + "en": "Shallots", + "fr": "Échalotes", + "es": "Chalotas" + }, + "synonyms": [ + "Schalotte", + "shallot", + "échalote" + ], + "packs": [], + "pantry": false + }, + { + "key": "garlic", + "category": "vegetables", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Knoblauchzehe", + "en": "Garlic clove", + "fr": "Gousse d'ail", + "es": "Diente de ajo" + }, + "synonyms": [ + "Knoblauch", + "Knoblauchzehen", + "Knoblauchknolle", + "garlic", + "ail", + "ajo" + ], + "packs": [], + "pantry": false + }, + { + "key": "leek", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Lauch", + "en": "Leek", + "fr": "Poireau", + "es": "Puerro" + }, + "synonyms": [ + "Porree", + "Lauchstange", + "leeks", + "poireaux", + "puerros" + ], + "packs": [], + "pantry": false + }, + { + "key": "carrot", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Möhren", + "en": "Carrots", + "fr": "Carottes", + "es": "Zanahorias" + }, + "synonyms": [ + "Karotten", + "Möhre", + "Mohrrüben", + "Gelbe Rüben", + "carrot", + "zanahoria" + ], + "packs": [ + 500, + 1000, + 2000 + ], + "pantry": false + }, + { + "key": "celeriac", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Knollensellerie", + "en": "Celeriac", + "fr": "Céleri-rave", + "es": "Apionabo" + }, + "synonyms": [ + "Sellerie", + "Sellerieknolle", + "celery root", + "raíz de apio" + ], + "packs": [], + "pantry": false + }, + { + "key": "celery", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Staudensellerie", + "en": "Celery", + "fr": "Céleri branche", + "es": "Apio" + }, + "synonyms": [ + "Stangensellerie", + "Selleriestange", + "celery stick", + "celery stalk", + "branche de céleri", + "rama de apio" + ], + "packs": [], + "pantry": false + }, + { + "key": "parsnip", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Pastinaken", + "en": "Parsnips", + "fr": "Panais", + "es": "Chirivías" + }, + "synonyms": [ + "Pastinake", + "parsnip" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "beetroot", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rote Bete", + "en": "Beetroot", + "fr": "Betterave rouge", + "es": "Remolacha" + }, + "synonyms": [ + "Rote Beete", + "Rote Rüben", + "beets", + "betterave cuite" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "soup_greens", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Suppengrün", + "en": "Soup vegetables bundle", + "fr": "Légumes pour pot-au-feu", + "es": "Verduras para caldo" + }, + "synonyms": [ + "Suppengemüse", + "Suppenbund", + "soup greens", + "bouquet de légumes" + ], + "packs": [], + "pantry": false + }, + { + "key": "tomato", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Tomaten", + "en": "Tomatoes", + "fr": "Tomates", + "es": "Tomates" + }, + "synonyms": [ + "Tomate", + "Rispentomaten", + "Strauchtomaten", + "Fleischtomate", + "tomato" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "cherry_tomato", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Cherrytomaten", + "en": "Cherry tomatoes", + "fr": "Tomates cerises", + "es": "Tomates cherry" + }, + "synonyms": [ + "Kirschtomaten", + "Cocktailtomaten", + "Datteltomaten", + "Snacktomaten", + "tomates cerise" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "cucumber", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Salatgurke", + "en": "Cucumber", + "fr": "Concombre", + "es": "Pepino" + }, + "synonyms": [ + "Gurke", + "Schlangengurke", + "Gurken", + "cucumbers" + ], + "packs": [], + "pantry": false + }, + { + "key": "bell_pepper_red", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Paprika rot", + "en": "Red pepper", + "fr": "Poivron rouge", + "es": "Pimiento rojo" + }, + "synonyms": [ + "rote Paprika", + "Paprikaschote rot", + "red bell pepper", + "capsicum" + ], + "packs": [], + "pantry": false + }, + { + "key": "bell_pepper_yellow", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Paprika gelb", + "en": "Yellow pepper", + "fr": "Poivron jaune", + "es": "Pimiento amarillo" + }, + "synonyms": [ + "gelbe Paprika", + "Paprikaschote gelb", + "yellow bell pepper" + ], + "packs": [], + "pantry": false + }, + { + "key": "bell_pepper_green", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Paprika grün", + "en": "Green pepper", + "fr": "Poivron vert", + "es": "Pimiento verde" + }, + "synonyms": [ + "grüne Paprika", + "Paprikaschote grün", + "green bell pepper", + "pimiento italiano" + ], + "packs": [], + "pantry": false + }, + { + "key": "zucchini", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Zucchini", + "en": "Courgette", + "fr": "Courgette", + "es": "Calabacín" + }, + "synonyms": [ + "Zucchino", + "courgettes", + "calabacines" + ], + "packs": [], + "pantry": false + }, + { + "key": "eggplant", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Aubergine", + "en": "Aubergine", + "fr": "Aubergine", + "es": "Berenjena" + }, + "synonyms": [ + "Melanzani", + "eggplant", + "aubergines", + "berenjenas" + ], + "packs": [], + "pantry": false + }, + { + "key": "broccoli", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Brokkoli", + "en": "Broccoli", + "fr": "Brocoli", + "es": "Brócoli" + }, + "synonyms": [ + "brécol" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "cauliflower", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Blumenkohl", + "en": "Cauliflower", + "fr": "Chou-fleur", + "es": "Coliflor" + }, + "synonyms": [ + "Karfiol" + ], + "packs": [], + "pantry": false + }, + { + "key": "white_cabbage", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Weißkohl", + "en": "White cabbage", + "fr": "Chou blanc", + "es": "Repollo" + }, + "synonyms": [ + "Weißkraut", + "Spitzkohl", + "cabbage", + "col blanca" + ], + "packs": [], + "pantry": false + }, + { + "key": "red_cabbage", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rotkohl", + "en": "Red cabbage", + "fr": "Chou rouge", + "es": "Lombarda" + }, + "synonyms": [ + "Blaukraut", + "Rotkraut", + "col lombarda" + ], + "packs": [], + "pantry": false + }, + { + "key": "savoy_cabbage", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Wirsing", + "en": "Savoy cabbage", + "fr": "Chou de Milan", + "es": "Col de Milán" + }, + "synonyms": [ + "Wirsingkohl", + "chou frisé", + "col rizada" + ], + "packs": [], + "pantry": false + }, + { + "key": "brussels_sprouts", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rosenkohl", + "en": "Brussels sprouts", + "fr": "Choux de Bruxelles", + "es": "Coles de Bruselas" + }, + "synonyms": [ + "Kohlsprossen", + "sprouts" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "kohlrabi", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Kohlrabi", + "en": "Kohlrabi", + "fr": "Chou-rave", + "es": "Colinabo" + }, + "synonyms": [ + "Kohlrübe" + ], + "packs": [], + "pantry": false + }, + { + "key": "spinach", + "category": "vegetables", + "unit": "g", + "freshness": 1, + "names": { + "de": "Spinat", + "en": "Spinach", + "fr": "Épinards frais", + "es": "Espinacas frescas" + }, + "synonyms": [ + "Blattspinat frisch", + "Babyspinat", + "baby spinach", + "pousses d'épinards", + "espinacas baby" + ], + "packs": [ + 200, + 250, + 500 + ], + "pantry": false + }, + { + "key": "lettuce", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Kopfsalat", + "en": "Lettuce", + "fr": "Laitue", + "es": "Lechuga" + }, + "synonyms": [ + "grüner Salat", + "Salatkopf", + "butterhead lettuce", + "salade verte" + ], + "packs": [], + "pantry": false + }, + { + "key": "iceberg_lettuce", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Eisbergsalat", + "en": "Iceberg lettuce", + "fr": "Laitue iceberg", + "es": "Lechuga iceberg" + }, + "synonyms": [ + "Eissalat", + "iceberg" + ], + "packs": [], + "pantry": false + }, + { + "key": "romaine", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Romanasalat", + "en": "Romaine lettuce", + "fr": "Laitue romaine", + "es": "Lechuga romana" + }, + "synonyms": [ + "Römersalat", + "Romana-Herzen", + "cos lettuce", + "little gem", + "cogollos" + ], + "packs": [], + "pantry": false + }, + { + "key": "lambs_lettuce", + "category": "vegetables", + "unit": "g", + "freshness": 1, + "names": { + "de": "Feldsalat", + "en": "Lamb's lettuce", + "fr": "Mâche", + "es": "Canónigos" + }, + "synonyms": [ + "Rapunzel", + "Vogerlsalat", + "corn salad", + "lamb lettuce" + ], + "packs": [ + 100, + 150 + ], + "pantry": false + }, + { + "key": "rocket", + "category": "vegetables", + "unit": "g", + "freshness": 1, + "names": { + "de": "Rucola", + "en": "Rocket", + "fr": "Roquette", + "es": "Rúcula" + }, + "synonyms": [ + "Rauke", + "arugula", + "roquette sauvage" + ], + "packs": [ + 100, + 125 + ], + "pantry": false + }, + { + "key": "mushrooms", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Champignons", + "en": "Mushrooms", + "fr": "Champignons de Paris", + "es": "Champiñones" + }, + "synonyms": [ + "Champignons weiß", + "braune Champignons", + "Pilze", + "button mushrooms", + "chestnut mushrooms", + "champignons blancs", + "setas" + ], + "packs": [ + 250, + 400, + 500 + ], + "pantry": false + }, + { + "key": "green_beans", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Grüne Bohnen", + "en": "Green beans", + "fr": "Haricots verts", + "es": "Judías verdes" + }, + "synonyms": [ + "Brechbohnen", + "Buschbohnen", + "Prinzessbohnen", + "French beans", + "runner beans", + "ejotes" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "pumpkin", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Kürbis", + "en": "Pumpkin", + "fr": "Potiron", + "es": "Calabaza" + }, + "synonyms": [ + "Hokkaido", + "Hokkaido-Kürbis", + "Butternut", + "Butternut-Kürbis", + "butternut squash", + "squash", + "courge", + "courge butternut" + ], + "packs": [], + "pantry": false + }, + { + "key": "fennel", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Fenchel", + "en": "Fennel", + "fr": "Fenouil", + "es": "Hinojo" + }, + "synonyms": [ + "Fenchelknolle", + "fennel bulb" + ], + "packs": [], + "pantry": false + }, + { + "key": "asparagus_white", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Spargel, weiß", + "en": "White asparagus", + "fr": "Asperges blanches", + "es": "Espárragos blancos" + }, + "synonyms": [ + "weißer Spargel", + "Spargel", + "Bleichspargel" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "asparagus_green", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Grüner Spargel", + "en": "Green asparagus", + "fr": "Asperges vertes", + "es": "Espárragos verdes" + }, + "synonyms": [ + "Spargel grün", + "asparagus", + "trigueros" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "radish", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Radieschen (Bund)", + "en": "Radishes (bunch)", + "fr": "Radis (botte)", + "es": "Rábanos (manojo)" + }, + "synonyms": [ + "Radieschen", + "radishes", + "radis", + "rabanitos" + ], + "packs": [], + "pantry": false + }, + { + "key": "chili_pepper", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Chilischote", + "en": "Chilli pepper", + "fr": "Piment frais", + "es": "Guindilla fresca" + }, + "synonyms": [ + "Chili", + "Peperoni scharf", + "Peperoncini", + "red chilli", + "chili pepper", + "jalapeño", + "piment rouge", + "chile fresco" + ], + "packs": [], + "pantry": false + }, + { + "key": "ginger", + "category": "vegetables", + "unit": "g", + "freshness": 2, + "names": { + "de": "Ingwer", + "en": "Ginger", + "fr": "Gingembre", + "es": "Jengibre" + }, + "synonyms": [ + "Ingwerwurzel", + "frischer Ingwer", + "fresh ginger", + "gingembre frais", + "jengibre fresco" + ], + "packs": [], + "pantry": false + }, + { + "key": "pak_choi", + "category": "vegetables", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Pak Choi", + "en": "Pak choi", + "fr": "Pak-choï", + "es": "Pak choi" + }, + "synonyms": [ + "Pak Choy", + "Senfkohl", + "bok choy", + "chou chinois", + "col china" + ], + "packs": [], + "pantry": false + }, + { + "key": "bean_sprouts", + "category": "vegetables", + "unit": "g", + "freshness": 1, + "names": { + "de": "Sojasprossen", + "en": "Bean sprouts", + "fr": "Pousses de soja", + "es": "Brotes de soja" + }, + "synonyms": [ + "Mungbohnensprossen", + "Sprossen", + "beansprouts", + "germes de soja" + ], + "packs": [ + 175, + 200 + ], + "pantry": false + }, + { + "key": "apple", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Äpfel", + "en": "Apples", + "fr": "Pommes", + "es": "Manzanas" + }, + "synonyms": [ + "Apfel", + "Tafeläpfel", + "Elstar", + "Braeburn", + "apple", + "pomme", + "manzana" + ], + "packs": [], + "pantry": false + }, + { + "key": "banana", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Bananen", + "en": "Bananas", + "fr": "Bananes", + "es": "Plátanos" + }, + "synonyms": [ + "Banane", + "banana", + "plátano" + ], + "packs": [], + "pantry": false + }, + { + "key": "pear", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Birnen", + "en": "Pears", + "fr": "Poires", + "es": "Peras" + }, + "synonyms": [ + "Birne", + "pear", + "poire", + "pera" + ], + "packs": [], + "pantry": false + }, + { + "key": "orange", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Orangen", + "en": "Oranges", + "fr": "Oranges", + "es": "Naranjas" + }, + "synonyms": [ + "Apfelsinen", + "Orange", + "naranja" + ], + "packs": [], + "pantry": false + }, + { + "key": "lemon", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Zitrone", + "en": "Lemon", + "fr": "Citron", + "es": "Limón" + }, + "synonyms": [ + "Zitronen", + "Bio-Zitrone", + "lemons", + "citrons", + "limones" + ], + "packs": [], + "pantry": false + }, + { + "key": "lime", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Limette", + "en": "Lime", + "fr": "Citron vert", + "es": "Lima" + }, + "synonyms": [ + "Limetten", + "limes", + "citron vert bio" + ], + "packs": [], + "pantry": false + }, + { + "key": "clementine", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Clementinen", + "en": "Clementines", + "fr": "Clémentines", + "es": "Mandarinas" + }, + "synonyms": [ + "Mandarinen", + "Clementine", + "mandarins", + "easy peelers", + "mandarines", + "clementinas" + ], + "packs": [], + "pantry": false + }, + { + "key": "grapes", + "category": "fruit", + "unit": "g", + "freshness": 2, + "names": { + "de": "Weintrauben", + "en": "Grapes", + "fr": "Raisin", + "es": "Uvas" + }, + "synonyms": [ + "Trauben", + "Tafeltrauben", + "grapes seedless", + "raisin blanc", + "raisin noir" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "strawberries", + "category": "fruit", + "unit": "g", + "freshness": 1, + "names": { + "de": "Erdbeeren", + "en": "Strawberries", + "fr": "Fraises", + "es": "Fresas" + }, + "synonyms": [ + "Erdbeere", + "strawberry", + "fraise", + "fresones" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "raspberries", + "category": "fruit", + "unit": "g", + "freshness": 1, + "names": { + "de": "Himbeeren", + "en": "Raspberries", + "fr": "Framboises", + "es": "Frambuesas" + }, + "synonyms": [ + "Himbeere", + "raspberry" + ], + "packs": [ + 125, + 250 + ], + "pantry": false + }, + { + "key": "blueberries", + "category": "fruit", + "unit": "g", + "freshness": 1, + "names": { + "de": "Heidelbeeren", + "en": "Blueberries", + "fr": "Myrtilles", + "es": "Arándanos" + }, + "synonyms": [ + "Blaubeeren", + "Kulturheidelbeeren", + "blueberry", + "bleuets" + ], + "packs": [ + 125, + 250, + 500 + ], + "pantry": false + }, + { + "key": "kiwi", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Kiwi", + "en": "Kiwi fruit", + "fr": "Kiwi", + "es": "Kiwi" + }, + "synonyms": [ + "Kiwis" + ], + "packs": [], + "pantry": false + }, + { + "key": "pineapple", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Ananas", + "en": "Pineapple", + "fr": "Ananas", + "es": "Piña" + }, + "synonyms": [ + "pineapples", + "ananas frais" + ], + "packs": [], + "pantry": false + }, + { + "key": "mango", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Mango", + "en": "Mango", + "fr": "Mangue", + "es": "Mango" + }, + "synonyms": [ + "Mangos", + "mangoes", + "mangues" + ], + "packs": [], + "pantry": false + }, + { + "key": "avocado", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Avocado", + "en": "Avocado", + "fr": "Avocat", + "es": "Aguacate" + }, + "synonyms": [ + "Avocados", + "Hass-Avocado", + "avocats", + "aguacates" + ], + "packs": [], + "pantry": false + }, + { + "key": "peach", + "category": "fruit", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Pfirsiche", + "en": "Peaches", + "fr": "Pêches", + "es": "Melocotones" + }, + "synonyms": [ + "Pfirsich", + "Nektarinen", + "nectarines", + "peach", + "brugnons", + "nectarinas" + ], + "packs": [], + "pantry": false + }, + { + "key": "plums", + "category": "fruit", + "unit": "g", + "freshness": 2, + "names": { + "de": "Zwetschgen", + "en": "Plums", + "fr": "Prunes", + "es": "Ciruelas" + }, + "synonyms": [ + "Pflaumen", + "Zwetschken", + "plum", + "quetsches" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "cherries", + "category": "fruit", + "unit": "g", + "freshness": 1, + "names": { + "de": "Kirschen", + "en": "Cherries", + "fr": "Cerises", + "es": "Cerezas" + }, + "synonyms": [ + "Süßkirschen", + "cherry" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "rhubarb", + "category": "fruit", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rhabarber", + "en": "Rhubarb", + "fr": "Rhubarbe", + "es": "Ruibarbo" + }, + "synonyms": [ + "Rhabarberstangen" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "parsley", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Petersilie", + "en": "Parsley", + "fr": "Persil", + "es": "Perejil" + }, + "synonyms": [ + "glatte Petersilie", + "krause Petersilie", + "Petersilie Bund", + "flat-leaf parsley", + "persil plat", + "perejil fresco" + ], + "packs": [], + "pantry": false + }, + { + "key": "chives", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Schnittlauch", + "en": "Chives", + "fr": "Ciboulette", + "es": "Cebollino" + }, + "synonyms": [ + "Schnittlauch Bund", + "chive" + ], + "packs": [], + "pantry": false + }, + { + "key": "dill", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Dill", + "en": "Dill", + "fr": "Aneth", + "es": "Eneldo" + }, + "synonyms": [ + "Dill Bund", + "fresh dill" + ], + "packs": [], + "pantry": false + }, + { + "key": "basil", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Basilikum", + "en": "Basil", + "fr": "Basilic", + "es": "Albahaca" + }, + "synonyms": [ + "Basilikum Topf", + "fresh basil", + "basilic frais", + "albahaca fresca" + ], + "packs": [], + "pantry": false + }, + { + "key": "coriander", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Koriander", + "en": "Coriander", + "fr": "Coriandre fraîche", + "es": "Cilantro fresco" + }, + "synonyms": [ + "Koriandergrün", + "frischer Koriander", + "cilantro", + "coriander leaves", + "coriandre" + ], + "packs": [], + "pantry": false + }, + { + "key": "mint", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Minze", + "en": "Mint", + "fr": "Menthe", + "es": "Hierbabuena" + }, + "synonyms": [ + "Pfefferminze", + "frische Minze", + "fresh mint", + "menthe fraîche", + "menta" + ], + "packs": [], + "pantry": false + }, + { + "key": "rosemary", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Rosmarin", + "en": "Rosemary", + "fr": "Romarin", + "es": "Romero" + }, + "synonyms": [ + "Rosmarinzweig", + "frischer Rosmarin", + "rosemary sprig", + "romarin frais", + "romero fresco" + ], + "packs": [], + "pantry": false + }, + { + "key": "thyme", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Thymian", + "en": "Thyme", + "fr": "Thym", + "es": "Tomillo" + }, + "synonyms": [ + "Thymianzweig", + "frischer Thymian", + "thyme sprig", + "thym frais", + "tomillo fresco" + ], + "packs": [], + "pantry": false + }, + { + "key": "sage", + "category": "herbs", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Salbei", + "en": "Sage", + "fr": "Sauge", + "es": "Salvia" + }, + "synonyms": [ + "Salbeiblätter", + "frischer Salbei", + "sage leaves" + ], + "packs": [], + "pantry": false + }, + { + "key": "lemongrass", + "category": "herbs", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Zitronengras", + "en": "Lemongrass", + "fr": "Citronnelle", + "es": "Hierba limón" + }, + "synonyms": [ + "Zitronengrasstange", + "lemon grass", + "citronnelle fraîche", + "limoncillo" + ], + "packs": [], + "pantry": false + }, + { + "key": "bread", + "category": "bakery", + "unit": "g", + "freshness": 2, + "names": { + "de": "Mischbrot", + "en": "Bread", + "fr": "Pain", + "es": "Pan" + }, + "synonyms": [ + "Brot", + "Bauernbrot", + "Roggenmischbrot", + "loaf", + "miche", + "pan de payés" + ], + "packs": [ + 500, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "wholemeal_bread", + "category": "bakery", + "unit": "g", + "freshness": 2, + "names": { + "de": "Vollkornbrot", + "en": "Wholemeal bread", + "fr": "Pain complet", + "es": "Pan integral" + }, + "synonyms": [ + "Körnerbrot", + "Schwarzbrot", + "granary bread", + "wholegrain bread", + "pain aux céréales" + ], + "packs": [ + 500, + 750 + ], + "pantry": false + }, + { + "key": "toast_bread", + "category": "bakery", + "unit": "g", + "freshness": 2, + "names": { + "de": "Toastbrot", + "en": "Sliced white bread", + "fr": "Pain de mie", + "es": "Pan de molde" + }, + "synonyms": [ + "Toast", + "Sandwichtoast", + "Buttertoast", + "white bread", + "sliced bread", + "pan de molde blanco" + ], + "packs": [ + 500, + 750 + ], + "pantry": false + }, + { + "key": "bread_rolls", + "category": "bakery", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Brötchen", + "en": "Bread rolls", + "fr": "Petits pains", + "es": "Panecillos" + }, + "synonyms": [ + "Semmeln", + "Schrippen", + "Weizenbrötchen", + "Aufbackbrötchen", + "rolls", + "pains individuels", + "bollos" + ], + "packs": [ + 4, + 6, + 10 + ], + "pantry": false + }, + { + "key": "baguette", + "category": "bakery", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Baguette", + "en": "Baguette", + "fr": "Baguette", + "es": "Barra de pan" + }, + "synonyms": [ + "Stangenweißbrot", + "French stick", + "flûte", + "pistola" + ], + "packs": [ + 1, + 2 + ], + "pantry": false + }, + { + "key": "tortilla_wraps", + "category": "bakery", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Tortilla-Wraps", + "en": "Tortilla wraps", + "fr": "Tortillas de blé", + "es": "Tortillas de trigo" + }, + "synonyms": [ + "Wraps", + "Weizentortillas", + "Tortillas", + "flour tortillas", + "wraps de blé", + "fajitas tortillas" + ], + "packs": [ + 6, + 8 + ], + "pantry": false + }, + { + "key": "burger_buns", + "category": "bakery", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Burgerbrötchen", + "en": "Burger buns", + "fr": "Pains à burger", + "es": "Pan de hamburguesa" + }, + "synonyms": [ + "Hamburgerbrötchen", + "Brioche Buns", + "hamburger buns" + ], + "packs": [ + 4, + 6 + ], + "pantry": false + }, + { + "key": "pita_bread", + "category": "bakery", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Fladenbrot", + "en": "Pitta bread", + "fr": "Pain pita", + "es": "Pan de pita" + }, + "synonyms": [ + "Pita", + "Pitabrot", + "Türkisches Fladenbrot", + "pita bread" + ], + "packs": [ + 4, + 6 + ], + "pantry": false + }, + { + "key": "ground_beef", + "category": "meat", + "unit": "g", + "freshness": 1, + "names": { + "de": "Rinderhackfleisch", + "en": "Beef mince", + "fr": "Bœuf haché", + "es": "Carne picada de ternera" + }, + "synonyms": [ + "Hackfleisch Rind", + "Rinderhack", + "Rinderhackfl.", + "ground beef", + "minced beef", + "steak haché", + "viande hachée de bœuf" + ], + "packs": [ + 250, + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "ground_mixed", + "category": "meat", + "unit": "g", + "freshness": 1, + "names": { + "de": "Gemischtes Hackfleisch", + "en": "Mixed mince (beef and pork)", + "fr": "Viande hachée bœuf-porc", + "es": "Carne picada mixta" + }, + "synonyms": [ + "Hackfleisch gemischt", + "Hack gemischt", + "Gem. Hackfleisch", + "Hackfleisch", + "mixed mince", + "picada mixta cerdo y ternera" + ], + "packs": [ + 250, + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "ground_pork", + "category": "meat", + "unit": "g", + "freshness": 1, + "names": { + "de": "Schweinehackfleisch", + "en": "Pork mince", + "fr": "Porc haché", + "es": "Carne picada de cerdo" + }, + "synonyms": [ + "Schweinehack", + "Mett", + "Hackepeter", + "ground pork", + "minced pork", + "chair à saucisse" + ], + "packs": [ + 250, + 400, + 500 + ], + "pantry": false + }, + { + "key": "ground_lamb", + "category": "meat", + "unit": "g", + "freshness": 1, + "names": { + "de": "Lammhackfleisch", + "en": "Lamb mince", + "fr": "Agneau haché", + "es": "Carne picada de cordero" + }, + "synonyms": [ + "Lammhack", + "minced lamb", + "ground lamb" + ], + "packs": [ + 250, + 400, + 500 + ], + "pantry": false + }, + { + "key": "beef_stew", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rindergulasch", + "en": "Diced stewing beef", + "fr": "Bœuf à braiser", + "es": "Ternera para guisar" + }, + "synonyms": [ + "Gulaschfleisch Rind", + "Rindfleisch gewürfelt", + "Gulasch", + "braising steak", + "stewing steak", + "bœuf bourguignon", + "morcillo", + "carne para estofado" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "beef_steak", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rumpsteak", + "en": "Sirloin steak", + "fr": "Faux-filet", + "es": "Entrecot" + }, + "synonyms": [ + "Rindersteak", + "Steak", + "Hüftsteak", + "Entrecôte", + "rump steak", + "beef steak", + "bistec" + ], + "packs": [ + 200, + 400 + ], + "pantry": false + }, + { + "key": "beef_roast", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Rinderbraten", + "en": "Beef roasting joint", + "fr": "Rôti de bœuf", + "es": "Redondo de ternera" + }, + "synonyms": [ + "Rinderschmorbraten", + "Tafelspitz", + "topside", + "silverside", + "roast beef", + "carne para asar" + ], + "packs": [ + 1000, + 1500 + ], + "pantry": false + }, + { + "key": "beef_soup_meat", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Suppenfleisch vom Rind", + "en": "Beef shin for soup", + "fr": "Bœuf pour pot-au-feu", + "es": "Carne para cocido" + }, + "synonyms": [ + "Suppenfleisch", + "Beinscheibe", + "beef shin", + "plat de côtes", + "jarrete de ternera" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "pork_schnitzel", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schweineschnitzel", + "en": "Pork escalope", + "fr": "Escalope de porc", + "es": "Escalope de cerdo" + }, + "synonyms": [ + "Schnitzel", + "Schnitzelfleisch", + "pork cutlet", + "filete de cerdo" + ], + "packs": [ + 400, + 500, + 600 + ], + "pantry": false + }, + { + "key": "pork_chop", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schweinekotelett", + "en": "Pork chop", + "fr": "Côte de porc", + "es": "Chuleta de cerdo" + }, + "synonyms": [ + "Kotelett", + "Schweinesteak", + "Nackensteak", + "pork chops", + "côtelette de porc" + ], + "packs": [ + 400, + 600 + ], + "pantry": false + }, + { + "key": "pork_tenderloin", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schweinefilet", + "en": "Pork tenderloin", + "fr": "Filet mignon de porc", + "es": "Solomillo de cerdo" + }, + "synonyms": [ + "Schweinelende", + "pork fillet", + "filet de porc" + ], + "packs": [ + 400, + 500 + ], + "pantry": false + }, + { + "key": "pork_neck", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schweinenacken", + "en": "Pork shoulder", + "fr": "Échine de porc", + "es": "Aguja de cerdo" + }, + "synonyms": [ + "Schweinebraten", + "Nackenbraten", + "Schulter", + "pork neck", + "pulled pork", + "rôti de porc", + "paleta de cerdo", + "cabezada" + ], + "packs": [ + 500, + 1000, + 1500 + ], + "pantry": false + }, + { + "key": "pork_belly", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schweinebauch", + "en": "Pork belly", + "fr": "Poitrine de porc fraîche", + "es": "Panceta de cerdo" + }, + "synonyms": [ + "Bauchfleisch", + "pork belly slices", + "poitrine de porc", + "panceta fresca" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "kassler", + "category": "meat", + "unit": "g", + "freshness": 2, + "names": { + "de": "Kasseler", + "en": "Smoked pork loin", + "fr": "Carré de porc fumé", + "es": "Lomo de cerdo ahumado" + }, + "synonyms": [ + "Kassler", + "Kasseler Nacken", + "Kasseler Kotelett", + "smoked pork chop" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "chicken_breast", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchenbrustfilet", + "en": "Chicken breast", + "fr": "Blanc de poulet", + "es": "Pechuga de pollo" + }, + "synonyms": [ + "Hähnchenbrust", + "Hähnchenfilet", + "Hühnerbrust", + "Hähnch.Brustfilet", + "chicken fillet", + "filet de poulet", + "escalope de poulet", + "filetes de pechuga" + ], + "packs": [ + 300, + 400, + 500, + 600, + 1000 + ], + "pantry": false + }, + { + "key": "chicken_thigh", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchenschenkel", + "en": "Chicken thighs", + "fr": "Cuisses de poulet", + "es": "Muslos de pollo" + }, + "synonyms": [ + "Hähnchenkeulen", + "Hühnerkeulen", + "Hähnchenoberkeulen", + "chicken legs", + "boneless chicken thighs", + "hauts de cuisse" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "chicken_drumsticks", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchenunterschenkel", + "en": "Chicken drumsticks", + "fr": "Pilons de poulet", + "es": "Jamoncitos de pollo" + }, + "synonyms": [ + "Drumsticks", + "Hähnchen-Drumsticks" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "chicken_wings", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchenflügel", + "en": "Chicken wings", + "fr": "Ailes de poulet", + "es": "Alitas de pollo" + }, + "synonyms": [ + "wings", + "ailerons de poulet" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "whole_chicken", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchen, ganz", + "en": "Whole chicken", + "fr": "Poulet entier", + "es": "Pollo entero" + }, + "synonyms": [ + "Brathähnchen", + "Suppenhuhn", + "ganzes Hähnchen", + "roasting chicken", + "poulet", + "pollo" + ], + "packs": [ + 1000, + 1200, + 1500 + ], + "pantry": false + }, + { + "key": "chicken_strips", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Hähnchengeschnetzeltes", + "en": "Chicken strips", + "fr": "Émincé de poulet", + "es": "Tiras de pollo" + }, + "synonyms": [ + "Hähnchen-Minutenschnitzel", + "chicken mini fillets", + "aiguillettes de poulet" + ], + "packs": [ + 300, + 400, + 500 + ], + "pantry": false + }, + { + "key": "turkey_breast", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Putenbrust", + "en": "Turkey breast", + "fr": "Escalope de dinde", + "es": "Pechuga de pavo" + }, + "synonyms": [ + "Putenschnitzel", + "Putenbrustfilet", + "Putengeschnetzeltes", + "turkey steaks", + "blanc de dinde" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "ground_turkey", + "category": "poultry", + "unit": "g", + "freshness": 1, + "names": { + "de": "Putenhackfleisch", + "en": "Turkey mince", + "fr": "Dinde hachée", + "es": "Carne picada de pavo" + }, + "synonyms": [ + "Putenhack", + "Geflügelhack", + "ground turkey", + "minced turkey" + ], + "packs": [ + 400, + 500 + ], + "pantry": false + }, + { + "key": "bacon_diced", + "category": "sausage", + "unit": "g", + "freshness": 2, + "names": { + "de": "Speckwürfel", + "en": "Diced bacon", + "fr": "Lardons", + "es": "Taquitos de beicon" + }, + "synonyms": [ + "Schinkenwürfel", + "Bauchspeck gewürfelt", + "Speck", + "bacon lardons", + "pancetta cubes", + "lardons fumés", + "dados de panceta" + ], + "packs": [ + 100, + 125, + 150, + 200 + ], + "pantry": false + }, + { + "key": "bacon_rashers", + "category": "sausage", + "unit": "g", + "freshness": 2, + "names": { + "de": "Bacon", + "en": "Streaky bacon", + "fr": "Bacon en tranches", + "es": "Beicon en lonchas" + }, + "synonyms": [ + "Frühstücksspeck", + "Baconscheiben", + "back bacon", + "rashers", + "poitrine fumée", + "panceta ahumada" + ], + "packs": [ + 100, + 125, + 150, + 200 + ], + "pantry": false + }, + { + "key": "ham_cooked", + "category": "sausage", + "unit": "g", + "freshness": 2, + "names": { + "de": "Kochschinken", + "en": "Cooked ham", + "fr": "Jambon blanc", + "es": "Jamón cocido" + }, + "synonyms": [ + "Schinken", + "gekochter Schinken", + "Hinterschinken", + "ham", + "jambon", + "jamón york" + ], + "packs": [ + 100, + 150, + 200 + ], + "pantry": false + }, + { + "key": "ham_cured", + "category": "sausage", + "unit": "g", + "freshness": 3, + "names": { + "de": "Roher Schinken", + "en": "Cured ham", + "fr": "Jambon cru", + "es": "Jamón serrano" + }, + "synonyms": [ + "Schwarzwälder Schinken", + "Serrano-Schinken", + "Prosciutto", + "Parmaschinken", + "Parma ham", + "jamón curado" + ], + "packs": [ + 80, + 100, + 150 + ], + "pantry": false + }, + { + "key": "salami", + "category": "sausage", + "unit": "g", + "freshness": 3, + "names": { + "de": "Salami", + "en": "Salami", + "fr": "Salami", + "es": "Salchichón" + }, + "synonyms": [ + "Salamischeiben", + "Pizzasalami", + "pepperoni", + "saucisson sec" + ], + "packs": [ + 80, + 100, + 200 + ], + "pantry": false + }, + { + "key": "chorizo", + "category": "sausage", + "unit": "g", + "freshness": 3, + "names": { + "de": "Chorizo", + "en": "Chorizo", + "fr": "Chorizo", + "es": "Chorizo" + }, + "synonyms": [ + "Chorizo-Wurst", + "chorizo sausage", + "chorizo para cocinar" + ], + "packs": [ + 100, + 200, + 225 + ], + "pantry": false + }, + { + "key": "frankfurters", + "category": "sausage", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Wiener Würstchen", + "en": "Frankfurters", + "fr": "Saucisses de Francfort", + "es": "Salchichas de Frankfurt" + }, + "synonyms": [ + "Wiener", + "Frankfurter", + "Würstchen", + "Bockwurst", + "hot dog sausages", + "knacks", + "salchichas" + ], + "packs": [ + 4, + 5, + 6, + 10 + ], + "pantry": false + }, + { + "key": "bratwurst", + "category": "sausage", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Bratwurst", + "en": "Bratwurst", + "fr": "Saucisse à griller", + "es": "Salchicha alemana" + }, + "synonyms": [ + "Bratwürste", + "Nürnberger", + "Rostbratwurst", + "Thüringer", + "grillwurst", + "salchicha para asar" + ], + "packs": [ + 4, + 5, + 6 + ], + "pantry": false + }, + { + "key": "pork_sausages", + "category": "sausage", + "unit": "piece", + "freshness": 1, + "names": { + "de": "Schweinswürstchen", + "en": "Pork sausages", + "fr": "Saucisses de porc", + "es": "Salchichas de cerdo" + }, + "synonyms": [ + "Chipolatas", + "Grillwürstchen", + "bangers", + "Cumberland sausages", + "longaniza" + ], + "packs": [ + 6, + 8, + 12 + ], + "pantry": false + }, + { + "key": "smoked_sausage", + "category": "sausage", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Mettenden", + "en": "Smoked sausages", + "fr": "Saucisses fumées", + "es": "Salchichas ahumadas" + }, + "synonyms": [ + "Mettwürstchen", + "Rauchenden", + "Mettwurst", + "Cabanossi", + "Kabanos", + "saucisse de Morteau", + "Montbéliard" + ], + "packs": [ + 2, + 4 + ], + "pantry": false + }, + { + "key": "liver_sausage", + "category": "sausage", + "unit": "g", + "freshness": 2, + "names": { + "de": "Leberwurst", + "en": "Liver sausage", + "fr": "Pâté de foie", + "es": "Paté de hígado" + }, + "synonyms": [ + "Leberwurst fein", + "liverwurst", + "pâté", + "paté" + ], + "packs": [ + 125, + 150 + ], + "pantry": false + }, + { + "key": "salmon_fillet", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Lachsfilet", + "en": "Salmon fillet", + "fr": "Pavé de saumon", + "es": "Filete de salmón" + }, + "synonyms": [ + "Lachs", + "Lachsfilet mit Haut", + "salmon", + "saumon", + "salmón" + ], + "packs": [ + 250, + 300, + 400 + ], + "pantry": false + }, + { + "key": "smoked_salmon", + "category": "fish", + "unit": "g", + "freshness": 2, + "names": { + "de": "Räucherlachs", + "en": "Smoked salmon", + "fr": "Saumon fumé", + "es": "Salmón ahumado" + }, + "synonyms": [ + "Lachsschinken", + "Graved Lachs", + "gravlax" + ], + "packs": [ + 100, + 150, + 200 + ], + "pantry": false + }, + { + "key": "cod_fillet", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Kabeljaufilet", + "en": "Cod fillet", + "fr": "Filet de cabillaud", + "es": "Filete de bacalao" + }, + "synonyms": [ + "Kabeljau", + "Dorsch", + "Skrei", + "cod", + "cabillaud", + "bacalao fresco" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "pollock_fillet", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Seelachsfilet", + "en": "Pollock fillet", + "fr": "Filet de lieu noir", + "es": "Filete de carbonero" + }, + "synonyms": [ + "Seelachs", + "Alaska-Seelachs", + "coley", + "saithe", + "colin", + "abadejo" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "hake", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Seehecht", + "en": "Hake", + "fr": "Merlu", + "es": "Merluza" + }, + "synonyms": [ + "Seehechtfilet", + "hake fillet", + "colin blanc", + "filete de merluza" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "smoked_haddock", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Geräucherter Schellfisch", + "en": "Smoked haddock", + "fr": "Haddock fumé", + "es": "Eglefino ahumado" + }, + "synonyms": [ + "Schellfisch", + "haddock", + "églefin" + ], + "packs": [ + 250, + 300 + ], + "pantry": false + }, + { + "key": "prawns", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Garnelen", + "en": "Prawns", + "fr": "Crevettes", + "es": "Gambas" + }, + "synonyms": [ + "Shrimps", + "Riesengarnelen", + "Scampi", + "Krabben", + "shrimp", + "king prawns", + "langostinos", + "camarones" + ], + "packs": [ + 150, + 200, + 250 + ], + "pantry": false + }, + { + "key": "mussels", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Miesmuscheln", + "en": "Mussels", + "fr": "Moules", + "es": "Mejillones" + }, + "synonyms": [ + "Muscheln", + "Pfahlmuscheln", + "moules de bouchot" + ], + "packs": [ + 1000, + 2000 + ], + "pantry": false + }, + { + "key": "squid", + "category": "fish", + "unit": "g", + "freshness": 1, + "names": { + "de": "Tintenfischringe", + "en": "Squid rings", + "fr": "Anneaux de calmar", + "es": "Anillas de calamar" + }, + "synonyms": [ + "Calamari", + "Tintenfisch", + "Kalmar", + "squid", + "calamars", + "calamares", + "sepia" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "milk", + "category": "dairy", + "unit": "ml", + "freshness": 2, + "names": { + "de": "Milch", + "en": "Milk", + "fr": "Lait", + "es": "Leche" + }, + "synonyms": [ + "Vollmilch", + "fettarme Milch", + "H-Milch", + "Frischmilch", + "whole milk", + "semi-skimmed milk", + "lait demi-écrémé", + "leche entera", + "leche semidesnatada" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "butter", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Butter", + "en": "Butter", + "fr": "Beurre", + "es": "Mantequilla" + }, + "synonyms": [ + "Süßrahmbutter", + "Deutsche Markenbutter", + "Sauerrahmbutter", + "beurre doux", + "unsalted butter" + ], + "packs": [ + 125, + 250 + ], + "pantry": true + }, + { + "key": "cream", + "category": "dairy", + "unit": "ml", + "freshness": 2, + "names": { + "de": "Sahne", + "en": "Cream", + "fr": "Crème liquide", + "es": "Nata líquida" + }, + "synonyms": [ + "Schlagsahne", + "Kochsahne", + "süße Sahne", + "Schlagrahm", + "double cream", + "single cream", + "whipping cream", + "crème entière", + "nata para montar", + "nata para cocinar" + ], + "packs": [ + 200, + 250, + 500 + ], + "pantry": false + }, + { + "key": "sour_cream", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Saure Sahne", + "en": "Sour cream", + "fr": "Crème aigre", + "es": "Nata agria" + }, + "synonyms": [ + "Sauerrahm", + "soured cream" + ], + "packs": [ + 200 + ], + "pantry": false + }, + { + "key": "creme_fraiche", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Crème fraîche", + "en": "Crème fraîche", + "fr": "Crème fraîche épaisse", + "es": "Crème fraîche" + }, + "synonyms": [ + "Creme fraiche", + "Crème légère", + "nata fresca espesa" + ], + "packs": [ + 125, + 150, + 200 + ], + "pantry": false + }, + { + "key": "schmand", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Schmand", + "en": "Schmand (thick sour cream)", + "fr": "Crème épaisse", + "es": "Nata espesa agria" + }, + "synonyms": [ + "Schmant", + "smetana" + ], + "packs": [ + 200 + ], + "pantry": false + }, + { + "key": "quark", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Speisequark", + "en": "Quark", + "fr": "Fromage blanc", + "es": "Queso quark" + }, + "synonyms": [ + "Magerquark", + "Sahnequark", + "Quark 20 %", + "Topfen", + "faisselle", + "queso fresco batido" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "yogurt", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Naturjoghurt", + "en": "Natural yoghurt", + "fr": "Yaourt nature", + "es": "Yogur natural" + }, + "synonyms": [ + "Joghurt", + "Joghurt natur", + "Joghurt 3,5 %", + "plain yogurt", + "yogurt", + "yaourt", + "yogur" + ], + "packs": [ + 150, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "greek_yogurt", + "category": "dairy", + "unit": "g", + "freshness": 2, + "names": { + "de": "Griechischer Joghurt", + "en": "Greek yoghurt", + "fr": "Yaourt grec", + "es": "Yogur griego" + }, + "synonyms": [ + "Joghurt griechische Art", + "Greek-style yogurt", + "greek yogurt" + ], + "packs": [ + 150, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "clarified_butter", + "category": "dairy", + "unit": "g", + "freshness": 3, + "names": { + "de": "Butterschmalz", + "en": "Clarified butter", + "fr": "Beurre clarifié", + "es": "Mantequilla clarificada" + }, + "synonyms": [ + "Butterreinfett", + "ghee" + ], + "packs": [ + 250, + 500 + ], + "pantry": true + }, + { + "key": "oat_milk", + "category": "dairy", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Haferdrink", + "en": "Oat milk", + "fr": "Boisson à l'avoine", + "es": "Bebida de avena" + }, + "synonyms": [ + "Hafermilch", + "Pflanzendrink", + "Sojadrink", + "plant milk", + "lait d'avoine", + "leche de avena" + ], + "packs": [ + 1000 + ], + "pantry": false + }, + { + "key": "gouda", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Gouda", + "en": "Gouda", + "fr": "Gouda", + "es": "Queso gouda" + }, + "synonyms": [ + "Gouda jung", + "Gouda mittelalt", + "Goudascheiben" + ], + "packs": [ + 200, + 400 + ], + "pantry": false + }, + { + "key": "grated_cheese", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Reibekäse", + "en": "Grated cheese", + "fr": "Fromage râpé", + "es": "Queso rallado" + }, + "synonyms": [ + "geriebener Käse", + "Pizzakäse", + "Gratinkäse", + "Streukäse", + "shredded cheese", + "grated mozzarella", + "emmental râpé" + ], + "packs": [ + 150, + 200, + 250 + ], + "pantry": false + }, + { + "key": "emmental", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Emmentaler", + "en": "Emmental", + "fr": "Emmental", + "es": "Queso emmental" + }, + "synonyms": [ + "Emmentaler Käse", + "Allgäuer Emmentaler", + "Swiss cheese" + ], + "packs": [ + 200, + 250, + 400 + ], + "pantry": false + }, + { + "key": "parmesan", + "category": "cheese", + "unit": "g", + "freshness": 3, + "names": { + "de": "Parmesan", + "en": "Parmesan", + "fr": "Parmesan", + "es": "Queso parmesano" + }, + "synonyms": [ + "Parmigiano Reggiano", + "Grana Padano", + "Hartkäse", + "parmigiano", + "parmesano" + ], + "packs": [ + 100, + 150, + 200 + ], + "pantry": false + }, + { + "key": "mozzarella", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Mozzarella", + "en": "Mozzarella", + "fr": "Mozzarella", + "es": "Mozzarella" + }, + "synonyms": [ + "Büffelmozzarella", + "Mozzarella-Kugel", + "Mini-Mozzarella", + "mozzarella di bufala", + "burrata" + ], + "packs": [ + 125, + 250 + ], + "pantry": false + }, + { + "key": "feta", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Feta", + "en": "Feta", + "fr": "Feta", + "es": "Queso feta" + }, + "synonyms": [ + "Hirtenkäse", + "Schafskäse", + "Salatkäse", + "feta cheese", + "fromage feta" + ], + "packs": [ + 150, + 200 + ], + "pantry": false + }, + { + "key": "cheddar", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Cheddar", + "en": "Cheddar", + "fr": "Cheddar", + "es": "Queso cheddar" + }, + "synonyms": [ + "Cheddar Käse", + "mature cheddar", + "cheddar cheese" + ], + "packs": [ + 200, + 400 + ], + "pantry": false + }, + { + "key": "cream_cheese", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Frischkäse", + "en": "Cream cheese", + "fr": "Fromage frais à tartiner", + "es": "Queso crema" + }, + "synonyms": [ + "Doppelrahmfrischkäse", + "Kräuterfrischkäse", + "Philadelphia", + "soft cheese", + "St Môret", + "queso de untar" + ], + "packs": [ + 150, + 175, + 200, + 300 + ], + "pantry": false + }, + { + "key": "mascarpone", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Mascarpone", + "en": "Mascarpone", + "fr": "Mascarpone", + "es": "Mascarpone" + }, + "synonyms": [ + "Mascarpone-Käse" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "ricotta", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Ricotta", + "en": "Ricotta", + "fr": "Ricotta", + "es": "Requesón" + }, + "synonyms": [ + "Ricotta-Käse", + "queso ricotta" + ], + "packs": [ + 250 + ], + "pantry": false + }, + { + "key": "goat_cheese", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Ziegenkäse", + "en": "Goat's cheese", + "fr": "Fromage de chèvre", + "es": "Queso de cabra" + }, + "synonyms": [ + "Ziegenfrischkäse", + "Ziegenkäserolle", + "chèvre", + "bûche de chèvre", + "rulo de cabra" + ], + "packs": [ + 100, + 150, + 200 + ], + "pantry": false + }, + { + "key": "camembert", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Camembert", + "en": "Camembert", + "fr": "Camembert", + "es": "Queso camembert" + }, + "synonyms": [ + "Brie", + "Weichkäse" + ], + "packs": [ + 125, + 250 + ], + "pantry": false + }, + { + "key": "mountain_cheese", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Bergkäse", + "en": "Alpine cheese", + "fr": "Fromage d'alpage", + "es": "Queso de montaña" + }, + "synonyms": [ + "Allgäuer Bergkäse", + "Comté", + "Appenzeller", + "Raclettekäse", + "mountain cheese" + ], + "packs": [ + 200, + 250 + ], + "pantry": false + }, + { + "key": "gruyere", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Gruyère", + "en": "Gruyère", + "fr": "Gruyère", + "es": "Queso gruyer" + }, + "synonyms": [ + "Greyerzer", + "Gruyere", + "Beaufort" + ], + "packs": [ + 200, + 250 + ], + "pantry": false + }, + { + "key": "manchego", + "category": "cheese", + "unit": "g", + "freshness": 3, + "names": { + "de": "Manchego", + "en": "Manchego", + "fr": "Manchego", + "es": "Queso manchego" + }, + "synonyms": [ + "Manchego-Käse", + "queso curado" + ], + "packs": [ + 150, + 250 + ], + "pantry": false + }, + { + "key": "cheese_slices", + "category": "cheese", + "unit": "g", + "freshness": 2, + "names": { + "de": "Käsescheiben", + "en": "Cheese slices", + "fr": "Fromage en tranches", + "es": "Queso en lonchas" + }, + "synonyms": [ + "Scheibletten", + "Schmelzkäsescheiben", + "Sandwichscheiben", + "burger cheese", + "processed cheese slices", + "tranches de cheddar" + ], + "packs": [ + 150, + 200, + 250 + ], + "pantry": false + }, + { + "key": "egg", + "category": "eggs", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Eier", + "en": "Eggs", + "fr": "Œufs", + "es": "Huevos" + }, + "synonyms": [ + "Ei", + "Eier Größe M", + "Freilandeier", + "Bodenhaltung", + "free-range eggs", + "egg", + "œuf", + "huevo" + ], + "packs": [ + 6, + 10 + ], + "pantry": false + }, + { + "key": "tofu", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Tofu", + "en": "Tofu", + "fr": "Tofu", + "es": "Tofu" + }, + "synonyms": [ + "Tofu natur", + "Naturtofu", + "firm tofu", + "tofu ferme" + ], + "packs": [ + 200, + 400 + ], + "pantry": false + }, + { + "key": "gnocchi", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Gnocchi", + "en": "Gnocchi", + "fr": "Gnocchis", + "es": "Ñoquis" + }, + "synonyms": [ + "Kartoffelgnocchi", + "potato gnocchi", + "gnocchi de pommes de terre" + ], + "packs": [ + 400, + 500, + 800 + ], + "pantry": false + }, + { + "key": "fresh_tortellini", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Tortellini", + "en": "Tortellini", + "fr": "Tortellinis frais", + "es": "Tortellini frescos" + }, + "synonyms": [ + "Tortelloni", + "Ravioli", + "gefüllte Pasta", + "fresh ravioli", + "raviolis frais", + "raviolis" + ], + "packs": [ + 250, + 400, + 500 + ], + "pantry": false + }, + { + "key": "fresh_tagliatelle", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Frische Bandnudeln", + "en": "Fresh tagliatelle", + "fr": "Tagliatelles fraîches", + "es": "Tallarines frescos" + }, + "synonyms": [ + "frische Pasta", + "Frischei-Pasta", + "fresh pasta", + "pâtes fraîches", + "pasta fresca" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "maultaschen", + "category": "chilled", + "unit": "piece", + "freshness": 2, + "names": { + "de": "Maultaschen", + "en": "Maultaschen (Swabian ravioli)", + "fr": "Raviolis souabes", + "es": "Raviolis suabos" + }, + "synonyms": [ + "Schwäbische Maultaschen" + ], + "packs": [ + 6, + 8 + ], + "pantry": false + }, + { + "key": "spaetzle", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Spätzle", + "en": "Spätzle", + "fr": "Spaetzle", + "es": "Spätzle" + }, + "synonyms": [ + "Eierspätzle", + "Frischei-Spätzle", + "Knöpfle", + "egg noodles german" + ], + "packs": [ + 400, + 500 + ], + "pantry": false + }, + { + "key": "puff_pastry", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Blätterteig", + "en": "Puff pastry", + "fr": "Pâte feuilletée", + "es": "Hojaldre" + }, + "synonyms": [ + "Blätterteig frisch", + "ready-rolled puff pastry", + "masa de hojaldre" + ], + "packs": [ + 275, + 320 + ], + "pantry": false + }, + { + "key": "shortcrust_pastry", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Mürbeteig", + "en": "Shortcrust pastry", + "fr": "Pâte brisée", + "es": "Masa quebrada" + }, + "synonyms": [ + "Quicheteig", + "Tarteteig", + "Quiche- & Tarteteig", + "pâte sablée", + "pie crust" + ], + "packs": [ + 230, + 275 + ], + "pantry": false + }, + { + "key": "pizza_dough", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Pizzateig", + "en": "Pizza dough", + "fr": "Pâte à pizza", + "es": "Masa de pizza" + }, + "synonyms": [ + "Pizzateig frisch", + "Pizzateig aus dem Kühlregal", + "pizza base" + ], + "packs": [ + 400, + 550 + ], + "pantry": false + }, + { + "key": "flammkuchen_dough", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Flammkuchenteig", + "en": "Tarte flambée base", + "fr": "Pâte à tarte flambée", + "es": "Masa de tarta flambeada" + }, + "synonyms": [ + "Flammkuchen-Teig", + "flammkuchen dough", + "flammekueche" + ], + "packs": [ + 260 + ], + "pantry": false + }, + { + "key": "fresh_yeast", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Frische Hefe", + "en": "Fresh yeast", + "fr": "Levure fraîche", + "es": "Levadura fresca" + }, + "synonyms": [ + "Hefe", + "Hefewürfel", + "Würfelhefe", + "levure de boulanger fraîche" + ], + "packs": [ + 42 + ], + "pantry": false + }, + { + "key": "hummus", + "category": "chilled", + "unit": "g", + "freshness": 2, + "names": { + "de": "Hummus", + "en": "Hummus", + "fr": "Houmous", + "es": "Hummus" + }, + "synonyms": [ + "Humus", + "hommus", + "houmous nature" + ], + "packs": [ + 175, + 200 + ], + "pantry": false + }, + { + "key": "frozen_peas", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Erbsen (TK)", + "en": "Frozen peas", + "fr": "Petits pois surgelés", + "es": "Guisantes congelados" + }, + "synonyms": [ + "Erbsen", + "Junge Erbsen", + "Markerbsen", + "TK-Erbsen", + "peas", + "garden peas", + "petits pois", + "guisantes" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "frozen_spinach", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Blattspinat (TK)", + "en": "Frozen spinach", + "fr": "Épinards surgelés", + "es": "Espinacas congeladas" + }, + "synonyms": [ + "TK-Spinat", + "Spinat gehackt", + "frozen leaf spinach" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "creamed_spinach", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Rahmspinat (TK)", + "en": "Creamed spinach (frozen)", + "fr": "Épinards à la crème", + "es": "Espinacas a la crema" + }, + "synonyms": [ + "Rahmspinat", + "Cremespinat" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "frozen_mixed_veg", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gemüsemischung (TK)", + "en": "Frozen mixed vegetables", + "fr": "Mélange de légumes surgelés", + "es": "Menestra de verduras congelada" + }, + "synonyms": [ + "Buttergemüse", + "Kaisergemüse", + "Leipziger Allerlei", + "Wokgemüse", + "Pfannengemüse", + "mixed veg", + "stir-fry vegetables", + "poêlée de légumes", + "verduras para saltear" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "frozen_broccoli", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Brokkoli (TK)", + "en": "Frozen broccoli", + "fr": "Brocoli surgelé", + "es": "Brócoli congelado" + }, + "synonyms": [ + "TK-Brokkoli", + "Brokkoliröschen tiefgefroren" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "frozen_green_beans", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Grüne Bohnen (TK)", + "en": "Frozen green beans", + "fr": "Haricots verts surgelés", + "es": "Judías verdes congeladas" + }, + "synonyms": [ + "TK-Bohnen", + "Prinzessbohnen tiefgefroren" + ], + "packs": [ + 450, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "fish_fingers", + "category": "frozen", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Fischstäbchen", + "en": "Fish fingers", + "fr": "Bâtonnets de poisson", + "es": "Palitos de pescado" + }, + "synonyms": [ + "Fischstäbchen 15 Stück", + "fish sticks", + "bâtonnets de colin", + "varitas de merluza" + ], + "packs": [ + 10, + 15, + 30 + ], + "pantry": false + }, + { + "key": "frozen_fish_fillet", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Fischfilet (TK)", + "en": "Frozen white fish fillets", + "fr": "Filets de poisson blanc surgelés", + "es": "Filetes de pescado blanco congelados" + }, + "synonyms": [ + "Seelachsfilet TK", + "Schlemmerfilet", + "Fischfilet natur", + "frozen cod", + "frozen fish", + "colin surgelé", + "merluza congelada" + ], + "packs": [ + 400, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "frozen_prawns", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Garnelen (TK)", + "en": "Frozen prawns", + "fr": "Crevettes surgelées", + "es": "Gambas congeladas" + }, + "synonyms": [ + "TK-Garnelen", + "Shrimps TK", + "frozen shrimp", + "langostinos congelados" + ], + "packs": [ + 200, + 250, + 400 + ], + "pantry": false + }, + { + "key": "oven_fries", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Pommes frites (TK)", + "en": "Oven chips", + "fr": "Frites surgelées", + "es": "Patatas fritas congeladas" + }, + "synonyms": [ + "Backofen-Pommes", + "Pommes Frites", + "French fries", + "frozen chips", + "fries", + "frites au four" + ], + "packs": [ + 750, + 1000, + 2500 + ], + "pantry": false + }, + { + "key": "potato_croquettes", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kroketten (TK)", + "en": "Potato croquettes", + "fr": "Croquettes de pommes de terre", + "es": "Croquetas de patata" + }, + "synonyms": [ + "Kroketten", + "Kartoffelkroketten", + "Rösti", + "hash browns", + "croquettes" + ], + "packs": [ + 400, + 750 + ], + "pantry": false + }, + { + "key": "frozen_berries", + "category": "frozen", + "unit": "g", + "freshness": 3, + "names": { + "de": "Beerenmischung (TK)", + "en": "Frozen mixed berries", + "fr": "Fruits rouges surgelés", + "es": "Frutos rojos congelados" + }, + "synonyms": [ + "TK-Beeren", + "Waldbeeren TK", + "Himbeeren TK", + "frozen berries", + "frozen raspberries", + "mélange de fruits rouges" + ], + "packs": [ + 300, + 500, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "vanilla_ice_cream", + "category": "frozen", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Vanilleeis", + "en": "Vanilla ice cream", + "fr": "Glace à la vanille", + "es": "Helado de vainilla" + }, + "synonyms": [ + "Eis", + "Speiseeis", + "Eiscreme", + "ice cream", + "glace", + "helado" + ], + "packs": [ + 500, + 900, + 1000 + ], + "pantry": false + }, + { + "key": "spaghetti", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Spaghetti", + "en": "Spaghetti", + "fr": "Spaghettis", + "es": "Espaguetis" + }, + "synonyms": [ + "Spaghetti Nr. 5", + "Spaghettini", + "Vollkornspaghetti", + "spaguetti" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "penne", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Penne", + "en": "Penne", + "fr": "Pennes", + "es": "Macarrones penne" + }, + "synonyms": [ + "Penne rigate", + "Pennette", + "plumas" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "fusilli", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Fusilli", + "en": "Fusilli", + "fr": "Fusillis", + "es": "Espirales" + }, + "synonyms": [ + "Spirelli", + "Spiralnudeln", + "Rotini", + "spirals", + "tornillos" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "macaroni", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Makkaroni", + "en": "Macaroni", + "fr": "Macaronis", + "es": "Macarrones" + }, + "synonyms": [ + "Hörnchennudeln", + "Gabelspaghetti", + "Maccheroni", + "elbow macaroni", + "coquillettes", + "coditos" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "tagliatelle", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Bandnudeln", + "en": "Tagliatelle", + "fr": "Tagliatelles", + "es": "Tallarines" + }, + "synonyms": [ + "Eiernudeln", + "Fettuccine", + "Pappardelle", + "egg noodles", + "nouilles aux œufs" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "lasagne_sheets", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Lasagneplatten", + "en": "Lasagne sheets", + "fr": "Feuilles de lasagne", + "es": "Placas de lasaña" + }, + "synonyms": [ + "Lasagne-Blätter", + "Lasagnenudeln", + "lasagna sheets", + "plaques de lasagne" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "soup_pasta", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Suppennudeln", + "en": "Soup pasta", + "fr": "Vermicelles", + "es": "Fideos" + }, + "synonyms": [ + "Fadennudeln", + "Buchstabennudeln", + "Sternchennudeln", + "orzo", + "vermicelli", + "fideos finos", + "pâtes à potage" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "egg_noodles", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mie-Nudeln", + "en": "Egg noodles (Asian)", + "fr": "Nouilles chinoises", + "es": "Fideos chinos" + }, + "synonyms": [ + "Mie Nudeln", + "Asianudeln", + "Wok-Nudeln", + "Instant-Nudeln", + "Ramen", + "noodles", + "Chinese noodles", + "nouilles", + "fideos de huevo" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "rice_noodles", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Reisnudeln", + "en": "Rice noodles", + "fr": "Nouilles de riz", + "es": "Fideos de arroz" + }, + "synonyms": [ + "Glasnudeln", + "Reisbandnudeln", + "vermicelles de riz", + "glass noodles", + "rice vermicelli", + "fideos de cristal" + ], + "packs": [ + 200, + 250, + 400 + ], + "pantry": false + }, + { + "key": "long_grain_rice", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Langkornreis", + "en": "Long-grain rice", + "fr": "Riz long", + "es": "Arroz largo" + }, + "synonyms": [ + "Reis", + "Parboiled Reis", + "Kochbeutelreis", + "Langkorn Reis", + "rice", + "white rice", + "riz", + "arroz", + "arroz blanco" + ], + "packs": [ + 500, + 1000, + 2000 + ], + "pantry": true + }, + { + "key": "basmati_rice", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Basmatireis", + "en": "Basmati rice", + "fr": "Riz basmati", + "es": "Arroz basmati" + }, + "synonyms": [ + "Basmati", + "Basmati Reis", + "Jasminreis", + "jasmine rice", + "riz thaï", + "arroz jazmín" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "risotto_rice", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Risottoreis", + "en": "Risotto rice", + "fr": "Riz à risotto", + "es": "Arroz para risotto" + }, + "synonyms": [ + "Arborio", + "Carnaroli", + "arborio rice", + "riz arborio" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "paella_rice", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Paella-Reis", + "en": "Paella rice", + "fr": "Riz pour paella", + "es": "Arroz bomba" + }, + "synonyms": [ + "Rundkornreis spanisch", + "Bomba-Reis", + "Calasparra", + "arroz redondo", + "arroz para paella" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "pudding_rice", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Milchreis", + "en": "Pudding rice", + "fr": "Riz rond", + "es": "Arroz para postres" + }, + "synonyms": [ + "Rundkornreis", + "Milchreis Rundkorn", + "short-grain rice", + "riz au lait", + "arroz con leche" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "couscous", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Couscous", + "en": "Couscous", + "fr": "Semoule de couscous", + "es": "Cuscús" + }, + "synonyms": [ + "Kuskus", + "Instant-Couscous", + "couscous moyen" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "bulgur", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Bulgur", + "en": "Bulgur wheat", + "fr": "Boulgour", + "es": "Bulgur" + }, + "synonyms": [ + "Weizengrütze", + "Bulgur-Weizen", + "burghul", + "bulghur" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "quinoa", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Quinoa", + "en": "Quinoa", + "fr": "Quinoa", + "es": "Quinoa" + }, + "synonyms": [ + "Quinoa weiß", + "Quinoa bunt" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "polenta", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Polenta", + "en": "Polenta", + "fr": "Polenta", + "es": "Polenta" + }, + "synonyms": [ + "Maisgrieß", + "cornmeal", + "semoule de maïs", + "sémola de maíz" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "red_lentils", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Rote Linsen", + "en": "Red lentils", + "fr": "Lentilles corail", + "es": "Lentejas rojas" + }, + "synonyms": [ + "Linsen rot", + "red split lentils", + "lentilles rouges", + "lentejas coral" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "brown_lentils", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Tellerlinsen", + "en": "Brown lentils", + "fr": "Lentilles brunes", + "es": "Lentejas pardinas" + }, + "synonyms": [ + "Linsen", + "Berglinsen", + "Belugalinsen", + "grüne Linsen", + "green lentils", + "Puy lentils", + "lentilles vertes du Puy", + "lentejas" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "dried_chickpeas", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kichererbsen, getrocknet", + "en": "Dried chickpeas", + "fr": "Pois chiches secs", + "es": "Garbanzos secos" + }, + "synonyms": [ + "getrocknete Kichererbsen", + "garbanzos" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "dried_white_beans", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Weiße Bohnen, getrocknet", + "en": "Dried white beans", + "fr": "Haricots blancs secs", + "es": "Alubias blancas secas" + }, + "synonyms": [ + "getrocknete weiße Bohnen", + "haricot beans", + "navy beans", + "judías blancas", + "fabes" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "split_peas", + "category": "pasta_rice", + "unit": "g", + "freshness": 3, + "names": { + "de": "Schälerbsen", + "en": "Split peas", + "fr": "Pois cassés", + "es": "Guisantes partidos" + }, + "synonyms": [ + "Erbsen getrocknet", + "gelbe Erbsen", + "grüne Schälerbsen", + "yellow split peas", + "dried peas" + ], + "packs": [ + 500 + ], + "pantry": false + }, + { + "key": "chopped_tomatoes", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gehackte Tomaten (Dose)", + "en": "Chopped tomatoes (tin)", + "fr": "Tomates concassées en conserve", + "es": "Tomate troceado en conserva" + }, + "synonyms": [ + "stückige Tomaten", + "Tomaten gehackt", + "Dosentomaten", + "canned tomatoes", + "tinned tomatoes", + "diced tomatoes", + "tomates en dés", + "tomate triturado en lata" + ], + "packs": [ + 400, + 800 + ], + "pantry": true + }, + { + "key": "peeled_tomatoes", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Geschälte Tomaten (Dose)", + "en": "Whole peeled tomatoes (tin)", + "fr": "Tomates pelées en conserve", + "es": "Tomates pelados en conserva" + }, + "synonyms": [ + "ganze Tomaten Dose", + "Pelati", + "plum tomatoes", + "tomates entières pelées" + ], + "packs": [ + 400, + 800 + ], + "pantry": false + }, + { + "key": "passata", + "category": "canned", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Passierte Tomaten", + "en": "Passata", + "fr": "Coulis de tomate", + "es": "Tomate triturado" + }, + "synonyms": [ + "Tomatenpassata", + "passierte Tomaten Tetra", + "sieved tomatoes", + "purée de tomates", + "passata de tomate", + "tomate frito" + ], + "packs": [ + 500, + 700 + ], + "pantry": true + }, + { + "key": "tomato_paste", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Tomatenmark", + "en": "Tomato purée", + "fr": "Concentré de tomate", + "es": "Tomate concentrado" + }, + "synonyms": [ + "Tomatenmark 2-fach", + "Tomatenmark 3-fach", + "tomato paste", + "double concentré", + "pasta de tomate" + ], + "packs": [ + 70, + 140, + 200 + ], + "pantry": true + }, + { + "key": "sundried_tomatoes", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Getrocknete Tomaten", + "en": "Sun-dried tomatoes", + "fr": "Tomates séchées", + "es": "Tomates secos" + }, + "synonyms": [ + "getrocknete Tomaten in Öl", + "sun dried tomatoes", + "tomates confites" + ], + "packs": [ + 150, + 280 + ], + "pantry": false + }, + { + "key": "kidney_beans", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kidneybohnen (Dose)", + "en": "Kidney beans (tin)", + "fr": "Haricots rouges en conserve", + "es": "Alubias rojas cocidas" + }, + "synonyms": [ + "Kidneybohnen", + "rote Bohnen", + "red kidney beans", + "haricots rouges", + "judías rojas" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "black_beans", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Schwarze Bohnen (Dose)", + "en": "Black beans (tin)", + "fr": "Haricots noirs en conserve", + "es": "Alubias negras cocidas" + }, + "synonyms": [ + "schwarze Bohnen", + "black beans", + "frijoles negros", + "haricots noirs" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "chickpeas", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kichererbsen (Dose)", + "en": "Chickpeas (tin)", + "fr": "Pois chiches en conserve", + "es": "Garbanzos cocidos" + }, + "synonyms": [ + "Kichererbsen", + "Kichererbsen im Glas", + "chickpeas", + "garbanzo beans", + "pois chiches", + "garbanzos en bote" + ], + "packs": [ + 240, + 400 + ], + "pantry": true + }, + { + "key": "white_beans", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Weiße Bohnen (Dose)", + "en": "Cannellini beans (tin)", + "fr": "Haricots blancs en conserve", + "es": "Alubias blancas cocidas" + }, + "synonyms": [ + "weiße Riesenbohnen", + "Cannellini", + "butter beans", + "white beans", + "haricots blancs", + "alubias en bote" + ], + "packs": [ + 250, + 400 + ], + "pantry": false + }, + { + "key": "baked_beans", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Baked Beans", + "en": "Baked beans", + "fr": "Haricots à la sauce tomate", + "es": "Alubias con tomate" + }, + "synonyms": [ + "Bohnen in Tomatensoße", + "Heinz Beans", + "beans in tomato sauce" + ], + "packs": [ + 400, + 415 + ], + "pantry": false + }, + { + "key": "lentils_canned", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Linsen (Dose)", + "en": "Lentils (tin)", + "fr": "Lentilles en conserve", + "es": "Lentejas cocidas" + }, + "synonyms": [ + "Linsen im Glas", + "Linseneintopf", + "cooked lentils", + "lentejas en bote" + ], + "packs": [ + 400, + 800 + ], + "pantry": false + }, + { + "key": "sweetcorn", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mais (Dose)", + "en": "Sweetcorn (tin)", + "fr": "Maïs doux", + "es": "Maíz dulce" + }, + "synonyms": [ + "Mais", + "Gemüsemais", + "Zuckermais", + "corn", + "sweet corn", + "maïs", + "maíz" + ], + "packs": [ + 150, + 285, + 340 + ], + "pantry": false + }, + { + "key": "canned_mushrooms", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Champignons (Dose)", + "en": "Mushrooms (tin)", + "fr": "Champignons en conserve", + "es": "Champiñones en conserva" + }, + "synonyms": [ + "Champignons in Scheiben Dose", + "Pilze Glas", + "sliced mushrooms tin", + "champiñón laminado" + ], + "packs": [ + 290, + 580 + ], + "pantry": false + }, + { + "key": "tuna_canned", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Thunfisch (Dose)", + "en": "Tinned tuna", + "fr": "Thon en boîte", + "es": "Atún en lata" + }, + "synonyms": [ + "Thunfisch", + "Thunfisch naturale", + "Thunfisch in Öl", + "tuna", + "canned tuna", + "thon", + "atún" + ], + "packs": [ + 150, + 185 + ], + "pantry": false + }, + { + "key": "anchovies", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Sardellen", + "en": "Anchovies", + "fr": "Anchois", + "es": "Anchoas" + }, + "synonyms": [ + "Sardellenfilets", + "anchovy fillets", + "filets d'anchois" + ], + "packs": [ + 50 + ], + "pantry": false + }, + { + "key": "coconut_milk", + "category": "canned", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Kokosmilch", + "en": "Coconut milk", + "fr": "Lait de coco", + "es": "Leche de coco" + }, + "synonyms": [ + "Kokosnussmilch", + "Kokoscreme", + "coconut cream", + "crème de coco" + ], + "packs": [ + 200, + 400 + ], + "pantry": true + }, + { + "key": "sauerkraut", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Sauerkraut", + "en": "Sauerkraut", + "fr": "Choucroute", + "es": "Chucrut" + }, + "synonyms": [ + "Weinsauerkraut", + "Fasssauerkraut", + "choucroute cuite" + ], + "packs": [ + 500, + 770, + 850 + ], + "pantry": false + }, + { + "key": "red_cabbage_jar", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Apfelrotkohl (Glas)", + "en": "Red cabbage (jar)", + "fr": "Chou rouge cuisiné", + "es": "Lombarda en conserva" + }, + "synonyms": [ + "Rotkohl Glas", + "Blaukraut Glas", + "Rotkraut Glas", + "braised red cabbage" + ], + "packs": [ + 680, + 720 + ], + "pantry": false + }, + { + "key": "gherkins", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gewürzgurken", + "en": "Gherkins", + "fr": "Cornichons", + "es": "Pepinillos" + }, + "synonyms": [ + "Saure Gurken", + "Essiggurken", + "pickles", + "dill pickles", + "pepinillos en vinagre" + ], + "packs": [ + 330, + 670 + ], + "pantry": false + }, + { + "key": "black_olives", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Schwarze Oliven", + "en": "Black olives", + "fr": "Olives noires", + "es": "Aceitunas negras" + }, + "synonyms": [ + "Oliven schwarz", + "Kalamata", + "olives", + "aceitunas" + ], + "packs": [ + 150, + 160, + 300 + ], + "pantry": false + }, + { + "key": "green_olives", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Grüne Oliven", + "en": "Green olives", + "fr": "Olives vertes", + "es": "Aceitunas verdes" + }, + "synonyms": [ + "Oliven grün", + "Oliven mit Paprika", + "manzanilla olives", + "aceitunas rellenas" + ], + "packs": [ + 150, + 160, + 300 + ], + "pantry": false + }, + { + "key": "capers", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kapern", + "en": "Capers", + "fr": "Câpres", + "es": "Alcaparras" + }, + "synonyms": [ + "Kapernäpfel", + "Nonpareille-Kapern", + "caper" + ], + "packs": [ + 50, + 100 + ], + "pantry": false + }, + { + "key": "roasted_peppers", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Geröstete Paprika (Glas)", + "en": "Roasted red peppers (jar)", + "fr": "Poivrons grillés", + "es": "Pimientos asados" + }, + "synonyms": [ + "Paprika im Glas", + "gegrillte Paprika", + "pimientos del piquillo", + "roasted peppers" + ], + "packs": [ + 290, + 450 + ], + "pantry": false + }, + { + "key": "canned_peaches", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Pfirsiche (Dose)", + "en": "Tinned peaches", + "fr": "Pêches au sirop", + "es": "Melocotón en almíbar" + }, + "synonyms": [ + "Pfirsichhälften", + "peach halves", + "canned peaches" + ], + "packs": [ + 410, + 820 + ], + "pantry": false + }, + { + "key": "applesauce", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Apfelmus", + "en": "Apple sauce", + "fr": "Compote de pommes", + "es": "Compota de manzana" + }, + "synonyms": [ + "Apfelmark", + "apple purée", + "purée de pommes" + ], + "packs": [ + 360, + 700, + 710 + ], + "pantry": false + }, + { + "key": "condensed_milk", + "category": "canned", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gezuckerte Kondensmilch", + "en": "Sweetened condensed milk", + "fr": "Lait concentré sucré", + "es": "Leche condensada" + }, + "synonyms": [ + "Milchmädchen", + "condensed milk" + ], + "packs": [ + 397, + 400 + ], + "pantry": false + }, + { + "key": "vegetable_stock", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Gemüsebrühe", + "en": "Vegetable stock", + "fr": "Bouillon de légumes", + "es": "Caldo de verduras" + }, + "synonyms": [ + "Gemüsebouillon", + "instant Gemüsebrühe", + "Brühe", + "veggie stock", + "vegetable broth", + "bouillon", + "caldo vegetal" + ], + "packs": [], + "pantry": true + }, + { + "key": "chicken_stock", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Hühnerbrühe", + "en": "Chicken stock", + "fr": "Bouillon de volaille", + "es": "Caldo de pollo" + }, + "synonyms": [ + "Geflügelbrühe", + "Hühnerbouillon", + "Geflügelfond", + "chicken broth", + "fond de volaille" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": true + }, + { + "key": "beef_stock", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Rinderbrühe", + "en": "Beef stock", + "fr": "Bouillon de bœuf", + "es": "Caldo de carne" + }, + "synonyms": [ + "Fleischbrühe", + "Rinderfond", + "Kalbsfond", + "Bratenfond", + "beef broth", + "fond de veau", + "caldo de ternera" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": true + }, + { + "key": "fish_stock", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Fischfond", + "en": "Fish stock", + "fr": "Fumet de poisson", + "es": "Caldo de pescado" + }, + "synonyms": [ + "Fischbrühe", + "fish broth", + "fumet" + ], + "packs": [ + 400, + 500, + 1000 + ], + "pantry": false + }, + { + "key": "stock_cube", + "category": "sauces", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Brühwürfel", + "en": "Stock cube", + "fr": "Cube de bouillon", + "es": "Pastilla de caldo" + }, + "synonyms": [ + "Brühwürfel Gemüse", + "Fleischbrühwürfel", + "Maggi-Würfel", + "bouillon cube", + "Oxo cube", + "Knorr", + "cube Kub", + "pastilla Avecrem" + ], + "packs": [ + 6, + 8, + 12 + ], + "pantry": true + }, + { + "key": "gravy", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Bratensoße (instant)", + "en": "Gravy granules", + "fr": "Sauce pour rôti", + "es": "Salsa para asados" + }, + "synonyms": [ + "Bratensauce", + "Soße zum Braten", + "Rahmsauce instant", + "gravy", + "Bisto", + "fond brun", + "salsa española" + ], + "packs": [ + 250, + 500, + 1000 + ], + "pantry": true + }, + { + "key": "mustard", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Senf, mittelscharf", + "en": "Mustard", + "fr": "Moutarde", + "es": "Mostaza" + }, + "synonyms": [ + "Senf", + "mittelscharfer Senf", + "Delikatesssenf", + "scharfer Senf", + "English mustard", + "yellow mustard", + "moutarde forte" + ], + "packs": [ + 200, + 250 + ], + "pantry": true + }, + { + "key": "dijon_mustard", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Dijon-Senf", + "en": "Dijon mustard", + "fr": "Moutarde de Dijon", + "es": "Mostaza de Dijon" + }, + "synonyms": [ + "Dijonsenf", + "Dijon" + ], + "packs": [ + 200 + ], + "pantry": true + }, + { + "key": "ketchup", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Ketchup", + "en": "Ketchup", + "fr": "Ketchup", + "es": "Kétchup" + }, + "synonyms": [ + "Tomatenketchup", + "tomato ketchup", + "tomato sauce", + "catsup" + ], + "packs": [ + 450, + 500 + ], + "pantry": true + }, + { + "key": "mayonnaise", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mayonnaise", + "en": "Mayonnaise", + "fr": "Mayonnaise", + "es": "Mayonesa" + }, + "synonyms": [ + "Mayo", + "Salatmayonnaise", + "Remoulade", + "mahonesa" + ], + "packs": [ + 250, + 500 + ], + "pantry": true + }, + { + "key": "soy_sauce", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Sojasoße", + "en": "Soy sauce", + "fr": "Sauce soja", + "es": "Salsa de soja" + }, + "synonyms": [ + "Sojasauce", + "Shoyu", + "Tamari", + "soya sauce" + ], + "packs": [ + 150, + 250, + 500 + ], + "pantry": true + }, + { + "key": "worcestershire_sauce", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Worcestersauce", + "en": "Worcestershire sauce", + "fr": "Sauce Worcestershire", + "es": "Salsa Worcestershire" + }, + "synonyms": [ + "Worcestershiresauce", + "Lea & Perrins", + "salsa perrins" + ], + "packs": [ + 140, + 150 + ], + "pantry": false + }, + { + "key": "hot_sauce", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Tabasco", + "en": "Hot sauce", + "fr": "Sauce piquante", + "es": "Salsa picante" + }, + "synonyms": [ + "Chilisauce scharf", + "Sriracha", + "hot pepper sauce" + ], + "packs": [ + 60, + 150 + ], + "pantry": false + }, + { + "key": "sweet_chili_sauce", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Süße Chilisauce", + "en": "Sweet chilli sauce", + "fr": "Sauce chili douce", + "es": "Salsa de chile dulce" + }, + "synonyms": [ + "Sweet Chili Sauce", + "Thai Chilisauce", + "sweet chili" + ], + "packs": [ + 200, + 300 + ], + "pantry": false + }, + { + "key": "bbq_sauce", + "category": "sauces", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Barbecuesauce", + "en": "Barbecue sauce", + "fr": "Sauce barbecue", + "es": "Salsa barbacoa" + }, + "synonyms": [ + "BBQ-Sauce", + "Grillsauce", + "BBQ sauce", + "sauce BBQ" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "pesto", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Pesto Genovese", + "en": "Green pesto", + "fr": "Pesto vert", + "es": "Pesto verde" + }, + "synonyms": [ + "Pesto", + "Basilikumpesto", + "Pesto alla Genovese", + "basil pesto", + "pesto au basilic" + ], + "packs": [ + 190 + ], + "pantry": false + }, + { + "key": "tomato_sauce_jar", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Tomatensauce (Glas)", + "en": "Tomato pasta sauce", + "fr": "Sauce tomate", + "es": "Salsa de tomate" + }, + "synonyms": [ + "Nudelsauce", + "Pastasauce", + "Sugo", + "Arrabbiata", + "Napoli-Sauce", + "pasta sauce", + "sauce tomate basilic", + "tomate frito casero" + ], + "packs": [ + 400, + 500 + ], + "pantry": false + }, + { + "key": "red_curry_paste", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Rote Currypaste", + "en": "Red curry paste", + "fr": "Pâte de curry rouge", + "es": "Pasta de curry rojo" + }, + "synonyms": [ + "Currypaste", + "grüne Currypaste", + "green curry paste", + "pâte de curry", + "Thai curry paste" + ], + "packs": [ + 50, + 110, + 114 + ], + "pantry": false + }, + { + "key": "horseradish", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Meerrettich (Glas)", + "en": "Horseradish sauce", + "fr": "Raifort", + "es": "Rábano picante" + }, + "synonyms": [ + "Meerrettich", + "Sahnemeerrettich", + "Kren", + "creamed horseradish", + "sauce raifort" + ], + "packs": [ + 140, + 200 + ], + "pantry": false + }, + { + "key": "salsa_dip", + "category": "sauces", + "unit": "g", + "freshness": 3, + "names": { + "de": "Salsa-Dip", + "en": "Tomato salsa", + "fr": "Sauce salsa", + "es": "Salsa mexicana" + }, + "synonyms": [ + "Tortilla-Dip", + "Salsa", + "Dip Salsa mild", + "chunky salsa", + "salsa dip", + "salsa mild" + ], + "packs": [ + 300, + 315 + ], + "pantry": false + }, + { + "key": "salt", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Salz", + "en": "Salt", + "fr": "Sel", + "es": "Sal" + }, + "synonyms": [ + "Speisesalz", + "Jodsalz", + "Meersalz", + "Steinsalz", + "sea salt", + "table salt", + "sel fin", + "sel de mer", + "sal marina", + "sal fina" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "black_pepper", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Pfeffer, schwarz", + "en": "Black pepper", + "fr": "Poivre noir", + "es": "Pimienta negra" + }, + "synonyms": [ + "Pfeffer", + "schwarzer Pfeffer", + "Pfeffer gemahlen", + "pepper", + "ground black pepper", + "poivre", + "pimienta" + ], + "packs": [ + 50, + 100 + ], + "pantry": true + }, + { + "key": "paprika", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Paprikapulver, edelsüß", + "en": "Paprika", + "fr": "Paprika doux", + "es": "Pimentón dulce" + }, + "synonyms": [ + "Paprika edelsüß", + "Paprikapulver", + "Paprika rosenscharf", + "sweet paprika", + "paprika en poudre" + ], + "packs": [ + 50, + 100 + ], + "pantry": true + }, + { + "key": "smoked_paprika", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Paprikapulver, geräuchert", + "en": "Smoked paprika", + "fr": "Paprika fumé", + "es": "Pimentón de la Vera" + }, + "synonyms": [ + "Räucherpaprika", + "Pimentón", + "geräuchertes Paprikapulver", + "pimentón ahumado", + "smoked paprika hot" + ], + "packs": [ + 50, + 75 + ], + "pantry": false + }, + { + "key": "cumin", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kreuzkümmel", + "en": "Ground cumin", + "fr": "Cumin moulu", + "es": "Comino molido" + }, + "synonyms": [ + "Cumin", + "Kreuzkümmel gemahlen", + "comino" + ], + "packs": [ + 40, + 50 + ], + "pantry": true + }, + { + "key": "caraway", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kümmel", + "en": "Caraway seeds", + "fr": "Carvi", + "es": "Alcaravea" + }, + "synonyms": [ + "Kümmel ganz", + "Kümmel gemahlen", + "caraway", + "graines de carvi" + ], + "packs": [ + 50 + ], + "pantry": false + }, + { + "key": "curry_powder", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Currypulver", + "en": "Curry powder", + "fr": "Curry en poudre", + "es": "Curry en polvo" + }, + "synonyms": [ + "Curry", + "Curry mild", + "Curry scharf", + "Madras curry", + "curry madrás" + ], + "packs": [ + 50, + 100 + ], + "pantry": true + }, + { + "key": "turmeric", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kurkuma", + "en": "Turmeric", + "fr": "Curcuma", + "es": "Cúrcuma" + }, + "synonyms": [ + "Kurkuma gemahlen", + "Gelbwurz", + "ground turmeric", + "curcuma en poudre" + ], + "packs": [ + 40, + 50 + ], + "pantry": false + }, + { + "key": "garam_masala", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Garam Masala", + "en": "Garam masala", + "fr": "Garam masala", + "es": "Garam masala" + }, + "synonyms": [ + "Garam-Masala", + "Gewürzmischung indisch" + ], + "packs": [ + 40, + 50 + ], + "pantry": false + }, + { + "key": "chili_flakes", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Chiliflocken", + "en": "Chilli flakes", + "fr": "Piment en flocons", + "es": "Guindilla en copos" + }, + "synonyms": [ + "Chili geschrotet", + "Pul Biber", + "Chilischoten getrocknet", + "red pepper flakes", + "crushed chillies", + "piment d'Espelette", + "cayenne" + ], + "packs": [ + 30, + 50 + ], + "pantry": false + }, + { + "key": "chili_powder", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Chilipulver", + "en": "Chilli powder", + "fr": "Piment en poudre", + "es": "Chile en polvo" + }, + "synonyms": [ + "Chili gemahlen", + "Cayennepfeffer", + "Chili con Carne Gewürz", + "cayenne pepper", + "chili powder", + "cayena" + ], + "packs": [ + 40, + 50 + ], + "pantry": false + }, + { + "key": "cinnamon", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Zimt", + "en": "Cinnamon", + "fr": "Cannelle", + "es": "Canela" + }, + "synonyms": [ + "Zimt gemahlen", + "Ceylon-Zimt", + "Zimtstange", + "ground cinnamon", + "cinnamon stick", + "cannelle en poudre", + "canela en rama" + ], + "packs": [ + 40, + 50 + ], + "pantry": true + }, + { + "key": "nutmeg", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Muskatnuss", + "en": "Nutmeg", + "fr": "Noix de muscade", + "es": "Nuez moscada" + }, + "synonyms": [ + "Muskat", + "Muskatnuss gemahlen", + "ground nutmeg", + "muscade" + ], + "packs": [ + 25, + 50 + ], + "pantry": true + }, + { + "key": "oregano", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Oregano, getrocknet", + "en": "Dried oregano", + "fr": "Origan séché", + "es": "Orégano seco" + }, + "synonyms": [ + "Oregano", + "Oregano gerebelt", + "origan", + "orégano" + ], + "packs": [ + 10, + 15, + 20 + ], + "pantry": true + }, + { + "key": "dried_basil", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Basilikum, getrocknet", + "en": "Dried basil", + "fr": "Basilic séché", + "es": "Albahaca seca" + }, + "synonyms": [ + "Basilikum gerebelt" + ], + "packs": [ + 10, + 15 + ], + "pantry": false + }, + { + "key": "dried_thyme", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Thymian, getrocknet", + "en": "Dried thyme", + "fr": "Thym séché", + "es": "Tomillo seco" + }, + "synonyms": [ + "Thymian gerebelt" + ], + "packs": [ + 15, + 20 + ], + "pantry": false + }, + { + "key": "dried_rosemary", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Rosmarin, getrocknet", + "en": "Dried rosemary", + "fr": "Romarin séché", + "es": "Romero seco" + }, + "synonyms": [ + "Rosmarin gerebelt" + ], + "packs": [ + 15, + 25 + ], + "pantry": false + }, + { + "key": "marjoram", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Majoran", + "en": "Marjoram", + "fr": "Marjolaine", + "es": "Mejorana" + }, + "synonyms": [ + "Majoran gerebelt", + "dried marjoram", + "mejorana seca" + ], + "packs": [ + 10, + 15 + ], + "pantry": false + }, + { + "key": "herbes_de_provence", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kräuter der Provence", + "en": "Herbes de Provence", + "fr": "Herbes de Provence", + "es": "Hierbas provenzales" + }, + "synonyms": [ + "Provencekräuter", + "mixed dried herbs" + ], + "packs": [ + 15, + 20 + ], + "pantry": false + }, + { + "key": "italian_herbs", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Italienische Kräuter", + "en": "Italian seasoning", + "fr": "Herbes italiennes", + "es": "Hierbas italianas" + }, + "synonyms": [ + "Kräuter italienisch", + "Pizzagewürz", + "mixed herbs", + "Italian herbs" + ], + "packs": [ + 15, + 20 + ], + "pantry": false + }, + { + "key": "bay_leaves", + "category": "spices", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Lorbeerblätter", + "en": "Bay leaves", + "fr": "Feuilles de laurier", + "es": "Hojas de laurel" + }, + "synonyms": [ + "Lorbeerblatt", + "Lorbeer", + "bay leaf", + "laurier", + "laurel" + ], + "packs": [], + "pantry": true + }, + { + "key": "cloves", + "category": "spices", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Gewürznelken", + "en": "Cloves", + "fr": "Clous de girofle", + "es": "Clavos de olor" + }, + "synonyms": [ + "Nelken", + "clove", + "girofle", + "clavo" + ], + "packs": [], + "pantry": false + }, + { + "key": "juniper_berries", + "category": "spices", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Wacholderbeeren", + "en": "Juniper berries", + "fr": "Baies de genièvre", + "es": "Bayas de enebro" + }, + "synonyms": [ + "Wacholder", + "juniper" + ], + "packs": [], + "pantry": false + }, + { + "key": "ground_ginger", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Ingwerpulver", + "en": "Ground ginger", + "fr": "Gingembre moulu", + "es": "Jengibre molido" + }, + "synonyms": [ + "Ingwer gemahlen", + "ginger powder" + ], + "packs": [ + 30, + 40 + ], + "pantry": false + }, + { + "key": "garlic_powder", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Knoblauchpulver", + "en": "Garlic powder", + "fr": "Ail en poudre", + "es": "Ajo en polvo" + }, + "synonyms": [ + "Knoblauchgranulat", + "Knoblauch getrocknet", + "garlic granules" + ], + "packs": [ + 50, + 80 + ], + "pantry": false + }, + { + "key": "ground_coriander", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Koriander, gemahlen", + "en": "Ground coriander", + "fr": "Coriandre moulue", + "es": "Cilantro molido" + }, + "synonyms": [ + "Koriandersamen", + "coriander seeds", + "graines de coriandre" + ], + "packs": [ + 35, + 40 + ], + "pantry": false + }, + { + "key": "saffron", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Safran", + "en": "Saffron", + "fr": "Safran", + "es": "Azafrán" + }, + "synonyms": [ + "Safranfäden", + "saffron threads", + "pistils de safran", + "hebras de azafrán" + ], + "packs": [], + "pantry": false + }, + { + "key": "fajita_seasoning", + "category": "spices", + "unit": "g", + "freshness": 3, + "names": { + "de": "Fajita-Gewürz", + "en": "Fajita seasoning", + "fr": "Épices pour fajitas", + "es": "Especias para fajitas" + }, + "synonyms": [ + "Taco-Gewürz", + "Tex-Mex Gewürz", + "Mexican seasoning", + "taco seasoning", + "sazonador para tacos" + ], + "packs": [ + 30, + 35 + ], + "pantry": false + }, + { + "key": "olive_oil", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Olivenöl", + "en": "Olive oil", + "fr": "Huile d'olive", + "es": "Aceite de oliva" + }, + "synonyms": [ + "Olivenöl nativ extra", + "natives Olivenöl", + "extra virgin olive oil", + "EVOO", + "huile d'olive vierge extra", + "aceite de oliva virgen extra", + "AOVE" + ], + "packs": [ + 500, + 750, + 1000 + ], + "pantry": true + }, + { + "key": "sunflower_oil", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Sonnenblumenöl", + "en": "Sunflower oil", + "fr": "Huile de tournesol", + "es": "Aceite de girasol" + }, + "synonyms": [ + "Speiseöl", + "Pflanzenöl", + "Bratöl", + "vegetable oil", + "cooking oil", + "huile végétale", + "aceite vegetal" + ], + "packs": [ + 750, + 1000 + ], + "pantry": true + }, + { + "key": "rapeseed_oil", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Rapsöl", + "en": "Rapeseed oil", + "fr": "Huile de colza", + "es": "Aceite de colza" + }, + "synonyms": [ + "Rapskernöl", + "canola oil" + ], + "packs": [ + 750, + 1000 + ], + "pantry": true + }, + { + "key": "sesame_oil", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Sesamöl", + "en": "Sesame oil", + "fr": "Huile de sésame", + "es": "Aceite de sésamo" + }, + "synonyms": [ + "Sesamöl geröstet", + "toasted sesame oil" + ], + "packs": [ + 100, + 250 + ], + "pantry": false + }, + { + "key": "balsamic_vinegar", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Aceto balsamico", + "en": "Balsamic vinegar", + "fr": "Vinaigre balsamique", + "es": "Vinagre balsámico" + }, + "synonyms": [ + "Balsamico", + "Balsamessig", + "Aceto Balsamico di Modena", + "Balsamico-Creme", + "balsamic glaze", + "crème de balsamique", + "crema de balsámico" + ], + "packs": [ + 250, + 500 + ], + "pantry": true + }, + { + "key": "white_wine_vinegar", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Weißweinessig", + "en": "White wine vinegar", + "fr": "Vinaigre de vin blanc", + "es": "Vinagre de vino blanco" + }, + "synonyms": [ + "Essig", + "Kräuteressig", + "Balsamico bianco", + "vinegar" + ], + "packs": [ + 500, + 750, + 1000 + ], + "pantry": true + }, + { + "key": "red_wine_vinegar", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Rotweinessig", + "en": "Red wine vinegar", + "fr": "Vinaigre de vin rouge", + "es": "Vinagre de vino tinto" + }, + "synonyms": [ + "Rotwein-Essig" + ], + "packs": [ + 500, + 750 + ], + "pantry": false + }, + { + "key": "cider_vinegar", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Apfelessig", + "en": "Cider vinegar", + "fr": "Vinaigre de cidre", + "es": "Vinagre de manzana" + }, + "synonyms": [ + "Apfelessig naturtrüb", + "apple cider vinegar" + ], + "packs": [ + 500, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "sherry_vinegar", + "category": "oil_vinegar", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Sherryessig", + "en": "Sherry vinegar", + "fr": "Vinaigre de xérès", + "es": "Vinagre de Jerez" + }, + "synonyms": [ + "Sherry-Essig", + "vinaigre de Jerez" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "flour", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Weizenmehl", + "en": "Plain flour", + "fr": "Farine de blé", + "es": "Harina de trigo" + }, + "synonyms": [ + "Mehl", + "Weizenmehl Type 405", + "Weizenmehl Type 550", + "Mehl 405", + "all-purpose flour", + "flour", + "farine T45", + "farine T55", + "harina" + ], + "packs": [ + 1000 + ], + "pantry": true + }, + { + "key": "self_raising_flour", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mehl mit Backpulver", + "en": "Self-raising flour", + "fr": "Farine à gâteaux", + "es": "Harina con levadura" + }, + "synonyms": [ + "selbsttreibendes Mehl", + "self-rising flour", + "farine avec levure incorporée", + "harina leudante" + ], + "packs": [ + 1000 + ], + "pantry": false + }, + { + "key": "spelt_flour", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Dinkelmehl", + "en": "Spelt flour", + "fr": "Farine d'épeautre", + "es": "Harina de espelta" + }, + "synonyms": [ + "Dinkelmehl Type 630", + "Dinkelvollkornmehl", + "Vollkornmehl", + "wholemeal flour", + "farine complète", + "harina integral" + ], + "packs": [ + 1000 + ], + "pantry": false + }, + { + "key": "cornstarch", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Speisestärke", + "en": "Cornflour", + "fr": "Fécule de maïs", + "es": "Maicena" + }, + "synonyms": [ + "Maisstärke", + "Kartoffelstärke", + "Mondamin", + "Stärke", + "cornstarch", + "Maïzena", + "almidón de maíz" + ], + "packs": [ + 250, + 400, + 500 + ], + "pantry": true + }, + { + "key": "sugar", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Zucker", + "en": "Sugar", + "fr": "Sucre", + "es": "Azúcar" + }, + "synonyms": [ + "Weißzucker", + "Kristallzucker", + "Haushaltszucker", + "caster sugar", + "granulated sugar", + "sucre en poudre", + "sucre semoule", + "azúcar blanco" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "brown_sugar", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Brauner Zucker", + "en": "Brown sugar", + "fr": "Sucre roux", + "es": "Azúcar moreno" + }, + "synonyms": [ + "Rohrzucker", + "Vollrohrzucker", + "demerara", + "muscovado", + "cassonade", + "sucre de canne" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "icing_sugar", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Puderzucker", + "en": "Icing sugar", + "fr": "Sucre glace", + "es": "Azúcar glas" + }, + "synonyms": [ + "Staubzucker", + "powdered sugar", + "confectioners' sugar", + "azúcar glass" + ], + "packs": [ + 250, + 500 + ], + "pantry": false + }, + { + "key": "vanilla_sugar", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Vanillezucker", + "en": "Vanilla sugar", + "fr": "Sucre vanillé", + "es": "Azúcar avainillado" + }, + "synonyms": [ + "Vanillinzucker", + "Bourbon-Vanillezucker", + "sachet de sucre vanillé" + ], + "packs": [ + 8, + 40 + ], + "pantry": true + }, + { + "key": "vanilla_extract", + "category": "baking", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Vanilleextrakt", + "en": "Vanilla extract", + "fr": "Extrait de vanille", + "es": "Extracto de vainilla" + }, + "synonyms": [ + "Vanillearoma", + "Vanilleschote", + "Vanillepaste", + "vanilla pod", + "vanilla essence", + "gousse de vanille", + "vaina de vainilla", + "esencia de vainilla" + ], + "packs": [ + 38, + 50 + ], + "pantry": false + }, + { + "key": "baking_powder", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Backpulver", + "en": "Baking powder", + "fr": "Levure chimique", + "es": "Levadura química" + }, + "synonyms": [ + "Backpulver Päckchen", + "levure", + "polvo de hornear", + "gasificante", + "Royal" + ], + "packs": [ + 15, + 45, + 250 + ], + "pantry": true + }, + { + "key": "baking_soda", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Natron", + "en": "Bicarbonate of soda", + "fr": "Bicarbonate de soude", + "es": "Bicarbonato sódico" + }, + "synonyms": [ + "Kaiser-Natron", + "Speisenatron", + "baking soda", + "bicarbonate", + "bicarbonato" + ], + "packs": [ + 50, + 250 + ], + "pantry": false + }, + { + "key": "dry_yeast", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Trockenhefe", + "en": "Dried yeast", + "fr": "Levure de boulanger sèche", + "es": "Levadura seca de panadería" + }, + "synonyms": [ + "Hefe trocken", + "Trockenbackhefe", + "fast-action yeast", + "instant yeast", + "levure sèche", + "levadura de panadería" + ], + "packs": [ + 7, + 21 + ], + "pantry": false + }, + { + "key": "breadcrumbs", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Paniermehl", + "en": "Breadcrumbs", + "fr": "Chapelure", + "es": "Pan rallado" + }, + "synonyms": [ + "Semmelbrösel", + "Semmelmehl", + "Panko", + "dried breadcrumbs", + "pan rallado panko" + ], + "packs": [ + 200, + 400, + 500 + ], + "pantry": true + }, + { + "key": "cocoa_powder", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Backkakao", + "en": "Cocoa powder", + "fr": "Cacao en poudre", + "es": "Cacao en polvo" + }, + "synonyms": [ + "Kakaopulver", + "Kakao", + "unsweetened cocoa", + "cacao non sucré", + "cacao puro" + ], + "packs": [ + 125, + 250 + ], + "pantry": false + }, + { + "key": "dark_chocolate", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Zartbitterschokolade", + "en": "Dark chocolate", + "fr": "Chocolat noir", + "es": "Chocolate negro" + }, + "synonyms": [ + "Zartbitterkuvertüre", + "Kuvertüre", + "Blockschokolade", + "Schokotropfen", + "chocolate chips", + "plain chocolate", + "chocolat pâtissier", + "pépites de chocolat", + "chocolate para postres" + ], + "packs": [ + 100, + 125, + 200 + ], + "pantry": false + }, + { + "key": "gelatine", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gelatine", + "en": "Gelatine", + "fr": "Gélatine", + "es": "Gelatina" + }, + "synonyms": [ + "Blattgelatine", + "gemahlene Gelatine", + "Agar-Agar", + "gelatin", + "gelatine leaves", + "feuilles de gélatine", + "gelatina en hojas" + ], + "packs": [ + 10, + 20 + ], + "pantry": false + }, + { + "key": "custard_powder", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Puddingpulver", + "en": "Custard powder", + "fr": "Préparation pour flan", + "es": "Natillas en polvo" + }, + "synonyms": [ + "Vanillepudding Pulver", + "Paradiescreme", + "Bird's custard", + "flan en poudre", + "polvos para flan" + ], + "packs": [ + 37, + 111 + ], + "pantry": false + }, + { + "key": "semolina", + "category": "baking", + "unit": "g", + "freshness": 3, + "names": { + "de": "Weichweizengrieß", + "en": "Semolina", + "fr": "Semoule de blé", + "es": "Sémola de trigo" + }, + "synonyms": [ + "Grieß", + "Hartweizengrieß", + "Grieß für Grießbrei", + "semoule fine", + "sémola" + ], + "packs": [ + 500, + 1000 + ], + "pantry": false + }, + { + "key": "rolled_oats", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Haferflocken", + "en": "Rolled oats", + "fr": "Flocons d'avoine", + "es": "Copos de avena" + }, + "synonyms": [ + "Haferflocken zart", + "kernige Haferflocken", + "porridge oats", + "oatmeal", + "oats", + "avena" + ], + "packs": [ + 500, + 1000 + ], + "pantry": true + }, + { + "key": "muesli", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Müsli", + "en": "Muesli", + "fr": "Muesli", + "es": "Muesli" + }, + "synonyms": [ + "Früchtemüsli", + "Knuspermüsli", + "Granola", + "muesli croustillant" + ], + "packs": [ + 500, + 750, + 1000 + ], + "pantry": false + }, + { + "key": "cornflakes", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Cornflakes", + "en": "Cornflakes", + "fr": "Corn flakes", + "es": "Copos de maíz" + }, + "synonyms": [ + "Frühstücksflocken", + "Cerealien", + "breakfast cereal", + "céréales", + "cereales" + ], + "packs": [ + 250, + 375, + 500 + ], + "pantry": false + }, + { + "key": "honey", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Honig", + "en": "Honey", + "fr": "Miel", + "es": "Miel" + }, + "synonyms": [ + "Blütenhonig", + "Waldhonig", + "Akazienhonig", + "runny honey", + "miel liquide", + "miel de flores" + ], + "packs": [ + 250, + 500 + ], + "pantry": true + }, + { + "key": "jam", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Konfitüre", + "en": "Jam", + "fr": "Confiture", + "es": "Mermelada" + }, + "synonyms": [ + "Marmelade", + "Erdbeerkonfitüre", + "Aprikosenkonfitüre", + "Fruchtaufstrich", + "strawberry jam", + "marmalade", + "confiture de fraises", + "mermelada de fresa" + ], + "packs": [ + 250, + 450 + ], + "pantry": true + }, + { + "key": "chocolate_spread", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Nuss-Nougat-Creme", + "en": "Chocolate hazelnut spread", + "fr": "Pâte à tartiner chocolat-noisette", + "es": "Crema de cacao y avellanas" + }, + "synonyms": [ + "Nutella", + "Nusscreme", + "Schokoaufstrich", + "Nocilla" + ], + "packs": [ + 350, + 400, + 750 + ], + "pantry": false + }, + { + "key": "peanut_butter", + "category": "breakfast", + "unit": "g", + "freshness": 3, + "names": { + "de": "Erdnussbutter", + "en": "Peanut butter", + "fr": "Beurre de cacahuète", + "es": "Crema de cacahuete" + }, + "synonyms": [ + "Erdnusscreme", + "Erdnussmus", + "crunchy peanut butter", + "beurre d'arachide", + "mantequilla de cacahuete" + ], + "packs": [ + 340, + 350, + 500 + ], + "pantry": false + }, + { + "key": "maple_syrup", + "category": "breakfast", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Ahornsirup", + "en": "Maple syrup", + "fr": "Sirop d'érable", + "es": "Sirope de arce" + }, + "synonyms": [ + "Agavendicksaft", + "Golden Syrup", + "Zuckerrübensirup", + "agave syrup", + "sirop d'agave", + "sirope de agave" + ], + "packs": [ + 250, + 330 + ], + "pantry": false + }, + { + "key": "walnuts", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Walnusskerne", + "en": "Walnuts", + "fr": "Cerneaux de noix", + "es": "Nueces" + }, + "synonyms": [ + "Walnüsse", + "walnut halves", + "noix" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "hazelnuts", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Haselnusskerne", + "en": "Hazelnuts", + "fr": "Noisettes", + "es": "Avellanas" + }, + "synonyms": [ + "Haselnüsse", + "gemahlene Haselnüsse", + "ground hazelnuts", + "noisettes en poudre", + "avellana molida" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "almonds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mandeln", + "en": "Almonds", + "fr": "Amandes", + "es": "Almendras" + }, + "synonyms": [ + "Mandelkerne", + "ganze Mandeln", + "whole almonds", + "amandes entières" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "ground_almonds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Gemahlene Mandeln", + "en": "Ground almonds", + "fr": "Poudre d'amandes", + "es": "Almendra molida" + }, + "synonyms": [ + "Mandeln gemahlen", + "Mandelmehl", + "almond flour", + "amandes en poudre", + "harina de almendra" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "flaked_almonds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Mandelblättchen", + "en": "Flaked almonds", + "fr": "Amandes effilées", + "es": "Almendras laminadas" + }, + "synonyms": [ + "Mandeln gehobelt", + "Mandelstifte", + "sliced almonds", + "slivered almonds", + "almendra fileteada" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "pine_nuts", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Pinienkerne", + "en": "Pine nuts", + "fr": "Pignons de pin", + "es": "Piñones" + }, + "synonyms": [ + "Pinienkerne geröstet", + "pine kernels", + "pignons" + ], + "packs": [ + 40, + 75, + 100 + ], + "pantry": false + }, + { + "key": "cashews", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Cashewkerne", + "en": "Cashew nuts", + "fr": "Noix de cajou", + "es": "Anacardos" + }, + "synonyms": [ + "Cashews", + "Cashewnüsse", + "cajou" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "peanuts", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Erdnüsse", + "en": "Peanuts", + "fr": "Cacahuètes", + "es": "Cacahuetes" + }, + "synonyms": [ + "Erdnusskerne", + "Erdnüsse geröstet und gesalzen", + "salted peanuts", + "arachides", + "maní" + ], + "packs": [ + 150, + 200, + 500 + ], + "pantry": false + }, + { + "key": "sunflower_seeds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Sonnenblumenkerne", + "en": "Sunflower seeds", + "fr": "Graines de tournesol", + "es": "Pipas de girasol" + }, + "synonyms": [ + "Sonnenblumenkerne geschält", + "sunflower kernels", + "semillas de girasol" + ], + "packs": [ + 200, + 250, + 500 + ], + "pantry": false + }, + { + "key": "pumpkin_seeds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kürbiskerne", + "en": "Pumpkin seeds", + "fr": "Graines de courge", + "es": "Pipas de calabaza" + }, + "synonyms": [ + "Kürbiskerne geschält", + "pepitas", + "semillas de calabaza" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "sesame_seeds", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Sesam", + "en": "Sesame seeds", + "fr": "Graines de sésame", + "es": "Semillas de sésamo" + }, + "synonyms": [ + "Sesamsaat", + "Sesamkörner", + "sesame", + "sésame", + "sésamo" + ], + "packs": [ + 100, + 250 + ], + "pantry": false + }, + { + "key": "linseed", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Leinsamen", + "en": "Linseed", + "fr": "Graines de lin", + "es": "Semillas de lino" + }, + "synonyms": [ + "Leinsaat", + "Chiasamen", + "flaxseed", + "chia seeds", + "graines de chia", + "semillas de chía" + ], + "packs": [ + 200, + 250, + 500 + ], + "pantry": false + }, + { + "key": "raisins", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Rosinen", + "en": "Raisins", + "fr": "Raisins secs", + "es": "Pasas" + }, + "synonyms": [ + "Sultaninen", + "Korinthen", + "sultanas", + "currants", + "pasas sultanas" + ], + "packs": [ + 200, + 250, + 500 + ], + "pantry": false + }, + { + "key": "dried_apricots", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Getrocknete Aprikosen", + "en": "Dried apricots", + "fr": "Abricots secs", + "es": "Orejones" + }, + "synonyms": [ + "Softaprikosen", + "Trockenaprikosen", + "orejones de albaricoque" + ], + "packs": [ + 200, + 250 + ], + "pantry": false + }, + { + "key": "desiccated_coconut", + "category": "nuts", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kokosraspeln", + "en": "Desiccated coconut", + "fr": "Noix de coco râpée", + "es": "Coco rallado" + }, + "synonyms": [ + "Kokosflocken", + "Kokosnussraspeln", + "shredded coconut", + "coco râpée" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "milk_chocolate", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Vollmilchschokolade", + "en": "Milk chocolate", + "fr": "Chocolat au lait", + "es": "Chocolate con leche" + }, + "synonyms": [ + "Schokolade", + "Tafelschokolade", + "Milchschokolade", + "chocolate bar", + "tablette de chocolat" + ], + "packs": [ + 100, + 200 + ], + "pantry": false + }, + { + "key": "gummy_sweets", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Fruchtgummi", + "en": "Gummy sweets", + "fr": "Bonbons gélifiés", + "es": "Gominolas" + }, + "synonyms": [ + "Gummibärchen", + "Weingummi", + "gummy bears", + "jelly sweets", + "bonbons Haribo", + "chuches" + ], + "packs": [ + 175, + 200, + 300 + ], + "pantry": false + }, + { + "key": "crisps", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kartoffelchips", + "en": "Crisps", + "fr": "Chips", + "es": "Patatas fritas de bolsa" + }, + "synonyms": [ + "Paprikachips", + "Tortilla-Chips", + "Nachos", + "potato chips", + "tortilla chips", + "chips de maïs" + ], + "packs": [ + 125, + 150, + 175, + 200 + ], + "pantry": false + }, + { + "key": "pretzel_sticks", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Salzstangen", + "en": "Pretzel sticks", + "fr": "Bâtonnets salés", + "es": "Palitos salados" + }, + "synonyms": [ + "Salzbrezeln", + "Laugengebäck", + "salted pretzels", + "bretzels apéritif", + "palitos de pan" + ], + "packs": [ + 150, + 200, + 250 + ], + "pantry": false + }, + { + "key": "butter_biscuits", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Butterkekse", + "en": "Butter biscuits", + "fr": "Petits-beurre", + "es": "Galletas de mantequilla" + }, + "synonyms": [ + "Kekse", + "Leibniz", + "Kekse für Kuchenboden", + "Digestive", + "digestive biscuits", + "cookies", + "biscuits", + "galletas María", + "galletas" + ], + "packs": [ + 200, + 250, + 400 + ], + "pantry": false + }, + { + "key": "ladyfingers", + "category": "sweets", + "unit": "g", + "freshness": 3, + "names": { + "de": "Löffelbiskuits", + "en": "Sponge fingers", + "fr": "Biscuits à la cuillère", + "es": "Bizcochos de soletilla" + }, + "synonyms": [ + "Biskotten", + "Savoiardi", + "ladyfingers", + "boudoirs", + "soletillas" + ], + "packs": [ + 200, + 400 + ], + "pantry": false + }, + { + "key": "mineral_water", + "category": "drinks", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Mineralwasser", + "en": "Mineral water", + "fr": "Eau minérale", + "es": "Agua mineral" + }, + "synonyms": [ + "Wasser", + "Sprudelwasser", + "stilles Wasser", + "Mineralwasser classic", + "sparkling water", + "still water", + "eau gazeuse", + "eau plate", + "agua con gas" + ], + "packs": [ + 500, + 750, + 1000, + 1500 + ], + "pantry": false + }, + { + "key": "apple_juice", + "category": "drinks", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Apfelsaft", + "en": "Apple juice", + "fr": "Jus de pomme", + "es": "Zumo de manzana" + }, + "synonyms": [ + "Apfelsaft naturtrüb", + "Apfelschorle", + "apple juice cloudy", + "jugo de manzana" + ], + "packs": [ + 1000, + 1500 + ], + "pantry": false + }, + { + "key": "orange_juice", + "category": "drinks", + "unit": "ml", + "freshness": 2, + "names": { + "de": "Orangensaft", + "en": "Orange juice", + "fr": "Jus d'orange", + "es": "Zumo de naranja" + }, + "synonyms": [ + "O-Saft", + "Orangensaft 100 %", + "OJ", + "jus d'orange pressé", + "jugo de naranja" + ], + "packs": [ + 1000 + ], + "pantry": false + }, + { + "key": "white_wine", + "category": "drinks", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Weißwein", + "en": "White wine", + "fr": "Vin blanc", + "es": "Vino blanco" + }, + "synonyms": [ + "Weißwein trocken", + "Kochwein", + "dry white wine", + "vin blanc sec", + "vino blanco seco" + ], + "packs": [ + 750, + 1000 + ], + "pantry": false + }, + { + "key": "red_wine", + "category": "drinks", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Rotwein", + "en": "Red wine", + "fr": "Vin rouge", + "es": "Vino tinto" + }, + "synonyms": [ + "Rotwein trocken", + "dry red wine", + "vin rouge sec", + "vino tinto seco" + ], + "packs": [ + 750, + 1000 + ], + "pantry": false + }, + { + "key": "beer", + "category": "drinks", + "unit": "ml", + "freshness": 3, + "names": { + "de": "Bier", + "en": "Beer", + "fr": "Bière", + "es": "Cerveza" + }, + "synonyms": [ + "Pils", + "Helles", + "Malzbier", + "ale", + "lager", + "stout", + "bière blonde", + "cerveza rubia" + ], + "packs": [ + 330, + 500 + ], + "pantry": false + }, + { + "key": "ground_coffee", + "category": "drinks", + "unit": "g", + "freshness": 3, + "names": { + "de": "Kaffee, gemahlen", + "en": "Ground coffee", + "fr": "Café moulu", + "es": "Café molido" + }, + "synonyms": [ + "Kaffee", + "Filterkaffee", + "Kaffeebohnen", + "Espresso", + "coffee", + "coffee beans", + "café en grains", + "café" + ], + "packs": [ + 250, + 500, + 1000 + ], + "pantry": true + }, + { + "key": "black_tea", + "category": "drinks", + "unit": "piece", + "freshness": 3, + "names": { + "de": "Schwarzer Tee", + "en": "Black tea", + "fr": "Thé noir", + "es": "Té negro" + }, + "synonyms": [ + "Tee", + "Teebeutel", + "Earl Grey", + "Kräutertee", + "Pfefferminztee", + "tea bags", + "teabags", + "sachets de thé", + "bolsitas de té" + ], + "packs": [ + 20, + 25, + 40, + 80 + ], + "pantry": true + } +] diff --git a/db/seed/starters.de.json b/db/seed/starters.de.json new file mode 100644 index 0000000..8824a9f --- /dev/null +++ b/db/seed/starters.de.json @@ -0,0 +1,429 @@ +[ + { + "key": "de_spaghetti_bolognese", + "locale": "de", + "title": "Spaghetti Bolognese", + "base": "pasta", + "tags": ["kids_favorite"], + "effort_minutes": 50, + "ingredients": [ + { "key": "spaghetti", "qty": 125, "unit": "g" }, + { "key": "ground_mixed", "qty": 125, "unit": "g" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "fein gewürfelt" }, + { "key": "garlic", "qty": 0.5, "unit": "piece", "note": "fein gewürfelt" }, + { "key": "carrot", "qty": 25, "unit": "g", "note": "fein gewürfelt" }, + { "key": "chopped_tomatoes", "qty": 200, "unit": "g" }, + { "key": "tomato_paste", "qty": 10, "unit": "g" }, + { "key": "parmesan", "qty": 15, "unit": "g", "note": "gerieben" }, + { "key": "olive_oil", "qty": 5, "unit": "ml", "staple": true }, + { "key": "oregano", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Zwiebel, Knoblauch und Möhre fein würfeln." }, + { "text": "Hackfleisch in Olivenöl krümelig anbraten, Gemüse dazugeben und 5 Minuten mitbraten.", "timer_seconds": 300 }, + { "text": "Tomatenmark kurz mitrösten, dann die gehackten Tomaten und Oregano dazugeben." }, + { "text": "Die Soße mit Salz und Pfeffer würzen und bei kleiner Hitze 30 Minuten köcheln lassen.", "timer_seconds": 1800 }, + { "text": "Spaghetti in reichlich Salzwasser bissfest kochen und abgießen.", "timer_seconds": 600 }, + { "text": "Spaghetti mit der Soße anrichten und mit Parmesan bestreuen." } + ] + }, + { + "key": "de_kartoffelsuppe_mit_wuerstchen", + "locale": "de", + "title": "Kartoffelsuppe mit Würstchen", + "base": "none", + "tags": ["soup", "one_pot", "kids_favorite"], + "effort_minutes": 45, + "ingredients": [ + { "key": "floury_potato", "qty": 250, "unit": "g", "note": "geschält und gewürfelt" }, + { "key": "soup_greens", "qty": 0.25, "unit": "piece", "note": "Möhre, Sellerie und Lauch, gewürfelt" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "vegetable_stock", "qty": 300, "unit": "ml" }, + { "key": "frankfurters", "qty": 1.5, "unit": "piece", "note": "in Scheiben" }, + { "key": "cream", "qty": 25, "unit": "ml" }, + { "key": "parsley", "qty": 0.125, "unit": "piece", "note": "gehackt" }, + { "key": "butter", "qty": 5, "unit": "g", "staple": true }, + { "key": "marjoram", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "nutmeg", "qty": 0.1, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Kartoffeln schälen und würfeln, Suppengrün und Zwiebel putzen und klein schneiden." }, + { "text": "Zwiebel und Suppengrün in Butter 3 Minuten andünsten.", "timer_seconds": 180 }, + { "text": "Kartoffeln dazugeben, mit Gemüsebrühe aufgießen und zugedeckt 20 Minuten köcheln lassen.", "timer_seconds": 1200 }, + { "text": "Etwa die Hälfte der Suppe grob zerstampfen oder pürieren, Sahne unterrühren." }, + { "text": "Würstchen in Scheiben schneiden und 5 Minuten in der Suppe erwärmen, nicht mehr kochen lassen.", "timer_seconds": 300 }, + { "text": "Mit Majoran, Muskat, Salz und Pfeffer abschmecken und mit Petersilie bestreuen." } + ] + }, + { + "key": "de_linseneintopf", + "locale": "de", + "title": "Linseneintopf", + "base": "none", + "tags": ["vegetarian", "one_pot", "soup"], + "effort_minutes": 60, + "ingredients": [ + { "key": "brown_lentils", "qty": 70, "unit": "g", "note": "Tellerlinsen" }, + { "key": "potato", "qty": 150, "unit": "g", "note": "gewürfelt" }, + { "key": "soup_greens", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "vegetable_stock", "qty": 350, "unit": "ml" }, + { "key": "tomato_paste", "qty": 5, "unit": "g" }, + { "key": "white_wine_vinegar", "qty": 5, "unit": "ml" }, + { "key": "bay_leaves", "qty": 0.25, "unit": "piece", "staple": true }, + { "key": "sunflower_oil", "qty": 5, "unit": "ml", "staple": true }, + { "key": "marjoram", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "sugar", "qty": 1, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Zwiebel, Suppengrün und Kartoffeln schälen bzw. putzen und würfeln." }, + { "text": "Zwiebel und Suppengrün im Öl 3 Minuten andünsten, Tomatenmark kurz mitrösten.", "timer_seconds": 180 }, + { "text": "Linsen, Kartoffeln, Lorbeer und Gemüsebrühe dazugeben und aufkochen." }, + { "text": "Zugedeckt bei mittlerer Hitze 35 Minuten köcheln lassen, bis die Linsen weich sind.", "timer_seconds": 2100 }, + { "text": "Lorbeerblatt entfernen, mit Essig, einer Prise Zucker, Majoran, Salz und Pfeffer abschmecken." } + ] + }, + { + "key": "de_pfannkuchen_mit_apfelmus", + "locale": "de", + "title": "Pfannkuchen mit Apfelmus", + "base": "none", + "tags": ["vegetarian", "sweet", "kids_favorite", "quick"], + "effort_minutes": 30, + "ingredients": [ + { "key": "flour", "qty": 60, "unit": "g", "staple": true }, + { "key": "milk", "qty": 125, "unit": "ml" }, + { "key": "egg", "qty": 1, "unit": "piece" }, + { "key": "applesauce", "qty": 150, "unit": "g" }, + { "key": "sugar", "qty": 5, "unit": "g", "staple": true }, + { "key": "salt", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "sunflower_oil", "qty": 10, "unit": "ml", "staple": true }, + { "key": "cinnamon", "qty": 0.3, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Mehl, Milch, Eier, Zucker und eine Prise Salz zu einem glatten Teig verrühren." }, + { "text": "Den Teig 10 Minuten quellen lassen.", "timer_seconds": 600 }, + { "text": "Etwas Öl in einer Pfanne erhitzen und eine dünne Schicht Teig hineingeben." }, + { "text": "Jeden Pfannkuchen von beiden Seiten goldbraun backen, etwa 2 Minuten pro Seite.", "timer_seconds": 120 }, + { "text": "Pfannkuchen mit Apfelmus und etwas Zimt servieren." } + ] + }, + { + "key": "de_haehnchen_curry_mit_reis", + "locale": "de", + "title": "Hähnchen-Curry mit Reis", + "base": "rice", + "tags": ["quick", "kids_favorite"], + "effort_minutes": 30, + "ingredients": [ + { "key": "basmati_rice", "qty": 75, "unit": "g" }, + { "key": "chicken_breast", "qty": 125, "unit": "g", "note": "in Würfeln" }, + { "key": "coconut_milk", "qty": 100, "unit": "ml" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "garlic", "qty": 0.5, "unit": "piece", "note": "fein gehackt" }, + { "key": "bell_pepper_red", "qty": 0.5, "unit": "piece", "note": "in Streifen" }, + { "key": "frozen_peas", "qty": 30, "unit": "g" }, + { "key": "curry_powder", "qty": 3, "unit": "g", "staple": true }, + { "key": "sunflower_oil", "qty": 5, "unit": "ml", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Reis nach Packungsangabe in Salzwasser garen.", "timer_seconds": 720 }, + { "text": "Hähnchen würfeln, Zwiebel und Knoblauch hacken, Paprika in Streifen schneiden." }, + { "text": "Hähnchen im Öl 5 Minuten rundum anbraten, Zwiebel und Knoblauch kurz mitbraten.", "timer_seconds": 300 }, + { "text": "Currypulver darüberstäuben, kurz anschwitzen und mit Kokosmilch ablöschen." }, + { "text": "Paprika und Erbsen dazugeben und 8 Minuten köcheln lassen, mit Salz abschmecken.", "timer_seconds": 480 }, + { "text": "Das Curry mit dem Reis servieren." } + ] + }, + { + "key": "de_rindergulasch_mit_nudeln", + "locale": "de", + "title": "Rindergulasch mit Nudeln", + "base": "pasta", + "tags": [], + "effort_minutes": 135, + "ingredients": [ + { "key": "beef_stew", "qty": 150, "unit": "g", "note": "in Würfeln" }, + { "key": "onion", "qty": 1, "unit": "piece", "note": "in Streifen" }, + { "key": "egg_noodles", "qty": 100, "unit": "g", "note": "Bandnudeln" }, + { "key": "tomato_paste", "qty": 10, "unit": "g" }, + { "key": "beef_stock", "qty": 150, "unit": "ml" }, + { "key": "red_wine", "qty": 30, "unit": "ml", "note": "optional, sonst mehr Brühe" }, + { "key": "paprika", "qty": 3, "unit": "g", "staple": true }, + { "key": "caraway", "qty": 0.3, "unit": "g", "staple": true }, + { "key": "bay_leaves", "qty": 0.25, "unit": "piece", "staple": true }, + { "key": "clarified_butter", "qty": 8, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Fleisch trocken tupfen und Zwiebeln in Streifen schneiden." }, + { "text": "Fleisch portionsweise im Butterschmalz kräftig anbraten und herausnehmen." }, + { "text": "Zwiebeln im Bratfett 10 Minuten goldbraun schmoren, Tomatenmark und Paprikapulver kurz mitrösten.", "timer_seconds": 600 }, + { "text": "Fleisch zurückgeben, mit Rotwein und Brühe ablöschen, Kümmel und Lorbeer dazugeben." }, + { "text": "Zugedeckt bei kleiner Hitze 90 Minuten schmoren, bis das Fleisch zart ist.", "timer_seconds": 5400 }, + { "text": "Nudeln kurz vor Ende in Salzwasser bissfest kochen.", "timer_seconds": 600 }, + { "text": "Gulasch mit Salz und Pfeffer abschmecken und mit den Nudeln servieren." } + ] + }, + { + "key": "de_fischstaebchen_mit_kartoffelpueree_und_erbsen", + "locale": "de", + "title": "Fischstäbchen mit Kartoffelpüree und Erbsen", + "base": "potato", + "tags": ["fish", "kids_favorite", "quick"], + "effort_minutes": 30, + "ingredients": [ + { "key": "fish_fingers", "qty": 5, "unit": "piece" }, + { "key": "floury_potato", "qty": 250, "unit": "g" }, + { "key": "milk", "qty": 60, "unit": "ml" }, + { "key": "butter", "qty": 15, "unit": "g" }, + { "key": "frozen_peas", "qty": 100, "unit": "g" }, + { "key": "nutmeg", "qty": 0.1, "unit": "g", "staple": true }, + { "key": "sunflower_oil", "qty": 10, "unit": "ml", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Kartoffeln schälen, würfeln und in Salzwasser 20 Minuten weich kochen.", "timer_seconds": 1200 }, + { "text": "Erbsen mit etwas Wasser und einem Stück Butter 5 Minuten garen.", "timer_seconds": 300 }, + { "text": "Fischstäbchen im Öl von jeder Seite 4 Minuten goldbraun braten.", "timer_seconds": 240 }, + { "text": "Kartoffeln abgießen, Milch und restliche Butter dazugeben und zu Püree stampfen." }, + { "text": "Püree mit Salz und Muskat abschmecken und mit Fischstäbchen und Erbsen servieren." } + ] + }, + { + "key": "de_lasagne", + "locale": "de", + "title": "Lasagne", + "base": "pasta", + "tags": ["oven", "kids_favorite"], + "effort_minutes": 90, + "ingredients": [ + { "key": "lasagne_sheets", "qty": 65, "unit": "g" }, + { "key": "ground_mixed", "qty": 125, "unit": "g" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "fein gewürfelt" }, + { "key": "garlic", "qty": 0.5, "unit": "piece", "note": "fein gehackt" }, + { "key": "chopped_tomatoes", "qty": 200, "unit": "g" }, + { "key": "tomato_paste", "qty": 10, "unit": "g" }, + { "key": "milk", "qty": 125, "unit": "ml", "note": "für die Béchamel" }, + { "key": "butter", "qty": 10, "unit": "g", "note": "für die Béchamel" }, + { "key": "flour", "qty": 10, "unit": "g", "staple": true }, + { "key": "grated_cheese", "qty": 40, "unit": "g" }, + { "key": "olive_oil", "qty": 5, "unit": "ml", "staple": true }, + { "key": "italian_herbs", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "nutmeg", "qty": 0.1, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Hackfleisch in Olivenöl krümelig anbraten, Zwiebel und Knoblauch mitbraten." }, + { "text": "Tomatenmark, gehackte Tomaten und Kräuter dazugeben, würzen und 15 Minuten köcheln lassen.", "timer_seconds": 900 }, + { "text": "Für die Béchamel Butter schmelzen, Mehl einrühren, nach und nach Milch zugießen und 5 Minuten unter Rühren köcheln, mit Salz und Muskat würzen.", "timer_seconds": 300 }, + { "text": "Backofen auf 180 °C Ober-/Unterhitze vorheizen." }, + { "text": "In einer Auflaufform abwechselnd Hackfleischsoße, Lasagneplatten und Béchamel schichten, mit Béchamel abschließen und mit Käse bestreuen." }, + { "text": "Die Lasagne 40 Minuten backen, bis sie goldbraun ist, dann kurz ruhen lassen.", "timer_seconds": 2400 } + ] + }, + { + "key": "de_kaesespaetzle_mit_roestzwiebeln", + "locale": "de", + "title": "Käsespätzle mit Röstzwiebeln", + "base": "pasta", + "tags": ["vegetarian", "kids_favorite", "quick"], + "effort_minutes": 30, + "ingredients": [ + { "key": "spaetzle", "qty": 200, "unit": "g", "note": "frisch aus dem Kühlregal" }, + { "key": "mountain_cheese", "qty": 50, "unit": "g", "note": "gerieben" }, + { "key": "emmental", "qty": 30, "unit": "g", "note": "gerieben" }, + { "key": "onion", "qty": 0.75, "unit": "piece", "note": "in feinen Ringen" }, + { "key": "butter", "qty": 15, "unit": "g" }, + { "key": "chives", "qty": 0.25, "unit": "piece", "note": "in Röllchen" }, + { "key": "flour", "qty": 3, "unit": "g", "staple": true }, + { "key": "salt", "qty": 1, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Zwiebeln in feine Ringe schneiden und leicht mit Mehl bestäuben." }, + { "text": "Zwiebeln in der Hälfte der Butter 10 Minuten goldbraun und knusprig rösten, herausnehmen.", "timer_seconds": 600 }, + { "text": "Restliche Butter in der Pfanne schmelzen und die Spätzle darin 5 Minuten anbraten.", "timer_seconds": 300 }, + { "text": "Bergkäse und Emmentaler lagenweise unterheben, bis der Käse geschmolzen ist." }, + { "text": "Mit Pfeffer würzen, mit Röstzwiebeln und Schnittlauch bestreuen und sofort servieren." } + ] + }, + { + "key": "de_chili_con_carne", + "locale": "de", + "title": "Chili con Carne", + "base": "none", + "tags": ["one_pot"], + "effort_minutes": 50, + "ingredients": [ + { "key": "ground_beef", "qty": 125, "unit": "g" }, + { "key": "kidney_beans", "qty": 100, "unit": "g", "note": "abgetropft" }, + { "key": "sweetcorn", "qty": 50, "unit": "g", "note": "abgetropft" }, + { "key": "chopped_tomatoes", "qty": 200, "unit": "g" }, + { "key": "onion", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "garlic", "qty": 0.5, "unit": "piece", "note": "fein gehackt" }, + { "key": "bell_pepper_red", "qty": 0.25, "unit": "piece", "note": "gewürfelt" }, + { "key": "tomato_paste", "qty": 10, "unit": "g" }, + { "key": "sour_cream", "qty": 30, "unit": "g", "note": "zum Servieren" }, + { "key": "cumin", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "chili_powder", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "paprika", "qty": 1, "unit": "g", "staple": true }, + { "key": "sunflower_oil", "qty": 5, "unit": "ml", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Zwiebel, Knoblauch und Paprika würfeln." }, + { "text": "Hackfleisch im Öl krümelig anbraten, Zwiebel, Knoblauch und Paprika 3 Minuten mitbraten.", "timer_seconds": 180 }, + { "text": "Tomatenmark, Kreuzkümmel, Chili- und Paprikapulver kurz mitrösten." }, + { "text": "Gehackte Tomaten dazugeben und 20 Minuten köcheln lassen.", "timer_seconds": 1200 }, + { "text": "Kidneybohnen und Mais unterrühren, weitere 10 Minuten köcheln und mit Salz abschmecken.", "timer_seconds": 600 }, + { "text": "Chili mit einem Klecks saurer Sahne servieren." } + ] + }, + { + "key": "de_ofengemuese_mit_feta", + "locale": "de", + "title": "Ofengemüse mit Feta", + "base": "potato", + "tags": ["vegetarian", "oven"], + "effort_minutes": 50, + "ingredients": [ + { "key": "potato", "qty": 200, "unit": "g", "note": "in Spalten" }, + { "key": "zucchini", "qty": 0.5, "unit": "piece", "note": "in Scheiben" }, + { "key": "bell_pepper_red", "qty": 0.5, "unit": "piece", "note": "in Stücken" }, + { "key": "carrot", "qty": 75, "unit": "g", "note": "in Stiften" }, + { "key": "red_onion", "qty": 0.5, "unit": "piece", "note": "in Spalten" }, + { "key": "cherry_tomato", "qty": 75, "unit": "g" }, + { "key": "feta", "qty": 75, "unit": "g" }, + { "key": "olive_oil", "qty": 15, "unit": "ml", "staple": true }, + { "key": "herbes_de_provence", "qty": 1, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Backofen auf 200 °C Ober-/Unterhitze vorheizen." }, + { "text": "Kartoffeln in Spalten, Möhren in Stifte, Zucchini, Paprika und Zwiebeln in Stücke schneiden." }, + { "text": "Gemüse mit Olivenöl, Kräutern, Salz und Pfeffer auf einem Backblech vermengen." }, + { "text": "Das Gemüse 25 Minuten backen, zwischendurch einmal wenden.", "timer_seconds": 1500 }, + { "text": "Kirschtomaten dazugeben, Feta darüberbröckeln und weitere 10 Minuten backen.", "timer_seconds": 600 } + ] + }, + { + "key": "de_frikadellen_mit_bratkartoffeln", + "locale": "de", + "title": "Frikadellen mit Bratkartoffeln", + "base": "potato", + "tags": ["kids_favorite"], + "effort_minutes": 60, + "ingredients": [ + { "key": "ground_mixed", "qty": 125, "unit": "g" }, + { "key": "bread_rolls", "qty": 0.25, "unit": "piece", "note": "vom Vortag, eingeweicht" }, + { "key": "egg", "qty": 0.25, "unit": "piece" }, + { "key": "onion", "qty": 0.5, "unit": "piece", "note": "fein gewürfelt, für Hack und Kartoffeln" }, + { "key": "potato", "qty": 250, "unit": "g", "note": "festkochend, am besten vom Vortag gekocht" }, + { "key": "bacon_diced", "qty": 20, "unit": "g", "note": "optional" }, + { "key": "mustard", "qty": 5, "unit": "g", "staple": true }, + { "key": "marjoram", "qty": 0.3, "unit": "g", "staple": true }, + { "key": "paprika", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "sunflower_oil", "qty": 20, "unit": "ml", "staple": true }, + { "key": "salt", "qty": 2.5, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Kartoffeln in der Schale 20 Minuten kochen, abkühlen lassen, pellen und in Scheiben schneiden.", "timer_seconds": 1200 }, + { "text": "Brötchen in Wasser einweichen und gut ausdrücken." }, + { "text": "Hackfleisch mit Brötchen, Ei, der Hälfte der Zwiebeln, Senf, Majoran, Salz, Pfeffer und Paprikapulver verkneten und flache Frikadellen formen." }, + { "text": "Frikadellen in Öl bei mittlerer Hitze von jeder Seite 5 Minuten braten.", "timer_seconds": 300 }, + { "text": "Kartoffelscheiben in einer zweiten Pfanne in Öl 15 Minuten knusprig braten, dabei selten wenden.", "timer_seconds": 900 }, + { "text": "Speck und restliche Zwiebeln zu den Kartoffeln geben, 5 Minuten mitbraten und mit Salz und Pfeffer würzen.", "timer_seconds": 300 } + ] + }, + { + "key": "de_milchreis_mit_kirschen", + "locale": "de", + "title": "Milchreis mit Kirschen", + "base": "rice", + "tags": ["vegetarian", "sweet", "kids_favorite", "one_pot"], + "effort_minutes": 40, + "ingredients": [ + { "key": "pudding_rice", "qty": 60, "unit": "g" }, + { "key": "milk", "qty": 250, "unit": "ml" }, + { "key": "sugar", "qty": 15, "unit": "g", "staple": true }, + { "key": "vanilla_sugar", "qty": 4, "unit": "g", "staple": true }, + { "key": "cherries", "qty": 100, "unit": "g", "note": "entsteint, oder Schattenmorellen aus dem Glas samt etwas Saft" }, + { "key": "cornstarch", "qty": 3, "unit": "g", "staple": true }, + { "key": "butter", "qty": 5, "unit": "g", "staple": true }, + { "key": "salt", "qty": 0.3, "unit": "g", "staple": true }, + { "key": "cinnamon", "qty": 0.3, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Milch mit Butter, Vanillezucker, Zucker und einer Prise Salz aufkochen." }, + { "text": "Milchreis einrühren und bei kleinster Hitze zugedeckt 30 Minuten quellen lassen, dabei öfter umrühren.", "timer_seconds": 1800 }, + { "text": "Kirschen mit etwas Wasser oder Saft aufkochen." }, + { "text": "Speisestärke mit wenig kaltem Wasser anrühren, in die Kirschen rühren und 1 Minute köcheln lassen.", "timer_seconds": 60 }, + { "text": "Milchreis mit den warmen Kirschen und etwas Zimt servieren." } + ] + }, + { + "key": "de_flammkuchen", + "locale": "de", + "title": "Flammkuchen", + "base": "bread", + "tags": ["oven", "quick"], + "effort_minutes": 25, + "ingredients": [ + { "key": "flammkuchen_dough", "qty": 130, "unit": "g", "note": "aus dem Kühlregal" }, + { "key": "creme_fraiche", "qty": 60, "unit": "g" }, + { "key": "bacon_diced", "qty": 40, "unit": "g" }, + { "key": "onion", "qty": 0.5, "unit": "piece", "note": "in hauchdünnen Ringen" }, + { "key": "nutmeg", "qty": 0.1, "unit": "g", "staple": true }, + { "key": "salt", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.3, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Backofen auf 250 °C Ober-/Unterhitze vorheizen." }, + { "text": "Zwiebeln in hauchdünne Ringe schneiden." }, + { "text": "Crème fraîche mit Salz, Pfeffer und Muskat glatt rühren." }, + { "text": "Teig auf dem Backpapier ausrollen, mit der Crème fraîche bestreichen und mit Zwiebeln und Speck belegen." }, + { "text": "Den Flammkuchen auf der untersten Schiene 12 Minuten knusprig backen.", "timer_seconds": 720 } + ] + }, + { + "key": "de_lachs_mit_ofenkartoffeln_und_kraeuterquark", + "locale": "de", + "title": "Lachs mit Ofenkartoffeln und Kräuterquark", + "base": "potato", + "tags": ["fish", "oven"], + "effort_minutes": 50, + "ingredients": [ + { "key": "salmon_fillet", "qty": 130, "unit": "g" }, + { "key": "potato", "qty": 250, "unit": "g", "note": "festkochend, in Spalten" }, + { "key": "quark", "qty": 100, "unit": "g" }, + { "key": "milk", "qty": 15, "unit": "ml", "note": "für den Quark" }, + { "key": "chives", "qty": 0.25, "unit": "piece", "note": "in Röllchen" }, + { "key": "dill", "qty": 0.125, "unit": "piece", "note": "gehackt" }, + { "key": "lemon", "qty": 0.25, "unit": "piece" }, + { "key": "olive_oil", "qty": 15, "unit": "ml", "staple": true }, + { "key": "paprika", "qty": 0.5, "unit": "g", "staple": true }, + { "key": "salt", "qty": 2.5, "unit": "g", "staple": true }, + { "key": "black_pepper", "qty": 0.5, "unit": "g", "staple": true } + ], + "steps": [ + { "text": "Backofen auf 200 °C Ober-/Unterhitze vorheizen." }, + { "text": "Kartoffeln waschen, in Spalten schneiden, mit Olivenöl, Paprikapulver und Salz mischen und auf ein Backblech geben." }, + { "text": "Die Kartoffeln 20 Minuten backen.", "timer_seconds": 1200 }, + { "text": "Lachs mit Salz, Pfeffer und etwas Zitronensaft würzen, zu den Kartoffeln aufs Blech legen und 15 Minuten mitbacken.", "timer_seconds": 900 }, + { "text": "Quark mit Milch glatt rühren, Schnittlauch und Dill unterheben und mit Salz, Pfeffer und Zitrone abschmecken." }, + { "text": "Lachs mit Ofenkartoffeln, Kräuterquark und Zitronenspalten servieren." } + ] + } +] diff --git a/db/seed/starters.en.json b/db/seed/starters.en.json new file mode 100644 index 0000000..270088d --- /dev/null +++ b/db/seed/starters.en.json @@ -0,0 +1,1585 @@ +[ + { + "key": "en_shepherds_pie", + "locale": "en", + "title": "Shepherd's Pie", + "base": "potato", + "tags": [ + "kids_favorite", + "oven" + ], + "effort_minutes": 70, + "ingredients": [ + { + "key": "ground_lamb", + "qty": 125, + "unit": "g" + }, + { + "key": "onion", + "qty": 0.25, + "unit": "piece", + "note": "finely chopped" + }, + { + "key": "carrot", + "qty": 50, + "unit": "g", + "note": "finely diced" + }, + { + "key": "frozen_peas", + "qty": 30, + "unit": "g" + }, + { + "key": "tomato_paste", + "qty": 8, + "unit": "g" + }, + { + "key": "worcestershire_sauce", + "qty": 5, + "unit": "ml" + }, + { + "key": "beef_stock", + "qty": 75, + "unit": "ml", + "note": "or lamb stock if you have it" + }, + { + "key": "floury_potato", + "qty": 250, + "unit": "g", + "note": "e.g. Maris Piper" + }, + { + "key": "butter", + "qty": 10, + "unit": "g" + }, + { + "key": "milk", + "qty": 20, + "unit": "ml" + }, + { + "key": "flour", + "qty": 5, + "unit": "g", + "staple": true + }, + { + "key": "dried_thyme", + "qty": 0.5, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 5, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.5, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Peel the potatoes, cut into chunks and boil in salted water until tender.", + "timer_seconds": 1200 + }, + { + "text": "Meanwhile, heat the oil in a large pan and brown the lamb mince, breaking it up as it cooks.", + "timer_seconds": 480 + }, + { + "text": "Add the onion and carrot and soften for a few minutes, then stir in the flour, tomato paste and thyme." + }, + { + "text": "Pour in the stock and Worcestershire sauce, season and simmer until thick, stirring in the peas at the end.", + "timer_seconds": 900 + }, + { + "text": "Drain the potatoes and mash with the butter and milk until smooth. Heat the oven to 200 °C (180 °C fan)." + }, + { + "text": "Spoon the mince into an ovenproof dish, top with the mash, rough up with a fork and bake until golden.", + "timer_seconds": 1500 + } + ] + }, + { + "key": "en_macaroni_cheese", + "locale": "en", + "title": "Macaroni Cheese", + "base": "pasta", + "tags": [ + "vegetarian", + "kids_favorite", + "oven" + ], + "effort_minutes": 40, + "ingredients": [ + { + "key": "macaroni", + "qty": 100, + "unit": "g" + }, + { + "key": "butter", + "qty": 15, + "unit": "g" + }, + { + "key": "flour", + "qty": 15, + "unit": "g", + "staple": true + }, + { + "key": "milk", + "qty": 200, + "unit": "ml" + }, + { + "key": "cheddar", + "qty": 60, + "unit": "g", + "note": "mature, grated" + }, + { + "key": "mustard", + "qty": 2, + "unit": "g", + "note": "English mustard" + }, + { + "key": "breadcrumbs", + "qty": 10, + "unit": "g" + }, + { + "key": "nutmeg", + "qty": 0.1, + "unit": "g", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 200 °C (180 °C fan). Cook the macaroni in salted water until just tender, then drain.", + "timer_seconds": 600 + }, + { + "text": "Melt the butter in a saucepan, stir in the flour and cook for a minute." + }, + { + "text": "Gradually whisk in the milk and simmer, stirring, until the sauce is smooth and thick.", + "timer_seconds": 300 + }, + { + "text": "Take off the heat and stir in most of the cheddar, the mustard and nutmeg; season to taste." + }, + { + "text": "Mix the macaroni into the sauce and tip into an ovenproof dish." + }, + { + "text": "Scatter over the breadcrumbs and remaining cheese and bake until bubbling and golden.", + "timer_seconds": 1200 + } + ] + }, + { + "key": "en_oven_fish_and_chips", + "locale": "en", + "title": "Oven Fish and Chips", + "base": "potato", + "tags": [ + "fish", + "oven", + "kids_favorite" + ], + "effort_minutes": 50, + "ingredients": [ + { + "key": "cod_fillet", + "qty": 150, + "unit": "g", + "note": "skinless; haddock or pollock also work" + }, + { + "key": "floury_potato", + "qty": 250, + "unit": "g" + }, + { + "key": "flour", + "qty": 10, + "unit": "g", + "staple": true + }, + { + "key": "egg", + "qty": 0.5, + "unit": "piece", + "note": "beaten" + }, + { + "key": "breadcrumbs", + "qty": 30, + "unit": "g", + "note": "panko for extra crunch" + }, + { + "key": "frozen_peas", + "qty": 80, + "unit": "g" + }, + { + "key": "butter", + "qty": 5, + "unit": "g" + }, + { + "key": "lemon", + "qty": 0.25, + "unit": "piece", + "note": "cut into wedges" + }, + { + "key": "sunflower_oil", + "qty": 15, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 220 °C (200 °C fan). Cut the potatoes into thick chips, leaving the skins on." + }, + { + "text": "Toss the chips with most of the oil and some salt, spread out on a baking tray and roast, turning halfway.", + "timer_seconds": 2400 + }, + { + "text": "Dust the fish in seasoned flour, dip in the egg, then press into the breadcrumbs." + }, + { + "text": "Lay the fish on a second oiled tray, drizzle with the rest of the oil and bake until golden and flaky.", + "timer_seconds": 1200 + }, + { + "text": "Cook the peas in boiling water, drain and lightly crush with the butter.", + "timer_seconds": 240 + }, + { + "text": "Serve the fish and chips with the mushy peas and lemon wedges." + } + ] + }, + { + "key": "en_roast_chicken_traybake", + "locale": "en", + "title": "Roast Chicken Traybake", + "base": "potato", + "tags": [ + "oven", + "one_pot" + ], + "effort_minutes": 60, + "ingredients": [ + { + "key": "chicken_thigh", + "qty": 200, + "unit": "g", + "note": "bone-in, skin-on" + }, + { + "key": "potato", + "qty": 250, + "unit": "g", + "note": "halved new potatoes" + }, + { + "key": "carrot", + "qty": 80, + "unit": "g", + "note": "cut into batons" + }, + { + "key": "red_onion", + "qty": 0.5, + "unit": "piece", + "note": "cut into wedges" + }, + { + "key": "garlic", + "qty": 1, + "unit": "piece", + "note": "unpeeled" + }, + { + "key": "lemon", + "qty": 0.25, + "unit": "piece" + }, + { + "key": "rosemary", + "qty": 0.2, + "unit": "piece" + }, + { + "key": "olive_oil", + "qty": 15, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.5, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 200 °C (180 °C fan)." + }, + { + "text": "Put the potatoes, carrots, onion and garlic in a large roasting tin, toss with half the oil and season." + }, + { + "text": "Nestle the chicken thighs on top, skin side up, rub with the remaining oil and season well." + }, + { + "text": "Tuck in the lemon pieces and rosemary sprigs." + }, + { + "text": "Roast until the chicken is cooked through and the skin is crisp, turning the vegetables once.", + "timer_seconds": 3000 + }, + { + "text": "Squeeze the roasted lemon over everything and serve straight from the tin." + } + ] + }, + { + "key": "en_chicken_stir_fry", + "locale": "en", + "title": "Chicken Stir-Fry with Rice", + "base": "rice", + "tags": [ + "quick", + "kids_favorite" + ], + "effort_minutes": 30, + "ingredients": [ + { + "key": "long_grain_rice", + "qty": 75, + "unit": "g" + }, + { + "key": "chicken_breast", + "qty": 125, + "unit": "g", + "note": "cut into strips" + }, + { + "key": "bell_pepper_red", + "qty": 0.25, + "unit": "piece", + "note": "sliced" + }, + { + "key": "broccoli", + "qty": 60, + "unit": "g", + "note": "small florets" + }, + { + "key": "carrot", + "qty": 40, + "unit": "g", + "note": "cut into thin strips" + }, + { + "key": "spring_onion", + "qty": 1, + "unit": "piece", + "note": "sliced" + }, + { + "key": "garlic", + "qty": 1, + "unit": "piece", + "note": "crushed" + }, + { + "key": "ginger", + "qty": 5, + "unit": "g", + "note": "grated" + }, + { + "key": "soy_sauce", + "qty": 15, + "unit": "ml" + }, + { + "key": "honey", + "qty": 5, + "unit": "g" + }, + { + "key": "cornstarch", + "qty": 3, + "unit": "g", + "staple": true + }, + { + "key": "sesame_oil", + "qty": 3, + "unit": "ml", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 10, + "unit": "ml", + "staple": true + } + ], + "steps": [ + { + "text": "Cook the rice according to the packet instructions.", + "timer_seconds": 720 + }, + { + "text": "Mix the soy sauce, honey, sesame oil, cornflour and a splash of water in a small bowl." + }, + { + "text": "Heat the sunflower oil in a wok until very hot and stir-fry the chicken until browned and cooked through.", + "timer_seconds": 300 + }, + { + "text": "Add the carrot, broccoli and pepper and stir-fry until just tender, then add the garlic and ginger.", + "timer_seconds": 240 + }, + { + "text": "Pour in the sauce and toss until glossy and thickened.", + "timer_seconds": 60 + }, + { + "text": "Scatter over the spring onion and serve with the rice." + } + ] + }, + { + "key": "en_beef_chilli", + "locale": "en", + "title": "Beef Chilli", + "base": "rice", + "tags": [], + "effort_minutes": 60, + "ingredients": [ + { + "key": "ground_beef", + "qty": 125, + "unit": "g" + }, + { + "key": "onion", + "qty": 0.25, + "unit": "piece", + "note": "chopped" + }, + { + "key": "garlic", + "qty": 1, + "unit": "piece", + "note": "crushed" + }, + { + "key": "bell_pepper_red", + "qty": 0.25, + "unit": "piece", + "note": "diced" + }, + { + "key": "chopped_tomatoes", + "qty": 100, + "unit": "g" + }, + { + "key": "kidney_beans", + "qty": 60, + "unit": "g", + "note": "drained" + }, + { + "key": "tomato_paste", + "qty": 8, + "unit": "g" + }, + { + "key": "beef_stock", + "qty": 50, + "unit": "ml" + }, + { + "key": "long_grain_rice", + "qty": 75, + "unit": "g" + }, + { + "key": "chili_powder", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "cumin", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "smoked_paprika", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "oregano", + "qty": 0.3, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 5, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oil in a large pan and soften the onion and pepper.", + "timer_seconds": 300 + }, + { + "text": "Add the mince and cook until browned, then stir in the garlic, chilli powder, cumin, paprika and oregano.", + "timer_seconds": 480 + }, + { + "text": "Add the tomato paste, chopped tomatoes and stock, bring to the boil and simmer gently.", + "timer_seconds": 1800 + }, + { + "text": "Stir in the kidney beans and simmer until heated through; season to taste.", + "timer_seconds": 600 + }, + { + "text": "Meanwhile, cook the rice according to the packet instructions.", + "timer_seconds": 720 + }, + { + "text": "Serve the chilli spooned over the rice." + } + ] + }, + { + "key": "en_tomato_soup_cheese_toasties", + "locale": "en", + "title": "Tomato Soup with Cheese Toasties", + "base": "bread", + "tags": [ + "vegetarian", + "soup", + "kids_favorite" + ], + "effort_minutes": 40, + "ingredients": [ + { + "key": "chopped_tomatoes", + "qty": 200, + "unit": "g" + }, + { + "key": "onion", + "qty": 0.25, + "unit": "piece", + "note": "chopped" + }, + { + "key": "carrot", + "qty": 30, + "unit": "g", + "note": "chopped" + }, + { + "key": "garlic", + "qty": 0.5, + "unit": "piece" + }, + { + "key": "tomato_paste", + "qty": 5, + "unit": "g" + }, + { + "key": "vegetable_stock", + "qty": 150, + "unit": "ml" + }, + { + "key": "cream", + "qty": 15, + "unit": "ml", + "note": "optional" + }, + { + "key": "toast_bread", + "qty": 70, + "unit": "g", + "note": "2 slices" + }, + { + "key": "cheddar", + "qty": 40, + "unit": "g", + "note": "grated" + }, + { + "key": "butter", + "qty": 10, + "unit": "g" + }, + { + "key": "dried_basil", + "qty": 0.3, + "unit": "g", + "staple": true + }, + { + "key": "sugar", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "olive_oil", + "qty": 5, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oil in a saucepan and gently soften the onion, carrot and garlic.", + "timer_seconds": 480 + }, + { + "text": "Stir in the tomato paste, chopped tomatoes, stock, basil and sugar, then simmer.", + "timer_seconds": 1200 + }, + { + "text": "Blend the soup until smooth, stir in the cream and season to taste." + }, + { + "text": "Butter the outsides of the bread and sandwich the cheddar between the slices." + }, + { + "text": "Fry the toasties in a hot pan until golden on both sides and the cheese has melted.", + "timer_seconds": 360 + }, + { + "text": "Cut the toasties into soldiers and serve with the hot soup." + } + ] + }, + { + "key": "en_pancakes", + "locale": "en", + "title": "Pancakes", + "base": "none", + "tags": [ + "vegetarian", + "sweet", + "quick", + "kids_favorite" + ], + "effort_minutes": 30, + "ingredients": [ + { + "key": "flour", + "qty": 60, + "unit": "g", + "note": "plain flour" + }, + { + "key": "egg", + "qty": 0.5, + "unit": "piece" + }, + { + "key": "milk", + "qty": 150, + "unit": "ml" + }, + { + "key": "sugar", + "qty": 10, + "unit": "g", + "note": "for sprinkling" + }, + { + "key": "lemon", + "qty": 0.25, + "unit": "piece", + "note": "for squeezing" + }, + { + "key": "salt", + "qty": 0.2, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 5, + "unit": "ml", + "staple": true + } + ], + "steps": [ + { + "text": "Put the flour and salt in a bowl, make a well and crack in the eggs." + }, + { + "text": "Whisk in the milk a little at a time until you have a smooth, thin batter, then rest it.", + "timer_seconds": 600 + }, + { + "text": "Heat a frying pan over a medium heat and wipe with a little oil." + }, + { + "text": "Pour in a small ladle of batter and swirl to coat the pan thinly; cook until golden underneath.", + "timer_seconds": 60 + }, + { + "text": "Flip the pancake and cook the other side, then repeat with the rest of the batter.", + "timer_seconds": 30 + }, + { + "text": "Serve sprinkled with sugar and a squeeze of lemon." + } + ] + }, + { + "key": "en_fish_pie", + "locale": "en", + "title": "Fish Pie", + "base": "potato", + "tags": [ + "fish", + "oven" + ], + "effort_minutes": 75, + "ingredients": [ + { + "key": "cod_fillet", + "qty": 75, + "unit": "g", + "note": "skinless" + }, + { + "key": "smoked_haddock", + "qty": 60, + "unit": "g", + "note": "skinless" + }, + { + "key": "prawns", + "qty": 30, + "unit": "g", + "note": "cooked, peeled" + }, + { + "key": "milk", + "qty": 200, + "unit": "ml" + }, + { + "key": "butter", + "qty": 25, + "unit": "g" + }, + { + "key": "flour", + "qty": 15, + "unit": "g", + "staple": true + }, + { + "key": "floury_potato", + "qty": 250, + "unit": "g" + }, + { + "key": "frozen_peas", + "qty": 30, + "unit": "g" + }, + { + "key": "parsley", + "qty": 0.1, + "unit": "piece", + "note": "chopped" + }, + { + "key": "cheddar", + "qty": 20, + "unit": "g", + "note": "grated" + }, + { + "key": "bay_leaves", + "qty": 0.25, + "unit": "piece", + "staple": true + }, + { + "key": "nutmeg", + "qty": 0.1, + "unit": "g", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Peel the potatoes, cut into chunks and boil in salted water until tender.", + "timer_seconds": 1200 + }, + { + "text": "Meanwhile, poach the cod and haddock in most of the milk with the bay leaf, then lift out the fish and keep the milk.", + "timer_seconds": 480 + }, + { + "text": "Melt most of the butter, stir in the flour, then gradually whisk in the poaching milk to make a thick sauce.", + "timer_seconds": 300 + }, + { + "text": "Flake the fish into an ovenproof dish with the prawns, peas and parsley, and pour over the sauce." + }, + { + "text": "Mash the potatoes with the rest of the butter and milk and a little nutmeg, then spread over the fish. Heat the oven to 200 °C (180 °C fan)." + }, + { + "text": "Scatter over the cheddar and bake until golden and bubbling.", + "timer_seconds": 1800 + } + ] + }, + { + "key": "en_bangers_and_mash", + "locale": "en", + "title": "Bangers and Mash with Onion Gravy", + "base": "potato", + "tags": [ + "kids_favorite" + ], + "effort_minutes": 45, + "ingredients": [ + { + "key": "pork_sausages", + "qty": 2, + "unit": "piece" + }, + { + "key": "floury_potato", + "qty": 250, + "unit": "g" + }, + { + "key": "butter", + "qty": 15, + "unit": "g" + }, + { + "key": "milk", + "qty": 30, + "unit": "ml" + }, + { + "key": "onion", + "qty": 0.5, + "unit": "piece", + "note": "thinly sliced" + }, + { + "key": "beef_stock", + "qty": 125, + "unit": "ml" + }, + { + "key": "worcestershire_sauce", + "qty": 3, + "unit": "ml" + }, + { + "key": "flour", + "qty": 5, + "unit": "g", + "staple": true + }, + { + "key": "brown_sugar", + "qty": 2, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 10, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 200 °C (180 °C fan), put the sausages on a tray with a little oil and roast, turning once.", + "timer_seconds": 1800 + }, + { + "text": "Peel the potatoes, cut into chunks and boil in salted water until tender.", + "timer_seconds": 1200 + }, + { + "text": "Meanwhile, cook the onions slowly in the rest of the oil with the sugar until soft and golden.", + "timer_seconds": 900 + }, + { + "text": "Stir the flour into the onions, then add the stock and Worcestershire sauce and simmer until thickened.", + "timer_seconds": 300 + }, + { + "text": "Drain the potatoes and mash with the butter and milk; season to taste." + }, + { + "text": "Serve the sausages on the mash with plenty of onion gravy." + } + ] + }, + { + "key": "en_jacket_potatoes", + "locale": "en", + "title": "Jacket Potatoes with Beans and Cheese", + "base": "potato", + "tags": [ + "vegetarian", + "oven", + "kids_favorite" + ], + "effort_minutes": 75, + "ingredients": [ + { + "key": "floury_potato", + "qty": 300, + "unit": "g", + "note": "one large baking potato" + }, + { + "key": "baked_beans", + "qty": 150, + "unit": "g" + }, + { + "key": "cheddar", + "qty": 40, + "unit": "g", + "note": "grated" + }, + { + "key": "butter", + "qty": 10, + "unit": "g" + }, + { + "key": "olive_oil", + "qty": 3, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 0.5, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.2, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 200 °C (180 °C fan)." + }, + { + "text": "Prick the potatoes all over with a fork, rub with the oil and sprinkle with salt." + }, + { + "text": "Bake directly on the oven shelf until the skins are crisp and the insides are soft.", + "timer_seconds": 3900 + }, + { + "text": "A few minutes before serving, warm the baked beans in a small pan.", + "timer_seconds": 300 + }, + { + "text": "Cut a cross in the top of each potato, squeeze open and add a knob of butter." + }, + { + "text": "Spoon over the beans, top with the cheddar and serve." + } + ] + }, + { + "key": "en_chicken_fajitas", + "locale": "en", + "title": "Chicken Fajitas", + "base": "bread", + "tags": [ + "quick", + "kids_favorite" + ], + "effort_minutes": 30, + "ingredients": [ + { + "key": "chicken_breast", + "qty": 125, + "unit": "g", + "note": "cut into strips" + }, + { + "key": "bell_pepper_red", + "qty": 0.25, + "unit": "piece", + "note": "sliced" + }, + { + "key": "bell_pepper_green", + "qty": 0.25, + "unit": "piece", + "note": "sliced" + }, + { + "key": "red_onion", + "qty": 0.25, + "unit": "piece", + "note": "sliced" + }, + { + "key": "tortilla_wraps", + "qty": 2, + "unit": "piece" + }, + { + "key": "lime", + "qty": 0.25, + "unit": "piece" + }, + { + "key": "sour_cream", + "qty": 30, + "unit": "g" + }, + { + "key": "cheddar", + "qty": 25, + "unit": "g", + "note": "grated" + }, + { + "key": "salsa_dip", + "qty": 30, + "unit": "g" + }, + { + "key": "avocado", + "qty": 0.25, + "unit": "piece", + "note": "sliced" + }, + { + "key": "fajita_seasoning", + "qty": 5, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 10, + "unit": "ml", + "staple": true + } + ], + "steps": [ + { + "text": "Toss the chicken with the fajita seasoning and half the oil." + }, + { + "text": "Heat the rest of the oil in a large frying pan and cook the peppers and onion until softened and charred.", + "timer_seconds": 300 + }, + { + "text": "Push the vegetables aside, add the chicken and cook until cooked through.", + "timer_seconds": 420 + }, + { + "text": "Squeeze over the lime and toss everything together." + }, + { + "text": "Warm the tortilla wraps in a dry pan or the microwave.", + "timer_seconds": 60 + }, + { + "text": "Serve with the soured cream, salsa, cheddar and avocado so everyone can fill their own." + } + ] + }, + { + "key": "en_vegetable_curry", + "locale": "en", + "title": "Vegetable Curry with Rice", + "base": "rice", + "tags": [ + "vegetarian", + "vegan" + ], + "effort_minutes": 45, + "ingredients": [ + { + "key": "basmati_rice", + "qty": 75, + "unit": "g" + }, + { + "key": "onion", + "qty": 0.25, + "unit": "piece", + "note": "chopped" + }, + { + "key": "garlic", + "qty": 1, + "unit": "piece", + "note": "crushed" + }, + { + "key": "ginger", + "qty": 5, + "unit": "g", + "note": "grated" + }, + { + "key": "sweet_potato", + "qty": 100, + "unit": "g", + "note": "diced" + }, + { + "key": "cauliflower", + "qty": 0.1, + "unit": "piece", + "note": "small florets" + }, + { + "key": "chickpeas", + "qty": 60, + "unit": "g", + "note": "drained" + }, + { + "key": "chopped_tomatoes", + "qty": 100, + "unit": "g" + }, + { + "key": "coconut_milk", + "qty": 100, + "unit": "ml" + }, + { + "key": "spinach", + "qty": 30, + "unit": "g" + }, + { + "key": "coriander", + "qty": 0.1, + "unit": "piece", + "note": "to serve" + }, + { + "key": "curry_powder", + "qty": 4, + "unit": "g", + "staple": true + }, + { + "key": "garam_masala", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "turmeric", + "qty": 0.5, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 10, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oil in a large pan and soften the onion, then add the garlic and ginger.", + "timer_seconds": 420 + }, + { + "text": "Stir in the curry powder, turmeric and garam masala and cook for a minute until fragrant.", + "timer_seconds": 60 + }, + { + "text": "Add the sweet potato, cauliflower, chopped tomatoes and coconut milk, cover and simmer until tender.", + "timer_seconds": 1200 + }, + { + "text": "Meanwhile, rinse the rice and cook according to the packet instructions.", + "timer_seconds": 720 + }, + { + "text": "Stir the chickpeas and spinach into the curry and heat until the spinach has wilted; season with salt.", + "timer_seconds": 180 + }, + { + "text": "Serve the curry over the rice, scattered with coriander." + } + ] + }, + { + "key": "en_spaghetti_bolognese", + "locale": "en", + "title": "Spaghetti Bolognese", + "base": "pasta", + "tags": [ + "kids_favorite" + ], + "effort_minutes": 60, + "ingredients": [ + { + "key": "spaghetti", + "qty": 100, + "unit": "g" + }, + { + "key": "ground_beef", + "qty": 125, + "unit": "g" + }, + { + "key": "onion", + "qty": 0.25, + "unit": "piece", + "note": "finely chopped" + }, + { + "key": "carrot", + "qty": 30, + "unit": "g", + "note": "finely diced" + }, + { + "key": "celery", + "qty": 0.25, + "unit": "piece", + "note": "finely diced" + }, + { + "key": "garlic", + "qty": 1, + "unit": "piece", + "note": "crushed" + }, + { + "key": "chopped_tomatoes", + "qty": 100, + "unit": "g" + }, + { + "key": "tomato_paste", + "qty": 8, + "unit": "g" + }, + { + "key": "beef_stock", + "qty": 50, + "unit": "ml" + }, + { + "key": "parmesan", + "qty": 10, + "unit": "g", + "note": "grated, to serve" + }, + { + "key": "oregano", + "qty": 0.3, + "unit": "g", + "staple": true + }, + { + "key": "olive_oil", + "qty": 5, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 1, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.3, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oil in a large pan and gently soften the onion, carrot and celery.", + "timer_seconds": 480 + }, + { + "text": "Add the garlic and mince and cook until the meat is browned all over.", + "timer_seconds": 480 + }, + { + "text": "Stir in the tomato paste, chopped tomatoes, stock and oregano, then simmer gently, stirring now and then.", + "timer_seconds": 1800 + }, + { + "text": "Meanwhile, cook the spaghetti in plenty of salted water until al dente, then drain.", + "timer_seconds": 600 + }, + { + "text": "Season the sauce and serve over the spaghetti with grated Parmesan." + } + ] + }, + { + "key": "en_toad_in_the_hole", + "locale": "en", + "title": "Toad in the Hole", + "base": "none", + "tags": [ + "oven", + "kids_favorite" + ], + "effort_minutes": 60, + "ingredients": [ + { + "key": "pork_sausages", + "qty": 2, + "unit": "piece" + }, + { + "key": "flour", + "qty": 40, + "unit": "g", + "note": "plain flour" + }, + { + "key": "egg", + "qty": 1, + "unit": "piece" + }, + { + "key": "milk", + "qty": 60, + "unit": "ml" + }, + { + "key": "mustard", + "qty": 2, + "unit": "g", + "note": "English mustard" + }, + { + "key": "gravy", + "qty": 80, + "unit": "ml", + "note": "ready-made or from granules" + }, + { + "key": "frozen_peas", + "qty": 60, + "unit": "g" + }, + { + "key": "dried_thyme", + "qty": 0.3, + "unit": "g", + "staple": true + }, + { + "key": "sunflower_oil", + "qty": 10, + "unit": "ml", + "staple": true + }, + { + "key": "salt", + "qty": 0.5, + "unit": "g", + "staple": true + }, + { + "key": "black_pepper", + "qty": 0.2, + "unit": "g", + "staple": true + } + ], + "steps": [ + { + "text": "Heat the oven to 220 °C (200 °C fan)." + }, + { + "text": "Whisk the flour, eggs, milk, mustard, thyme and a pinch of salt into a smooth batter and leave to rest." + }, + { + "text": "Put the sausages and oil in a roasting tin and cook until starting to brown.", + "timer_seconds": 600 + }, + { + "text": "Quickly pour the batter around the sausages in the hot tin and return to the oven." + }, + { + "text": "Bake without opening the door until the batter is risen, crisp and golden.", + "timer_seconds": 1800 + }, + { + "text": "Cook the peas, heat the gravy and serve with the toad in the hole.", + "timer_seconds": 300 + } + ] + } +] diff --git a/docs/PROJEKTSTART.md b/docs/PROJEKTSTART.md index 3d5b13c..acb49b4 100644 --- a/docs/PROJEKTSTART.md +++ b/docs/PROJEKTSTART.md @@ -49,6 +49,7 @@ Das Repo erbt sie, weil es in der Organisation liegt. 2. **Datenmodell** als Migrationen (22 Tabellen, RLS mit FORCE), Test mit zwei Haushalten; Sicherung nach `/app/data`. **Erledigt** in 26.11.3 (E-0007, E-0008); `dish_costs` folgt mit V2. 3. **Seed:** etwa 300 kanonische Zutaten in vier Sprachen, Starter-Pool DE und EN, Gangfolgen REWE, Edeka, Lidl, Aldi. + **Erledigt** in 26.11.5 (340 Zutaten, je 15 Starter, fünf Gangfolgen; Einspielen bei jedem Start). 4. **Gerichte:** von Hand, Import per JSON-LD, Foto-Import über LiteLLM. 5. **Wünschen:** Jetons, Kacheln, Kinder-Login mit Haushaltscode und PIN. 6. **Runde und Slots:** `lib/suggest.ts` mit Tests, Drag and Drop, Freigabe. diff --git a/e2e/ablauf.spec.ts b/e2e/ablauf.spec.ts new file mode 100644 index 0000000..cbabde2 --- /dev/null +++ b/e2e/ablauf.spec.ts @@ -0,0 +1,139 @@ +import { existsSync } from "node:fs"; +import path from "node:path"; +import { expect, test, type Browser, type BrowserContext, type Page } from "@playwright/test"; +import { DATA, codeFrom, passkey } from "./hilfen"; + +// Der ganze Weg einer Familie am iPhone, mit virtuellem Passkey: einrichten, +// einladen, abmelden, anmelden, weiteres Gerät, entfernen, Rückweg. Läuft +// gegen eine leere Datenbank und legt am Ende Kais Sitzung für den Rundgang ab. +test.describe.configure({ mode: "serial" }); + +type Person = { context: BrowserContext; page: Page }; +let kai: Person; +let maike: Person; +let tablet: Person; +let inviteLink = ""; + +async function person(browser: Browser, colorScheme: "light" | "dark" = "light"): Promise { + const context = await browser.newContext({ ...test.info().project.use, colorScheme }); + const page = await context.newPage(); + await passkey(context, page); + return { context, page }; +} + +const alert = (p: Page) => p.locator("main [role=alert]"); + +test("an empty app leads to setup and rejects a wrong code", async ({ browser }) => { + kai = await person(browser); + await kai.page.goto("/"); + await expect(kai.page).toHaveURL(/\/einrichten$/); + expect(existsSync(path.join(DATA, "lunch-einrichten.txt"))).toBe(true); + await kai.page.fill("#code", "AAAA-BBBB-CCCC-DDDD"); + await kai.page.fill("#name", "Kai"); + await kai.page.fill("#household", "Familie Böhm"); + await kai.page.getByRole("button", { name: "Passkey anlegen und loslegen" }).click(); + await expect(alert(kai.page)).toContainText("Einrichtungscode stimmt nicht"); +}); + +test("setup with the code and a passkey opens Today", async () => { + await kai.page.fill("#code", codeFrom("lunch-einrichten.txt").toLowerCase()); + await kai.page.getByRole("button", { name: "Passkey anlegen und loslegen" }).click(); + await expect(kai.page).toHaveURL(/\/$/); + await expect(kai.page.getByRole("heading", { level: 1 })).toHaveText("Hallo Kai"); + expect(existsSync(path.join(DATA, "lunch-einrichten.txt"))).toBe(false); +}); + +test("setup is closed afterwards", async ({ browser }) => { + const other = await browser.newPage(); + await other.goto("/einrichten"); + await expect(other).toHaveURL(/\/anmelden$/); + await other.close(); +}); + +test("an admin invites a member by a single-use link", async ({ browser }) => { + await kai.page.getByRole("link", { name: "Mehr" }).click(); + await kai.page.fill("#invite-name", "Maike"); + await kai.page.getByRole("button", { name: "Link erstellen" }).first().click(); + inviteLink = await kai.page.locator("input[readonly]").inputValue(); + expect(inviteLink).toContain("/einladung/"); + + maike = await person(browser, "dark"); + await maike.page.goto(inviteLink); + await expect(maike.page.locator("#name")).toHaveValue("Maike"); + await maike.page.getByRole("button", { name: "Passkey anlegen" }).click(); + await expect(maike.page).toHaveURL(/\/$/); + await maike.page.goto("/mehr"); + await expect(maike.page.locator("#invite-name")).toHaveCount(0); + await expect(maike.page.locator("main")).toContainText("Kai"); + + const again = await person(browser); + await again.page.goto(inviteLink); + await expect(again.page.getByRole("heading", { level: 1 })).toContainText("gilt nicht mehr"); + await again.context.close(); +}); + +test("sign out and back in with the passkey", async () => { + await kai.page.goto("/mehr"); + await kai.page.getByRole("button", { name: "Abmelden" }).click(); + await expect(kai.page).toHaveURL(/\/anmelden$/); + await kai.page.goto("/"); + await expect(kai.page).toHaveURL(/\/anmelden$/); + await kai.page.getByRole("button", { name: "Mit Passkey anmelden" }).click(); + await expect(kai.page).toHaveURL(/\/$/); +}); + +test("a second device joins by a device link, and a foreign origin is refused", async ({ browser }) => { + await kai.page.goto("/mehr"); + await kai.page.getByRole("button", { name: "Link erstellen" }).last().click(); + const link = await kai.page.locator("input[readonly]").last().inputValue(); + tablet = await person(browser); + await tablet.page.goto(link); + await expect(tablet.page.locator("#name")).toHaveCount(0); + await tablet.page.getByRole("button", { name: "Passkey anlegen" }).click(); + await expect(tablet.page).toHaveURL(/\/$/); + + const foreign = await tablet.page.request.post("/api/household/invitations", { + headers: { origin: "https://boese.example", "content-type": "application/json" }, + data: { kind: "device" }, + }); + expect(foreign.status()).toBe(403); +}); + +test("removing a device or a person signs them out at once", async () => { + await kai.page.goto("/mehr"); + const devices = kai.page.locator("section", { hasText: "Deine Passkeys" }); + await devices.getByRole("button", { name: "Entfernen" }).last().click(); + await kai.page.getByRole("button", { name: "Wirklich entfernen" }).click(); + await expect(devices.getByRole("button", { name: "Entfernen" })).toHaveCount(0); + await tablet.page.goto("/"); + await expect(tablet.page).toHaveURL(/\/anmelden$/); + + await kai.page.locator("li", { hasText: "Maike" }).getByRole("button", { name: "Entfernen" }).click(); + await kai.page.getByRole("button", { name: "Wirklich entfernen" }).click(); + await expect(kai.page.locator("li", { hasText: "Maike" })).toHaveCount(0); + await maike.page.goto("/"); + await expect(maike.page).toHaveURL(/\/anmelden$/); +}); + +test("recovery: a code from the box gives the founder a new passkey", async ({ browser }) => { + const fresh = await person(browser); + await fresh.page.goto("/anmelden"); + await fresh.page.getByRole("link", { name: "Zugang verloren?" }).click(); + await fresh.page.fill("#code", "AAAA-BBBB-CCCC-DDDD"); + await fresh.page.getByRole("button", { name: "Neuen Passkey anlegen" }).click(); + await expect(alert(fresh.page)).toBeVisible(); + await fresh.page.getByRole("button", { name: "Code in die Box legen" }).click(); + await expect(fresh.page.getByText("gilt eine Stunde")).toBeVisible(); + await fresh.page.fill("#code", codeFrom("lunch-wiederherstellen.txt")); + await fresh.page.getByRole("button", { name: "Neuen Passkey anlegen" }).click(); + await expect(fresh.page).toHaveURL(/\/mehr$/); + await expect(fresh.page.locator("main")).toContainText("Kai (du)"); + expect(existsSync(path.join(DATA, "lunch-wiederherstellen.txt"))).toBe(false); + await fresh.context.close(); +}); + +test.afterAll(async () => { + // Kais Sitzung für den Rundgang (playwright.config.ts, storageState). + await kai?.context.storageState({ path: "e2e/.auth/kai.json" }); + for (const p of [kai, maike, tablet]) await p?.context.close(); +}); diff --git a/e2e/hilfen.ts b/e2e/hilfen.ts new file mode 100644 index 0000000..bf9b87c --- /dev/null +++ b/e2e/hilfen.ts @@ -0,0 +1,30 @@ +import { readFileSync } from "node:fs"; +import path from "node:path"; +import type { BrowserContext, Page } from "@playwright/test"; + +export const DATA = process.env.LUNCH_DATA ?? path.join(process.cwd(), ".data"); + +/** Ein virtueller Passkey für diesen Kontext (Chromium, CDP) — wie Face ID am iPhone. */ +export async function passkey(context: BrowserContext, page: Page): Promise { + const cdp = await context.newCDPSession(page); + await cdp.send("WebAuthn.enable"); + await cdp.send("WebAuthn.addVirtualAuthenticator", { + options: { + protocol: "ctap2", + transport: "internal", + hasResidentKey: true, + hasUserVerification: true, + isUserVerified: true, + automaticPresenceSimulation: true, + }, + }); +} + +/** Der Code aus einer Datei im Datenordner (Einrichtung, Rückweg). */ +export function codeFrom(file: string): string { + const line = readFileSync(path.join(DATA, file), "utf8") + .split("\n") + .find((l) => /^[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$/.test(l)); + if (!line) throw new Error(`kein Code in ${file}`); + return line; +} diff --git a/e2e/rundgang.spec.ts b/e2e/rundgang.spec.ts new file mode 100644 index 0000000..964bb5a --- /dev/null +++ b/e2e/rundgang.spec.ts @@ -0,0 +1,70 @@ +import AxeBuilder from "@axe-core/playwright"; +import { expect, test, type Page } from "@playwright/test"; + +// Rundgang über jede Seite, am iPhone hell und dunkel und am Desktop: keine +// Skriptfehler, nichts breiter als der Bildschirm, jedes Ziel mindestens 44 px +// hoch (Leitprinzip 7), keine schweren Befunde von axe, nichts hinter der +// unteren Leiste. Ein Bild je Seite hängt am Bericht. +// +// Neue Seite → hier eintragen. +const SIGNED_IN = [ + { path: "/", heading: "Hallo Kai" }, + { path: "/mehr", heading: "Familie Böhm" }, +]; +const SIGNED_OUT = [ + { path: "/anmelden", heading: "Anmelden" }, + { path: "/wiederherstellen", heading: "Zugang wiederherstellen" }, +]; + +async function check(page: Page, path: string, heading: string) { + const errors: string[] = []; + page.on("pageerror", (e) => errors.push(e.message)); + page.on("console", (m) => m.type() === "error" && errors.push(m.text())); + await page.goto(path); + await expect(page.getByRole("heading", { level: 1 })).toHaveText(heading); + await page.waitForLoadState("networkidle"); + + // Nichts breiter als der Bildschirm. + const overflow = await page.evaluate(() => document.documentElement.scrollWidth - window.innerWidth); + expect(overflow, "horizontal overflow").toBeLessThanOrEqual(0); + + // Jedes Bedienelement mindestens 44 px hoch. + const small = await page.evaluate(() => + [...document.querySelectorAll("main button, main a, main input:not([type=radio]), main select, nav a")] + .filter((el) => el.offsetParent !== null) + .map((el) => ({ text: (el.innerText || el.getAttribute("aria-label") || el.id || el.tagName).slice(0, 40), h: el.getBoundingClientRect().height })) + .filter((x) => x.h < 44), + ); + expect(small, "targets under 44 px").toEqual([]); + + // Schwere Befunde der Barrierefreiheit (Kontrast, Namen, Struktur). + const axe = await new AxeBuilder({ page }).analyze(); + const serious = axe.violations.filter((v) => v.impact === "serious" || v.impact === "critical"); + expect(serious.map((v) => `${v.id}: ${v.nodes.map((n) => n.target.join(" ")).join(", ")}`)).toEqual([]); + + expect(errors, "script errors").toEqual([]); + await test.info().attach(`${path} ${test.info().project.name}`, { body: await page.screenshot({ fullPage: true }), contentType: "image/png" }); +} + +for (const { path, heading } of SIGNED_IN) { + test(`signed in: ${path}`, async ({ page }) => { + await check(page, path, heading); + }); +} + +for (const { path, heading } of SIGNED_OUT) { + test(`signed out: ${path}`, async ({ browser }) => { + const context = await browser.newContext({ ...test.info().project.use, storageState: undefined }); + const page = await context.newPage(); + await check(page, path, heading); + await context.close(); + }); +} + +test("the bottom bar never covers the last element", async ({ page }) => { + await page.goto("/mehr"); + await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight)); + const last = await page.getByRole("button", { name: "Abmelden" }).boundingBox(); + const nav = await page.getByRole("navigation").boundingBox(); + expect(last && nav && last.y + last.height <= nav.y).toBe(true); +}); diff --git a/lib/backup.ts b/lib/backup.ts index 5f03694..d1ee4f4 100644 --- a/lib/backup.ts +++ b/lib/backup.ts @@ -48,8 +48,13 @@ export const EXCLUDED: Record = { sessions: "kurzlebig; nach dem Zurückspielen meldet sich jede Person mit ihrem Passkey neu an", auth_challenges: "lebt fünf Minuten", auth_attempts: "Bremse, lebt einen Tag", - ingredients: "kommt aus den Seed-Migrationen mit festen Kennungen, nicht aus dem Haushalt", + ingredients: "kommt aus db/seed mit festen Kennungen (scripts/seed.mjs), nicht aus dem Haushalt", schema_migrations: "gehört zur Datenbank, nicht zu den Daten", + starter_dishes: "Vorlage aus db/seed, wird bei jedem Start eingespielt", + starter_dish_ingredients: "Vorlage aus db/seed", + starter_dish_steps: "Vorlage aus db/seed", + store_chains: "Vorlage aus db/seed", + chain_aisles: "Vorlage aus db/seed", }; const FORMAT = 1; diff --git a/lib/categories.ts b/lib/categories.ts new file mode 100644 index 0000000..18813f5 --- /dev/null +++ b/lib/categories.ts @@ -0,0 +1,38 @@ +// Kategorien der kanonischen Zutaten. Sie verbinden Zutaten mit den Gängen +// eines Ladens (store_aisles.ingredient_categories) und ordnen die +// Einkaufsliste. Der Schlüssel ist fest; die Bezeichnung kommt aus messages/*.json. +export const CATEGORIES = [ + "vegetables", // Gemüse + "fruit", // Obst + "herbs", // frische Kräuter + "bakery", // Brot und Backwaren + "meat", // Fleisch + "poultry", // Geflügel + "sausage", // Wurst und Aufschnitt + "fish", // Fisch und Meeresfrüchte + "dairy", // Milch, Sahne, Joghurt, Butter + "cheese", // Käse + "eggs", // Eier + "chilled", // Kühlregal: Tofu, frische Nudeln, Teige + "frozen", // Tiefkühl + "pasta_rice", // Nudeln, Reis, Getreide, Hülsenfrüchte trocken + "canned", // Konserven und Gläser + "sauces", // Saucen, Senf, Brühe, Würzpasten + "spices", // Gewürze und Salz + "oil_vinegar", // Öl und Essig + "baking", // Mehl, Zucker, Backzutaten + "breakfast", // Müsli, Aufstriche, Honig + "nuts", // Nüsse, Saaten, Trockenobst + "sweets", // Süßes und Snacks + "drinks", // Getränke +] as const; +export type Category = (typeof CATEGORIES)[number]; + +export const UNITS = ["g", "ml", "piece"] as const; +export type Unit = (typeof UNITS)[number]; + +// Schlagworte an Gerichten (Konzept: schnell, vegetarisch, Kinderliebling …). +export const TAGS = ["quick", "vegetarian", "vegan", "kids_favorite", "fish", "oven", "one_pot", "soup", "sweet"] as const; +export type Tag = (typeof TAGS)[number]; + +export const BASES = ["pasta", "rice", "potato", "bread", "grain", "none"] as const; diff --git a/lib/starter.ts b/lib/starter.ts new file mode 100644 index 0000000..99a1d2a --- /dev/null +++ b/lib/starter.ts @@ -0,0 +1,41 @@ +import "server-only"; +import type { PoolClient } from "pg"; + +// Ein Startergericht in den Pool des Haushalts übernehmen (Onboarding, Schritt 4: +// „fünf aus dem Starter-Pool übernehmen“). Der Haushalt bekommt eine eigene +// Kopie — Titel, Zutaten, Schritte —, die er frei ändern kann; die Vorlage +// bleibt unberührt. Zweimal dasselbe übernehmen gibt das vorhandene Gericht +// zurück (dishes_starter_once_idx). +// +// Aufruf in withHousehold(householdId, …). +export async function adoptStarterDish( + client: PoolClient, + householdId: string, + memberId: string, + starterKey: string, +): Promise<{ dishId: string; created: boolean }> { + const existing = await client.query<{ id: string }>("select id from dishes where starter_key = $1", [starterKey]); + if (existing.rows[0]) return { dishId: existing.rows[0].id, created: false }; + + const { rows } = await client.query<{ id: string }>( + `insert into dishes (household_id, title, source_locale, base, tags, effort_minutes, created_by, starter_key) + select $1, s.title, s.locale, s.base, s.tags, s.effort_minutes, $2, s.key + from starter_dishes s where s.key = $3 + returning id`, + [householdId, memberId, starterKey], + ); + const dishId = rows[0]?.id; + if (!dishId) throw new Error(`unknown starter dish: ${starterKey}`); + await client.query( + `insert into dish_ingredients (household_id, dish_id, ingredient_id, qty_per_portion, unit, note, is_staple, position) + select $1, $2, i.ingredient_id, i.qty_per_portion, i.unit, i.note, i.is_staple, i.position + from starter_dish_ingredients i where i.starter_key = $3`, + [householdId, dishId, starterKey], + ); + await client.query( + `insert into dish_steps (household_id, dish_id, position, text, timer_seconds) + select $1, $2, s.position, s.text, s.timer_seconds from starter_dish_steps s where s.starter_key = $3`, + [householdId, dishId, starterKey], + ); + return { dishId, created: true }; +} diff --git a/lib/stores.ts b/lib/stores.ts new file mode 100644 index 0000000..0cd560c --- /dev/null +++ b/lib/stores.ts @@ -0,0 +1,33 @@ +import "server-only"; +import type { PoolClient } from "pg"; + +// Einen Laden aus der Gangfolge einer Kette anlegen (Onboarding, Schritt 3: +// „Hauptladen wählen: Kette aus der Liste mit Standard-Gangfolge“). Der Laden +// gehört dem Haushalt, die Gänge sind seine Kopie; später lernt er aus der +// Reihenfolge des Abhakens. Der erste Laden wird Hauptladen. +// +// Aufruf in withHousehold(householdId, …). +export async function createStoreFromChain( + client: PoolClient, + householdId: string, + chainKey: string, + options: { name?: string; locale?: string } = {}, +): Promise { + const chain = (await client.query<{ name: string }>("select name from store_chains where key = $1", [chainKey])).rows[0]; + if (!chain) throw new Error(`unknown chain: ${chainKey}`); + const name = options.name?.trim() || chain.name; + if (!name) throw new Error("a store needs a name"); + const hasDefault = (await client.query("select 1 from stores where is_default")).rowCount! > 0; + const { rows } = await client.query<{ id: string }>( + "insert into stores (household_id, name, chain, is_default) values ($1, $2, $3, $4) returning id", + [householdId, name, chainKey, !hasDefault], + ); + const storeId = rows[0]!.id; + await client.query( + `insert into store_aisles (household_id, store_id, position, name, ingredient_categories) + select $1, $2, a.position, coalesce(a.names ->> $4, a.names ->> 'de'), a.ingredient_categories + from chain_aisles a where a.chain_key = $3`, + [householdId, storeId, chainKey, options.locale ?? "de"], + ); + return storeId; +} diff --git a/olares/Chart.yaml b/olares/Chart.yaml index 8fd1ac0..74d6bae 100644 --- a/olares/Chart.yaml +++ b/olares/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: lunch description: Was gibt's? — die Familie entscheidet gemeinsam, was es gibt; aus dem Plan entsteht die Einkaufsliste type: application -version: 26.11.4 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen -appVersion: "26.11.4" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran +version: 26.11.5 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen +appVersion: "26.11.5" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran diff --git a/olares/OlaresManifest.yaml b/olares/OlaresManifest.yaml index 753fba4..dfe12d3 100644 --- a/olares/OlaresManifest.yaml +++ b/olares/OlaresManifest.yaml @@ -21,7 +21,7 @@ metadata: title: What's cooking? description: The family decides together what's for dinner — and the shopping list writes itself. Runs entirely on your own box. icon: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png - version: 26.11.4 + version: 26.11.5 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.4' + versionName: '26.11.5' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/olares/markt/26.11.5.md b/olares/markt/26.11.5.md new file mode 100644 index 0000000..cc936e3 --- /dev/null +++ b/olares/markt/26.11.5.md @@ -0,0 +1,5 @@ +# Ingredients, starter dishes and store layouts +v26.11.5: The groundwork for planning and shopping: 340 everyday ingredients in German, English, French and Spanish with their usual pack sizes, 15 family classics each in German and English that a household can take over as its own, and the aisle order of REWE, EDEKA, Lidl and ALDI so the shopping list follows your route through the store. Every release is now also tested in the browser on an iPhone-sized screen, light and dark. + +## Deutsch +v26.11.5: Das Fundament für Planen und Einkaufen: 340 Alltagszutaten auf Deutsch, Englisch, Französisch und Spanisch mit ihren üblichen Packungsgrößen, je 15 Familienklassiker auf Deutsch und Englisch, die ein Haushalt als eigene übernehmen kann, und die Gangfolge von REWE, EDEKA, Lidl und ALDI, damit die Einkaufsliste dem Weg durch den Laden folgt. Jede Version wird jetzt auch im Browser im iPhone-Format geprüft, hell und dunkel. diff --git a/package-lock.json b/package-lock.json index d29b501..74a15af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,8 @@ "zod": "^4.6.7" }, "devDependencies": { + "@axe-core/playwright": "^4.14.0", + "@playwright/test": "1.63.0", "@tailwindcss/postcss": "^4.3.5", "@types/node": "^22.20.5", "@types/pg": "^8.23.1", @@ -51,6 +53,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@axe-core/playwright": { + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.14.0.tgz", + "integrity": "sha512-SGUhG5PIHd2eMdpgBF2PyQLOhX+qyDR2PT4cmoS4Qk2ak+jX/rrSvst9l0PGv5WTHolKpUMvVmoHpr4cZgf1RQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "axe-core": "~4.14.0" + }, + "engines": { + "node": ">=22.12.0" + }, + "peerDependencies": { + "playwright-core": ">= 1.0.0" + } + }, "node_modules/@eloqnt/config": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@eloqnt/config/-/config-0.1.1.tgz", @@ -1730,6 +1748,22 @@ "node": ">=20.0.0" } }, + "node_modules/@playwright/test": { + "version": "1.63.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.63.0.tgz", + "integrity": "sha512-oxMK4vllB9RK5NQ2l1pq1IfOf2AvnEuj/vYGDj0H2nMtmtZpKtCwt/l00GEO6xjGfpBNAvjovvYdCm50dRQkpQ==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.63.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/@radix-ui/react-compose-refs": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz", @@ -3102,6 +3136,16 @@ "node": ">=12" } }, + "node_modules/axe-core": { + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.0.tgz", + "integrity": "sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==", + "dev": true, + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, "node_modules/balanced-match": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", @@ -4262,6 +4306,35 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/playwright": { + "version": "1.63.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.63.0.tgz", + "integrity": "sha512-+7ziBLidS4NaNCdt57SUDT+wYmmd5fmiQejUic/kb+YsYSCPyOOE9sebzMjNmQrsnNpDJqd4WHvV/8lfKfUDUg==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.63.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/playwright-core": { + "version": "1.63.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0.tgz", + "integrity": "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/po-parser": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/po-parser/-/po-parser-2.2.0.tgz", diff --git a/package.json b/package.json index b0b7067..54e1a18 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "start": "next start", "type-check": "tsc --noEmit", "test": "vitest run", - "migrate": "node scripts/migrate.mjs" + "migrate": "node scripts/migrate.mjs", + "e2e": "playwright test" }, "dependencies": { "@radix-ui/react-slot": "^1.5.0", @@ -30,6 +31,8 @@ "zod": "^4.6.7" }, "devDependencies": { + "@axe-core/playwright": "^4.14.0", + "@playwright/test": "1.63.0", "@tailwindcss/postcss": "^4.3.5", "@types/node": "^22.20.5", "@types/pg": "^8.23.1", diff --git a/playwright.config.ts b/playwright.config.ts new file mode 100644 index 0000000..eebf520 --- /dev/null +++ b/playwright.config.ts @@ -0,0 +1,46 @@ +import { defineConfig, devices } from "@playwright/test"; + +// Prüfung im Browser, mobil zuerst (CLAUDE.md, Regel 9). Erwartet eine laufende +// App gegen eine leere, migrierte Datenbank: LUNCH_URL (Adresse) und +// LUNCH_DATA (ihr APP_DATA_DIR, dort liegt der Einrichtungscode). Die CI baut +// beides im Job „oberfläche“ auf; lokal siehe CLAUDE.md, „Lokal entwickeln“. +// +// Erst läuft der Ablauf (ablauf.spec.ts: einrichten, einladen, anmelden …) am +// iPhone; er legt die Sitzung ab. Danach der Rundgang über jede Seite am +// iPhone hell, am iPhone dunkel und am Desktop. +const iphone = { ...devices["iPhone 15"], browserName: "chromium" as const }; + +export default defineConfig({ + testDir: "./e2e", + timeout: 60_000, + fullyParallel: false, + workers: 1, + retries: 0, + reporter: [["list"], ["html", { open: "never", outputFolder: "e2e-bericht" }]], + use: { + baseURL: process.env.LUNCH_URL ?? "http://localhost:3020", + screenshot: "only-on-failure", + locale: "de-DE", + }, + projects: [ + { name: "ablauf", testMatch: /ablauf\.spec\.ts/, use: { ...iphone } }, + { + name: "iphone-hell", + testMatch: /rundgang\.spec\.ts/, + dependencies: ["ablauf"], + use: { ...iphone, colorScheme: "light", storageState: "e2e/.auth/kai.json" }, + }, + { + name: "iphone-dunkel", + testMatch: /rundgang\.spec\.ts/, + dependencies: ["ablauf"], + use: { ...iphone, colorScheme: "dark", storageState: "e2e/.auth/kai.json" }, + }, + { + name: "desktop", + testMatch: /rundgang\.spec\.ts/, + dependencies: ["ablauf"], + use: { ...devices["Desktop Chrome"], viewport: { width: 1280, height: 860 }, storageState: "e2e/.auth/kai.json" }, + }, + ], +}); diff --git a/scripts/migrate.mjs b/scripts/migrate.mjs index 0c3ff5e..bfb7619 100644 --- a/scripts/migrate.mjs +++ b/scripts/migrate.mjs @@ -14,6 +14,7 @@ import { readdir, readFile } from "node:fs/promises"; import path from "node:path"; import { fileURLToPath } from "node:url"; import pg from "pg"; +import { seed } from "./seed.mjs"; const DIR = process.env.MIGRATIONS_DIR ?? path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "db", "migrations"); @@ -72,6 +73,9 @@ async function main() { } } console.log(`migrations up to date (${files.length} files)`); + // Vorlagen (Zutaten, Startergerichte, Ketten) nach jeder Migration frisch einspielen. + const counts = await seed(client); + console.log(`seed: ${counts.ingredients} ingredients, ${counts.starters} starters, ${counts.chains} chains`); } finally { await client.end(); } diff --git a/scripts/seed.mjs b/scripts/seed.mjs new file mode 100644 index 0000000..523677e --- /dev/null +++ b/scripts/seed.mjs @@ -0,0 +1,105 @@ +// Spielt die Vorlagen aus db/seed/*.json ein (Arbeitspaket 3): kanonische +// Zutaten, Startergerichte, Gangfolgen der Ketten. Läuft nach den Migrationen +// bei jedem Start (scripts/migrate.mjs) und ist idempotent. +// +// - Zutaten bekommen eine feste Kennung aus ihrem Schlüssel (UUID aus SHA-1). +// Haushaltsdaten und Sicherungen verweisen darauf; eine Neuinstallation +// muss dieselbe Kennung wieder vergeben. Zutaten werden nie gelöscht. +// - Startergerichte und Ketten sind Vorlagen: Was nicht mehr in den Dateien +// steht, verschwindet; was ein Haushalt übernommen hat, ist seine Kopie. +import { createHash } from "node:crypto"; +import { readFile } from "node:fs/promises"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +const DIR = process.env.SEED_DIR ?? path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "db", "seed"); + +/** Feste UUID (Version 5-Form) aus einem Schlüssel. */ +export function stableId(kind, key) { + const h = createHash("sha1").update(`lunch:${kind}:${key}`).digest("hex"); + const variant = ((parseInt(h[16], 16) & 0x3) | 0x8).toString(16); + return `${h.slice(0, 8)}-${h.slice(8, 12)}-5${h.slice(13, 16)}-${variant}${h.slice(17, 20)}-${h.slice(20, 32)}`; +} + +async function load(file) { + try { + return JSON.parse(await readFile(path.join(DIR, file), "utf8")); + } catch (error) { + if (error.code === "ENOENT") return []; + throw error; + } +} + +export async function seed(client) { + const ingredients = await load("ingredients.json"); + const starters = [...(await load("starters.de.json")), ...(await load("starters.en.json")), ...(await load("starters.fr.json")), ...(await load("starters.es.json"))]; + const chains = await load("chains.json"); + const idByKey = new Map(ingredients.map((i) => [i.key, stableId("ingredient", i.key)])); + + await client.query("begin"); + try { + await client.query("select set_config('app.maintenance', 'on', true)"); + if (ingredients.length) { + await client.query( + `insert into ingredients (id, key, category, default_unit, names, synonyms, freshness, pack_sizes, pantry_default) + select x.id, x.key, x.category, x.unit, x.names, x.synonyms, x.freshness, x.packs, x.pantry + from jsonb_to_recordset($1::jsonb) as x(id uuid, key text, category text, unit text, names jsonb, + synonyms text[], freshness smallint, packs numeric[], pantry boolean) + on conflict (key) do update set category = excluded.category, default_unit = excluded.default_unit, + names = excluded.names, synonyms = excluded.synonyms, freshness = excluded.freshness, + pack_sizes = excluded.pack_sizes, pantry_default = excluded.pantry_default`, + [JSON.stringify(ingredients.map((i) => ({ ...i, id: idByKey.get(i.key) })))], + ); + } + + await client.query("delete from starter_dishes where not (key = any($1::text[]))", [starters.map((s) => s.key)]); + for (const [position, s] of starters.entries()) { + await client.query( + `insert into starter_dishes (key, locale, position, title, base, tags, effort_minutes) values ($1, $2, $3, $4, $5, $6, $7) + on conflict (key) do update set locale = excluded.locale, position = excluded.position, title = excluded.title, + base = excluded.base, tags = excluded.tags, effort_minutes = excluded.effort_minutes`, + [s.key, s.locale, position, s.title, s.base, s.tags, s.effort_minutes], + ); + await client.query("delete from starter_dish_ingredients where starter_key = $1", [s.key]); + await client.query("delete from starter_dish_steps where starter_key = $1", [s.key]); + for (const [p, i] of s.ingredients.entries()) { + const id = idByKey.get(i.key); + if (!id) throw new Error(`${s.key}: unknown ingredient ${i.key}`); + await client.query( + "insert into starter_dish_ingredients (starter_key, position, ingredient_id, qty_per_portion, unit, note, is_staple) values ($1, $2, $3, $4, $5, $6, $7)", + [s.key, p, id, i.qty, i.unit, i.note ?? null, i.staple ?? false], + ); + } + for (const [p, step] of s.steps.entries()) { + await client.query("insert into starter_dish_steps (starter_key, position, text, timer_seconds) values ($1, $2, $3, $4)", [ + s.key, + p, + step.text, + step.timer_seconds ?? null, + ]); + } + } + + await client.query("delete from store_chains where not (key = any($1::text[]))", [chains.map((c) => c.key)]); + for (const [position, c] of chains.entries()) { + await client.query( + "insert into store_chains (key, name, position) values ($1, $2, $3) on conflict (key) do update set name = excluded.name, position = excluded.position", + [c.key, c.name, position], + ); + await client.query("delete from chain_aisles where chain_key = $1", [c.key]); + for (const [p, a] of c.aisles.entries()) { + await client.query("insert into chain_aisles (chain_key, position, names, ingredient_categories) values ($1, $2, $3, $4)", [ + c.key, + p, + JSON.stringify(a.names), + a.categories, + ]); + } + } + await client.query("commit"); + } catch (error) { + await client.query("rollback"); + throw error; + } + return { ingredients: ingredients.length, starters: starters.length, chains: chains.length }; +} diff --git a/tests/rls.test.ts b/tests/rls.test.ts index 4962375..a76ae92 100644 --- a/tests/rls.test.ts +++ b/tests/rls.test.ts @@ -17,6 +17,11 @@ const GLOBAL = { auth_challenges: "vor der Anmeldung", auth_attempts: "vor der Anmeldung", schema_migrations: "gehört zur Datenbank", + starter_dishes: "Vorlage für alle (db/seed), Haushalte übernehmen eine Kopie", + starter_dish_ingredients: "Vorlage für alle", + starter_dish_steps: "Vorlage für alle", + store_chains: "Vorlage für alle", + chain_aisles: "Vorlage für alle", }; describe.skipIf(!url)("row level security", () => { diff --git a/tests/seed.test.ts b/tests/seed.test.ts new file mode 100644 index 0000000..7c395da --- /dev/null +++ b/tests/seed.test.ts @@ -0,0 +1,130 @@ +import { existsSync, readFileSync } from "node:fs"; +import { describe, expect, it } from "vitest"; +import { BASES, CATEGORIES, TAGS, UNITS } from "@/lib/categories"; +import { LOCALES } from "@/lib/locale"; + +// Prüft die Seed-Daten in db/seed/ (Arbeitspaket 3), bevor sie per Migration in +// die Datenbank gehen: Zutaten in vier Sprachen, Startergerichte DE und EN, +// Gangfolgen der Ketten. Jede Regel hier ist eine, die sonst in der +// Einkaufsliste oder beim Hochrechnen falsch herauskäme. + +type Ingredient = { + key: string; + category: string; + unit: string; + freshness: number; + names: Record; + synonyms: string[]; + packs: number[]; + pantry: boolean; +}; +type Starter = { + key: string; + locale: string; + title: string; + base: string; + tags: string[]; + effort_minutes: number; + ingredients: { key: string; qty: number; unit: string; note?: string; staple?: boolean }[]; + steps: { text: string; timer_seconds?: number }[]; +}; +type Chain = { key: string; name: string; aisles: { names: Record; categories: string[] }[] }; + +const read = (file: string): T => JSON.parse(readFileSync(`db/seed/${file}`, "utf8")) as T; +const has = (file: string) => existsSync(`db/seed/${file}`); + +describe.skipIf(!has("ingredients.json"))("seed: ingredients", () => { + const list = has("ingredients.json") ? read("ingredients.json") : []; + + it("has around 300 ingredients with unique keys", () => { + expect(list.length).toBeGreaterThanOrEqual(280); + expect(new Set(list.map((i) => i.key)).size).toBe(list.length); + for (const i of list) expect(i.key).toMatch(/^[a-z0-9_]+$/); + }); + + it("every ingredient has category, base unit, freshness and names in all four languages", () => { + for (const i of list) { + expect([i.key, CATEGORIES.includes(i.category as never)]).toEqual([i.key, true]); + expect([i.key, UNITS.includes(i.unit as never)]).toEqual([i.key, true]); + expect([i.key, [1, 2, 3].includes(i.freshness)]).toEqual([i.key, true]); + for (const l of LOCALES) expect([i.key, l, (i.names[l] ?? "").trim().length > 0]).toEqual([i.key, l, true]); + expect(Array.isArray(i.synonyms)).toBe(true); + expect(typeof i.pantry).toBe("boolean"); + for (const p of i.packs) expect([i.key, p > 0 && p <= 10000]).toEqual([i.key, true]); + } + }); + + it("names are unique per language, so matching is never ambiguous", () => { + for (const l of LOCALES) { + const names = list.map((i) => i.names[l]!.toLowerCase()); + const dupes = names.filter((n, idx) => names.indexOf(n) !== idx); + expect([l, dupes]).toEqual([l, []]); + } + }); + + it("covers every category", () => { + for (const c of CATEGORIES) expect([c, list.some((i) => i.category === c)]).toEqual([c, true]); + }); +}); + +describe.each(["de", "en"])("seed: starter pool %s", (locale) => { + const file = `starters.${locale}.json`; + const ingredients = has("ingredients.json") ? read("ingredients.json") : []; + const byKey = new Map(ingredients.map((i) => [i.key, i])); + const starters = has(file) ? read(file) : []; + + it.skipIf(!has(file))("has 15 family classics with unique keys", () => { + expect(starters).toHaveLength(15); + expect(new Set(starters.map((s) => s.key)).size).toBe(15); + for (const s of starters) { + expect(s.key).toMatch(new RegExp(`^${locale}_[a-z0-9_]+$`)); + expect(s.locale).toBe(locale); + } + }); + + it.skipIf(!has(file))("each starter is complete and uses known ingredients in their base unit", () => { + for (const s of starters) { + expect([s.key, s.title.trim().length > 0]).toEqual([s.key, true]); + expect([s.key, BASES.includes(s.base as never)]).toEqual([s.key, true]); + for (const t of s.tags) expect([s.key, t, TAGS.includes(t as never)]).toEqual([s.key, t, true]); + expect([s.key, s.effort_minutes >= 5 && s.effort_minutes <= 240]).toEqual([s.key, true]); + expect([s.key, s.ingredients.length >= 3, s.steps.length >= 3]).toEqual([s.key, true, true]); + const seen = new Set(); + for (const i of s.ingredients) { + const known = byKey.get(i.key); + expect([s.key, i.key, Boolean(known)]).toEqual([s.key, i.key, true]); + expect([s.key, i.key, i.unit]).toEqual([s.key, i.key, known?.unit]); + expect([s.key, i.key, seen.has(i.key)]).toEqual([s.key, i.key, false]); + seen.add(i.key); + // Pro Portion: plausible Mengen in Basiseinheiten. + const max = i.unit === "piece" ? 6 : 600; + expect([s.key, i.key, i.qty > 0 && i.qty <= max]).toEqual([s.key, i.key, true]); + } + for (const step of s.steps) { + expect([s.key, step.text.trim().length >= 10]).toEqual([s.key, true]); + if (step.timer_seconds !== undefined) expect([s.key, step.timer_seconds > 0]).toEqual([s.key, true]); + } + if (s.tags.includes("vegetarian") || s.tags.includes("vegan")) { + for (const i of s.ingredients) { + expect([s.key, i.key, ["meat", "poultry", "sausage", "fish"].includes(byKey.get(i.key)!.category)]).toEqual([s.key, i.key, false]); + } + } + } + }); +}); + +describe.skipIf(!has("chains.json"))("seed: store chains", () => { + const chains = has("chains.json") ? read("chains.json") : []; + + it("has REWE, Edeka, Lidl, Aldi and a generic order", () => { + expect(chains.map((c) => c.key).sort()).toEqual(["aldi", "edeka", "generic", "lidl", "rewe"]); + }); + + it("every chain places every category in exactly one aisle, named in four languages", () => { + for (const c of chains) { + const placed = c.aisles.flatMap((a) => a.categories); + expect([c.key, [...placed].sort()]).toEqual([c.key, [...CATEGORIES].sort()]); + for (const a of c.aisles) for (const l of LOCALES) expect([c.key, l, (a.names[l] ?? "").length > 0]).toEqual([c.key, l, true]); + } + }); +}); diff --git a/tests/templates.test.ts b/tests/templates.test.ts new file mode 100644 index 0000000..6876ec8 --- /dev/null +++ b/tests/templates.test.ts @@ -0,0 +1,107 @@ +import { randomUUID } from "node:crypto"; +import pg from "pg"; +import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; +// @ts-expect-error — reines JavaScript ohne Typen +import { seed, stableId } from "../scripts/seed.mjs"; +import { seedHousehold, seedIngredient } from "./fixture"; + +vi.mock("server-only", () => ({})); + +// Vorlagen übernehmen (lib/starter.ts, lib/stores.ts) und das Einspielen der +// Vorlagen (scripts/seed.mjs), gegen die Testdatenbank mit zwei Haushalten. +const url = process.env.TEST_DATABASE_URL; + +describe.skipIf(!url)("templates", () => { + const client = new pg.Client({ connectionString: url }); + const a = randomUUID(); + const b = randomUUID(); + const starter = `de_test_${randomUUID().slice(0, 8)}`; + let memberA = ""; + let starterLib: typeof import("@/lib/starter"); + let storesLib: typeof import("@/lib/stores"); + + async function as(h: string, fn: () => Promise): Promise { + await client.query("begin"); + try { + await client.query("select set_config('app.household_id', $1, true)", [h]); + const r = await fn(); + await client.query("commit"); + return r; + } catch (e) { + await client.query("rollback"); + throw e; + } + } + + beforeAll(async () => { + await client.connect(); + starterLib = await import("@/lib/starter"); + storesLib = await import("@/lib/stores"); + const ingredient = await seedIngredient(client); + memberA = (await seedHousehold(client, a, ingredient)).member; + await seedHousehold(client, b, ingredient); + // Eine Vorlage nur für diesen Test, unabhängig vom Inhalt von db/seed. + await client.query("begin"); + await client.query("select set_config('app.maintenance', 'on', true)"); + await client.query("insert into starter_dishes (key, locale, position, title, base, tags, effort_minutes) values ($1, 'de', 999, 'Testgericht', 'pasta', '{quick}', 20)", [starter]); + await client.query("insert into starter_dish_ingredients (starter_key, position, ingredient_id, qty_per_portion, unit) values ($1, 0, $2, 125, 'g')", [starter, ingredient]); + await client.query("insert into starter_dish_steps (starter_key, position, text, timer_seconds) values ($1, 0, 'Wasser aufsetzen und salzen.', 600)", [starter]); + await client.query("commit"); + }); + + afterAll(async () => { + await client.query("begin"); + await client.query("select set_config('app.maintenance', 'on', true)"); + await client.query("delete from starter_dishes where key = $1", [starter]); + await client.query("commit"); + await client.end(); + }); + + it("stable ids are valid UUIDs and never change for a key", () => { + expect(stableId("ingredient", "ground_beef")).toBe(stableId("ingredient", "ground_beef")); + expect(stableId("ingredient", "ground_beef")).not.toBe(stableId("ingredient", "onion")); + expect(stableId("ingredient", "ground_beef")).toMatch(/^[0-9a-f]{8}-[0-9a-f]{4}-5[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/); + }); + + it("adopting a starter copies it into the household — once — and nowhere else", async () => { + const first = await as(a, () => starterLib.adoptStarterDish(client as never, a, memberA, starter)); + expect(first.created).toBe(true); + const again = await as(a, () => starterLib.adoptStarterDish(client as never, a, memberA, starter)); + expect(again).toEqual({ dishId: first.dishId, created: false }); + const copy = await as(a, () => + client.query( + `select d.title, d.base, d.tags, (select count(*)::int from dish_ingredients where dish_id = d.id) as ingredients, + (select timer_seconds from dish_steps where dish_id = d.id) as timer + from dishes d where d.id = $1`, + [first.dishId], + ), + ); + expect(copy.rows[0]).toEqual({ title: "Testgericht", base: "pasta", tags: ["quick"], ingredients: 1, timer: 600 }); + const inB = await as(b, () => client.query("select count(*)::int as n from dishes where starter_key = $1", [starter])); + expect(inB.rows[0].n).toBe(0); + }); + + it("a chain becomes the household's own store with its aisles; the first is the main store", async () => { + const h = randomUUID(); + const ingredient = await seedIngredient(client); + await seedHousehold(client, h, ingredient); // bringt schon einen Hauptladen mit + const store = await as(h, () => storesLib.createStoreFromChain(client as never, h, "lidl", { locale: "en" })); + const { rows } = await as(h, () => + client.query("select s.name, s.is_default, (select array_agg(name order by position) from store_aisles where store_id = s.id) as aisles from stores s where s.id = $1", [store]), + ); + expect(rows[0].name).toBe("Lidl"); + expect(rows[0].is_default).toBe(false); + expect(rows[0].aisles[0]).toBe("Fruit & vegetables"); + await expect(as(h, () => storesLib.createStoreFromChain(client as never, h, "unknown"))).rejects.toThrow(/unknown chain/); + }); + + it("seeding twice changes nothing and keeps ingredient ids", async () => { + const before = (await client.query("select count(*)::int as n from ingredients")).rows[0].n; + const first = await seed(client); + const second = await seed(client); + expect(second).toEqual(first); + expect((await client.query("select count(*)::int as n from ingredients")).rows[0].n).toBe(before); + const sample = (await client.query("select id, key from ingredients where key not like 'test_%' limit 5")).rows; + for (const r of sample) expect(r.id).toBe(stableId("ingredient", r.key)); + }); +}); -- 2.54.0 From b1e9ead324d858ab05b9bb8fc3c2c96f871757fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6hm?= Date: Fri, 6 Nov 2026 21:07:45 +0000 Subject: [PATCH 2/4] CI: take the Playwright browser from aimighty/ci-tools The runner cannot reach cdn.playwright.dev, so 'playwright install' timed out. The Chromium headless shell for Playwright 1.63 (revision 1243) now comes from a ci-tools release in three parts with a checksum; system libraries still come from apt via install-deps. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q --- .github/workflows/ci.yml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 350fe43..2ff863e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,20 +161,36 @@ jobs: nohup node server.js > "$RUNNER_TEMP/server.log" 2>&1 &) for i in $(seq 30); do curl -sf localhost:3020/api/ready && break; sleep 1; done - # Der Browser im Zwischenspeicher, Schlüssel ist die Version aus dem - # Lockfile. --with-deps ist auf Gitea Pflicht (Muster aimighty/rocket). + # Der Browser: Der Runner erreicht cdn.playwright.dev nicht. Die Chromium + # Headless Shell, die Playwright 1.63 braucht (Revision 1243), liegt + # deshalb in aimighty/ci-tools (drei Teile, Prüfsumme). Systembibliotheken + # kommen per apt (install-deps). Bei einem neuen Playwright: neue + # Revision dort ablegen und hier eintragen. - name: playwright version id: pw run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> "$GITHUB_OUTPUT" - uses: actions/cache@v4 + id: pwcache with: path: ~/.cache/ms-playwright - key: playwright-${{ runner.os }}-${{ steps.pw.outputs.version }} + key: playwright-headless-${{ runner.os }}-${{ steps.pw.outputs.version }} - - name: install browser + - name: install browser (from aimighty/ci-tools) + if: steps.pwcache.outputs.cache-hit != 'true' timeout-minutes: 15 - run: npx playwright install --with-deps chromium + run: | + BASE=https://git.aimighty.olares.de/aimighty/ci-tools/releases/download/playwright-chromium-1243 + F=playwright-headless-shell-1243-linux64.tar.gz + for i in 0 1 2; do curl -fsSL --retry 3 --retry-all-errors --max-time 600 -o "/tmp/$F.part$i" "$BASE/$F.part$i"; done + cat /tmp/$F.part0 /tmp/$F.part1 /tmp/$F.part2 > /tmp/$F + echo "8cc010f5e06f7fd95a97cee5d3a6b2abf67b7144f5b47d86413b7508d9c02797 /tmp/$F" | sha256sum -c - + mkdir -p ~/.cache/ms-playwright + tar -xzf /tmp/$F -C ~/.cache/ms-playwright + + - name: system libraries for the browser + timeout-minutes: 15 + run: npx playwright install-deps chromium - name: browser tests run: npx playwright test -- 2.54.0 From 23ce169718b960723cb7e4a644d31794ff048776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6hm?= Date: Fri, 6 Nov 2026 21:15:59 +0000 Subject: [PATCH 3/4] CI: use the real headless shell binary from the ci-tools archive Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ff863e..b56eadc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,7 +174,7 @@ jobs: id: pwcache with: path: ~/.cache/ms-playwright - key: playwright-headless-${{ runner.os }}-${{ steps.pw.outputs.version }} + key: playwright-headless-2-${{ runner.os }}-${{ steps.pw.outputs.version }} - name: install browser (from aimighty/ci-tools) if: steps.pwcache.outputs.cache-hit != 'true' @@ -187,6 +187,11 @@ jobs: echo "8cc010f5e06f7fd95a97cee5d3a6b2abf67b7144f5b47d86413b7508d9c02797 /tmp/$F" | sha256sum -c - mkdir -p ~/.cache/ms-playwright tar -xzf /tmp/$F -C ~/.cache/ms-playwright + # Im Archiv ist chrome-headless-shell ein Startskript, das auf einen + # festen Pfad der Werkstatt zeigt; hier gilt die Datei daneben. + D=~/.cache/ms-playwright/chromium_headless_shell-1243/chrome-headless-shell-linux64 + if [ -f "$D/chrome-headless-shell.real" ]; then mv -f "$D/chrome-headless-shell.real" "$D/chrome-headless-shell"; fi + "$D/chrome-headless-shell" --version || true - name: system libraries for the browser timeout-minutes: 15 -- 2.54.0 From ad294216da408b83b3251f284a185e925c21a80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20B=C3=B6hm?= Date: Fri, 6 Nov 2026 21:23:53 +0000 Subject: [PATCH 4/4] CI: bind the test server to all interfaces and fail when it is not ready Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b56eadc..c682328 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,9 +157,11 @@ jobs: cp -r public .next/standalone/ && cp -r .next/static .next/standalone/.next/ mkdir -p "$RUNNER_TEMP/lunchdaten" echo "LUNCH_DATA=$RUNNER_TEMP/lunchdaten" >> "$GITHUB_ENV" - (cd .next/standalone && PORT=3020 BACKUP_DISABLED=1 APP_DATA_DIR="$RUNNER_TEMP/lunchdaten" \ + # HOSTNAME: Next bindet sich daran; im Container ist es die Kennung des Containers. + (cd .next/standalone && HOSTNAME=0.0.0.0 PORT=3020 BACKUP_DISABLED=1 APP_DATA_DIR="$RUNNER_TEMP/lunchdaten" \ nohup node server.js > "$RUNNER_TEMP/server.log" 2>&1 &) - for i in $(seq 30); do curl -sf localhost:3020/api/ready && break; sleep 1; done + for i in $(seq 30); do curl -sf localhost:3020/api/ready && exit 0; sleep 1; done + cat "$RUNNER_TEMP/server.log"; exit 1 # Der Browser: Der Runner erreicht cdn.playwright.dev nicht. Die Chromium # Headless Shell, die Playwright 1.63 braucht (Revision 1243), liegt -- 2.54.0