feat(SW-176): add schemas

This commit is contained in:
Fredrik Thorsson
2024-08-22 15:03:41 +02:00
parent 31b239c577
commit deb3151edc
5 changed files with 79 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
import { z } from "zod"
import { getHotelDataSchema, roomSchema } from "@/server/routers/hotels/output"
import {
getAvailabilitySchema,
getHotelDataSchema,
roomSchema,
} from "@/server/routers/hotels/output"
export type HotelData = z.infer<typeof getHotelDataSchema>
@@ -14,3 +18,5 @@ export type HotelTripAdvisor =
| undefined
export type RoomData = z.infer<typeof roomSchema>
export type Availability = z.infer<typeof getAvailabilitySchema>