feat: Webhooks configuration, all events support, refactoring

This commit is contained in:
Maksim Eltyshev
2024-06-12 00:51:36 +02:00
parent 3779bdb053
commit c065566c15
96 changed files with 1280 additions and 509 deletions

View File

@@ -60,9 +60,8 @@ module.exports.custom = {
smtpPassword: process.env.SMTP_PASSWORD,
smtpFrom: process.env.SMTP_FROM,
webhooks: JSON.parse(process.env.WEBHOOKS), // TODO: validate structure
slackBotToken: process.env.SLACK_BOT_TOKEN,
slackChannelId: process.env.SLACK_CHANNEL_ID,
webhookUrl: process.env.WEBHOOK_URL,
webhookBearer: process.env.WEBHOOK_BEARER,
};