erp-core-backend-v2/src/modules/invoices/index.ts
rckrdmrd a127a4a424 feat(routes): Add independent routes for Invoices, Products, Warehouses modules
- Create invoices.controller.ts and invoices.routes.ts with singleton service
- Create products.service.ts, products.controller.ts, products.routes.ts
- Create warehouses.service.ts, warehouses.controller.ts, warehouses.routes.ts
- Register all routes in app.ts
- Use Zod validation schemas in all controllers
- Apply multi-tenant isolation via tenantId
- Update invoices.module.ts to use singleton pattern

All business modules now have API routes registered and build passes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:43:43 -06:00

5 lines
243 B
TypeScript

export { InvoicesModule, invoicesModule } from './invoices.module.js';
export * from './entities/index.js';
export { InvoicesService, invoicesService } from './services/index.js';
export { invoicesController } from './invoices.controller.js';