- ✅ 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
42 lines
1.9 KiB
TypeScript
42 lines
1.9 KiB
TypeScript
import HTMLCollection from '../element/HTMLCollection.js';
|
|
import HTMLElement from '../html-element/HTMLElement.js';
|
|
import HTMLTableCellElement from '../html-table-cell-element/HTMLTableCellElement.js';
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
/**
|
|
* HTMLTableRowElement
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement
|
|
*/
|
|
export default class HTMLTableRowElement extends HTMLElement {
|
|
[PropertySymbol.cells]: HTMLCollection<HTMLTableCellElement> | null;
|
|
/**
|
|
* Returns cells.
|
|
*
|
|
* @returns Cells.
|
|
*/
|
|
get cells(): HTMLCollection<HTMLTableCellElement>;
|
|
/**
|
|
* Returns a number that gives the logical position of the row within the entire table. If the row is not part of a table, returns -1.
|
|
*
|
|
* @returns Row index.
|
|
*/
|
|
get rowIndex(): number;
|
|
/**
|
|
* Returns a number that gives the logical position of the row within the table section it belongs to. If the row is not part of a section, returns -1.
|
|
*/
|
|
get sectionRowIndex(): number;
|
|
/**
|
|
* Returns an HTMLTableCellElement representing a new cell of the row. The cell is inserted in the collection of cells immediately before the given index position in the row. If index is -1, the new cell is appended to the collection. If index is less than -1 or greater than the number of cells in the collection, a DOMException with the value IndexSizeError is raised.
|
|
*
|
|
* @param [index] Index.
|
|
* @returns Cell.
|
|
*/
|
|
insertCell(index?: number): HTMLTableCellElement;
|
|
/**
|
|
* Removes the cell corresponding to index. If index is -1, the last cell of the row is removed. If index is less than -1 or greater than the amount of cells in the collection, a DOMException with the value IndexSizeError is raised.
|
|
*
|
|
* @param index Index.
|
|
*/
|
|
deleteCell(index: number): void;
|
|
}
|
|
//# sourceMappingURL=HTMLTableRowElement.d.ts.map
|