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.
151 lines
2.8 KiB
JSON
151 lines
2.8 KiB
JSON
{
|
|
"meta": {},
|
|
"registry": {
|
|
"ingredients": {},
|
|
"cookware": {}
|
|
},
|
|
"shopping_list": [],
|
|
"cookware": [],
|
|
"sections": [
|
|
{
|
|
"title": "Dessert",
|
|
"ingredients": [
|
|
{
|
|
"type": "reference",
|
|
"id": "blanc",
|
|
"name": "blanc",
|
|
"_usageId": "1",
|
|
"qty": 1
|
|
}
|
|
],
|
|
"cookware": [],
|
|
"steps": [
|
|
{
|
|
"type": "step",
|
|
"content": [
|
|
"Whisk ",
|
|
{
|
|
"type": "reference",
|
|
"id": "blanc",
|
|
"name": "blanc",
|
|
"_usageId": "1",
|
|
"qty": 1
|
|
},
|
|
"."
|
|
],
|
|
"timings": {
|
|
"start": 0,
|
|
"end": 2,
|
|
"activeDuration": 2
|
|
}
|
|
}
|
|
],
|
|
"metrics": {
|
|
"totalMass": 0,
|
|
"massStatus": "incomplete",
|
|
"missingMassIngredients": []
|
|
}
|
|
}
|
|
],
|
|
"warnings": [
|
|
{
|
|
"code": "UNDEFINED_REFERENCE",
|
|
"message": "Undefined reference '&blanc' — no prior step or section produces this item.",
|
|
"item": "blanc",
|
|
"loc": {
|
|
"start": 53,
|
|
"end": 62
|
|
}
|
|
},
|
|
{
|
|
"code": "MODULE_EXPORT_NOT_FOUND",
|
|
"message": "Module \"./oeufs.gram\" does not export '&blanc'. Did you mean '&blancs'? Available exports: &blancs.",
|
|
"loc": {
|
|
"start": 0,
|
|
"end": 34
|
|
}
|
|
}
|
|
],
|
|
"metrics": {
|
|
"totalTime": 2,
|
|
"totalBreakdown": [
|
|
{
|
|
"label": "section_active:Dessert",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"idleTime": 0,
|
|
"activeTime": 2,
|
|
"activeBreakdown": [
|
|
{
|
|
"label": "section_active:Dessert",
|
|
"duration": 2
|
|
}
|
|
],
|
|
"preparationTime": 0,
|
|
"totalMass": 0,
|
|
"massStatus": "incomplete",
|
|
"missingMassIngredients": [],
|
|
"nutrition": {
|
|
"total": {
|
|
"calories": 0,
|
|
"fat": 0,
|
|
"carbs": 0,
|
|
"protein": 0
|
|
},
|
|
"isEstimate": false,
|
|
"coverage": 0
|
|
}
|
|
},
|
|
"miseEnPlace": [],
|
|
"tasks": {
|
|
"tasks": [
|
|
{
|
|
"id": "s0.0",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 0,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"consumes": [
|
|
"blanc"
|
|
],
|
|
"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
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|