remove non option from smtp for better package compat

This commit is contained in:
Matt Hill
2026-03-06 00:06:18 -07:00
parent 7693b0febc
commit 59155c2e34
8 changed files with 58 additions and 28 deletions

View File

@@ -84,10 +84,6 @@ export const customSmtp = smtpFields()
* Each variant has SMTP fields pre-filled with the provider's recommended settings.
*/
export const smtpProviderVariants = Variants.of({
none: {
name: 'None',
spec: InputSpec.of({}),
},
gmail: {
name: 'Gmail',
spec: smtpFields({
@@ -140,7 +136,7 @@ export const smtpProviderVariants = Variants.of({
export const systemSmtpSpec = InputSpec.of({
provider: Value.union({
name: 'Provider',
default: 'none',
default: 'gmail',
variants: smtpProviderVariants,
}),
})