1d22adc42e
Backend (Express + MariaDB) y frontend (React + Vite, identidad Fluent/Windows) con el nucleo funcional: seguridad, organizacion, proyectos, actividades, subtareas, dependencias, dashboard, calendario, gantt, comentarios, adjuntos, notificaciones in-app y catalogos. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
5 lines
277 B
JavaScript
5 lines
277 B
JavaScript
import { api } from './api.js';
|
|
|
|
export const listComments = (entityType, entityId) => api.get(`/comments?entityType=${entityType}&entityId=${entityId}`);
|
|
export const createComment = (entityType, entityId, message) => api.post('/comments', { entityType, entityId, message });
|