Merged in feat/warmup-cache-function (pull request #1581)

Feat/warmup cache function

* WIP

* Fix warmup for all languages

* Cleanup

* Added env flag so we can disable warmup

* Changed time to 04.00 UTC since backend updates their data at 03.00 UTC

* Add return statements

* Merge branch 'master' into feat/warmup-cache-function


Approved-by: Anton Gunnarsson
This commit is contained in:
Linus Flood
2025-03-21 09:35:36 +00:00
parent 0a1b36f8b7
commit 310296b55f
12 changed files with 169 additions and 4 deletions

View File

@@ -92,6 +92,12 @@ export const nearbyHotelIdsInput = z.object({
hotelId: z.string(),
})
export const getAllHotelsInput = z
.object({
lang: z.nativeEnum(Lang),
})
.optional()
export const breakfastPackageInputSchema = z.object({
adults: z.number().min(1, { message: "at least one adult is required" }),
fromDate: z