Slack: add some fixes and connect it all up

This commit is contained in:
Shadow
2026-01-04 01:53:15 -06:00
parent 02d7e286ea
commit 8c38a7fee8
45 changed files with 1568 additions and 89 deletions

12
src/slack/token.ts Normal file
View File

@@ -0,0 +1,12 @@
export function normalizeSlackToken(raw?: string): string | undefined {
const trimmed = raw?.trim();
return trimmed ? trimmed : undefined;
}
export function resolveSlackBotToken(raw?: string): string | undefined {
return normalizeSlackToken(raw);
}
export function resolveSlackAppToken(raw?: string): string | undefined {
return normalizeSlackToken(raw);
}