feat: Add AmenitiesList and IntroSection components to Hotel Page
This commit is contained in:
8
types/hotel.ts
Normal file
8
types/hotel.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user