This commit is contained in:
 Илья Шалонин 2025-10-29 13:43:43 +05:00
commit 8538ab969a
434 changed files with 44051 additions and 0 deletions

19
packages/mail/types.ts Normal file
View file

@ -0,0 +1,19 @@
import type { Locale } from "@repo/i18n";
export interface SendEmailParams {
to: string;
subject: string;
text: string;
html?: string;
}
export type SendEmailHandler = (params: SendEmailParams) => Promise<void>;
export interface MailProvider {
send: SendEmailHandler;
}
export type BaseMailProps = {
locale: Locale;
translations: any;
};