-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mailer-16: chore: cache the values from aws secrets
- Loading branch information
1 parent
6c569c3
commit 490d283
Showing
3 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const MAIL_CONFIG_KEYS = { | ||
MAIL_FROM_ADDRESS: 'MAIL_FROM_ADDRESS' as const, | ||
MAIL_FROM_NAME: 'MAIL_FROM_NAME' as const, | ||
MAIL_SERVER_HOST: 'MAIL_SERVER_HOST' as const, | ||
MAIL_PASSWORD: 'MAIL_PASSWORD' as const | ||
}; | ||
|
||
type MAIL_CONFIG_KEYS = keyof typeof MAIL_CONFIG_KEYS; | ||
|
||
export default new Map<MAIL_CONFIG_KEYS, string>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters