prettier fix

This commit is contained in:
Danel Kungla
2025-09-19 17:22:36 +03:00
parent efa94b3322
commit 0c2cfe6d18
509 changed files with 17988 additions and 9920 deletions

View File

@@ -1,3 +1,3 @@
# Mailers Shared - @kit/mailers-shared
This package provides shared utilities for mailers.
This package provides shared utilities for mailers.

View File

@@ -3,20 +3,31 @@ import 'server-only';
import { z } from 'zod';
export const SmtpConfigSchema = z.object({
user: z.string({
error: `Please provide the variable EMAIL_USER`,
})
.describe('This is the email account to send emails from. This is specific to the email provider.'),
pass: z.string({
error: `Please provide the variable EMAIL_PASSWORD`,
}).describe('This is the password for the email account'),
host: z.string({
error: `Please provide the variable EMAIL_HOST`,
}).describe('This is the SMTP host for the email provider'),
port: z.number({
error: `Please provide the variable EMAIL_PORT`,
}).describe('This is the port for the email provider. Normally 587 or 465.'),
secure: z.boolean({
error: `Please provide the variable EMAIL_TLS`,
}).describe('This is whether the connection is secure or not'),
user: z
.string({
error: `Please provide the variable EMAIL_USER`,
})
.describe(
'This is the email account to send emails from. This is specific to the email provider.',
),
pass: z
.string({
error: `Please provide the variable EMAIL_PASSWORD`,
})
.describe('This is the password for the email account'),
host: z
.string({
error: `Please provide the variable EMAIL_HOST`,
})
.describe('This is the SMTP host for the email provider'),
port: z
.number({
error: `Please provide the variable EMAIL_PORT`,
})
.describe('This is the port for the email provider. Normally 587 or 465.'),
secure: z
.boolean({
error: `Please provide the variable EMAIL_TLS`,
})
.describe('This is whether the connection is secure or not'),
});