fix: enforce current physique range in funnel

This commit is contained in:
jjbrunton committed 2026-08-10 18:35:22 +01:00
1 parent d8d635e1ee
commit 1515b3e291
12 files changed
+92 -13

No files matched your search

+5
View File
@@ -61,6 +61,11 @@ export const OutreachCandidateSchema = z.strictObject({
export const OutreachFunnelResponseSchema = z.strictObject({
generatedAt: z.number(),
physiqueTargeting: z.strictObject({
enabled: z.boolean(),
minScore: z.number().int().min(1).max(10),
maxScore: z.number().int().min(1).max(10),
}),
activeCount: z.number().int().nonnegative(),
stages: OutreachStageCountsSchema,
outcomes: z.strictObject({