feat: version 3.2.0 -- Integracion IA: configuracion y plan de actividades

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Milton Gonzalez
2026-10-23 15:55:54 -05:00
parent c64a16064f
commit 89dec6da7e
25 changed files with 538 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
import { ok, asyncHandler } from '../../utils/http.js';
import * as service from './service.js';
export const getStatus = asyncHandler(async (req, res) => ok(res, await service.getStatus()));
export const postProjectPlan = asyncHandler(async (req, res) => {
ok(res, await service.generateProjectPlan(Number(req.params.projectId), req.body?.description, req.body?.lang, req.currentUser));
});
export const postApplyProjectPlan = asyncHandler(async (req, res) => {
ok(res, await service.applyProjectPlan(Number(req.params.projectId), req.body?.activities, req.currentUser), 201);
});