soustack 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -27
- package/dist/cli/index.js +5225 -992
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.mts +163 -91
- package/dist/index.d.ts +163 -91
- package/dist/index.js +5077 -1007
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5076 -1007
- package/dist/index.mjs.map +1 -1
- package/dist/{scrape.d.mts → scrape/index.d.mts} +88 -74
- package/dist/{scrape.d.ts → scrape/index.d.ts} +88 -74
- package/dist/{scrape.js → scrape/index.js} +255 -124
- package/dist/scrape/index.js.map +1 -0
- package/dist/{scrape.mjs → scrape/index.mjs} +255 -124
- package/dist/scrape/index.mjs.map +1 -0
- package/package.json +21 -9
- package/spec/.sync-meta.json +149 -0
- package/spec/SOUSTACK_SPEC_VERSION +1 -0
- package/spec/defs/common.schema.json +46 -0
- package/spec/defs/duration.schema.json +33 -0
- package/spec/defs/entities.schema.json +111 -0
- package/spec/defs/ingredientQuantified.schema.json +9 -0
- package/spec/defs/quantity.schema.json +16 -0
- package/spec/defs/scalingRule.schema.json +127 -0
- package/spec/defs/temperature.schema.json +63 -0
- package/spec/fixtures/content/illustrated-step.valid.json +24 -0
- package/spec/fixtures/invalid/equipment-unknown-reference.invalid.json +38 -0
- package/spec/fixtures/invalid/mise-en-place-unknown-equipment.invalid.json +37 -0
- package/spec/fixtures/invalid/mise-en-place-unknown-input.invalid.json +41 -0
- package/spec/fixtures/invalid/storage-leftovers-missing-method.invalid.json +31 -0
- package/spec/fixtures/invalid/storage-leftovers-wrong-type.invalid.json +23 -0
- package/spec/fixtures/level/base-full.valid.json +162 -0
- package/spec/fixtures/level/base-missing-yield.invalid.json +12 -0
- package/spec/fixtures/level/lite-min.valid.json +14 -0
- package/spec/fixtures/profile/profile-base.valid.json +20 -0
- package/spec/fixtures/profile/profile-equipped.valid.json +28 -0
- package/spec/fixtures/profile/profile-illustrated.valid.json +28 -0
- package/spec/fixtures/profile/profile-lite.valid.json +13 -0
- package/spec/fixtures/profile/profile-prepped.valid.json +31 -0
- package/spec/fixtures/profile/profile-scalable-missing-scaling.invalid.json +29 -0
- package/spec/fixtures/profile/profile-scalable.valid.json +49 -0
- package/spec/fixtures/profile/profile-timed-missing-structured.invalid.json +30 -0
- package/spec/fixtures/scaling/bakers-percent-missing-ref.invalid.json +41 -0
- package/spec/fixtures/scaling/bakers-percent.valid.json +51 -0
- package/spec/fixtures/scaling/discrete-range.invalid.json +36 -0
- package/spec/fixtures/scaling/missing-quantified.invalid.json +40 -0
- package/spec/fixtures/scaling/reject-bakersPercentage.invalid.json +50 -0
- package/spec/fixtures/stacks/compute-missing-timed.invalid.json +32 -0
- package/spec/fixtures/stacks/dietary-no-signal.invalid.json +16 -0
- package/spec/fixtures/stacks/illustrated-empty.invalid.json +13 -0
- package/spec/fixtures/stacks/quantified-string.invalid.json +22 -0
- package/spec/fixtures/stacks/referenced-missing-input.invalid.json +32 -0
- package/spec/fixtures/stacks/storage-min.valid.json +20 -0
- package/spec/fixtures/stacks/storage-no-duration.invalid.json +16 -0
- package/spec/fixtures/stacks/timed-implies-structured.valid.json +50 -0
- package/spec/fixtures/stacks/timed-range.invalid.json +33 -0
- package/spec/fixtures/valid/equipment-scaling-rules.valid.json +76 -0
- package/spec/fixtures/valid/equipment-strings.valid.json +31 -0
- package/spec/fixtures/valid/equipment-structured-uses.valid.json +47 -0
- package/spec/fixtures/valid/mise-en-place-basic.valid.json +31 -0
- package/spec/fixtures/valid/mise-en-place-referenced-equipment.valid.json +51 -0
- package/spec/fixtures/valid/prep-ingredient-strings.valid.json +48 -0
- package/spec/fixtures/valid/prep-ingredient-structured.valid.json +45 -0
- package/spec/fixtures/valid/profile-equipped.valid.json +29 -0
- package/spec/fixtures/valid/profile-prepped.valid.json +32 -0
- package/spec/fixtures/valid/quantified-nested-ingredient-sections.valid.json +61 -0
- package/spec/fixtures/valid/referenced-scaling.valid.json +67 -0
- package/spec/fixtures/valid/storage-leftovers-simple.valid.json +27 -0
- package/spec/fixtures/valid/storage-leftovers-structured.valid.json +43 -0
- package/spec/fixtures/valid/structured-nested-step-sections.valid.json +84 -0
- package/spec/schemas/stacks-registry.schema.json +108 -0
- package/spec/soustack.schema.json +2379 -0
- package/spec/stacks/compute.schema.json +7 -0
- package/spec/stacks/compute@1.md +22 -0
- package/spec/stacks/dietary.schema.json +45 -0
- package/spec/stacks/dietary@1.md +24 -0
- package/spec/stacks/equipment.schema.json +98 -0
- package/spec/stacks/equipment@1.md +244 -0
- package/spec/stacks/illustrated.schema.json +54 -0
- package/spec/stacks/illustrated@1.md +24 -0
- package/spec/stacks/prep.schema.json +76 -0
- package/spec/stacks/prep@1.md +276 -0
- package/spec/stacks/quantified.schema.json +74 -0
- package/spec/stacks/quantified@1.md +24 -0
- package/spec/stacks/referenced.schema.json +96 -0
- package/spec/stacks/referenced@1.md +23 -0
- package/spec/stacks/registry.json +112 -0
- package/spec/stacks/scaling.schema.json +99 -0
- package/spec/stacks/scaling@1.md +238 -0
- package/spec/stacks/storage.schema.json +132 -0
- package/spec/stacks/storage@1.md +256 -0
- package/spec/stacks/structured.schema.json +48 -0
- package/spec/stacks/structured@1.md +24 -0
- package/spec/stacks/substitutions.schema.json +43 -0
- package/spec/stacks/substitutions@1.md +24 -0
- package/spec/stacks/techniques.schema.json +28 -0
- package/spec/stacks/techniques@1.md +23 -0
- package/spec/stacks/timed.schema.json +60 -0
- package/spec/stacks/timed@1.md +23 -0
- package/src/defs/common.schema.json +46 -0
- package/src/defs/duration.schema.json +33 -0
- package/src/defs/entities.schema.json +111 -0
- package/src/defs/ingredientQuantified.schema.json +9 -0
- package/src/defs/quantity.schema.json +16 -0
- package/src/defs/scalingRule.schema.json +127 -0
- package/src/defs/temperature.schema.json +63 -0
- package/src/profiles/base.schema.json +2 -2
- package/src/profiles/equipped.schema.json +10 -0
- package/src/profiles/illustrated.schema.json +4 -4
- package/src/profiles/lite.schema.json +10 -0
- package/src/profiles/prepped.schema.json +10 -0
- package/src/profiles/scalable.schema.json +6 -6
- package/src/profiles/timed.schema.json +10 -0
- package/src/schema.json +2271 -248
- package/src/schemas/stacks-registry.schema.json +108 -0
- package/src/soustack.schema.json +2271 -248
- package/src/stacks/compute.schema.json +7 -0
- package/src/stacks/compute@1.md +22 -0
- package/src/stacks/dietary.schema.json +45 -0
- package/src/stacks/dietary@1.md +24 -0
- package/src/stacks/equipment.schema.json +98 -0
- package/src/stacks/equipment@1.md +244 -0
- package/src/stacks/illustrated.schema.json +54 -0
- package/src/stacks/illustrated@1.md +24 -0
- package/src/stacks/prep.schema.json +76 -0
- package/src/stacks/prep@1.md +276 -0
- package/src/stacks/quantified.schema.json +74 -0
- package/src/stacks/quantified@1.md +24 -0
- package/src/stacks/referenced.schema.json +96 -0
- package/src/stacks/referenced@1.md +23 -0
- package/src/stacks/registry.json +112 -0
- package/src/stacks/scaling.schema.json +99 -0
- package/src/stacks/scaling@1.md +238 -0
- package/src/stacks/storage.schema.json +132 -0
- package/src/stacks/storage@1.md +256 -0
- package/src/stacks/structured.schema.json +48 -0
- package/src/stacks/structured@1.md +24 -0
- package/src/stacks/substitutions.schema.json +43 -0
- package/src/stacks/substitutions@1.md +24 -0
- package/src/stacks/techniques.schema.json +28 -0
- package/src/stacks/techniques@1.md +23 -0
- package/src/stacks/timed.schema.json +60 -0
- package/src/stacks/timed@1.md +23 -0
- package/dist/scrape.js.map +0 -1
- package/dist/scrape.mjs.map +0 -1
- package/src/profiles/cookable.schema.json +0 -18
- package/src/profiles/quantified.schema.json +0 -43
- package/src/profiles/schedulable.schema.json +0 -43
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "base",
|
|
3
|
+
"stacks": {},
|
|
4
|
+
"name": "Boiled Egg",
|
|
5
|
+
"yield": {
|
|
6
|
+
"amount": 1,
|
|
7
|
+
"unit": "serving"
|
|
8
|
+
},
|
|
9
|
+
"time": {
|
|
10
|
+
"total": {
|
|
11
|
+
"minutes": 10
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"ingredients": [
|
|
15
|
+
"Egg"
|
|
16
|
+
],
|
|
17
|
+
"instructions": [
|
|
18
|
+
"Boil the egg for 10 minutes."
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "equipped",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"equipment": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Equipped Recipe",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 2,
|
|
9
|
+
"unit": "servings"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 15
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"equipment": [
|
|
17
|
+
"mixing bowl",
|
|
18
|
+
"spatula"
|
|
19
|
+
],
|
|
20
|
+
"ingredients": [
|
|
21
|
+
"flour",
|
|
22
|
+
"eggs"
|
|
23
|
+
],
|
|
24
|
+
"instructions": [
|
|
25
|
+
"Mix ingredients in a bowl.",
|
|
26
|
+
"Stir until smooth."
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "illustrated",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"illustrated": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Illustrated Recipe",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 1,
|
|
9
|
+
"unit": "serving"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 5
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"images": [
|
|
17
|
+
"https://example.com/image.jpg"
|
|
18
|
+
],
|
|
19
|
+
"ingredients": [
|
|
20
|
+
"bread"
|
|
21
|
+
],
|
|
22
|
+
"instructions": [
|
|
23
|
+
{
|
|
24
|
+
"id": "step-1",
|
|
25
|
+
"text": "Toast the bread."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "prepped",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"prep": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Prepped Recipe",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 4,
|
|
9
|
+
"unit": "servings"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 20
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"ingredients": [
|
|
17
|
+
"onion",
|
|
18
|
+
"garlic"
|
|
19
|
+
],
|
|
20
|
+
"instructions": [
|
|
21
|
+
"Cook the ingredients."
|
|
22
|
+
],
|
|
23
|
+
"miseEnPlace": [
|
|
24
|
+
{
|
|
25
|
+
"text": "Finely dice the onion"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"text": "Mince the garlic"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "scalable",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Scaled Bread",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 2,
|
|
9
|
+
"unit": "loaf"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 180
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"ingredients": [
|
|
17
|
+
{
|
|
18
|
+
"id": "flour",
|
|
19
|
+
"name": "Bread flour",
|
|
20
|
+
"quantity": {
|
|
21
|
+
"amount": 500,
|
|
22
|
+
"unit": "g"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"instructions": [
|
|
27
|
+
"Mix ingredients."
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "scalable",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"scaling": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Scaled Bread",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 2,
|
|
10
|
+
"unit": "loaf"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 180
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "flour",
|
|
20
|
+
"name": "Bread flour",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 500,
|
|
23
|
+
"unit": "g"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "water",
|
|
28
|
+
"name": "Water",
|
|
29
|
+
"quantity": {
|
|
30
|
+
"amount": 325,
|
|
31
|
+
"unit": "g"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"scaling": {
|
|
36
|
+
"discrete": {
|
|
37
|
+
"min": 1,
|
|
38
|
+
"max": 5,
|
|
39
|
+
"step": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"instructions": [
|
|
43
|
+
{
|
|
44
|
+
"text": "Combine ingredients and knead until smooth.",
|
|
45
|
+
"dependsOn": [],
|
|
46
|
+
"id": "step-1"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "timed",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"timed": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Timed Roast",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 4,
|
|
9
|
+
"unit": "servings"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 90
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"ingredients": [
|
|
17
|
+
"Beef"
|
|
18
|
+
],
|
|
19
|
+
"instructions": [
|
|
20
|
+
{
|
|
21
|
+
"id": "step-1",
|
|
22
|
+
"text": "Roast until done",
|
|
23
|
+
"timing": {
|
|
24
|
+
"duration": {
|
|
25
|
+
"minutes": 90
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"scaling": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Bad Baker Percent",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "batch"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 20
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "salt",
|
|
20
|
+
"name": "Salt",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 10,
|
|
23
|
+
"unit": "g"
|
|
24
|
+
},
|
|
25
|
+
"scaling": {
|
|
26
|
+
"mode": "bakersPercent",
|
|
27
|
+
"percent": 2,
|
|
28
|
+
"of": "missing"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"instructions": [
|
|
33
|
+
"combine"
|
|
34
|
+
],
|
|
35
|
+
"scaling": {
|
|
36
|
+
"discrete": {
|
|
37
|
+
"min": 2,
|
|
38
|
+
"max": 6
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"scaling": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Scaled Bread",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "loaf"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 45
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "flour",
|
|
20
|
+
"name": "Bread flour",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 500,
|
|
23
|
+
"unit": "g"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "water",
|
|
28
|
+
"name": "Water",
|
|
29
|
+
"quantity": {
|
|
30
|
+
"amount": 325,
|
|
31
|
+
"unit": "g"
|
|
32
|
+
},
|
|
33
|
+
"scaling": {
|
|
34
|
+
"mode": "bakersPercent",
|
|
35
|
+
"percent": 65,
|
|
36
|
+
"of": "flour"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"instructions": [
|
|
41
|
+
"mix",
|
|
42
|
+
"bake"
|
|
43
|
+
],
|
|
44
|
+
"scaling": {
|
|
45
|
+
"discrete": {
|
|
46
|
+
"min": 1,
|
|
47
|
+
"max": 4,
|
|
48
|
+
"step": 1
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"scaling": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Bad Range",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "tray"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 15
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "sugar",
|
|
20
|
+
"name": "Sugar",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 100,
|
|
23
|
+
"unit": "g"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"instructions": [
|
|
28
|
+
"stir"
|
|
29
|
+
],
|
|
30
|
+
"scaling": {
|
|
31
|
+
"discrete": {
|
|
32
|
+
"min": 5,
|
|
33
|
+
"max": 2
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"scaling": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Incomplete Scaling",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 2,
|
|
9
|
+
"unit": "loaves"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 30
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"ingredients": [
|
|
17
|
+
{
|
|
18
|
+
"id": "starter",
|
|
19
|
+
"name": "Starter",
|
|
20
|
+
"quantity": {
|
|
21
|
+
"amount": 150,
|
|
22
|
+
"unit": "g"
|
|
23
|
+
},
|
|
24
|
+
"scaling": {
|
|
25
|
+
"mode": "bakersPercent",
|
|
26
|
+
"percent": 30,
|
|
27
|
+
"of": "flour"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"instructions": [
|
|
32
|
+
"mix"
|
|
33
|
+
],
|
|
34
|
+
"scaling": {
|
|
35
|
+
"discrete": {
|
|
36
|
+
"min": 1,
|
|
37
|
+
"max": 3
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"scaling": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Reject Legacy Bakers Percentage",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "loaf"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 45
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "flour",
|
|
20
|
+
"name": "Bread flour",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 500,
|
|
23
|
+
"unit": "g"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "water",
|
|
28
|
+
"name": "Water",
|
|
29
|
+
"quantity": {
|
|
30
|
+
"amount": 325,
|
|
31
|
+
"unit": "g"
|
|
32
|
+
},
|
|
33
|
+
"bakersPercentage": {
|
|
34
|
+
"of": "flour",
|
|
35
|
+
"percent": 65
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"instructions": [
|
|
40
|
+
"mix",
|
|
41
|
+
"bake"
|
|
42
|
+
],
|
|
43
|
+
"scaling": {
|
|
44
|
+
"discrete": {
|
|
45
|
+
"min": 1,
|
|
46
|
+
"max": 4,
|
|
47
|
+
"step": 1
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1,
|
|
5
|
+
"compute": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Compute Without Timed",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "dish"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 10
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "i1",
|
|
20
|
+
"name": "item",
|
|
21
|
+
"quantity": {
|
|
22
|
+
"amount": 1,
|
|
23
|
+
"unit": "cup"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"instructions": [
|
|
28
|
+
{
|
|
29
|
+
"text": "do"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"quantified": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Bad Quant",
|
|
7
|
+
"yield": {
|
|
8
|
+
"amount": 1,
|
|
9
|
+
"unit": "dish"
|
|
10
|
+
},
|
|
11
|
+
"time": {
|
|
12
|
+
"total": {
|
|
13
|
+
"minutes": 5
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"ingredients": [
|
|
17
|
+
"1 cup mystery"
|
|
18
|
+
],
|
|
19
|
+
"instructions": [
|
|
20
|
+
"mix"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"structured": 1,
|
|
5
|
+
"referenced": 1
|
|
6
|
+
},
|
|
7
|
+
"name": "Missing Input",
|
|
8
|
+
"yield": {
|
|
9
|
+
"amount": 1,
|
|
10
|
+
"unit": "dish"
|
|
11
|
+
},
|
|
12
|
+
"time": {
|
|
13
|
+
"total": {
|
|
14
|
+
"minutes": 20
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"ingredients": [
|
|
18
|
+
{
|
|
19
|
+
"id": "i1",
|
|
20
|
+
"name": "Thing"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"instructions": [
|
|
24
|
+
{
|
|
25
|
+
"id": "s1",
|
|
26
|
+
"text": "Do it",
|
|
27
|
+
"inputs": [
|
|
28
|
+
"i2"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://soustack.spec/soustack.schema.json",
|
|
3
|
+
"stacks": {
|
|
4
|
+
"storage": 1
|
|
5
|
+
},
|
|
6
|
+
"name": "Leftover Soup",
|
|
7
|
+
"ingredients": [
|
|
8
|
+
"soup"
|
|
9
|
+
],
|
|
10
|
+
"instructions": [
|
|
11
|
+
"reheat when ready"
|
|
12
|
+
],
|
|
13
|
+
"storage": {
|
|
14
|
+
"refrigerated": {
|
|
15
|
+
"duration": {
|
|
16
|
+
"iso8601": "P3D"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|