feat: SW-1588 Fixed rebase issues
This commit is contained in:
@@ -33,13 +33,8 @@ export default async function SelectRatePage({
|
|||||||
if (!searchDetails?.hotel) {
|
if (!searchDetails?.hotel) {
|
||||||
return notFound()
|
return notFound()
|
||||||
}
|
}
|
||||||
const {
|
const { hotel, adultsInRoom, childrenInRoom, selectHotelParams } =
|
||||||
hotel,
|
searchDetails
|
||||||
adultsInRoom,
|
|
||||||
childrenInRoom,
|
|
||||||
selectHotelParams,
|
|
||||||
bookingCode,
|
|
||||||
} = searchDetails
|
|
||||||
|
|
||||||
const { fromDate, toDate } = getValidDates(
|
const { fromDate, toDate } = getValidDates(
|
||||||
selectHotelParams.fromDate,
|
selectHotelParams.fromDate,
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ import type { HotelDataWithUrl } from "@/types/hotel"
|
|||||||
import type {
|
import type {
|
||||||
HotelsAvailabilityInputSchema,
|
HotelsAvailabilityInputSchema,
|
||||||
HotelsByHotelIdsAvailabilityInputSchema,
|
HotelsByHotelIdsAvailabilityInputSchema,
|
||||||
RoomsAvailabilityInputSchema,
|
|
||||||
} from "@/types/trpc/routers/hotel/availability"
|
} from "@/types/trpc/routers/hotel/availability"
|
||||||
import type { HotelInput } from "@/types/trpc/routers/hotel/hotel"
|
import type { HotelInput } from "@/types/trpc/routers/hotel/hotel"
|
||||||
import type { CityLocation } from "@/types/trpc/routers/hotel/locations"
|
import type { CityLocation } from "@/types/trpc/routers/hotel/locations"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import type { z } from "zod"
|
|||||||
import type {
|
import type {
|
||||||
getHotelsByHotelIdsAvailabilityInputSchema,
|
getHotelsByHotelIdsAvailabilityInputSchema,
|
||||||
hotelsAvailabilityInputSchema,
|
hotelsAvailabilityInputSchema,
|
||||||
roomsAvailabilityInputSchema,
|
|
||||||
} from "@/server/routers/hotels/input"
|
} from "@/server/routers/hotels/input"
|
||||||
import type { hotelsAvailabilitySchema } from "@/server/routers/hotels/output"
|
import type { hotelsAvailabilitySchema } from "@/server/routers/hotels/output"
|
||||||
import type { productTypeSchema } from "@/server/routers/hotels/schemas/availability/productType"
|
import type { productTypeSchema } from "@/server/routers/hotels/schemas/availability/productType"
|
||||||
@@ -16,9 +15,6 @@ export type HotelsAvailabilityInputSchema = z.output<
|
|||||||
export type HotelsByHotelIdsAvailabilityInputSchema = z.output<
|
export type HotelsByHotelIdsAvailabilityInputSchema = z.output<
|
||||||
typeof getHotelsByHotelIdsAvailabilityInputSchema
|
typeof getHotelsByHotelIdsAvailabilityInputSchema
|
||||||
>
|
>
|
||||||
export type RoomsAvailabilityInputSchema = z.output<
|
|
||||||
typeof roomsAvailabilityInputSchema
|
|
||||||
>
|
|
||||||
export type ProductType = z.output<typeof productTypeSchema>
|
export type ProductType = z.output<typeof productTypeSchema>
|
||||||
export type ProductTypePrices = z.output<typeof productTypePriceSchema>
|
export type ProductTypePrices = z.output<typeof productTypePriceSchema>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user