- Partners: Moved services to services/ directory, consolidated duplicates,
kept singleton pattern version with ranking service
- Products: Moved service to services/, removed duplicate class-based version,
kept singleton with deletedAt filtering
- Reports: Moved service to services/, kept raw SQL version for active controller
- Warehouses: Moved service to services/, removed duplicate class-based version,
kept singleton with proper tenant isolation
All modules now follow consistent structure:
- services/*.service.ts for business logic
- services/index.ts for exports
- Controllers import from ./services/index.js
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>