- ✅ 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
33 lines
1 KiB
JavaScript
33 lines
1 KiB
JavaScript
import { formatDistance } from "./es/_lib/formatDistance.mjs";
|
|
import { formatLong } from "./es/_lib/formatLong.mjs";
|
|
import { formatRelative } from "./es/_lib/formatRelative.mjs";
|
|
import { localize } from "./es/_lib/localize.mjs";
|
|
import { match } from "./es/_lib/match.mjs";
|
|
|
|
/**
|
|
* @category Locales
|
|
* @summary Spanish locale.
|
|
* @language Spanish
|
|
* @iso-639-2 spa
|
|
* @author Juan Angosto [@juanangosto](https://github.com/juanangosto)
|
|
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
|
* @author Fernando Agüero [@fjaguero](https://github.com/fjaguero)
|
|
* @author Gastón Haro [@harogaston](https://github.com/harogaston)
|
|
* @author Yago Carballo [@YagoCarballo](https://github.com/YagoCarballo)
|
|
*/
|
|
export const es = {
|
|
code: "es",
|
|
formatDistance: formatDistance,
|
|
formatLong: formatLong,
|
|
formatRelative: formatRelative,
|
|
localize: localize,
|
|
match: match,
|
|
options: {
|
|
weekStartsOn: 1 /* Monday */,
|
|
firstWeekContainsDate: 1,
|
|
},
|
|
};
|
|
|
|
// Fallback for modularized imports:
|
|
export default es;
|