feat: SW-1422 Enabled booking code in booking widget
This commit is contained in:
@@ -3,11 +3,15 @@ import type { z } from "zod"
|
||||
|
||||
import type { SearchParams } from "@/types/params"
|
||||
import type { Locations } from "@/types/trpc/routers/hotel/locations"
|
||||
import type { bookingWidgetSchema } from "@/components/Forms/BookingWidget/schema"
|
||||
import type {
|
||||
bookingCodeSchema,
|
||||
bookingWidgetSchema,
|
||||
} from "@/components/Forms/BookingWidget/schema"
|
||||
import type { bookingWidgetVariants } from "@/components/Forms/BookingWidget/variants"
|
||||
import type { TGuestsRoom } from "./guestsRoomsPicker"
|
||||
|
||||
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
|
||||
export type BookingCodeSchema = z.output<typeof bookingCodeSchema>
|
||||
|
||||
export type BookingWidgetSearchData = {
|
||||
city?: string
|
||||
@@ -15,6 +19,7 @@ export type BookingWidgetSearchData = {
|
||||
fromDate?: string
|
||||
toDate?: string
|
||||
rooms?: TGuestsRoom[]
|
||||
bookingCode?: string
|
||||
}
|
||||
|
||||
export type BookingWidgetType = VariantProps<
|
||||
|
||||
Reference in New Issue
Block a user