Files
web/server/routers/contentstack/hotelPage/output.ts
Matilda Landström 72c8246384 Revert "chore(SW-303): fetch activity card from CS"
This reverts commit dde9ca190a.
2024-09-09 08:46:31 +02:00

17 lines
419 B
TypeScript

import { z } from "zod"
export const validateHotelPageSchema = z.object({
hotel_page: z.object({
hotel_page_id: z.string(),
title: z.string(),
url: z.string(),
}),
})
// Will be extended once we introduce more functionality to our entries.
export type HotelPageDataRaw = z.infer<typeof validateHotelPageSchema>
type HotelPageRaw = HotelPageDataRaw["hotel_page"]
export type HotelPage = HotelPageRaw