feat: save search params from select-rate to store
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
interface Child {
|
||||
bed: string
|
||||
age: number
|
||||
}
|
||||
|
||||
interface Room {
|
||||
adults: number
|
||||
roomtypecode: string
|
||||
ratecode: string
|
||||
child: Child[]
|
||||
}
|
||||
|
||||
export interface BookingData {
|
||||
hotel: string
|
||||
fromdate: string
|
||||
todate: string
|
||||
room: Room[]
|
||||
}
|
||||
|
||||
export type RoomsData = {
|
||||
roomType: string
|
||||
memberPrice: string | undefined
|
||||
publicPrice: string | undefined
|
||||
adults: number
|
||||
children: Child[]
|
||||
cancellationText: string | undefined
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { StepEnum } from "../../enterDetails/step"
|
||||
import { StepEnum } from "../enterDetails/step"
|
||||
|
||||
export interface SectionAccordionProps {
|
||||
header: string
|
||||
|
||||
Reference in New Issue
Block a user