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