template-saas/apps/backend/node_modules/@nestjs/throttler/dist/throttler.service.d.ts
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00

18 lines
845 B
TypeScript

import { OnApplicationShutdown } from '@nestjs/common';
import { ThrottlerStorageOptions } from './throttler-storage-options.interface';
import { ThrottlerStorageRecord } from './throttler-storage-record.interface';
import { ThrottlerStorage } from './throttler-storage.interface';
export declare class ThrottlerStorageService implements ThrottlerStorage, OnApplicationShutdown {
private _storage;
private timeoutIds;
get storage(): Map<string, ThrottlerStorageOptions>;
private getExpirationTime;
private getBlockExpirationTime;
private setExpirationTime;
private clearExpirationTimes;
private resetBlockdRequest;
private fireHitCount;
increment(key: string, ttl: number, limit: number, blockDuration: number, throttlerName: string): Promise<ThrottlerStorageRecord>;
onApplicationShutdown(): void;
}