️ Add support for using SES API (#573)

This commit is contained in:
Luke Vella 2023-03-16 16:04:54 +00:00 committed by GitHub
parent d5c3017a8b
commit 8ab67683cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 810 additions and 18 deletions

View file

@ -68,6 +68,22 @@ declare global {
* "true" to require authentication for creating new polls and accessing admin pages
*/
AUTH_REQUIRED?: string;
/**
* Determines what email provider to use. "smtp" or "ses"
*/
EMAIL_PROVIDER?: "smtp" | "ses";
/**
* AWS access key ID
*/
AWS_ACCESS_KEY_ID?: string;
/**
* AWS secret access key
*/
AWS_SECRET_ACCESS_KEY?: string;
/**
* AWS region
*/
AWS_REGION?: string;
}
}
}