Commit Graph

6 Commits

Author SHA1 Message Date
31bf643d3b fix: adjust seo_titulo max length to 60, add banner options to tipo enum, and resolve RSC plain object error 2026-06-22 11:54:51 -05:00
2b545b28d5 chore: format dates globally in datatable and entity form 2026-06-22 10:01:51 -05:00
946eae2a25 fix(types): agregar campo 'tipo' a interfaz Post y PostSchema Zod
- Añade PostTipo como union type: 'noticia'|'evento'|'aviso'|'comunicado'|'galeria'
- Incluye 'tipo' como campo requerido en la interfaz Post (types/publications.ts)
- Agrega validación z.enum para 'tipo' en PostSchema (validators/publications.ts)
- Elimina test_action.ts y scripts de diagnóstico que bloqueaban el build
2026-06-20 22:24:48 -05:00
9812d70c71 fix(forms): resolve publication state enum mismatch and entity form action issues 2026-04-15 10:19:56 -05:00
0ebe2b691a fix: refactor zod schemas for zod 4 compatibility
- Use 'message' instead of 'errorMap' or 'invalid_type_error' for enum validation.
- Explicitly pass key type to z.record (required in Zod 4).
2026-03-28 10:25:07 -05:00
dda9ae0f4a feat: implement robust publications module with real-time validation and state management
- Refactor dashboard entity pages to support dynamic publications management.
- Add Publications Module with Atomic Design components (PostCard, PublicationsList, FormSection).
- Implement Zod-based real-time validation for publication forms.
- Manage state using Zustand for optimistic UI and in-place relations.
- Add RBAC protection with PermissionGuard and server-side API validation.
- Fix: Resolve TypeScript type error in AdWrappers.tsx to ensure successful build.
- Add ToastProvider and ErrorBoundary for improved user experience.
- Update dependencies for publications logic.
2026-03-28 08:47:40 -05:00