- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
47 lines
1 KiB
JavaScript
47 lines
1 KiB
JavaScript
'use strict';
|
|
|
|
/**
|
|
* A shareable symbol constant that can be used
|
|
* as a non-enumerable / semi-hidden level identifier
|
|
* to allow the readable level property to be mutable for
|
|
* operations like colorization
|
|
*
|
|
* @type {Symbol}
|
|
*/
|
|
Object.defineProperty(exports, 'LEVEL', {
|
|
value: Symbol.for('level')
|
|
});
|
|
|
|
/**
|
|
* A shareable symbol constant that can be used
|
|
* as a non-enumerable / semi-hidden message identifier
|
|
* to allow the final message property to not have
|
|
* side effects on another.
|
|
*
|
|
* @type {Symbol}
|
|
*/
|
|
Object.defineProperty(exports, 'MESSAGE', {
|
|
value: Symbol.for('message')
|
|
});
|
|
|
|
/**
|
|
* A shareable symbol constant that can be used
|
|
* as a non-enumerable / semi-hidden message identifier
|
|
* to allow the extracted splat property be hidden
|
|
*
|
|
* @type {Symbol}
|
|
*/
|
|
Object.defineProperty(exports, 'SPLAT', {
|
|
value: Symbol.for('splat')
|
|
});
|
|
|
|
/**
|
|
* A shareable object constant that can be used
|
|
* as a standard configuration for winston@3.
|
|
*
|
|
* @type {Object}
|
|
*/
|
|
Object.defineProperty(exports, 'configs', {
|
|
value: require('./config')
|
|
});
|