feat(storage): add comprehensive tests for StorageManager with memory, filesystem, and custom function backends
feat(email): implement EmailSendJob class for robust email delivery with retry logic and MX record resolution feat(mail): restructure mail module exports for simplified access to core and delivery functionalities
This commit is contained in:
27
ts/paths.ts
27
ts/paths.ts
@@ -1,27 +0,0 @@
|
||||
/**
|
||||
* Paths module
|
||||
* Project paths for mailer
|
||||
*/
|
||||
|
||||
import * as plugins from './plugins.ts';
|
||||
|
||||
// Get package directory (where the script is run from)
|
||||
export const packageDir = Deno.cwd();
|
||||
|
||||
// Config directory
|
||||
export const configDir = plugins.path.join(Deno.env.get('HOME') || '/root', '.mailer');
|
||||
|
||||
// Data directory
|
||||
export const dataDir = plugins.path.join(configDir, 'data');
|
||||
|
||||
// Logs directory
|
||||
export const logsDir = plugins.path.join(configDir, 'logs');
|
||||
|
||||
// DKIM keys directory
|
||||
export const dkimKeysDir = plugins.path.join(configDir, 'dkim-keys');
|
||||
|
||||
// Keys directory (alias for compatibility)
|
||||
export const keysDir = dkimKeysDir;
|
||||
|
||||
// DNS records directory
|
||||
export const dnsRecordsDir = plugins.path.join(configDir, 'dns-records');
|
||||
Reference in New Issue
Block a user