Files
web/server/routers/contentstack/destinationOverviewPage/output.ts
Erik Tiekstra 7ac200bd7c Merged in feat/SW-1442-destination-overview-page (pull request #1188)
feat(SW-1442): added destination overview page

* feat(SW-1442): added destination overview page


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-01-20 12:21:04 +00:00

26 lines
535 B
TypeScript

import { z } from "zod"
import { systemSchema } from "../schemas/system"
export const destinationOverviewPageSchema = z.object({
destination_overview_page: z.object({
title: z.string(),
system: systemSchema.merge(
z.object({
created_at: z.string(),
updated_at: z.string(),
})
),
}),
trackingProps: z.object({
url: z.string(),
}),
})
/** REFS */
export const destinationOverviewPageRefsSchema = z.object({
destination_overview_page: z.object({
system: systemSchema,
}),
})