15 lines
411 B
TypeScript
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 {}
|