fix(SW-194): add refs for hotel pages

This commit is contained in:
Matilda Landström
2024-10-09 16:33:14 +02:00
parent 99d537d40c
commit e234225c4b
8 changed files with 307 additions and 14 deletions

View File

@@ -2,14 +2,19 @@ import { z } from "zod"
import {
contentBlock,
hotelPageRefsSchema,
hotelPageSchema,
} from "@/server/routers/contentstack/hotelPage/output"
import { activitiesCardSchema } from "@/server/routers/contentstack/schemas/blocks/activitiesCard"
// Will be extended once we introduce more functionality to our entries.
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 GetHotelPageRefsSchema
extends z.input<typeof hotelPageRefsSchema> {}
export interface HotelPageRefs extends z.output<typeof hotelPageRefsSchema> {}