fix(SW-1143): Added loading/skeleton to select hotel
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { CheckInData, Hotel, ParkingData } from "@/types/hotel"
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
import type { CheckInData, Hotel, ParkingData } from "@/types/hotel"
|
||||
import type { Location } from "@/types/trpc/routers/hotel/locations"
|
||||
import type { SelectHotelSearchParams } from "./selectHotelSearchParams"
|
||||
|
||||
export enum AvailabilityEnum {
|
||||
Available = "Available",
|
||||
@@ -35,3 +39,16 @@ export interface CheckInCheckOutProps {
|
||||
export interface MeetingsAndConferencesProps {
|
||||
meetingDescription: string
|
||||
}
|
||||
|
||||
export interface SelectHotelProps {
|
||||
city: Location
|
||||
params: {
|
||||
lang: Lang
|
||||
}
|
||||
reservationParams: {
|
||||
selectHotelParams: URLSearchParams
|
||||
searchParams: SelectHotelSearchParams
|
||||
adultsParams: number
|
||||
childrenParams: string | undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user