codigo0/node_modules/micromark-extension-gfm-table/index.d.ts
planetazuzu 5d7a6500fe refactor: Fase 1 - Clean Architecture, refactorización modular y eliminación de duplicidades
-  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
2026-01-25 21:09:47 +01:00

56 lines
1.2 KiB
TypeScript

import type {Align} from './lib/infer.js'
export {gfmTableHtml} from './lib/html.js'
export {gfmTable} from './lib/syntax.js'
/**
* Augment types.
*/
declare module 'micromark-util-types' {
/**
* State tracked to compile events as HTML,
* extended by `micromark-extension-gfm-table`.
*/
interface CompileData {
/**
* Alignment of current table.
*/
tableAlign?: Array<Align> | undefined
/**
* Current table column.
*/
tableColumn?: number | undefined
}
/**
* Augment token;
* `align` is patched on `table` tokens by
* `micromark-extension-gfm-table`.
*/
interface Token {
/**
* Alignment of current table.
*/
_align?: Array<Align> | undefined
}
/**
* Map of allowed token types,
* extended by `micromark-extension-gfm-table`.
*/
interface TokenTypeMap {
tableBody: 'tableBody'
tableCellDivider: 'tableCellDivider'
tableContent: 'tableContent'
tableData: 'tableData'
tableDelimiterFiller: 'tableDelimiterFiller'
tableDelimiterMarker: 'tableDelimiterMarker'
tableDelimiterRow: 'tableDelimiterRow'
tableDelimiter: 'tableDelimiter'
tableHeader: 'tableHeader'
tableHead: 'tableHead'
tableRow: 'tableRow'
table: 'table'
}
}