fix: apply consistent-type-imports across API codebase (728 lint errors)
- Convert `import type { X }` to `import { type X }` (inline-type-imports style)
- Suppress consistent-type-imports for `typeof import()` in instrument.ts
- Includes uncommitted agent work: metrics module, redis caching, audit logs,
saved searches, circuit breaker, rate limiting, and admin enhancements
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export { Cacheable, type CacheableOptions } from './decorators/cacheable.decorator';
|
||||
export { CircuitBreaker, CircuitOpenError, CircuitState, type CircuitBreakerOptions } from './circuit-breaker';
|
||||
export { PrismaService } from './prisma.service';
|
||||
export { RedisService } from './redis.service';
|
||||
export { CacheService, CachePrefix, CacheTTL } from './cache.service';
|
||||
@@ -11,6 +12,14 @@ export { SanitizeInputMiddleware } from './middleware/sanitize-input.middleware'
|
||||
export { CsrfMiddleware } from './middleware/csrf.middleware';
|
||||
export { maskPii } from './pii-masker';
|
||||
export { ThrottlerBehindProxyGuard } from './guards/throttler-behind-proxy.guard';
|
||||
export {
|
||||
UserRateLimitGuard,
|
||||
DEFAULT_ROLE_LIMITS,
|
||||
DEFAULT_WINDOW_SECONDS,
|
||||
USER_RATE_LIMIT_KEY,
|
||||
type UserRateLimitOptions,
|
||||
} from './guards/user-rate-limit.guard';
|
||||
export { UserRateLimit } from './decorators/user-rate-limit.decorator';
|
||||
export { FileValidationPipe } from './pipes/file-validation.pipe';
|
||||
export type { FileValidationOptions, UploadedFile } from './pipes/file-validation.pipe';
|
||||
export { validateEnv, validateJwtSecret } from './env-validation';
|
||||
|
||||
Reference in New Issue
Block a user