fix: post / patch attendees docs w examples

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-27 19:25:36 +02:00
1 parent 14e2964a6d
commit e52af0bbef
55 files changed
+246 -233

No files matched your search

-8
View File
@@ -1,13 +1,5 @@
import { withValidation } from "next-validations";
import { _WebhookModel as Webhook } from "@calcom/prisma/zod";
export const schemaWebhookBodyParams = Webhook.omit({ id: true }).partial();
export const schemaWebhookPublic = Webhook.omit({});
export const withValidWebhook = withValidation({
schema: schemaWebhookBodyParams,
type: "Zod",
mode: "body",
});