2
0
Files

10 lines
258 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 ZGetInputSchema = webhookIdAndEventTypeIdSchema.extend({
webhookId: z.string().optional(),
});
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;