fix: add packages data from query param
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { BedTypeEnum } from "../../bookingWidget/enums"
|
||||
import { RoomPackageCodeEnum } from "../selectRate/roomFilter"
|
||||
|
||||
interface Child {
|
||||
bed: BedTypeEnum
|
||||
@@ -7,15 +8,16 @@ interface Child {
|
||||
|
||||
interface Room {
|
||||
adults: number
|
||||
roomtype?: string
|
||||
ratecode?: string
|
||||
child?: Child[]
|
||||
roomTypeCode: string
|
||||
rateCode: string
|
||||
children?: Child[]
|
||||
packages?: RoomPackageCodeEnum[]
|
||||
}
|
||||
export interface BookingData {
|
||||
hotel: string
|
||||
fromDate: string
|
||||
toDate: string
|
||||
room: Room[]
|
||||
rooms: Room[]
|
||||
}
|
||||
|
||||
type Price = {
|
||||
|
||||
@@ -13,6 +13,7 @@ interface Room {
|
||||
ratecode: string
|
||||
counterratecode?: string
|
||||
child?: Child[]
|
||||
packages?: string
|
||||
}
|
||||
|
||||
export interface SelectRateSearchParams {
|
||||
|
||||
Reference in New Issue
Block a user