Files
web/server/routers/hotels/input.ts

16 lines
330 B
TypeScript

import { z } from "zod"
export const getHotelInputSchema = z.object({
include: z
.array(z.enum(["RoomCategories", "NearbyHotels", "Restaurants", "City"]))
.optional(),
})
export const getRatesInputSchema = z.object({
hotelId: z.string(),
})
export const getFiltersInputSchema = z.object({
hotelId: z.string(),
})