// lib/core/src/core.module.ts import { Module } from '@nestjs/common'; import { MongoPrismaService } from '@box/db/prisma/mongo-prisma.service'; import { AdPoolService } from './ad/ad-pool.service'; import { AdPoolBuilder, AdPoolWarmupService } from './cache/adpool'; import { CategoryCacheService } from './cache/category/category-cache.service'; import { CacheManagerModule } from './cache/cache-manager.module'; import { VideoCategoryCacheBuilder, VideoCategoryWarmupService, VideoListCacheBuilder, VideoListWarmupService, } from './cache/video'; @Module({ imports: [CacheManagerModule], providers: [ MongoPrismaService, AdPoolService, CategoryCacheService, VideoCategoryCacheBuilder, VideoCategoryWarmupService, VideoListCacheBuilder, VideoListWarmupService, AdPoolBuilder, AdPoolWarmupService, ], exports: [ AdPoolService, CategoryCacheService, CacheManagerModule, VideoCategoryWarmupService, VideoListWarmupService, AdPoolWarmupService, ], }) export class CoreModule {}