- ✅ 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
2.4 KiB
TypeScript
47 lines
2.4 KiB
TypeScript
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.d.Cy95HiCx.js';
|
|
import { R as RuntimeCoverageModuleLoader } from './chunks/coverage.d.BZtK59WP.js';
|
|
import { SerializedDiffOptions } from '@vitest/utils/diff';
|
|
export { O as OTELCarrier, T as Traces } from './chunks/traces.d.402V_yFI.js';
|
|
export { collectTests, startTests } from '@vitest/runner';
|
|
import * as _vitest_spy from '@vitest/spy';
|
|
export { _vitest_spy as SpyModule };
|
|
export { LoupeOptions, ParsedStack, StringifyOptions } from '@vitest/utils';
|
|
export { browserFormat, format, inspect, stringify } from '@vitest/utils/display';
|
|
export { processError } from '@vitest/utils/error';
|
|
export { getType } from '@vitest/utils/helpers';
|
|
export { DecodedMap, getOriginalPosition } from '@vitest/utils/source-map';
|
|
export { getSafeTimers, setSafeTimers } from '@vitest/utils/timers';
|
|
import '@vitest/pretty-format';
|
|
import '@vitest/snapshot';
|
|
|
|
declare function startCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader, runtimeOptions: {
|
|
isolate: boolean;
|
|
}): Promise<unknown>;
|
|
declare function takeCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader): Promise<unknown>;
|
|
declare function stopCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: RuntimeCoverageModuleLoader, runtimeOptions: {
|
|
isolate: boolean;
|
|
}): Promise<unknown>;
|
|
|
|
interface PublicModuleRunner {
|
|
import: (id: string) => Promise<any>;
|
|
}
|
|
|
|
declare function setupCommonEnv(config: SerializedConfig): Promise<void>;
|
|
declare function loadDiffConfig(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise<SerializedDiffOptions | undefined>;
|
|
declare function loadSnapshotSerializers(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise<void>;
|
|
|
|
interface FsOptions {
|
|
encoding?: BufferEncoding;
|
|
flag?: string | number;
|
|
}
|
|
interface BrowserCommands {
|
|
readFile: (path: string, options?: BufferEncoding | FsOptions) => Promise<string>;
|
|
writeFile: (path: string, content: string, options?: BufferEncoding | (FsOptions & {
|
|
mode?: number | string;
|
|
})) => Promise<void>;
|
|
removeFile: (path: string) => Promise<void>;
|
|
}
|
|
|
|
export { loadDiffConfig, loadSnapshotSerializers, setupCommonEnv, startCoverageInsideWorker, stopCoverageInsideWorker, takeCoverageInsideWorker };
|
|
export type { BrowserCommands, FsOptions };
|