/** * Generic cache adapter to allow using a local cache during development and redis in production */ export interface CacheAdapter { get(key: string): Promise set(key: string, value: T, ttl?: number): Promise delete(key: string): Promise }