Merged in feat/SW-1557-implement-booking-code-select (pull request #1304)
feat: SW-1577 Implemented booking code city search * feat: SW-1577 Implemented booking code city search * feat: SW-1557 Strict comparison * feat: SW-1557 Review comments fix Approved-by: Michael Zetterberg Approved-by: Pontus Dreij
This commit is contained in:
@@ -8,4 +8,5 @@ export type HotelCardProps = {
|
||||
isUserLoggedIn: boolean
|
||||
type?: HotelCardListingTypeEnum
|
||||
state?: "default" | "active"
|
||||
bookingCode?: string | null
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ export interface SelectHotelMapProps {
|
||||
hotels: HotelData[]
|
||||
filterList: CategorizedFilters
|
||||
cityCoordinates: Coordinates
|
||||
bookingCode: string | undefined
|
||||
}
|
||||
|
||||
type ImageSizes = z.infer<typeof imageSchema>["imageSizes"]
|
||||
@@ -32,6 +33,7 @@ export type HotelPin = {
|
||||
coordinates: Coordinates
|
||||
publicPrice: number | null
|
||||
memberPrice: number | null
|
||||
rateType: string | null
|
||||
currency: string
|
||||
images: {
|
||||
imageSizes: ImageSizes
|
||||
|
||||
@@ -5,6 +5,7 @@ export interface SelectHotelSearchParams {
|
||||
fromDate: string
|
||||
toDate: string
|
||||
rooms: Pick<Room, "adults" | "childrenInRoom">[]
|
||||
bookingCode: string
|
||||
}
|
||||
|
||||
export interface AlternativeHotelsSearchParams {
|
||||
@@ -12,4 +13,5 @@ export interface AlternativeHotelsSearchParams {
|
||||
fromDate: string
|
||||
toDate: string
|
||||
rooms: Pick<Room, "adults" | "childrenInRoom">[]
|
||||
bookingCode: string
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ export interface SelectRateSearchParams {
|
||||
fromDate: string
|
||||
toDate: string
|
||||
rooms: Room[]
|
||||
bookingCode?: string
|
||||
}
|
||||
|
||||
export interface Rate {
|
||||
|
||||
Reference in New Issue
Block a user