fix(SW-194): add refs for hotel pages
This commit is contained in:
@@ -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> {}
|
||||
|
||||
Reference in New Issue
Block a user