gram/conformance/cases/warn-025-deprecated-frontmatter-key/ast.json
abiwab e893bae2a7
All checks were successful
CI / Build & Test (pull_request) Successful in 6m20s
feat(kitchen): add a frontmatter key registry and deprecate servings, yield and yields
2026-11-26 11:47:12 +01:00

110 lines
2.5 KiB
JSON

{
"type": "Recipe",
"meta": {
"title": "Warn Deprecated Frontmatter Key",
"portions": "4",
"servings": "6",
"yields": "12 cookies"
},
"imports": [],
"children": [
{
"type": "Section",
"title": "Dough",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Mix ",
"loc": {
"start": 101,
"end": 105
}
},
{
"type": "Ingredient",
"name": "flour",
"modifiers": [],
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 250,
"text": "250"
},
"unit": "g",
"fixed": false,
"loc": {
"start": 112,
"end": 117
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 105,
"end": 118
}
},
{
"type": "Text",
"value": "and ",
"loc": {
"start": 119,
"end": 123
}
},
{
"type": "Ingredient",
"name": "butter",
"modifiers": [],
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 125,
"text": "125"
},
"unit": "g",
"fixed": false,
"loc": {
"start": 131,
"end": 136
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 123,
"end": 137
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 137,
"end": 138
}
}
],
"loc": {
"start": 101,
"end": 139
}
}
],
"loc": {
"start": 91,
"end": 139
}
}
]
}