import { ModuleRegistryService } from '../module-registry/module-registry.service'; /** * Seeds the DKV Fleet module into the module registry. * * Called during DkvModule initialization (OnModuleInit) to ensure * the 'dkv-fleet' module record exists in the database. * * Category 'fleet' identifies this as a fleet-management module. * isSystem: true — not tenant-licensable in v1; available to all tenants. */ export async function seedDkvModule( moduleRegistryService: ModuleRegistryService, ): Promise { await moduleRegistryService.seedModule({ slug: 'dkv-fleet', name: 'DKV-Rechnung', version: '1.0.0', category: 'fleet', description: { de: 'DKV-Tankkartenrechnungen automatisch verarbeiten', en: 'Automatically process DKV fuel card invoices', }, isSystem: true, }); }