- ✅ 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
47 lines
1,019 B
TypeScript
47 lines
1,019 B
TypeScript
export namespace minpath {
|
|
export { basename };
|
|
export { dirname };
|
|
export { extname };
|
|
export { join };
|
|
export let sep: string;
|
|
}
|
|
/**
|
|
* Get the basename from a path.
|
|
*
|
|
* @param {string} path
|
|
* File path.
|
|
* @param {string | null | undefined} [extname]
|
|
* Extension to strip.
|
|
* @returns {string}
|
|
* Stem or basename.
|
|
*/
|
|
declare function basename(path: string, extname?: string | null | undefined): string;
|
|
/**
|
|
* Get the dirname from a path.
|
|
*
|
|
* @param {string} path
|
|
* File path.
|
|
* @returns {string}
|
|
* File path.
|
|
*/
|
|
declare function dirname(path: string): string;
|
|
/**
|
|
* Get an extname from a path.
|
|
*
|
|
* @param {string} path
|
|
* File path.
|
|
* @returns {string}
|
|
* Extname.
|
|
*/
|
|
declare function extname(path: string): string;
|
|
/**
|
|
* Join segments from a path.
|
|
*
|
|
* @param {Array<string>} segments
|
|
* Path segments.
|
|
* @returns {string}
|
|
* File path.
|
|
*/
|
|
declare function join(...segments: Array<string>): string;
|
|
export {};
|
|
//# sourceMappingURL=minpath.browser.d.ts.map
|