Add mailing plugin with templates, outbox, and job processing

This commit is contained in:
2025-09-12 19:18:14 +02:00
parent ebaed4fd07
commit ed9d979d3e
33 changed files with 13904 additions and 0 deletions

25
src/index.ts Normal file
View 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'