fix: Correcciones de errores y mejoras del dashboard CFO

- Corregido auth.service.ts para usar estructura multi-tenant correcta (user_tenants)
- Dashboard rediseñado para CFO digital (ingresos/egresos, CFDIs, alertas)
- Sidebar actualizado con rutas correctas (Métricas, Transacciones, CFDIs, Reportes, Asistente IA)
- Agregadas páginas de Perfil (/profile) y Configuración (/settings)
- Corregidos errores de TypeScript (strict mode, tipos duplicados)
- Actualizado docker-compose.yml a PostgreSQL 16
- Corregidas migraciones SQL (índices IMMUTABLE, constraints)
- Configuración ESM modules en packages
- CORS configurado para acceso de red local

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-01 04:24:23 +00:00
parent 45570baccc
commit 338b9c05df
24 changed files with 7758 additions and 351 deletions

32
packages/ui/tsconfig.json Normal file
View File

@@ -0,0 +1,32 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["DOM", "DOM.Iterable", "ES2020"],
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
"noEmit": false,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "dist"]
}