9 lines
296 B
TypeScript
9 lines
296 B
TypeScript
import { z } from "zod"
|
|
|
|
import { getHotelDataSchema } from "@/server/routers/hotels/output"
|
|
|
|
export type HotelData = z.infer<typeof getHotelDataSchema>
|
|
|
|
export type HotelAddress = HotelData["data"]["attributes"]["address"]
|
|
export type HotelLocation = HotelData["data"]["attributes"]["location"]
|