OptionalenableTransactions?: booleanOptionalexpiredKeysRemovalInterval?: ITimeSpanThe Kysely database instance with the required rate-limiter schema tables applied.
Serde instance for serializing and deserializing rate-limiter state to and from strings.
OptionalshouldRemoveExpiredKeys?: booleanWhen true, a background task periodically removes expired rate-limiter records.
Set to false to disable automatic cleanup.
Configuration for
KyselyRateLimiterStorageAdapter. Requires a Kysely database instance with the rate-limiter schema applied.IMPORT_PATH:
"@daiso-tech/core/rate-limiter/kysely-rate-limiter-storage-adapter"