Merged in feat/SW-3688-nerbyhotels (pull request #3372)

feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* Cleanup


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-12-18 13:43:56 +00:00
parent 6b08d5a113
commit 40e1efa81f
5 changed files with 1 additions and 42 deletions

View File

@@ -1,23 +0,0 @@
import { z } from "zod"
import { attributesSchema } from "../../hotel"
export const nearbyHotelsSchema = z.object({
attributes: z.lazy(() =>
attributesSchema.pick({
address: true,
cityId: true,
cityName: true,
detailedFacilities: true,
hotelContent: true,
isActive: true,
isPublished: true,
location: true,
name: true,
operaId: true,
ratings: true,
})
),
id: z.string(),
type: z.literal("hotels"),
})