Tofu/app/const/RECIPE_INDEX_FIXTURE.js
2026-09-18 01:41:02 +02:00

36 lines
2.3 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Startup fixture: the household's recipes, so that name suggestions work on
// a fresh install, before anything has been imported.
//
// Exactly the shape produced by scripts/import-recipes (out/index.json):
// { generatedAt, recipes: [{ id, name, ingredientNames }] }. Once the import
// has run, this fixture is replaced by that file — same shape, same consumer,
// nothing else to change.
export const RECIPE_INDEX_FIXTURE = {
generatedAt: '2026-09-18T00:00:00.000Z',
recipes: [
{ id: 'gnocchis-a-la-sauge', name: 'Gnocchis à la sauge',
ingredientNames: ['gnocchis', 'beurre', 'sauge', 'parmesan'] },
{ id: 'gratin-dauphinois', name: 'Gratin dauphinois',
ingredientNames: ['pommes de terre', 'crème fraîche', 'lait', 'ail', 'muscade'] },
{ id: 'quiche-lorraine', name: 'Quiche lorraine',
ingredientNames: ['pâte brisée', 'lardons', 'œufs', 'crème fraîche', 'gruyère'] },
{ id: 'hachis-parmentier', name: 'Hachis parmentier',
ingredientNames: ['pommes de terre', 'bœuf haché', 'oignon', 'lait', 'beurre'] },
{ id: 'soupe-de-potiron', name: 'Soupe de potiron',
ingredientNames: ['potiron', 'pomme de terre', 'oignon', 'crème fraîche', 'muscade'] },
{ id: 'ratatouille', name: 'Ratatouille',
ingredientNames: ['courgette', 'aubergine', 'poivron', 'tomate', 'oignon', 'ail', 'huile dolive'] },
{ id: 'poulet-roti-aux-herbes', name: 'Poulet rôti aux herbes',
ingredientNames: ['poulet', 'thym', 'romarin', 'ail', 'beurre'] },
{ id: 'omelette-aux-champignons', name: 'Omelette aux champignons',
ingredientNames: ['œufs', 'champignons de Paris', 'persil', 'beurre'] },
{ id: 'lentilles-aux-lardons', name: 'Lentilles aux lardons',
ingredientNames: ['lentilles vertes', 'lardons', 'carotte', 'oignon', 'laurier'] },
{ id: 'blanquette-de-veau', name: 'Blanquette de veau',
ingredientNames: ['veau', 'carotte', 'poireau', 'champignons de Paris', 'crème fraîche', 'riz'] },
{ id: 'tarte-aux-poireaux', name: 'Tarte aux poireaux',
ingredientNames: ['pâte brisée', 'poireaux', 'œufs', 'crème fraîche', 'gruyère'] },
{ id: 'curry-de-pois-chiches', name: 'Curry de pois chiches',
ingredientNames: ['pois chiches', 'lait de coco', 'tomates', 'oignon', 'curry', 'riz'] }
]
}