Merged in fix/SW-1754-overview-page-rate-limit (pull request #1412)

fix(SW-1754): Fix rate limit issue on Destination Overview Page

* fix(SW-1754): Fix rate limit issue on Destination Overview Page


Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-02-25 14:40:31 +00:00
parent 3867baadd6
commit bc50dcf286
27 changed files with 426 additions and 244 deletions

View File

@@ -2,6 +2,7 @@ import type { z } from "zod"
import type {
blocksSchema,
cityPageUrlsSchema,
destinationCityListDataSchema,
destinationCityPageRefsSchema,
destinationCityPageSchema,
@@ -18,6 +19,10 @@ export interface GetDestinationCityListDataResponse
export interface DestinationCityListData
extends z.output<typeof destinationCityListDataSchema> {}
export interface GetCityPageUrlsData
extends z.input<typeof cityPageUrlsSchema> {}
export interface CityPageUrlsData extends z.output<typeof cityPageUrlsSchema> {}
export interface DestinationCityListItem extends DestinationCityListData {
cityName: string

View File

@@ -2,6 +2,7 @@ import type { z } from "zod"
import type {
blocksSchema,
countryPageUrlsSchema,
destinationCountryPageRefsSchema,
destinationCountryPageSchema,
} from "@/server/routers/contentstack/destinationCountryPage/output"
@@ -19,3 +20,6 @@ export interface GetDestinationCountryPageRefsSchema
export interface DestinationCountryPageRefs
extends z.output<typeof destinationCountryPageRefsSchema> {}
export interface GetCountryPageUrlsData
extends z.input<typeof countryPageUrlsSchema> {}

View File

@@ -2,7 +2,6 @@ import type { z } from "zod"
import type {
blocksSchema,
countryPageUrlSchema,
destinationOverviewPageRefsSchema,
destinationOverviewPageSchema,
} from "@/server/routers/contentstack/destinationOverviewPage/output"
@@ -18,7 +17,4 @@ export interface GetDestinationOverviewPageRefsSchema
export interface DestinationOverviewPageRefs
extends z.output<typeof destinationOverviewPageRefsSchema> {}
export interface GetCountryPageUrlData
extends z.input<typeof countryPageUrlSchema> {}
export type Block = z.output<typeof blocksSchema>

View File

@@ -4,7 +4,7 @@ import type {
contentBlock,
hotelPageRefsSchema,
hotelPageSchema,
hotelPageUrlSchema,
hotelPageUrlsSchema,
} from "@/server/routers/contentstack/hotelPage/output"
import type { activitiesCardSchema } from "@/server/routers/contentstack/schemas/blocks/activitiesCard"
import type { spaPageSchema } from "@/server/routers/contentstack/schemas/blocks/spaPage"
@@ -22,7 +22,6 @@ export interface GetHotelPageRefsSchema
extends z.input<typeof hotelPageRefsSchema> {}
export interface HotelPageRefs extends z.output<typeof hotelPageRefsSchema> {}
export interface GetHotelPageUrlData
extends z.input<typeof hotelPageUrlSchema> {}
export type HotelPageUrl = z.output<typeof hotelPageUrlSchema>
export interface GetHotelPageUrlsData
extends z.input<typeof hotelPageUrlsSchema> {}
export type HotelPageUrls = z.output<typeof hotelPageUrlsSchema>