From 97b3b548c0ce7bc41aec378e4e646ef25a805e29 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 19 Mar 2026 11:42:43 -0600 Subject: [PATCH] fix type --- sdk/base/lib/actions/input/inputSpecConstants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/base/lib/actions/input/inputSpecConstants.ts b/sdk/base/lib/actions/input/inputSpecConstants.ts index f83427049..8fe4eb098 100644 --- a/sdk/base/lib/actions/input/inputSpecConstants.ts +++ b/sdk/base/lib/actions/input/inputSpecConstants.ts @@ -247,7 +247,7 @@ export type SmtpSelection = * Zod schema for persisting SMTP selection in a store file model. * Use this instead of `smtpInputSpec.validator` to avoid cross-zod-instance issues. */ -export const smtpShape: z.ZodCatch> = z +export const smtpShape: z.ZodType = z .discriminatedUnion('selection', [ z.object({ selection: z.literal('disabled'), @@ -266,4 +266,4 @@ export const smtpShape: z.ZodCatch> = z .catch({ provider: providerShape.parse(undefined) }), }), ]) - .catch({ selection: 'disabled' as const, value: {} }) + .catch({ selection: 'disabled' as const, value: {} }) as any