import { z } from "zod" import { tempImageVaultAssetSchema } from "../schemas/imageVault" import { systemSchema } from "../schemas/system" export const startPageSchema = z.object({ start_page: z.object({ title: z.string(), header: z.object({ heading: z.string(), hero_image: tempImageVaultAssetSchema, }), system: systemSchema.merge( z.object({ created_at: z.string(), updated_at: z.string(), }) ), }), trackingProps: z.object({ url: z.string(), }), }) /** REFS */ export const startPageRefsSchema = z.object({ start_page: z.object({ system: systemSchema, }), })