mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 03:41:10 +02:00
- Add OptionalAuthGuard for endpoints that allow unauthenticated access - Add Public decorator to mark routes as public - Export new guards and decorators from package - Add subpath exports for guards and decorators 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
792 B
TypeScript
30 lines
792 B
TypeScript
// Module
|
|
export { ManaCoreModule, MANA_CORE_OPTIONS } from './mana-core.module';
|
|
|
|
// Interfaces
|
|
export {
|
|
ManaCoreModuleOptions,
|
|
ManaCoreModuleAsyncOptions,
|
|
ManaCoreOptionsFactory,
|
|
} from './interfaces/mana-core-options.interface';
|
|
|
|
// Guards
|
|
export { AuthGuard } from './guards/auth.guard';
|
|
export { OptionalAuthGuard } from './guards/optional-auth.guard';
|
|
|
|
// Decorators
|
|
export { CurrentUser, JwtPayload } from './decorators/current-user.decorator';
|
|
export { Public, IS_PUBLIC_KEY } from './decorators/public.decorator';
|
|
|
|
// Services
|
|
export {
|
|
CreditClientService,
|
|
CreditValidationResult,
|
|
CreditBalance,
|
|
} from './services/credit-client.service';
|
|
|
|
// Exceptions
|
|
export {
|
|
InsufficientCreditsException,
|
|
InsufficientCreditsDetails,
|
|
} from './exceptions/insufficient-credits.exception';
|