- ✅ 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
74 lines
1.2 KiB
JavaScript
74 lines
1.2 KiB
JavaScript
import DOMPointReadOnly from './DOMPointReadOnly.js';
|
|
import * as PropertySymbol from '../PropertySymbol.js';
|
|
/**
|
|
* DOM Point.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint
|
|
*/
|
|
export default class DOMPoint extends DOMPointReadOnly {
|
|
/**
|
|
* Sets x.
|
|
*
|
|
* @param value X.
|
|
*/
|
|
set x(value) {
|
|
this[PropertySymbol.x] = value;
|
|
}
|
|
/**
|
|
* Returns x.
|
|
*
|
|
* @returns X.
|
|
*/
|
|
get x() {
|
|
return this[PropertySymbol.x];
|
|
}
|
|
/**
|
|
* Sets y.
|
|
*
|
|
* @param value Y.
|
|
*/
|
|
set y(value) {
|
|
this[PropertySymbol.y] = value;
|
|
}
|
|
/**
|
|
* Returns y.
|
|
*
|
|
* @returns Y.
|
|
*/
|
|
get y() {
|
|
return this[PropertySymbol.y];
|
|
}
|
|
/**
|
|
* Sets z.
|
|
*
|
|
* @param value Z.
|
|
*/
|
|
set z(value) {
|
|
this[PropertySymbol.z] = value;
|
|
}
|
|
/**
|
|
* Returns z.
|
|
*
|
|
* @returns Z.
|
|
*/
|
|
get z() {
|
|
return this[PropertySymbol.z];
|
|
}
|
|
/**
|
|
* Sets w.
|
|
*
|
|
* @param value W.
|
|
*/
|
|
set w(value) {
|
|
this[PropertySymbol.w] = value;
|
|
}
|
|
/**
|
|
* Returns w.
|
|
*
|
|
* @returns W.
|
|
*/
|
|
get w() {
|
|
return this[PropertySymbol.w];
|
|
}
|
|
}
|
|
//# sourceMappingURL=DOMPoint.js.map
|