mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
13 lines
377 B
TypeScript
13 lines
377 B
TypeScript
import { z } from "zod";
|
|
|
|
import { webhookIdAndEventTypeIdSchema } from "./types";
|
|
|
|
export const ZTestTriggerInputSchema = webhookIdAndEventTypeIdSchema.extend({
|
|
url: z.string().url(),
|
|
secret: z.string().optional(),
|
|
type: z.string(),
|
|
payloadTemplate: z.string().optional().nullable(),
|
|
});
|
|
|
|
export type TTestTriggerInputSchema = z.infer<typeof ZTestTriggerInputSchema>;
|