- ✅ 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
22 lines
853 B
JavaScript
22 lines
853 B
JavaScript
var superPropBase = require("./superPropBase.js");
|
|
var defineProperty = require("./defineProperty.js");
|
|
function set(e, r, t, o) {
|
|
return set = "undefined" != typeof Reflect && Reflect.set ? Reflect.set : function (e, r, t, o) {
|
|
var f,
|
|
i = superPropBase(e, r);
|
|
if (i) {
|
|
if ((f = Object.getOwnPropertyDescriptor(i, r)).set) return f.set.call(o, t), !0;
|
|
if (!f.writable) return !1;
|
|
}
|
|
if (f = Object.getOwnPropertyDescriptor(o, r)) {
|
|
if (!f.writable) return !1;
|
|
f.value = t, Object.defineProperty(o, r, f);
|
|
} else defineProperty(o, r, t);
|
|
return !0;
|
|
}, set(e, r, t, o);
|
|
}
|
|
function _set(e, r, t, o, f) {
|
|
if (!set(e, r, t, o || e) && f) throw new TypeError("failed to set property");
|
|
return t;
|
|
}
|
|
module.exports = _set, module.exports.__esModule = true, module.exports["default"] = module.exports; |