import { z } from "zod"

import { apiLocationsSchema } from "@/server/routers/hotels/output"

export interface LocationSchema extends z.output<typeof apiLocationsSchema> {}

export type Locations = LocationSchema["data"]
export type Location = Locations[number]

export type CityLocation = Location & { type: "cities" }
export type HotelLocation = Location & { type: "hotels" }
