cal.pub0.org/lib/validations/webhook.ts

6 lines
195 B
TypeScript

import { _WebhookModel as Webhook } from "@calcom/prisma/zod";
export const schemaWebhookBodyParams = Webhook.omit({ id: true }).partial();
export const schemaWebhookPublic = Webhook.omit({});