@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
24 lines (21 loc) • 643 B
JavaScript
//#region src/modules/cache/CacheModuleConfig.ts
var CacheModuleConfig = class {
constructor(options) {
this.options = options;
}
/** See {@link CacheModuleConfigOptions.cache} */
get cache() {
return this.options.cache;
}
/** See {@link CacheModuleConfigOptions.defaultExpiryInSeconds} */
get defaultExpiryInSeconds() {
return this.options.defaultExpiryInSeconds ?? 60;
}
/** See {@link CacheModuleConfigOptions.useCachedStorageService} */
get useCachedStorageService() {
return this.options.useCachedStorageService ?? false;
}
};
//#endregion
export { CacheModuleConfig };
//# sourceMappingURL=CacheModuleConfig.mjs.map