feat(SW-176): add schemas
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user