Merged in feat/SW-1584-destination-content-blocks (pull request #1278)

Feat/SW-1584 destination content blocks

* feat(SW-1584): Added accordion and content blocks to destination city pages

* feat(SW-1584): Added accordion and content blocks to destination country pages


Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-02-10 09:28:32 +00:00
parent 918887a63f
commit eb0b88f8ea
18 changed files with 546 additions and 33 deletions

View File

@@ -1,6 +1,7 @@
import type { z } from "zod"
import type {
blocksSchema,
destinationCityListDataSchema,
destinationCityPageRefsSchema,
destinationCityPageSchema,
@@ -21,6 +22,7 @@ export interface DestinationCityListData
export interface DestinationCityListItem extends DestinationCityListData {
cityName: string
}
export type Block = z.output<typeof blocksSchema>
export interface GetDestinationCityPageRefsSchema
extends z.input<typeof destinationCityPageRefsSchema> {}

View File

@@ -1,6 +1,7 @@
import type { z } from "zod"
import type {
blocksSchema,
destinationCountryPageRefsSchema,
destinationCountryPageSchema,
} from "@/server/routers/contentstack/destinationCountryPage/output"
@@ -11,6 +12,7 @@ interface DestinationCountryPage
extends z.output<typeof destinationCountryPageSchema> {}
export type DestinationCountryPageData =
DestinationCountryPage["destinationCountryPage"]
export type Block = z.output<typeof blocksSchema>
export interface GetDestinationCountryPageRefsSchema
extends z.input<typeof destinationCountryPageRefsSchema> {}