You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.4 KiB

export { createCacheRuntime } from './engine.ts';
export { memoryCacheAdapter } from './adapters/memory.ts';
export { storageCacheAdapter, createMapStorage } from './adapters/storage.ts';
export {
normalizeKey,
normalizeKeyPrefixes,
normalizeTag,
normalizeTags,
stableHash,
stableStringify
} from './key.ts';
export { defaultCachePolicies, durationToMs } from './policy.ts';
export { resolveScope } from './scope.ts';
export {
CacheKeyError,
CachePolicyError,
CacheScopeError,
isCacheKeyError,
isCachePolicyError,
isCacheScopeError
} from './errors.ts';
export * from './consts.ts';
export type {
CacheAdapter,
CacheAdapterSetOptions,
CacheClock,
CacheDecision,
CacheDecisionAction,
CacheDecisionReason,
CacheEnvelope,
CacheEnvelopeState,
CacheEvent,
CacheEventHandler,
CacheEventSelector,
CacheEventType,
CacheExplain,
CacheKey,
CachePolicy,
CacheReadMode,
CacheRuntime,
CacheRuntimeConfig,
CacheScopeInput,
CacheScopeMode,
CacheStats,
CacheTagLike,
CacheTagObject,
CustomCacheScope,
ExplainOptions,
GetOptions,
InvalidateOptions,
MemoryCacheEvictReason,
MutateOptions,
QueryOptions,
ResolvedCachePolicy,
ResolvedCacheScope,
ResolvedScopeValues,
ScopeResolver,
SetOptions
} from './types.ts';
export type { MemoryCacheAdapter, MemoryCacheAdapterOptions } from './adapters/memory.ts';
export type { StorageCacheAdapterOptions, StorageLike } from './adapters/storage.ts';

Powered by TurnKey Linux.