feat/SW-627-query-available-hotels (pull request #751)
Feat/SW-627 query available hotels * feat(SW-627): use correct search query to find available hotels * feat(SW-627): fix type name * feat(SW-627): update correct params * feat(SW-627): update correct params type * feat(SW-627): fix select hotel searchParams type Approved-by: Niclas Edenvin
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
interface Child {
|
||||
bed: string
|
||||
age: number
|
||||
}
|
||||
|
||||
interface Room {
|
||||
adults: number
|
||||
child?: Child[]
|
||||
}
|
||||
|
||||
export interface SelectHotelSearchParams {
|
||||
city: string
|
||||
fromDate: string
|
||||
toDate: string
|
||||
room: Room[]
|
||||
[key: string]: string | string[] | Room[]
|
||||
}
|
||||
@@ -14,8 +14,8 @@ interface Room {
|
||||
|
||||
export interface SelectRateSearchParams {
|
||||
hotel: string
|
||||
fromdate: string
|
||||
todate: string
|
||||
fromDate: string
|
||||
toDate: string
|
||||
room: Room[]
|
||||
[key: string]: string | string[] | Room[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user