32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
/**
|
|
* SMTP Server Module Exports
|
|
* This file exports all components of the refactored SMTP server
|
|
*/
|
|
|
|
// Export interfaces
|
|
export * from './interfaces.ts';
|
|
|
|
// Export server classes
|
|
export { SmtpServer } from './smtp-server.ts';
|
|
export { SessionManager } from './session-manager.ts';
|
|
export { ConnectionManager } from './connection-manager.ts';
|
|
export { CommandHandler } from './command-handler.ts';
|
|
export { DataHandler } from './data-handler.ts';
|
|
export { TlsHandler } from './tls-handler.ts';
|
|
export { SecurityHandler } from './security-handler.ts';
|
|
|
|
// Export constants
|
|
export * from './constants.ts';
|
|
|
|
// Export utilities
|
|
export { SmtpLogger } from './utils/logging.ts';
|
|
export * from './utils/validation.ts';
|
|
export * from './utils/helpers.ts';
|
|
|
|
// Export TLS and certificate utilities
|
|
export * from './certificate-utils.ts';
|
|
export * from './secure-server.ts';
|
|
export * from './starttls-handler.ts';
|
|
|
|
// Factory function to create a complete SMTP server with default components
|
|
export { createSmtpServer } from './create-server.ts'; |