Allow booking responses to have the data from variantsConfig (#8718)
parent
d6fb0df64f
commit
b08a62d30b
|
@ -17,6 +17,8 @@ export const bookingResponse = z.union([
|
|||
optionValue: z.string(),
|
||||
value: z.string(),
|
||||
}),
|
||||
// For variantsConfig case
|
||||
z.record(z.string()),
|
||||
]);
|
||||
|
||||
export const bookingResponsesDbSchema = z.record(bookingResponse);
|
||||
|
|
Loading…
Reference in New Issue