feat: use getHotel data

This commit is contained in:
Fredrik Thorsson
2024-07-09 16:36:37 +02:00
parent 54daa1735a
commit 286d772de1
6 changed files with 31 additions and 81 deletions

View File

@@ -4,6 +4,7 @@ import { getHotelDataSchema } from "@/server/routers/hotels/output"
export type HotelData = z.infer<typeof getHotelDataSchema>
export type Hotel = HotelData["data"]["attributes"]
export type HotelAddress = HotelData["data"]["attributes"]["address"]
export type HotelLocation = HotelData["data"]["attributes"]["location"]
export type HotelTripAdvisor =