feat: importar csv y auditar ediciones

This commit is contained in:
mono
2026-10-25 18:20:04 -05:00
parent 8e286d6fec
commit 01b5ee64cc
23 changed files with 483 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
export type EntidadAuditada = 'PRODUCTOR' | 'PRODUCTO' | 'VENTA';
export interface Auditoria {
id: string;
entidad: EntidadAuditada;
registroId: string;
operacion: 'CREAR' | 'EDITAR';
modificadoPor: string;
motivo: string;
valoresAnteriores?: string;
valoresNuevos: string;
fecha: Date;
createdAt: Date;
}

View File

@@ -6,3 +6,4 @@ export * from './Gasto';
export * from './Ajuste';
export * from './CuadreCaja';
export * from './JornadaToldo';
export * from './Auditoria';