UNPKG

weaver-frontend-cli

Version:

🕷️ Weaver CLI - Generador completo de arquitectura Clean Architecture con parser OpenAPI avanzado para entidades CRUD y flujos de negocio complejos

38 lines 1.38 kB
export interface ValidationResult { isValid: boolean; message: string; warnings?: string[]; } export interface EntityExistsResult { exists: boolean; conflictingFiles: string[]; message: string; } export declare class ProjectValidator { /** * Valida que la estructura del proyecto sea la correcta */ static validateProjectStructure(basePath: string, apiName?: string): Promise<ValidationResult>; /** * Verifica si una entidad ya existe en el proyecto */ static checkEntityExists(entityName: string, basePath: string, apiName?: string): Promise<EntityExistsResult>; /** * Verifica si una entidad de negocio ya existe en el proyecto */ static checkBusinessEntityExists(entityName: string, basePath: string, apiName?: string): Promise<EntityExistsResult>; /** * Valida la configuración completa antes de generar */ static validateBeforeGeneration(entityName: string, basePath: string, apiName?: string): Promise<{ canProceed: boolean; structureResult: ValidationResult; entityResult: EntityExistsResult; recommendations: string[]; }>; /** * Muestra un resumen de lo que se va a generar */ static showGenerationSummary(entityName: string, basePath: string, willOverwrite: boolean): void; } //# sourceMappingURL=project-validator.d.ts.map