diff options
author | xengineering <me@xengineering.eu> | 2023-05-01 18:07:55 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-01 18:07:55 +0200 |
commit | 358c5e76d67477b26d841985649b9279d7633fc3 (patch) | |
tree | c463327722b29a58d3f69dfcd34c806297d4d70c /data/storage/recipes/1/text | |
parent | ca3c6edebc835eadbaa5c1f432193ad7b036bf86 (diff) | |
download | ceres-358c5e76d67477b26d841985649b9279d7633fc3.tar ceres-358c5e76d67477b26d841985649b9279d7633fc3.tar.zst ceres-358c5e76d67477b26d841985649b9279d7633fc3.zip |
Switch to tripel to describe ingredients
It is always the same:
- amount float32
- unit string
- type string
This is good as a starting point. Later the types of ingredients might
have to be tracked. In this a string as key is maybe not the best.
Diffstat (limited to 'data/storage/recipes/1/text')
-rw-r--r-- | data/storage/recipes/1/text | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/storage/recipes/1/text b/data/storage/recipes/1/text index d082bf7..1c4acb8 100644 --- a/data/storage/recipes/1/text +++ b/data/storage/recipes/1/text @@ -6,7 +6,7 @@ { "text":"Bake the frozen pizza!", "ingredients":[ - {"type":"pizza", "amount":"4 pieces"} + {"amount":4, "unit":"pieces", "type":"pizza"} ] } ] |