import { z } from "zod" import { getAvailabilitySchema, getHotelDataSchema, roomSchema, } from "@/server/routers/hotels/output" export type HotelData = z.infer export type Hotel = HotelData["data"]["attributes"] export type HotelAddress = HotelData["data"]["attributes"]["address"] export type HotelLocation = HotelData["data"]["attributes"]["location"] type HotelRatings = HotelData["data"]["attributes"]["ratings"] export type HotelTripAdvisor = | NonNullable["tripAdvisor"] | undefined export type RoomData = z.infer