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.
269 lines
3.9 KiB
JSON
269 lines
3.9 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"id": "s0.prep",
|
|
"kind": "prep",
|
|
"section": 0,
|
|
"duration": {
|
|
"nominal": 14
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 9,
|
|
"duration": 9
|
|
},
|
|
{
|
|
"kind": "gather",
|
|
"target": "cookware",
|
|
"count": 3,
|
|
"duration": 3
|
|
},
|
|
{
|
|
"kind": "prepare",
|
|
"ref": {
|
|
"type": "ingredient",
|
|
"id": "vanilla-bean"
|
|
},
|
|
"duration": 2
|
|
}
|
|
],
|
|
"after": []
|
|
},
|
|
{
|
|
"id": "s0.prep.dry-ingredients",
|
|
"kind": "prep",
|
|
"section": 0,
|
|
"intermediate": "dry-ingredients",
|
|
"duration": {
|
|
"nominal": 1
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 1,
|
|
"duration": 1,
|
|
"intermediates": 1
|
|
}
|
|
],
|
|
"after": ["s0.0"]
|
|
},
|
|
{
|
|
"id": "s0.prep.hot-milk",
|
|
"kind": "prep",
|
|
"section": 0,
|
|
"intermediate": "hot-milk",
|
|
"duration": {
|
|
"nominal": 1
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 1,
|
|
"duration": 1,
|
|
"intermediates": 1
|
|
}
|
|
],
|
|
"after": ["s0.1"]
|
|
},
|
|
{
|
|
"id": "s0.0",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 0,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"produces": ["dry ingredients"],
|
|
"after": []
|
|
},
|
|
{
|
|
"id": "s0.1",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 1,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"produces": ["hot milk"],
|
|
"after": ["s0.0"]
|
|
},
|
|
{
|
|
"id": "s0.2",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 2,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"consumes": ["hot milk", "dry ingredients"],
|
|
"after": ["s0.1", "s0.0"]
|
|
},
|
|
{
|
|
"id": "s0.3",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 3,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"after": ["s0.2"]
|
|
},
|
|
{
|
|
"id": "s0.4",
|
|
"kind": "step",
|
|
"section": 0,
|
|
"step": 4,
|
|
"duration": {
|
|
"nominal": 0
|
|
},
|
|
"after": ["s0.3"]
|
|
},
|
|
{
|
|
"id": "s0.4.t0",
|
|
"kind": "passive",
|
|
"section": 0,
|
|
"step": 4,
|
|
"track": "refrigerator",
|
|
"offset": 0,
|
|
"duration": {
|
|
"nominal": 1440,
|
|
"min": 1440,
|
|
"max": 2880
|
|
},
|
|
"after": ["s0.4"]
|
|
},
|
|
{
|
|
"id": "s1.prep",
|
|
"kind": "prep",
|
|
"section": 1,
|
|
"duration": {
|
|
"nominal": 4
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "cookware",
|
|
"count": 2,
|
|
"duration": 2
|
|
},
|
|
{
|
|
"kind": "prepare",
|
|
"ref": {
|
|
"type": "cookware",
|
|
"id": "cannele-molds"
|
|
},
|
|
"duration": 2
|
|
}
|
|
],
|
|
"after": []
|
|
},
|
|
{
|
|
"id": "s1.prep.batter",
|
|
"kind": "prep",
|
|
"section": 1,
|
|
"intermediate": "batter",
|
|
"duration": {
|
|
"nominal": 1
|
|
},
|
|
"items": [
|
|
{
|
|
"kind": "gather",
|
|
"target": "ingredient",
|
|
"count": 1,
|
|
"duration": 1,
|
|
"intermediates": 1
|
|
}
|
|
],
|
|
"after": ["s0.4"]
|
|
},
|
|
{
|
|
"id": "s1.0",
|
|
"kind": "step",
|
|
"section": 1,
|
|
"step": 0,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"after": []
|
|
},
|
|
{
|
|
"id": "s1.1",
|
|
"kind": "step",
|
|
"section": 1,
|
|
"step": 1,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"after": ["s1.0"]
|
|
},
|
|
{
|
|
"id": "s1.2",
|
|
"kind": "step",
|
|
"section": 1,
|
|
"step": 2,
|
|
"duration": {
|
|
"nominal": 2
|
|
},
|
|
"consumes": ["batter"],
|
|
"after": ["s1.1", "s0.4"]
|
|
},
|
|
{
|
|
"id": "s1.3",
|
|
"kind": "step",
|
|
"section": 1,
|
|
"step": 3,
|
|
"duration": {
|
|
"nominal": 0
|
|
},
|
|
"after": ["s1.2"]
|
|
},
|
|
{
|
|
"id": "s1.3.t0",
|
|
"kind": "passive",
|
|
"section": 1,
|
|
"step": 3,
|
|
"track": "baking",
|
|
"offset": 0,
|
|
"duration": {
|
|
"nominal": 10
|
|
},
|
|
"after": ["s1.3"]
|
|
},
|
|
{
|
|
"id": "s1.4",
|
|
"kind": "step",
|
|
"section": 1,
|
|
"step": 4,
|
|
"duration": {
|
|
"nominal": 0
|
|
},
|
|
"after": ["s1.3"]
|
|
},
|
|
{
|
|
"id": "s1.4.t0",
|
|
"kind": "passive",
|
|
"section": 1,
|
|
"step": 4,
|
|
"track": "baking",
|
|
"offset": 0,
|
|
"duration": {
|
|
"nominal": 30
|
|
},
|
|
"after": ["s1.4"]
|
|
}
|
|
],
|
|
"sections": [
|
|
{
|
|
"day": 1,
|
|
"deadline": 1440,
|
|
"intermediate": "batter"
|
|
},
|
|
{
|
|
"day": 0
|
|
}
|
|
]
|
|
}
|