Platform Marketing Content: - Add PaginationParams, PaginationMeta, PaginatedResponse interfaces - Fix JwtAuthGuard import paths (common/guards instead of modules/auth) - Add missing fields to CRM interfaces (address, keywords, features, benefits) - Install @nestjs/throttler dependency ERP Suite - Construccion: - Create tsconfig.node.json for web frontend - Add vite-env.d.ts for Vite types - Fix implicit return errors in Express controllers - Prefix unused parameters with underscore ERP Suite - ERP Core: - Export PoolClient type from database config - Fix invoice type comparison (customer/supplier vs out_invoice) - Refactor base.service.ts query handling for proper type inference - Rename Role type to RoleType to avoid conflict with entity - Fix ProtectedRoute to use role?.name instead of roles array ERP Suite - POS Micro: - Add vite-env.d.ts for Vite types - Fix Sale property names (discountAmount, changeAmount) - Export TodaySummary interface from sales service All projects now pass npm install and npm run build successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
324 lines
10 KiB
YAML
324 lines
10 KiB
YAML
# =============================================================================
|
|
# DEVENV-PORTS-INVENTORY.yml
|
|
# =============================================================================
|
|
# Inventario COMPLETO de puertos para todo el workspace
|
|
# Generado por: Architecture-Analyst + DevEnv
|
|
# Fecha: 2025-12-08
|
|
# Version: 3.1.0
|
|
# =============================================================================
|
|
#
|
|
# DIRECTIVA OBLIGATORIA:
|
|
# TODO agente que necesite asignar puertos DEBE:
|
|
# 1. Consultar este inventario primero
|
|
# 2. Solicitar asignacion al agente DevEnv
|
|
# 3. NUNCA asignar puertos arbitrariamente
|
|
#
|
|
# ESTANDAR NUEVO (v3.0.0):
|
|
# - Frontend: base
|
|
# - Backend: base + 1
|
|
# - Patron: 1 numero de diferencia, todos en rango 3000
|
|
# - Referencia: gamilit (3005/3006)
|
|
#
|
|
# =============================================================================
|
|
|
|
version: "3.1.0"
|
|
updated: "2025-12-08"
|
|
maintainer: "Architecture-Analyst + DevEnv Agent"
|
|
workspace: "/home/isem/workspace"
|
|
|
|
# =============================================================================
|
|
# RESUMEN EJECUTIVO
|
|
# =============================================================================
|
|
summary:
|
|
total_projects: 7
|
|
standard: "FE=base, BE=base+1 (1 numero de diferencia)"
|
|
port_range: "3000-3199"
|
|
status: "IMPLEMENTADO"
|
|
conflicts_resolved: 5
|
|
|
|
# =============================================================================
|
|
# ASIGNACION OFICIAL DE PUERTOS (NUEVO ESTANDAR)
|
|
# =============================================================================
|
|
# Formato: proyecto -> base -> FE=base, BE=base+1
|
|
|
|
port_assignments:
|
|
|
|
gamilit:
|
|
base: 3005
|
|
frontend: 3005
|
|
backend: 3006
|
|
status: "production"
|
|
env_ports_file: "N/A (ecosystem.config.js)"
|
|
|
|
erp-core:
|
|
base: 3010
|
|
frontend: 3010
|
|
backend: 3011
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
construccion:
|
|
base: 3020
|
|
frontend: 3020
|
|
backend: 3021
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
vidrio-templado:
|
|
base: 3030
|
|
frontend: 3030
|
|
backend: 3031
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
mecanicas-diesel:
|
|
base: 3040
|
|
frontend: 3040
|
|
backend: 3041
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
retail:
|
|
base: 3050
|
|
frontend: 3050
|
|
backend: 3051
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
clinicas:
|
|
base: 3060
|
|
frontend: 3060
|
|
backend: 3061
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
pos-micro:
|
|
base: 3070
|
|
frontend: 3070
|
|
backend: 3071
|
|
status: "active"
|
|
env_ports_file: "projects/erp-suite/.env.ports"
|
|
|
|
trading-platform:
|
|
base: 3080
|
|
frontend: 3080
|
|
backend: 3081
|
|
websocket: 3082
|
|
ml_engine: 3083
|
|
data_service: 3084
|
|
llm_agent: 3085
|
|
trading_agents: 3086
|
|
ollama_webui: 3087
|
|
ollama: 11434
|
|
status: "active"
|
|
env_ports_file: "projects/trading-platform/.env.ports"
|
|
note: "Todos los servicios Python ahora en rango 3083-3086"
|
|
|
|
betting-analytics:
|
|
base: 3090
|
|
frontend: 3090
|
|
backend: 3091
|
|
status: "reserved"
|
|
env_ports_file: "projects/betting-analytics/.env.ports"
|
|
|
|
inmobiliaria-analytics:
|
|
base: 3100
|
|
frontend: 3100
|
|
backend: 3101
|
|
status: "reserved"
|
|
env_ports_file: "projects/inmobiliaria-analytics/.env.ports"
|
|
|
|
platform_marketing_content:
|
|
base: 3110
|
|
frontend: 3110
|
|
backend: 3111
|
|
status: "active"
|
|
env_ports_file: "projects/platform_marketing_content/.env.ports"
|
|
|
|
# =============================================================================
|
|
# MAPA VISUAL DE PUERTOS
|
|
# =============================================================================
|
|
#
|
|
# 3005-3006 gamilit (PRODUCCION)
|
|
# 3010-3011 erp-core
|
|
# 3020-3021 construccion
|
|
# 3030-3031 vidrio-templado
|
|
# 3040-3041 mecanicas-diesel
|
|
# 3050-3051 retail
|
|
# 3060-3061 clinicas
|
|
# 3070-3071 pos-micro
|
|
# 3080-3087 trading-platform (FE/BE/WS/ML/Data/LLM/Agents/WebUI)
|
|
# 3090-3091 betting-analytics (RESERVADO)
|
|
# 3100-3101 inmobiliaria (RESERVADO)
|
|
# 3110-3111 pmc
|
|
#
|
|
# Gap disponible: 3112-3199 para futuros proyectos
|
|
#
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
# SERVICIOS ADICIONALES (NO AFECTADOS POR ESTANDAR FE/BE)
|
|
# =============================================================================
|
|
|
|
additional_services:
|
|
|
|
# Python Services (trading-platform) - ACTUALIZADO v3.1.0
|
|
trading_python:
|
|
ml_engine: 3083
|
|
data_service: 3084
|
|
llm_agent: 3085
|
|
trading_agents: 3086
|
|
ollama_webui: 3087
|
|
ollama: 11434
|
|
|
|
# ComfyUI (pmc)
|
|
comfyui:
|
|
api: 8188
|
|
websocket: 8188
|
|
|
|
# =============================================================================
|
|
# BASES DE DATOS
|
|
# =============================================================================
|
|
|
|
databases:
|
|
postgresql:
|
|
5432: "default/shared (gamilit, erp-core, mecanicas, trading, pmc)"
|
|
5433: "construccion, pos-micro, trading-test"
|
|
5434: "vidrio-templado"
|
|
5436: "retail"
|
|
5437: "clinicas"
|
|
5438: "betting-analytics (reservado)"
|
|
5439: "inmobiliaria-analytics (reservado)"
|
|
|
|
redis:
|
|
6379: "default/shared"
|
|
6380: "construccion"
|
|
6381: "vidrio-templado"
|
|
6383: "retail"
|
|
6384: "clinicas"
|
|
6385: "betting-analytics (reservado)"
|
|
6386: "inmobiliaria-analytics (reservado)"
|
|
|
|
# =============================================================================
|
|
# HERRAMIENTAS DE DESARROLLO
|
|
# =============================================================================
|
|
|
|
dev_tools:
|
|
pgadmin: 5050
|
|
adminer: 8080
|
|
mailhog_smtp: 1025
|
|
mailhog_web: 8025
|
|
minio_api: 9000
|
|
minio_console: 9001
|
|
minio_construccion_api: 9100
|
|
minio_construccion_console: 9101
|
|
|
|
# =============================================================================
|
|
# ARCHIVOS ACTUALIZADOS
|
|
# =============================================================================
|
|
|
|
updated_files:
|
|
- path: "projects/erp-suite/apps/erp-core/.env"
|
|
ports: {backend: 3011}
|
|
- path: "projects/erp-suite/apps/erp-core/.env.example"
|
|
ports: {backend: 3011}
|
|
- path: "projects/erp-suite/apps/erp-core/backend/.env.example"
|
|
ports: {backend: 3011}
|
|
- path: "projects/erp-suite/apps/verticales/construccion/backend/.env.example"
|
|
ports: {backend: 3021, frontend: 3020}
|
|
- path: "projects/erp-suite/apps/verticales/vidrio-templado/.env.example"
|
|
ports: {backend: 3031, frontend: 3030}
|
|
- path: "projects/erp-suite/apps/verticales/mecanicas-diesel/.env.example"
|
|
ports: {backend: 3041, frontend: 3040}
|
|
- path: "projects/erp-suite/apps/verticales/mecanicas-diesel/docker-compose.yml"
|
|
ports: {backend: 3041}
|
|
- path: "projects/erp-suite/apps/verticales/retail/.env.example"
|
|
ports: {backend: 3051, frontend: 3050}
|
|
- path: "projects/erp-suite/apps/verticales/clinicas/.env.example"
|
|
ports: {backend: 3061, frontend: 3060}
|
|
- path: "projects/erp-suite/apps/products/pos-micro/backend/.env.example"
|
|
ports: {backend: 3071}
|
|
- path: "projects/erp-suite/apps/products/pos-micro/frontend/.env.example"
|
|
ports: {api: 3071}
|
|
- path: "projects/erp-suite/apps/products/pos-micro/docker-compose.yml"
|
|
ports: {backend: 3071, frontend: 5173}
|
|
- path: "projects/trading-platform/apps/backend/.env.example"
|
|
ports: {backend: 3081, frontend: 3080}
|
|
- path: "projects/trading-platform/apps/frontend/.env.example"
|
|
ports: {api: 3081}
|
|
- path: "projects/trading-platform/docker-compose.yml"
|
|
ports: {backend: 3081, frontend: 3080, websocket: 3082}
|
|
- path: "projects/platform_marketing_content/apps/backend/.env.example"
|
|
ports: {backend: 3111}
|
|
|
|
env_ports_files:
|
|
- "projects/erp-suite/.env.ports"
|
|
- "projects/trading-platform/.env.ports"
|
|
- "projects/betting-analytics/.env.ports"
|
|
- "projects/inmobiliaria-analytics/.env.ports"
|
|
- "projects/platform_marketing_content/.env.ports"
|
|
|
|
# =============================================================================
|
|
# CHANGELOG
|
|
# =============================================================================
|
|
|
|
changelog:
|
|
- date: "2025-12-08"
|
|
version: "3.1.0"
|
|
action: "Trading-platform Python services actualizados al rango 3080"
|
|
author: "DevEnv Agent"
|
|
details: |
|
|
- Servicios Python de trading-platform migrados a rango 3083-3087
|
|
- Conflicto resuelto: llm-agent y trading-agents ambos usaban 8003
|
|
- Conflicto resuelto: ollama-webui usaba puerto 3000 (prohibido)
|
|
|
|
Trading-platform puertos completos:
|
|
frontend: 3080
|
|
backend: 3081
|
|
websocket: 3082
|
|
ml_engine: 3083
|
|
data_service: 3084
|
|
llm_agent: 3085
|
|
trading_agents: 3086
|
|
ollama_webui: 3087
|
|
ollama: 11434 (sin cambio)
|
|
|
|
- date: "2025-12-08"
|
|
version: "3.0.0"
|
|
action: "Nuevo estandar implementado: FE=base, BE=base+1"
|
|
author: "DevEnv Agent"
|
|
details: |
|
|
- NUEVO ESTANDAR: Frontend y Backend con 1 numero de diferencia
|
|
- Todos los puertos en rango 3000s
|
|
- Actualizados 15+ archivos de configuracion
|
|
- Creados/actualizados 5 archivos .env.ports
|
|
- Conflictos resueltos: 5/5
|
|
|
|
Asignaciones nuevas:
|
|
gamilit: 3005/3006 (sin cambios - referencia)
|
|
erp-core: 3010/3011
|
|
construccion: 3020/3021
|
|
vidrio-templado: 3030/3031
|
|
mecanicas-diesel: 3040/3041
|
|
retail: 3050/3051
|
|
clinicas: 3060/3061
|
|
pos-micro: 3070/3071
|
|
trading-platform: 3080/3081
|
|
betting-analytics: 3090/3091 (reservado)
|
|
inmobiliaria: 3100/3101 (reservado)
|
|
pmc: 3110/3111
|
|
|
|
- date: "2025-12-08"
|
|
version: "2.0.0"
|
|
action: "Auditoria completa por Architecture-Analyst + DevEnv"
|
|
author: "Architecture-Analyst"
|
|
details: |
|
|
- Escaneados 6 proyectos y 40+ archivos de configuracion
|
|
- Detectados 5 conflictos (2 P0, 2 P1, 1 P2)
|
|
|
|
- date: "2025-12-08"
|
|
version: "1.0.0"
|
|
action: "Creacion inicial"
|
|
author: "DevEnv Agent"
|
|
details: "Inventario inicial basado en estandar gamilit"
|