Feat/SW-2271 hotel list filtering
* feat(SW-2271): Changes to hotel data types in preperation for filtering * feat(SW-2271): Added filter and sort functionality Approved-by: Matilda Landström
This commit is contained in:
@@ -239,9 +239,13 @@ export const getHotelsByCSFilterInput = z.object({
|
||||
})
|
||||
.nullish(),
|
||||
hotelsToInclude: z.array(z.string()),
|
||||
contentType: z
|
||||
.enum(["hotel", "restaurant", "meeting"])
|
||||
.optional()
|
||||
.default("hotel"),
|
||||
})
|
||||
export interface GetHotelsByCSFilterInput
|
||||
extends z.infer<typeof getHotelsByCSFilterInput> {}
|
||||
extends z.input<typeof getHotelsByCSFilterInput> {}
|
||||
|
||||
export const nearbyHotelIdsInput = z.object({
|
||||
hotelId: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user