1 type From = string | { name?: string, address: string }
3 interface Base extends Partial<SendEmailDefaultMessageOptions> {
7 interface MailTemplate extends Base {
9 locals?: { [key: string]: any }
13 interface MailText extends Base {
16 locals?: Partial<SendEmailDefaultLocalsOptions> & {
25 interface SendEmailDefaultLocalsOptions {
31 interface SendEmailDefaultMessageOptions {
38 export type SendEmailDefaultOptions = {
41 message: SendEmailDefaultMessageOptions
43 locals: SendEmailDefaultLocalsOptions & {
49 export type SendEmailOptions = MailTemplate | MailText