- ✅ 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
60 lines
2.3 KiB
TypeScript
60 lines
2.3 KiB
TypeScript
/* auto-generated by NAPI-RS */
|
|
/* eslint-disable */
|
|
|
|
export class Compiler {
|
|
constructor()
|
|
}
|
|
export type JsCompiler = Compiler
|
|
|
|
export declare function analyze(src: string, options: Buffer, signal?: AbortSignal | undefined | null): Promise<string>
|
|
|
|
export declare function bundle(confItems: Buffer, signal?: AbortSignal | undefined | null): Promise<{ [index: string]: { code: string, map?: string } }>
|
|
|
|
export declare function getTargetTriple(): string
|
|
|
|
export declare function initCustomTraceSubscriber(traceOutFilePath?: string | undefined | null): void
|
|
|
|
export declare function minify(code: Buffer, opts: Buffer, isJson: boolean, extras: NapiMinifyExtra, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
|
|
|
|
export declare function minifySync(code: Buffer, opts: Buffer, isJson: boolean, extras: NapiMinifyExtra): TransformOutput
|
|
|
|
export interface NapiMinifyExtra {
|
|
mangleNameCache?: object
|
|
}
|
|
|
|
export declare function newMangleNameCache(): object
|
|
|
|
export declare function parse(src: Buffer | string, options: Buffer, filename?: string | undefined | null, signal?: AbortSignal | undefined | null): Promise<string>
|
|
|
|
export declare function parseFile(path: string, options: Buffer, signal?: AbortSignal | undefined | null): Promise<string>
|
|
|
|
export declare function parseFileSync(path: string, opts: Buffer): string
|
|
|
|
export declare function parseSync(src: Buffer | string, opts: Buffer, filename?: string | undefined | null): string
|
|
|
|
export declare function print(programJson: string, options: Buffer, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
|
|
|
|
export declare function printSync(program: string, options: Buffer): TransformOutput
|
|
|
|
export declare function transform(src: string, isModule: boolean, options: Buffer, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
|
|
|
|
export declare function transformFile(src: string, isModule: boolean, options: Buffer, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
|
|
|
|
export declare function transformFileSync(s: string, isModule: boolean, opts: Buffer): TransformOutput
|
|
|
|
export interface TransformOutput {
|
|
code: string
|
|
map?: string
|
|
output?: string
|
|
diagnostics: Array<string>
|
|
}
|
|
|
|
/** Hack for `Type Generation` */
|
|
export interface TransformOutput {
|
|
code: string
|
|
map?: string
|
|
}
|
|
|
|
export declare function transformSync(s: string, isModule: boolean, opts: Buffer): TransformOutput
|
|
|