UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

19 lines 605 B
/** * @module RateLimiter */ import {} from "../../time-span/implementations/_module.js"; /** * Enumerated states for rate limiter operation. * - BLOCKED: Rate limiter is blocking requests (quota exceeded) * - ALLOWED: Requests are being allowed within the configured limit * - EXPIRED: Rate limiter has no recorded state (initial or cleaned up) * * IMPORT_PATH: `"@daiso-tech/core/rate-limiter/contracts"` * @group Contracts */ export const RATE_LIMITER_STATE = { BLOCKED: "BLOCKED", ALLOWED: "ALLOWED", EXPIRED: "EXPIRED", }; //# sourceMappingURL=rate-limiter-state.contract.js.map