Expose clearAll() on the wrapper. Keep this disabled for production
backends that intentionally omit clearAll() (for example Redis on a
shared instance), because createIdempotencyStore() uses method
presence as the reset-safety contract.
OptionallegacyRetentionGraceSeconds
legacyRetentionGraceSeconds?:number
Minimum legacy-record retention grace promised by the eventual backend.
Declare this for lazy PostgreSQL backends so unsafe skew is rejected at
store construction, before the asynchronous factory runs.
Expose
clearAll()on the wrapper. Keep this disabled for production backends that intentionally omitclearAll()(for example Redis on a shared instance), becausecreateIdempotencyStore()uses method presence as the reset-safety contract.