- ✅ 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
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
import UIEvent from '../UIEvent.js';
|
|
import IKeyboardEventInit from './IKeyboardEventInit.js';
|
|
/**
|
|
*
|
|
*/
|
|
export default class KeyboardEvent extends UIEvent {
|
|
static DOM_KEY_LOCATION_STANDARD: number;
|
|
static DOM_KEY_LOCATION_LEFT: number;
|
|
static DOM_KEY_LOCATION_RIGHT: number;
|
|
static DOM_KEY_LOCATION_NUMPAD: number;
|
|
readonly altKey: boolean;
|
|
readonly code: string;
|
|
readonly ctrlKey: boolean;
|
|
readonly isComposing: boolean;
|
|
readonly key: string;
|
|
readonly location: number;
|
|
readonly metaKey: boolean;
|
|
readonly repeat: boolean;
|
|
readonly shiftKey: boolean;
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
readonly keyCode: number;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param type Event type.
|
|
* @param [eventInit] Event init.
|
|
*/
|
|
constructor(type: string, eventInit?: IKeyboardEventInit | null);
|
|
/**
|
|
* Returns the state of a modifier key.
|
|
*
|
|
* @param key A modifier key value.
|
|
* @returns True if it's pressed, false otherwise.
|
|
*/
|
|
getModifierState(key: string): boolean;
|
|
}
|
|
//# sourceMappingURL=KeyboardEvent.d.ts.map
|