cal.pub0.org/packages/app-store/wordpress/zod.ts

10 lines
194 B
TypeScript

import { z } from "zod";
import { eventTypeAppCardZod } from "../eventTypeAppCardZod";
export const appDataSchema = eventTypeAppCardZod.merge(
z.object({
isSunrise: z.boolean(),
})
);