Notification updates

This commit is contained in:
Eric Gullickson
2025-12-21 19:56:52 -06:00
parent 144f1d5bb0
commit 719c80ecd8
80 changed files with 7552 additions and 678 deletions

View File

@@ -123,6 +123,7 @@ const secretsSchema = z.object({
postgres_password: z.string(),
auth0_client_secret: z.string(),
google_maps_api_key: z.string(),
resend_api_key: z.string(),
});
type Config = z.infer<typeof configSchema>;
@@ -171,6 +172,7 @@ class ConfigurationLoader {
'postgres-password',
'auth0-client-secret',
'google-maps-api-key',
'resend-api-key',
];
for (const secretFile of secretFiles) {
@@ -227,6 +229,9 @@ class ConfigurationLoader {
},
};
// Set RESEND_API_KEY in environment for EmailService
process.env['RESEND_API_KEY'] = secrets.resend_api_key;
logger.info('Configuration loaded successfully', {
configSource: 'yaml',
secretsSource: 'files',