gram/conformance/cases/023-composite-bare-child/compiled.json
abiwab c653893ab0
All checks were successful
CI / Build, Test & Publish (push) Successful in 4m11s
feat: replace the Gantt chart with the work plan (#88)
Introduce @gram-lang/scheduler, work plan views, mise en place modes, comments option, and CLI/editor integrations.
2026-11-05 09:49:00 +01:00

193 lines
3.4 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"juice": {
"id": "juice",
"name": "juice",
"is_composite": true,
"parent": "lemon"
},
"lemon": {
"id": "lemon",
"name": "lemon",
"is_composite": true
}
},
"cookware": {}
},
"shopping_list": [
{
"type": "composite",
"id": "lemon",
"name": "lemon",
"qty": 0.5,
"usage": [
{
"id": "juice"
}
]
}
],
"cookware": [],
"sections": [
{
"title": "Prep",
"ingredients": [
{
"id": "juice",
"_usageId": "1",
"composite": {
"parent": "lemon",
"quantity": {
"type": "fraction",
"value": 0.5,
"numerator": 1,
"denominator": 2,
"text": "1/2"
}
}
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Squeeze the ",
{
"id": "juice",
"_usageId": "1",
"composite": {
"parent": "lemon",
"quantity": {
"type": "fraction",
"value": 0.5,
"numerator": 1,
"denominator": 2,
"text": "1/2"
}
}
},
"into the bowl."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 4,
"totalBreakdown": [
{
"label": "section_active:Prep",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Prep",
"duration": 2
}
],
"preparationTime": 2,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 2
}
]
},
"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
]
}
]
}
}