- ✅ 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
82 lines
2.2 KiB
TypeScript
82 lines
2.2 KiB
TypeScript
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
import Node from './Node.js';
|
|
/**
|
|
* NodeList.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/NodeList
|
|
*/
|
|
declare class NodeList<T extends Node> {
|
|
[index: number]: T;
|
|
[PropertySymbol.items]: T[];
|
|
[PropertySymbol.proxy]?: this;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param illegalConstructorSymbol Illegal constructor symbol.
|
|
* @param items Items.
|
|
*/
|
|
constructor(illegalConstructorSymbol: symbol, items: T[]);
|
|
/**
|
|
* Returns length.
|
|
*
|
|
* @returns Length.
|
|
*/
|
|
get length(): number;
|
|
/**
|
|
* Returns `Symbol.toStringTag`.
|
|
*
|
|
* @returns `Symbol.toStringTag`.
|
|
*/
|
|
get [Symbol.toStringTag](): string;
|
|
/**
|
|
* Returns `[object NodeList]`.
|
|
*
|
|
* @returns `[object NodeList]`.
|
|
*/
|
|
toLocaleString(): string;
|
|
/**
|
|
* Returns `[object NodeList]`.
|
|
*
|
|
* @returns `[object NodeList]`.
|
|
*/
|
|
toString(): string;
|
|
/**
|
|
* Returns item by index.
|
|
*
|
|
* @param index Index.
|
|
*/
|
|
item(index: number): T | null;
|
|
/**
|
|
* Returns an iterator, allowing you to go through all values of the key/value pairs contained in this object.
|
|
*
|
|
* @returns Iterator.
|
|
*/
|
|
[Symbol.iterator](): ArrayIterator<T>;
|
|
/**
|
|
* Returns an iterator, allowing you to go through all values of the key/value pairs contained in this object.
|
|
*
|
|
* @returns Iterator.
|
|
*/
|
|
values(): ArrayIterator<T>;
|
|
/**
|
|
* Returns an iterator, allowing you to go through all key/value pairs contained in this object.
|
|
*
|
|
* @returns Iterator.
|
|
*/
|
|
entries(): ArrayIterator<[number, T]>;
|
|
/**
|
|
* Executes a provided callback function once for each DOMTokenList element.
|
|
*
|
|
* @param callback Function.
|
|
* @param thisArg thisArg.
|
|
*/
|
|
forEach(callback: (currentValue: T, currentIndex: number, parent: this) => void, thisArg?: any): void;
|
|
/**
|
|
* Returns an iterator, allowing you to go through all keys of the key/value pairs contained in this object.
|
|
*
|
|
* @returns Iterator.
|
|
*/
|
|
keys(): ArrayIterator<number>;
|
|
}
|
|
export default NodeList;
|
|
//# sourceMappingURL=NodeList.d.ts.map
|