UNPKG

structure-validation

Version:

A Node.js CLI tool for validating codebase folder and file structure using a clean declarative configuration. Part of the guardz ecosystem for comprehensive TypeScript development.

24 lines 597 B
/** * Configuration schema types for structure validation */ export interface ConfigPattern { patterns: string[]; exclude?: string[]; nested?: boolean; maxDepth?: number; validator?: (file: any) => boolean; } export interface ConfigSchema { [folder: string]: string[] | ConfigPattern; } export interface ValidationSchema { type: 'object'; properties: Record<string, any>; additionalProperties: boolean; } export interface ConfigValidationResult { isValid: boolean; errors: string[]; warnings: string[]; } //# sourceMappingURL=config.types.d.ts.map