Bugfix: what-to-eat utan hushall ger forslag; onboarding mal kan valjas multi
This commit is contained in:
@@ -73,7 +73,10 @@ export type OnboardingInput = z.infer<typeof onboardingInputSchema>;
|
||||
|
||||
/** Progressive onboarding Step A – minimal info for immediate value (FAS 1b). */
|
||||
export const quickStartInputSchema = z.object({
|
||||
// Backwards-compatible single goal; if `goals` is omitted we fall back to this.
|
||||
primaryGoal: z.enum(GOAL_TYPES).optional(),
|
||||
// Multi-select goals (new UI). First goal is considered primary.
|
||||
goals: z.array(z.enum(GOAL_TYPES)).max(11).optional(),
|
||||
precisionMode: z.enum(PRECISION_MODES).default("simple"),
|
||||
});
|
||||
export type QuickStartInput = z.infer<typeof quickStartInputSchema>;
|
||||
|
||||
Reference in New Issue
Block a user