218 lines
4.1 KiB
JSON
218 lines
4.1 KiB
JSON
{
|
|
"title": "Warn Variable Not Found",
|
|
"slug": "warn-variable-not-found",
|
|
"meta": {
|
|
"title": "Warn Variable Not Found"
|
|
},
|
|
"registry": {
|
|
"ingredients": {
|
|
"salt": {
|
|
"id": "salt",
|
|
"name": "salt"
|
|
}
|
|
},
|
|
"cookware": {}
|
|
},
|
|
"shopping_list": [
|
|
{
|
|
"id": "salt",
|
|
"name": "salt",
|
|
"_usageIds": [
|
|
"1"
|
|
],
|
|
"relative": true,
|
|
"variable_entries": [
|
|
"(2% of dough ❓)"
|
|
]
|
|
}
|
|
],
|
|
"cookware": [],
|
|
"sections": [
|
|
{
|
|
"title": "Section",
|
|
"ingredients": [
|
|
{
|
|
"id": "salt",
|
|
"_usageId": "1",
|
|
"qty": {
|
|
"type": "RelativeQuantity",
|
|
"percent": 2,
|
|
"target": "dough",
|
|
"referenceType": "variable",
|
|
"loc": {
|
|
"start": 62,
|
|
"end": 71
|
|
}
|
|
},
|
|
"dependencies": [
|
|
"dough"
|
|
],
|
|
"formula": {
|
|
"raw": "2% of dough",
|
|
"target": "dough",
|
|
"percent": 2,
|
|
"isGhost": true
|
|
}
|
|
}
|
|
],
|
|
"cookware": [],
|
|
"steps": [
|
|
{
|
|
"type": "step",
|
|
"content": [
|
|
"Add ",
|
|
{
|
|
"id": "salt",
|
|
"_usageId": "1",
|
|
"qty": {
|
|
"type": "RelativeQuantity",
|
|
"percent": 2,
|
|
"target": "dough",
|
|
"referenceType": "variable",
|
|
"loc": {
|
|
"start": 62,
|
|
"end": 71
|
|
}
|
|
},
|
|
"dependencies": [
|
|
"dough"
|
|
],
|
|
"formula": {
|
|
"raw": "2% of dough",
|
|
"target": "dough",
|
|
"percent": 2,
|
|
"isGhost": true
|
|
}
|
|
},
|
|
"."
|
|
],
|
|
"timings": {
|
|
"start": 0,
|
|
"end": 2,
|
|
"activeDuration": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"warnings": [
|
|
{
|
|
"code": "VARIABLE_NOT_FOUND",
|
|
"message": "Cannot resolve relative quantity: target intermediate '&dough' is not defined.",
|
|
"item": "salt",
|
|
"loc": {
|
|
"start": 56,
|
|
"end": 72
|
|
}
|
|
}
|
|
],
|
|
"metrics": {
|
|
"totalTime": 3,
|
|
"totalBreakdown": [
|
|
{
|
|
"label": "section_active:Section",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"idleTime": 0,
|
|
"activeTime": 2,
|
|
"activeBreakdown": [
|
|
{
|
|
"label": "section_active:Section",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"preparationTime": 1,
|
|
"prepBreakdown": [
|
|
{
|
|
"label": "ingredients_overhead",
|
|
"duration": 1
|
|
}
|
|
]
|
|
},
|
|
"miseEnPlace": [
|
|
{
|
|
"section": 0,
|
|
"duration": 1,
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 1,
|
|
"duration": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"tasks": {
|
|
"tasks": [
|
|
{
|
|
"id": "s0.prep",
|
|
"kind": "prep",
|
|
"section": 0,
|
|
"duration": {
|
|
"nominal": 1
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 1,
|
|
"duration": 1
|
|
}
|
|
],
|
|
"after": []
|
|
},
|
|
{
|
|
"id": "s0.0",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 0,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"after": []
|
|
}
|
|
],
|
|
"sections": [
|
|
{
|
|
"day": 0
|
|
}
|
|
]
|
|
},
|
|
"schedule": {
|
|
"miseEnPlace": "perSection",
|
|
"rests": "shortest",
|
|
"totalTime": 3,
|
|
"activeTime": 2,
|
|
"preparationTime": 1,
|
|
"idleTime": 0,
|
|
"blocks": [
|
|
{
|
|
"kind": "prep",
|
|
"task": "s0.prep",
|
|
"section": 0,
|
|
"start": 0,
|
|
"end": 1
|
|
},
|
|
{
|
|
"kind": "step",
|
|
"task": "s0.0",
|
|
"section": 0,
|
|
"step": 0,
|
|
"start": 1,
|
|
"end": 3
|
|
}
|
|
],
|
|
"days": [
|
|
{
|
|
"day": 0,
|
|
"start": 0,
|
|
"end": 3,
|
|
"sections": [
|
|
0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|