Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,43 @@
|
||||
// Package entry point. Public exports grow as subsequent commits land
|
||||
// each module (helpers). See README.md for the final surface area.
|
||||
export type { SharedStoreAdapter, SharedStoreSetOptions, SharedStoreScanOptions } from "./adapters/adapter.js";
|
||||
export { MemoryAdapter } from "./adapters/memory.js";
|
||||
export { RedisAdapter, type RedisAdapterOptions } from "./adapters/redis.js";
|
||||
export {
|
||||
createSharedStore,
|
||||
type CreateSharedStoreOptions,
|
||||
type SharedStore,
|
||||
type SharedStoreLogger,
|
||||
} from "./factory.js";
|
||||
export {
|
||||
createFixedWindowRateLimiter,
|
||||
type FixedWindowDecision,
|
||||
type FixedWindowRateLimiter,
|
||||
type FixedWindowRateLimiterOptions,
|
||||
} from "./helpers/rate-limit-fixed.js";
|
||||
export {
|
||||
createSlidingWindowRateLimiter,
|
||||
type SlidingWindowDecision,
|
||||
type SlidingWindowRateLimiter,
|
||||
type SlidingWindowRateLimiterOptions,
|
||||
} from "./helpers/rate-limit-sliding.js";
|
||||
export {
|
||||
createCacheStore,
|
||||
type CacheStore,
|
||||
type CacheStoreOptions,
|
||||
type CacheSerializer,
|
||||
} from "./helpers/cache.js";
|
||||
export { createSessionStore, type SessionStore, type SessionStoreOptions } from "./helpers/session.js";
|
||||
export {
|
||||
createIdempotencyStore,
|
||||
type IdempotencyStore,
|
||||
type IdempotencyStoreOptions,
|
||||
type IdempotencyEntry,
|
||||
} from "./helpers/idempotency.js";
|
||||
export {
|
||||
createTwoTierCache,
|
||||
type TwoTierCache,
|
||||
type TwoTierCacheOptions,
|
||||
type TwoTierL1Cache,
|
||||
type InvalidateOptions,
|
||||
} from "./helpers/two-tier-cache.js";
|
||||
Reference in new issue
Block a user