- ✅ 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
21 lines
683 B
TypeScript
21 lines
683 B
TypeScript
/**
|
|
* @import {ElementContent} from 'hast'
|
|
* @import {Reference, Nodes} from 'mdast'
|
|
* @import {State} from './state.js'
|
|
*/
|
|
/**
|
|
* Return the content of a reference without definition as plain text.
|
|
*
|
|
* @param {State} state
|
|
* Info passed around.
|
|
* @param {Extract<Nodes, Reference>} node
|
|
* Reference node (image, link).
|
|
* @returns {Array<ElementContent>}
|
|
* hast content.
|
|
*/
|
|
export function revert(state: State, node: Extract<Nodes, Reference>): Array<ElementContent>;
|
|
import type { State } from './state.js';
|
|
import type { Nodes } from 'mdast';
|
|
import type { Reference } from 'mdast';
|
|
import type { ElementContent } from 'hast';
|
|
//# sourceMappingURL=revert.d.ts.map
|