feat(BOOK-414): Added hotel branding themes to hotelpages
Approved-by: Matilda Landström
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
} from "../routers/contentstack/hotelPage/output"
|
||||
import type { activitiesCardSchema } from "../routers/contentstack/schemas/blocks/activitiesCard"
|
||||
import type { spaPageSchema } from "../routers/contentstack/schemas/blocks/spaPage"
|
||||
import type { Campaigns } from "./campaignPage"
|
||||
|
||||
export interface GetHotelPageData extends z.input<typeof hotelPageSchema> {}
|
||||
export interface HotelPage extends z.output<typeof hotelPageSchema> {}
|
||||
@@ -28,3 +29,11 @@ export interface GetHotelPageUrlsData
|
||||
export interface GetHotelPageCountData
|
||||
extends z.input<typeof hotelPageCountSchema> {}
|
||||
export type HotelPageUrls = z.output<typeof hotelPageUrlsSchema>
|
||||
|
||||
export type HotelPageData = HotelPage["hotel_page"] & {
|
||||
campaignsBlock?:
|
||||
| (Omit<HotelPage["hotel_page"]["campaigns"], "prioritizedCampaigns"> & {
|
||||
campaigns: Campaigns
|
||||
})
|
||||
| null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user