Merge remote-tracking branch 'origin' into feat/tracking-payment
This commit is contained in:
@@ -8,7 +8,7 @@ export type Child = {
|
||||
bed: number
|
||||
}
|
||||
|
||||
export type GuestsRoom = {
|
||||
export type TGuestsRoom = {
|
||||
adults: number
|
||||
child: Child[]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import type { z } from "zod"
|
||||
import type { Locations } from "@/types/trpc/routers/hotel/locations"
|
||||
import type { bookingWidgetSchema } from "@/components/Forms/BookingWidget/schema"
|
||||
import type { bookingWidgetVariants } from "@/components/Forms/BookingWidget/variants"
|
||||
import type { GuestsRoom } from "./guestsRoomsPicker"
|
||||
import type { TGuestsRoom } from "./guestsRoomsPicker"
|
||||
|
||||
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
|
||||
|
||||
@@ -13,7 +13,7 @@ export type BookingWidgetSearchParams = {
|
||||
hotel?: string
|
||||
fromDate?: string
|
||||
toDate?: string
|
||||
room?: GuestsRoom[]
|
||||
room?: TGuestsRoom[]
|
||||
}
|
||||
|
||||
export type BookingWidgetType = VariantProps<
|
||||
|
||||
Reference in New Issue
Block a user