SW-65 Moved type to /types
This commit is contained in:
@@ -14,11 +14,15 @@ export const bookingWidgetSchema = z.object({
|
||||
redemption: z.boolean().default(false),
|
||||
voucher: z.boolean().default(false),
|
||||
rooms: z.array(
|
||||
// This will be updated when working in guests component
|
||||
z.object({
|
||||
Adults: z.number().default(1),
|
||||
Child: z.number().default(0),
|
||||
adults: z.number().default(1),
|
||||
childs: z.array(
|
||||
z.object({
|
||||
age: z.number(),
|
||||
bed: z.number(),
|
||||
})
|
||||
),
|
||||
})
|
||||
),
|
||||
})
|
||||
|
||||
export type BookingWidgetSchema = z.infer<typeof bookingWidgetSchema>
|
||||
|
||||
Reference in New Issue
Block a user