- ✅ 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
35 lines
975 B
JavaScript
35 lines
975 B
JavaScript
/**
|
|
* @license React
|
|
* react-jsx-runtime.profiling.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
"use strict";
|
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
function jsxProd(type, config, maybeKey) {
|
|
var key = null;
|
|
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
void 0 !== config.key && (key = "" + config.key);
|
|
if ("key" in config) {
|
|
maybeKey = {};
|
|
for (var propName in config)
|
|
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
} else maybeKey = config;
|
|
config = maybeKey.ref;
|
|
return {
|
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
type: type,
|
|
key: key,
|
|
ref: void 0 !== config ? config : null,
|
|
props: maybeKey
|
|
};
|
|
}
|
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
exports.jsx = jsxProd;
|
|
exports.jsxs = jsxProd;
|