fix(SW-1143): Added loading/skeleton to select hotel

This commit is contained in:
Pontus Dreij
2024-12-09 20:21:16 +01:00
parent 463354f10b
commit d4e4c4a0d0
7 changed files with 341 additions and 143 deletions

View File

@@ -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
}
}