mailer/types.ts

17 lines
266 B
TypeScript
Raw Normal View History

2024-03-28 22:32:46 +01:00
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
2024-03-28 22:32:46 +01:00
to: Contact[]
subject: string
body: JSX.Element
2024-03-28 22:32:46 +01:00
options: Options
}