passing enforce fabric first to backend

This commit is contained in:
Khalim Conn-Kowlessar 2026-01-05 19:50:30 +00:00
parent df531a64d9
commit 50b11a8df3

View file

@ -26,6 +26,7 @@ const PresignedUrlBodySchema = z
file_type: z.enum(["csv", "xlsx"]).optional(), // Specify the file type
file_format: z.enum(["domna_asset_list"]).optional().nullable(), // Specify the file format
sheet_name: z.string().optional().nullable(), // Specify the sheet name if applicable
enforce_fabric_first: z.boolean().optional().default(false),
})
.refine((data) => data.goal !== "Increasing EPC" || !!data.goal_value, {
path: ["goal_value"],