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