Merged in feat/SW-1084-spa-page (pull request #1117)

Feat/SW-1084 Spa page option on Hotel page

* chore(SW-1084): add separate spa page from CS for hotel page

* fix(SW-1084): Cleanup


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
This commit is contained in:
Matilda Landström
2025-01-08 15:08:24 +00:00
parent 894e607c5e
commit 85c9ec5b3b
11 changed files with 173 additions and 24 deletions

View File

@@ -7,13 +7,16 @@ import type {
hotelPageUrlSchema,
} 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"
export interface GetHotelPageData extends z.input<typeof hotelPageSchema> {}
export interface HotelPage extends z.output<typeof hotelPageSchema> {}
export interface ActivitiesCard extends z.output<typeof activitiesCardSchema> {}
export type ActivityCard = ActivitiesCard["upcoming_activities_card"]
export interface ContentBlock extends z.output<typeof contentBlock> {}
export interface SpaPage extends z.output<typeof spaPageSchema> {}
export type ContentBlock = z.output<typeof contentBlock>
export interface GetHotelPageRefsSchema
extends z.input<typeof hotelPageRefsSchema> {}