Skip to content

Commit

Permalink
Merge pull request #10143 from jmcdo29/fix/expose-cache-module-option…
Browse files Browse the repository at this point in the history
…s-token

fix: export cache module options token under easy name
  • Loading branch information
kamilmysliwiec authored Sep 19, 2022
2 parents b4f002d + 3cd1b1d commit 447e825
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/common/cache/cache.constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { MODULE_OPTIONS_TOKEN } from './cache.module-definition';

export const CACHE_MANAGER = 'CACHE_MANAGER';
export const CACHE_KEY_METADATA = 'cache_module:cache_key';
export const CACHE_TTL_METADATA = 'cache_module:cache_ttl';
export const CACHE_MODULE_OPTIONS = MODULE_OPTIONS_TOKEN;

0 comments on commit 447e825

Please sign in to comment.