feat(progress): Add ProgramaObraService for work schedule management

Sprint 2 - S2-T01 backend support

New service with methods:
- createPrograma: Create new work schedule with auto-generated code
- findAll/findById: List and get programas with actividades
- updatePrograma: Update programa details
- createVersion: Create new version for reprogramming
- addActividad/updateActividad/removeActividad: Activity management
- reorderActividades: Reorder with WBS code regeneration
- getGanttData: Data formatted for Gantt chart
- getSCurveData: Planned vs actual progress curves

DTOs: CreateProgramaDto, UpdateProgramaDto, CreateActividadDto, etc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Adrian Flores Cortes 2026-02-03 00:21:23 -06:00
parent b67a035119
commit 450b13edff
2 changed files with 1280 additions and 0 deletions

View File

@ -8,3 +8,17 @@ export type { CreateAvanceDto, AddFotoDto, AvanceFilters } from './avance-obra.s
export { BitacoraObraService } from './bitacora-obra.service';
export type { CreateBitacoraDto, UpdateBitacoraDto, BitacoraFilters } from './bitacora-obra.service';
export { ProgramaObraService } from './programa-obra.service';
export type {
CreateProgramaDto,
UpdateProgramaDto,
CreateActividadDto,
UpdateActividadDto,
ProgramaFilters,
GanttData,
GanttActivity,
SCurveData,
SCurveDataPoint,
ReorderItem,
} from './programa-obra.service';

File diff suppressed because it is too large Load Diff