feat: profile page & webhook notification

This commit is contained in:
beilunyang
2024-12-18 01:59:34 +08:00
parent e0bd04818e
commit c69947ceae
20 changed files with 1533 additions and 288 deletions
+9
View File
@@ -2,4 +2,13 @@ export const EMAIL_CONFIG = {
MAX_ACTIVE_EMAILS: 30, // Maximum number of active emails
POLL_INTERVAL: 10_000, // Polling interval in milliseconds
DOMAIN: 'moemail.app', // Email domain
} as const
export const WEBHOOK_CONFIG = {
MAX_RETRIES: 3, // Maximum retry count
TIMEOUT: 10_000, // Timeout time (milliseconds)
RETRY_DELAY: 1000, // Retry delay (milliseconds)
EVENTS: {
NEW_MESSAGE: 'new_message',
}
} as const