mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 00:03:23 +00:00
Add mailing plugin with templates, outbox, and job processing
This commit is contained in:
25
src/index.ts
Normal file
25
src/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
// Main plugin export
|
||||
export { default as mailingPlugin } from './plugin'
|
||||
export { mailingPlugin } from './plugin'
|
||||
|
||||
// Types
|
||||
export * from './types'
|
||||
|
||||
// Services
|
||||
export { MailingService } from './services/MailingService'
|
||||
|
||||
// Collections
|
||||
export { default as EmailTemplates } from './collections/EmailTemplates'
|
||||
export { default as EmailOutbox } from './collections/EmailOutbox'
|
||||
|
||||
// Jobs
|
||||
export * from './jobs'
|
||||
|
||||
// Utility functions for developers
|
||||
export {
|
||||
getMailing,
|
||||
sendEmail,
|
||||
scheduleEmail,
|
||||
processOutbox,
|
||||
retryFailedEmails,
|
||||
} from './utils/helpers'
|
||||
Reference in New Issue
Block a user