- ✅ 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
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
// Type definitions for winston-transport 3.0
|
|
// Project: https://github.com/winstonjs/winston-transport
|
|
// Definitions by: DABH <https://github.com/DABH>
|
|
// Definitions: https://github.com/winstonjs/winston-transport
|
|
|
|
/// <reference types="node" />
|
|
|
|
import * as stream from 'stream';
|
|
import * as logform from 'logform';
|
|
|
|
declare class TransportStream extends stream.Writable {
|
|
public format?: logform.Format;
|
|
public level?: string;
|
|
public silent?: boolean;
|
|
public handleExceptions?: boolean;
|
|
public handleRejections?: boolean;
|
|
|
|
constructor(opts?: TransportStream.TransportStreamOptions);
|
|
|
|
public log?(info: any, next: () => void): any;
|
|
public logv?(info: any, next: () => void): any;
|
|
public close?(): void;
|
|
}
|
|
|
|
declare namespace TransportStream {
|
|
interface TransportStreamOptions {
|
|
format?: logform.Format;
|
|
level?: string;
|
|
silent?: boolean;
|
|
handleExceptions?: boolean;
|
|
handleRejections?: boolean;
|
|
|
|
log?(info: any, next: () => void): any;
|
|
logv?(info: any, next: () => void): any;
|
|
close?(): void;
|
|
}
|
|
}
|
|
|
|
export = TransportStream;
|