Skip to main content
API Reference / modelence / server / RateLimitRule
RateLimitRule = object
Defined in: packages/modelence/src/rate-limit/types.ts:3

Properties

PropertyTypeDescriptionDefined in
bucketstringLogical action being limited, e.g. “signup”packages/modelence/src/rate-limit/types.ts:5
limitnumberMaximum allowed hits within the windowpackages/modelence/src/rate-limit/types.ts:14
typeRateLimitTypeIdentifier type of the actor this rule applies topackages/modelence/src/rate-limit/types.ts:8
windownumberTime window size in millisecondspackages/modelence/src/rate-limit/types.ts:11