{ "title": "Warn Deprecated Frontmatter Key", "slug": "warn-deprecated-frontmatter-key", "meta": { "title": "Warn Deprecated Frontmatter Key", "portions": "4", "servings": "6", "yields": "12 cookies" }, "registry": { "ingredients": { "flour": { "id": "flour", "name": "flour", "default_unit": "g" }, "butter": { "id": "butter", "name": "butter", "default_unit": "g" } }, "cookware": {} }, "shopping_list": [ { "id": "flour", "name": "flour", "_usageIds": [ "1" ], "qty": 250, "unit": "g", "normalizedMass": 250, "isEstimate": false, "conversionMethod": "physical" }, { "id": "butter", "name": "butter", "_usageIds": [ "2" ], "qty": 125, "unit": "g", "normalizedMass": 125, "isEstimate": false, "conversionMethod": "physical" } ], "cookware": [], "sections": [ { "title": "Dough", "ingredients": [ { "id": "flour", "_usageId": "1", "qty": 250, "unit": "g", "conversionMethod": "physical", "isEstimate": false, "normalizedMass": 250 }, { "id": "butter", "_usageId": "2", "qty": 125, "unit": "g", "conversionMethod": "physical", "isEstimate": false, "normalizedMass": 125 } ], "cookware": [], "steps": [ { "type": "step", "content": [ "Mix ", { "id": "flour", "_usageId": "1", "qty": 250, "unit": "g", "normalizedMass": 250, "conversionMethod": "physical", "isEstimate": false }, "and ", { "id": "butter", "_usageId": "2", "qty": 125, "unit": "g", "normalizedMass": 125, "conversionMethod": "physical", "isEstimate": false }, "." ], "timings": { "start": 0, "end": 2, "activeDuration": 2 } } ], "metrics": { "totalMass": 375, "massStatus": "precise", "missingMassIngredients": [] } } ], "warnings": [ { "code": "DEPRECATED_FRONTMATTER_KEY", "message": "Frontmatter key \"servings\" is deprecated and will be removed in 2.0.0: write \"portions\" instead.", "data": { "key": "servings", "suggestion": "portions" } }, { "code": "DEPRECATED_FRONTMATTER_KEY", "message": "Frontmatter key \"yields\" is deprecated and will be removed in 2.0.0: write \"makes\" instead.", "data": { "key": "yields", "suggestion": "makes" } }, { "code": "MISSING_INGREDIENT", "message": "Ingredient \"flour\" not found in database — nutritional metrics and density conversions unavailable." }, { "code": "MISSING_INGREDIENT", "message": "Ingredient \"butter\" not found in database — nutritional metrics and density conversions unavailable." } ], "metrics": { "totalTime": 4, "totalBreakdown": [ { "label": "section_active:Dough", "duration": 2 } ], "idleTime": 0, "activeTime": 2, "activeBreakdown": [ { "label": "section_active:Dough", "duration": 2 } ], "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", "duration": 2 } ], "totalMass": 375, "massStatus": "precise", "missingMassIngredients": [], "nutrition": { "total": { "calories": 0, "fat": 0, "carbs": 0, "protein": 0 }, "isEstimate": false, "coverage": 0, "warnings": [ { "code": "MISSING_INGREDIENT", "message": "Ingredient \"flour\" not found in database — nutritional metrics and density conversions unavailable." }, { "code": "MISSING_INGREDIENT", "message": "Ingredient \"butter\" not found in database — nutritional metrics and density conversions unavailable." } ], "portions": 4, "perPortion": { "calories": 0, "fat": 0, "carbs": 0, "protein": 0 } } }, "miseEnPlace": [ { "section": 0, "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", "count": 2, "duration": 2 } ] } ], "tasks": { "tasks": [ { "id": "s0.prep", "kind": "prep", "section": 0, "duration": { "nominal": 2 }, "items": [ { "kind": "gather", "target": "ingredient", "count": 2, "duration": 2 } ], "after": [] }, { "id": "s0.0", "kind": "step", "section": 0, "step": 0, "duration": { "nominal": 2 }, "after": [] } ], "sections": [ { "day": 0 } ] }, "schedule": { "miseEnPlace": "perSection", "rests": "shortest", "totalTime": 4, "activeTime": 2, "preparationTime": 2, "idleTime": 0, "blocks": [ { "kind": "prep", "task": "s0.prep", "section": 0, "start": 0, "end": 2 }, { "kind": "step", "task": "s0.0", "section": 0, "step": 0, "start": 2, "end": 4 } ], "days": [ { "day": 0, "start": 0, "end": 4, "sections": [ 0 ] } ] } }