mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
Export the following from @manacore/bot-services: - LOGIN_MESSAGES: Pre-defined auth error messages for all bot types - AUTH_ERROR_MESSAGES: Same as LOGIN_MESSAGES (preferred name) - formatAuthErrorMessage(): Helper to create custom auth error messages These are used by bots to show consistent error messages when token refresh fails and the user needs to re-authenticate. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
547 B
TypeScript
19 lines
547 B
TypeScript
export { SessionService, REDIS_SESSION_PROVIDER } from './session.service';
|
|
export { SessionModule } from './session.module';
|
|
export { RedisSessionProvider, REDIS_CLIENT } from './redis-session.provider';
|
|
export type {
|
|
UserSession,
|
|
LoginResult,
|
|
SessionStats,
|
|
SessionModuleOptions,
|
|
SessionStorageMode,
|
|
} from './types';
|
|
export {
|
|
SESSION_MODULE_OPTIONS,
|
|
DEFAULT_SESSION_EXPIRY_MS,
|
|
formatAuthErrorMessage,
|
|
AUTH_ERROR_MESSAGES,
|
|
// Deprecated - kept for backwards compatibility
|
|
formatLoginRequiredMessage,
|
|
LOGIN_MESSAGES,
|
|
} from './types';
|