- ✅ 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
27 lines
840 B
JavaScript
27 lines
840 B
JavaScript
function _importDeferProxy(e) {
|
|
var t = null,
|
|
constValue = function constValue(e) {
|
|
return function () {
|
|
return e;
|
|
};
|
|
},
|
|
proxy = function proxy(r) {
|
|
return function (n, o, f) {
|
|
return null === t && (t = e()), r(t, o, f);
|
|
};
|
|
};
|
|
return new Proxy({}, {
|
|
defineProperty: constValue(!1),
|
|
deleteProperty: constValue(!1),
|
|
get: proxy(Reflect.get),
|
|
getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
|
|
getPrototypeOf: constValue(null),
|
|
isExtensible: constValue(!1),
|
|
has: proxy(Reflect.has),
|
|
ownKeys: proxy(Reflect.ownKeys),
|
|
preventExtensions: constValue(!0),
|
|
set: constValue(!1),
|
|
setPrototypeOf: constValue(!1)
|
|
});
|
|
}
|
|
module.exports = _importDeferProxy, module.exports.__esModule = true, module.exports["default"] = module.exports; |