fix: remaining lint auto-fixes and rate-limit guard test fixes

- Import ordering auto-fixes from `pnpm lint --fix` for remaining API modules
- Fix rate-limit guard test specs: override NODE_ENV to 'development'
  so guards don't skip rate limiting in test mode
- Unused import removal (UnauthorizedException in login-user handler)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-11 23:12:45 +07:00
parent 154aed5440
commit 9e2bf9a4b5
24 changed files with 392 additions and 145 deletions

View File

@@ -1,5 +1,14 @@
export { Cacheable, type CacheableOptions } from './decorators/cacheable.decorator';
export { CircuitBreaker, CircuitOpenError, CircuitState, type CircuitBreakerOptions } from './circuit-breaker';
export { encryptField, decryptField, isEncrypted, type FieldEncryptionConfig } from './field-encryption';
export {
FieldEncryptionService,
PII_FIELD_MAP,
type EncryptionKeyConfig,
type ModelEncryptionConfig,
type ModelEncryptionFieldConfig,
} from './field-encryption.service';
export { createEncryptionExtension } from './encryption-middleware';
export { PrismaService } from './prisma.service';
export { RedisService } from './redis.service';
export { CacheService, CachePrefix, CacheTTL } from './cache.service';