We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 088ea18 commit 83d2449Copy full SHA for 83d2449
packages/schemas/src/types/system.ts
@@ -88,9 +88,11 @@ export enum EmailServiceProvider {
88
export const sendgridEmailServiceConfigGuard = z.object({
89
provider: z.literal(EmailServiceProvider.SendGrid),
90
apiKey: z.string(),
91
+ /** @deprecated Use i18nTemplates instead */
92
templateId: z.string(),
93
fromName: z.string(),
94
fromEmail: z.string(),
95
+ i18nTemplates: z.record(z.string()).optional(),
96
});
97
98
export type SendgridEmailServiceConfig = z.infer<typeof sendgridEmailServiceConfigGuard>;
0 commit comments