UNPKG

@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

15 lines 423 B
/** * Base entity class with ID and timestamps */ export declare abstract class BaseEntity { protected readonly _id: string; protected readonly _createdAt: Date; protected _updatedAt: Date; constructor(id?: string); get id(): string; get createdAt(): Date; get updatedAt(): Date; protected touch(): void; equals(entity?: BaseEntity): boolean; } //# sourceMappingURL=BaseEntity.d.ts.map