mailer/types.ts

17 lines
266 B
TypeScript

import type { JSX } from 'preact'
import { Contact } from './src/contact.ts'
export type Options = {
cc: Contact[]
cci: Contact[]
attachments: string[]
}
export type Mail = {
from: Contact
to: Contact[]
subject: string
body: JSX.Element
options: Options
}