Merged in feature/bookingwidget-client-side (pull request #1481)

Move more of BookingWidget to client SW-1639

* feat: move getLocations in booking widget to client side so that it's also cached on the client reducing the blinking when switching urls (and reducing duplicate calls)


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-03-05 13:37:33 +00:00
parent 916912a170
commit f36b90e474
10 changed files with 54 additions and 62 deletions

View File

@@ -140,3 +140,7 @@ export const getHotelsByCountryInput = z.object({
export const getHotelsByCityIdentifierInput = z.object({
cityIdentifier: z.string(),
})
export const getLocationsInput = z.object({
lang: z.nativeEnum(Lang),
})