codigo0/node_modules/happy-dom/lib/nodes/html-media-element/TextTrackList.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

60 lines
1.8 KiB
TypeScript

import TextTrack from './TextTrack.js';
import EventTarget from '../../event/EventTarget.js';
import * as PropertySymbol from '../../PropertySymbol.js';
/**
* TextTrackList.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList
*/
export default class TextTrackList extends EventTarget {
[index: number]: TextTrack | undefined;
[PropertySymbol.items]: TextTrack[];
onaddtrack: ((event: Event) => void) | null;
onchange: ((event: Event) => void) | null;
onremovetrack: ((event: Event) => void) | null;
/**
* Constructor.
*
* @param illegalConstructorSymbol Illegal constructor symbol.
* @param items Items.
*/
constructor(illegalConstructorSymbol: symbol, items: TextTrack[]);
/**
* Returns the number of TextTrack objects in the TextTrackList.
*
* @returns Number of TextTrack objects.
*/
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 an iterator, allowing you to go through all values of the key/value pairs contained in this object.
*
* @returns Iterator.
*/
[Symbol.iterator](): ArrayIterator<TextTrack>;
/**
* Returns the TextTrack found within the TextTrackList whose id matches the specified string. If no match is found, null is returned.
*
* @param id Text track cue identifier.
* @returns TextTrack.
*/
getTrackById(id: string): TextTrack | null;
}
//# sourceMappingURL=TextTrackList.d.ts.map