This commit is contained in:
dal 2025-07-14 15:12:46 -06:00
parent 72c5eaa443
commit 4ab3ae97a2
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
3 changed files with 7 additions and 13 deletions

View File

@ -12,6 +12,7 @@ declare global {
SLACK_INTEGRATION_ENABLED: string;
SLACK_CLIENT_ID: string;
SLACK_CLIENT_SECRET: string;
SLACK_SIGNING_SECRET: string;
SLACK_APP_SUPPORT_URL: string;
SERVER_URL: string;
NODE_ENV?: 'development' | 'production' | 'test';

View File

@ -1,13 +1,3 @@
# Slack Integration Testing - Simple Setup
# Just 2 required variables to get started!
# Your bot token (starts with xoxb-)
# Get it from: https://api.slack.com/apps → Your App → OAuth & Permissions → Bot User OAuth Token
# Required scopes: channels:read, channels:manage, channels:join, chat:write, chat:write.public, channels:history
SLACK_BOT_TOKEN=xoxb-your-bot-token-here
# A channel ID where the bot can send test messages
# Get it by: Right-clicking any channel → View channel details → Scroll to bottom
SLACK_CHANNEL_ID=C1234567890
# That's it! Run: npm run test:integration
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
SLACK_SIGNING_SECRET=

View File

@ -3,6 +3,9 @@ declare global {
interface ProcessEnv {
NODE_ENV?: 'development' | 'production' | 'test';
// Add your environment variables here
SLACK_CLIENT_ID: string;
SLACK_CLIENT_SECRET: string;
SLACK_SIGNING_SECRET: string;
}
}
}