Merged in feat/SW-1207-parking-teaser (pull request #1217)
Feat(SW-1207): Add parking elevator pitch to hotel sidepeek * feat(SW-1207): Add parking elevator pitch to hotel sidepeek * fix(SW-1207): remove optional from parking elevator pitch Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -3,10 +3,11 @@ import type {
|
||||
RestaurantData,
|
||||
RestaurantOpeningHours,
|
||||
} from "@/types/hotel"
|
||||
import type { ParkingAmenityProps } from "./parking"
|
||||
|
||||
export type AmenitiesSidePeekProps = {
|
||||
amenitiesList: Hotel["detailedFacilities"]
|
||||
parking: Hotel["parking"]
|
||||
parking: ParkingAmenityProps
|
||||
checkInInformation: Hotel["hotelFacts"]["checkin"]
|
||||
accessibility: Hotel["hotelFacts"]["hotelInformation"]["accessibility"]
|
||||
restaurants: RestaurantData[]
|
||||
|
||||
@@ -8,7 +8,8 @@ export enum Periods {
|
||||
|
||||
export type ParkingAmenityProps = {
|
||||
parking: Hotel["parking"]
|
||||
hasParkingPage?: boolean
|
||||
parkingElevatorPitch: string
|
||||
hasExtraParkingPage: boolean
|
||||
}
|
||||
|
||||
export type ParkingListProps = {
|
||||
|
||||
@@ -8,6 +8,7 @@ import type {
|
||||
} from "@/server/routers/hotels/output"
|
||||
import type {
|
||||
additionalDataSchema,
|
||||
extraPageSchema,
|
||||
facilitySchema,
|
||||
} from "@/server/routers/hotels/schemas/additionalData"
|
||||
import type { imageSchema } from "@/server/routers/hotels/schemas/image"
|
||||
@@ -41,6 +42,8 @@ export type CheckInData = z.infer<typeof checkinSchema>
|
||||
|
||||
export type AdditionalData = z.infer<typeof additionalDataSchema>
|
||||
|
||||
export type ExtraPageSchema = z.infer<typeof extraPageSchema>
|
||||
|
||||
export type PointOfInterest = z.output<typeof pointOfInterestSchema>
|
||||
|
||||
export enum PointOfInterestGroupEnum {
|
||||
|
||||
Reference in New Issue
Block a user