2
0
Files

12 lines
320 B
TypeScript
Raw Permalink Normal View History

2024-08-09 00:39:27 +02:00
import { z } from "zod";
import { webhookIdAndEventTypeIdSchema } from "./types";
export const ZDeleteInputSchema = webhookIdAndEventTypeIdSchema.extend({
id: z.string(),
eventTypeId: z.number().optional(),
teamId: z.number().optional(),
});
export type TDeleteInputSchema = z.infer<typeof ZDeleteInputSchema>;