feat: add multiple goals. by Claude

This commit is contained in:
2026-02-12 19:45:29 -03:00
parent 3f89eca586
commit 8a187fbe15
5 changed files with 516 additions and 89 deletions
+6 -4
View File
@@ -23,14 +23,16 @@ export type FoodStorage = {
export type UserSettings = {
id?: string;
caloriesGoal?: number;
proteinGoal: number;
fatGoal: number;
carboGoal: number;
fiberGoal: number;
proteinGoal?: number;
fatGoal?: number;
carboGoal?: number;
fiberGoal?: number;
bodyWeight?: number;
height?: number;
bmi?: number;
bmiResult?: string;
goalName?: string;
isActive?: boolean;
};
export type DailyTotalCalories = {