PeerTube/shared/models/server/emailer.model.ts

13 lines
236 B
TypeScript

export type SendEmailOptions = {
to: string[]
template?: string
locals?: { [key: string]: any }
// override defaults
subject?: string
text?: string
from?: string | { name?: string, address: string }
replyTo?: string
}