All checks were successful
CI / Build, Test & Publish (push) Successful in 4m11s
Introduce @gram-lang/scheduler, work plan views, mise en place modes, comments option, and CLI/editor integrations.
119 lines
2 KiB
JSON
119 lines
2 KiB
JSON
{
|
|
"title": "Warn Invalid Unit",
|
|
"slug": "warn-invalid-unit",
|
|
"meta": {
|
|
"title": "Warn Invalid Unit"
|
|
},
|
|
"registry": {
|
|
"ingredients": {},
|
|
"cookware": {}
|
|
},
|
|
"shopping_list": [],
|
|
"cookware": [],
|
|
"sections": [
|
|
{
|
|
"title": "Section",
|
|
"ingredients": [],
|
|
"cookware": [],
|
|
"steps": [
|
|
{
|
|
"type": "step",
|
|
"content": [
|
|
"Bake at ",
|
|
{
|
|
"type": "temperature",
|
|
"quantity": {
|
|
"type": "single",
|
|
"value": 180,
|
|
"text": "180"
|
|
},
|
|
"unit": "xyz"
|
|
},
|
|
"."
|
|
],
|
|
"timings": {
|
|
"start": 0,
|
|
"end": 2,
|
|
"activeDuration": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"warnings": [
|
|
{
|
|
"code": "INVALID_UNIT",
|
|
"message": "Invalid unit \"xyz\" for Temperature.",
|
|
"loc": {
|
|
"start": 54,
|
|
"end": 63
|
|
}
|
|
}
|
|
],
|
|
"metrics": {
|
|
"totalTime": 2,
|
|
"totalBreakdown": [
|
|
{
|
|
"label": "section_active:Section",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"idleTime": 0,
|
|
"activeTime": 2,
|
|
"activeBreakdown": [
|
|
{
|
|
"label": "section_active:Section",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"preparationTime": 0
|
|
},
|
|
"miseEnPlace": [],
|
|
"tasks": {
|
|
"tasks": [
|
|
{
|
|
"id": "s0.0",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 0,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"after": []
|
|
}
|
|
],
|
|
"sections": [
|
|
{
|
|
"day": 0
|
|
}
|
|
]
|
|
},
|
|
"schedule": {
|
|
"miseEnPlace": "perSection",
|
|
"rests": "shortest",
|
|
"totalTime": 2,
|
|
"activeTime": 2,
|
|
"preparationTime": 0,
|
|
"idleTime": 0,
|
|
"blocks": [
|
|
{
|
|
"kind": "step",
|
|
"task": "s0.0",
|
|
"section": 0,
|
|
"step": 0,
|
|
"start": 0,
|
|
"end": 2
|
|
}
|
|
],
|
|
"days": [
|
|
{
|
|
"day": 0,
|
|
"start": 0,
|
|
"end": 2,
|
|
"sections": [
|
|
0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|