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

14 lines
282 B
TypeScript

import { z } from "zod";
import { eventTypeAppCardZod } from "../eventTypeAppCardZod";
export const appDataSchema = eventTypeAppCardZod.merge(
z.object({
thankYouPage: z.string().optional(),
})
);
export const appKeysSchema = z.object({
app_key: z.string().min(1),
});