mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
passing enforce fabric first to backend
This commit is contained in:
parent
df531a64d9
commit
50b11a8df3
1 changed files with 1 additions and 0 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue