10 lines
258 B
TypeScript
10 lines
258 B
TypeScript
|
import { z } from "zod";
|
||
|
|
||
|
import { webhookIdAndEventTypeIdSchema } from "./types";
|
||
|
|
||
|
export const ZGetInputSchema = webhookIdAndEventTypeIdSchema.extend({
|
||
|
webhookId: z.string().optional(),
|
||
|
});
|
||
|
|
||
|
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;
|