RateLimitRule = object
Defined in: packages/modelence/src/rate-limit/types.ts:3
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bucket | string | Logical action being limited, e.g. “signup” | packages/modelence/src/rate-limit/types.ts:5 |
limit | number | Maximum allowed hits within the window | packages/modelence/src/rate-limit/types.ts:14 |
type | RateLimitType | Identifier type of the actor this rule applies to | packages/modelence/src/rate-limit/types.ts:8 |
window | number | Time window size in milliseconds | packages/modelence/src/rate-limit/types.ts:11 |