feat(SW-341): add hotels listing sidepeeks
This commit is contained in:
@@ -1,4 +1,25 @@
|
||||
import { Hotel, ParkingData } from "@/types/hotel"
|
||||
|
||||
export enum AvailabilityEnum {
|
||||
Available = "Available",
|
||||
NotAvailable = "NotAvailable",
|
||||
}
|
||||
|
||||
export interface DetailedAmenity {
|
||||
name: string
|
||||
heading: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export interface ReadMoreProps {
|
||||
hotelId: string
|
||||
hotel: Hotel
|
||||
}
|
||||
|
||||
export interface ContactProps {
|
||||
hotel: Hotel
|
||||
}
|
||||
|
||||
export interface ParkingProps {
|
||||
parking: ParkingData
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ import { z } from "zod"
|
||||
|
||||
import {
|
||||
getHotelDataSchema,
|
||||
parkingSchema,
|
||||
pointOfInterestSchema,
|
||||
roomSchema,
|
||||
} from "@/server/routers/hotels/output"
|
||||
@@ -49,3 +50,5 @@ export enum PointOfInterestGroupEnum {
|
||||
PARKING = "Parking",
|
||||
SHOPPING_DINING = "Shopping & Dining",
|
||||
}
|
||||
|
||||
export type ParkingData = z.infer<typeof parkingSchema>
|
||||
|
||||
Reference in New Issue
Block a user