Files
hedena_gold/apps/api/src/modules/catalog/catalog-cache.module.ts
T

15 lines
411 B
TypeScript

import { Global, Module } from '@nestjs/common';
import { CatalogCacheService } from './catalog-cache.service';
/**
* Global so the accounting module can invalidate the storefront catalogue
* without importing CatalogModule (which itself depends on the accounting
* module).
*/
@Global()
@Module({
providers: [CatalogCacheService],
exports: [CatalogCacheService],
})
export class CatalogCacheModule {}