- Add UpdateCurrentCompanyUseCase to handle company updates. - Create update-current-company.controller.ts to manage update requests. - Implement validation and mapping for update requests using Zod. - Add tests for the update use case and controller to ensure functionality. - Introduce error handling and feedback state management for company details settings. - Create utility functions for error normalization and feedback state resolution. - Implement tests for error handling and feedback state utilities. - Ensure nullable fields are handled correctly in DTOs and forms. |
||
|---|---|---|
| .. | ||
| http-error-handling-frontend.md | ||
| identity-and-companies.md | ||
| identity-auth-api.md | ||
| identity-backend-architecture.md | ||
| identity-migration-status.md | ||
| identity-roadmap.md | ||
| README.md | ||
| tenant-context.md | ||
ERP Architecture Docs
Índice de arquitectura vigente y documentos transicionales relacionados con autenticación, tenant context y migración a identity.
Documentación canónica vigente
- Identity and companies
- Tenant context
- Identity auth API
- Tratamiento de errores HTTP en frontend
- Identity migration status
- Identity roadmap
Documentación complementaria
identity-backend-architecture.md se mantiene como nota complementaria de diseño backend. Para contratos operativos concretos, prevalecen tenant-context.md, identity-auth-api.md y los README de módulo.
Resumen actual
identitygestiona autenticación, sesión, refresh y memberships.companiesgestiona la ficha operativa de empresa.GET /companies/availablees la vía vigente para companies accesibles.- El contexto tenant se resuelve con
X-Company-IdyrequireIdentityTenant(params). - El frontend ERP ya usa el runtime nuevo de
identity.