1/**
2 * Generic cache adapter to allow using a local cache during development and redis in production
3 */4exportinterfaceCacheAdapter{5get<T>(key: string):Promise<T|undefined>6set<T>(key: string,value: T,ttl?: number):Promise<void>7delete(key: string):Promise<void>8}