fix(worker): register EntitlementsModule — closes the worker DI graph
آخر ورقة في السلسلة: Notifications → Users → Tenants → Entitlements، وتبعياتها مستودعٌ و CacheService فقط. الباقي مستودعات TypeORM و ConfigService العالمي، فلا طبقة خامسة. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9bc52dbb9e
commit
2a5adcf1fa
@@ -5,6 +5,7 @@ import configuration from './config/configuration';
|
||||
import { RedisModule } from './common/redis/redis.module';
|
||||
import { I18nModule } from './common/i18n/i18n.module';
|
||||
import { CacheModule } from './common/cache/cache.module';
|
||||
import { EntitlementsModule } from './common/entitlements/entitlements.module';
|
||||
import { LocationsModule } from './modules/locations/locations.module';
|
||||
|
||||
/**
|
||||
@@ -37,6 +38,7 @@ import { LocationsModule } from './modules/locations/locations.module';
|
||||
RedisModule,
|
||||
I18nModule, // عالمي — نصوص إشعارات الجيوفنس
|
||||
CacheModule, // عالمي — يحقنه UsersService خلف الإشعارات
|
||||
EntitlementsModule, // عالمي — يحقنه TenantsService خلف المستخدمين
|
||||
LocationsModule,
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user