2025-07-18 03:54:49 +08:00
|
|
|
export const SLACK_OAUTH_SCOPES = [
|
|
|
|
'app_mentions:read',
|
|
|
|
'channels:history',
|
2025-07-18 06:33:00 +08:00
|
|
|
'channels:join',
|
2025-07-18 03:54:49 +08:00
|
|
|
'channels:read',
|
|
|
|
'chat:write',
|
|
|
|
'chat:write.public',
|
|
|
|
'commands',
|
|
|
|
'files:read',
|
|
|
|
'files:write',
|
|
|
|
'groups:history',
|
|
|
|
'groups:write',
|
|
|
|
'im:history',
|
|
|
|
'im:read',
|
|
|
|
'im:write',
|
|
|
|
'mpim:history',
|
|
|
|
'mpim:read',
|
|
|
|
'mpim:write',
|
|
|
|
'reactions:write',
|
|
|
|
'reactions:read',
|
|
|
|
'users:read',
|
|
|
|
'users:read.email',
|
|
|
|
] as const;
|
|
|
|
|
|
|
|
export type SlackOAuthScope = (typeof SLACK_OAUTH_SCOPES)[number];
|