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:
@@ -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
|
||||
|
||||
@@ -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> {}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user