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

+7 -1
View File
@@ -1,4 +1,4 @@
import { ActivityUnit, BmiKategorie, ImportMode, MealType, Nutrients, Pohlavi } from "../../types";
import { ActivityUnit, BmiKategorie, ImportMode, MealType, Nutrients, Pohlavi, RecipeFlavor } from "../../types";
/** Lidsky čitelné názvy typů jídel. */
export const MEAL_TYPE_NAMES: Record<MealType, string> = {
@@ -187,6 +187,12 @@ export const RECIPE_FILTER_NAMES: Record<RecipeFilter, string> = {
BEZ_RECEPTU: 'Bez receptu',
};
/** Popisky chuti receptu. */
export const RECIPE_FLAVOR_NAMES: Record<RecipeFlavor, string> = {
SLANE: 'Slané',
SLADKE: 'Sladké',
};
/** Zvláštní volby filtru zdroje v seznamu jídel; jinak se filtruje konkrétním zdrojem. */
export enum SourceFilter {
VSE = 'VSE',