@samiyev/guardian
Version:
Research-backed code quality guardian for AI-assisted development. Detects hardcodes, secrets, circular deps, framework leaks, entity exposure, and 9 architecture violations. Enforces Clean Architecture/DDD principles. Works with GitHub Copilot, Cursor, W
22 lines • 663 B
TypeScript
/**
* Matches and validates ORM-specific types and patterns
*
* Identifies ORM-specific types (Prisma, TypeORM, Mongoose, etc.)
* that should not appear in domain layer repository interfaces.
*/
export declare class OrmTypeMatcher {
private readonly ormTypePatterns;
/**
* Checks if a type name is an ORM-specific type
*/
isOrmType(typeName: string): boolean;
/**
* Extracts ORM type name from a code line
*/
extractOrmType(line: string): string;
/**
* Checks if a method name is a technical ORM method
*/
isTechnicalMethod(methodName: string): boolean;
}
//# sourceMappingURL=OrmTypeMatcher.d.ts.map