mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
- Create sendEmailWorkflow as a Payload workflow alternative to task - Add processImmediately option (disabled by default) to send emails immediately - Expose processEmailItem method in MailingService for individual email processing - Add comprehensive input schema with conditional fields - Update plugin to register both tasks and workflows - Add detailed documentation comparing tasks vs workflows - Includes status tracking and error handling - Bump version to 0.3.0 (new feature)
11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
import { sendEmailWorkflow } from './sendEmailWorkflow.js'
|
|
|
|
/**
|
|
* All mailing-related workflows that get registered with Payload
|
|
*/
|
|
export const mailingWorkflows = [
|
|
sendEmailWorkflow,
|
|
]
|
|
|
|
// Re-export everything from individual workflow files
|
|
export * from './sendEmailWorkflow.js' |