From 59f7c768ca899bee38ea5b2acc44cad76af6a9cc Mon Sep 17 00:00:00 2001 From: Hermes Date: Fri, 31 Jul 2026 00:02:25 +0000 Subject: [PATCH] fix(build): use two-arg form for z.record in webhook headers schema --- packages/shared/src/schemas/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/src/schemas/webhook.ts b/packages/shared/src/schemas/webhook.ts index 88a94eb..4c5594e 100644 --- a/packages/shared/src/schemas/webhook.ts +++ b/packages/shared/src/schemas/webhook.ts @@ -27,7 +27,7 @@ export const webhookSchema = z.object({ secret: z.string().optional(), active: z.boolean().default(true), domain: z.string(), - headers: z.record(z.string()).optional(), + headers: z.record(z.string(), z.string()).optional(), retry_count: z.number().int().nonnegative().default(3), last_triggered_at: z.string().datetime().optional(), custom_fields: z.record(z.string(), z.unknown()).optional(),