feat: consume serach params in summary and step page

This commit is contained in:
Christel Westerberg
2024-10-24 10:53:05 +02:00
parent 85fdefb5ac
commit 7954c704d9
27 changed files with 376 additions and 263 deletions

View File

@@ -5,23 +5,21 @@ interface Child {
interface Room {
adults: number
roomtypecode: string
ratecode: string
child: Child[]
roomtypecode?: string
ratecode?: string
child?: Child[]
}
export interface BookingData {
hotel: string
fromdate: string
todate: string
fromDate: string
toDate: string
room: Room[]
}
export type RoomsData = {
roomType: string
memberPrice: string | undefined
publicPrice: string | undefined
price: string
adults: number
children: Child[]
cancellationText: string | undefined
children?: Child[]
cancellationText: string
}

View File

@@ -7,7 +7,7 @@ export interface Child {
interface Room {
adults: number
roomcode?: string
roomtypecode?: string
ratecode?: string
child?: Child[]
}