fix: Jen s chybějícímí údaji -> k doplnění

feat: zobrazení aktuálního počtu jídel
feat: chuť a typ receptu
This commit is contained in:
Ondřej Anděl committed 2026-10-16 08:30:18 +02:00
1 parent b637e243d5
commit 35cbc5a9ca
11 files changed
+206 -21

No files matched your search

+20
View File
@@ -1161,6 +1161,7 @@ MealTemplate:
- id
- name
- ingredients
- flavor
properties:
id:
type: string
@@ -1170,6 +1171,13 @@ MealTemplate:
source:
description: Zdroj jídla, typicky "doma"
type: string
category:
description: |
Typ receptu (polévka, omáčka, pečení, ...). Volný text — nabízí se
typy z ostatních receptů, ale zapsat jde i nový.
type: string
flavor:
$ref: "#/RecipeFlavor"
calories:
description: Energetická hodnota jedné porce v kcal
type: integer
@@ -1217,6 +1225,11 @@ MealTemplateInput:
type: string
source:
type: string
category:
type: string
flavor:
description: Bez něj slané
$ref: "#/RecipeFlavor"
note:
type: string
ingredients:
@@ -1228,6 +1241,13 @@ MealTemplateInput:
cookedWeight:
type: integer
RecipeFlavor:
description: Zda je recept slaný, nebo sladký
type: string
enum:
- SLANE
- SLADKE
ExtraWeightGrams:
description: |
Dodatečná zátěž v gramech (činky, zátěžová vesta). Eviduje se jako