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

19 lines 507 B
/** * Standard response wrapper for use cases */ export interface IResponseDto<T> { success: boolean; data?: T; error?: string; timestamp: Date; } export declare class ResponseDto<T> implements IResponseDto<T> { readonly success: boolean; readonly data?: T; readonly error?: string; readonly timestamp: Date; private constructor(); static ok<T>(data: T): ResponseDto<T>; static fail<T>(error: string): ResponseDto<T>; } //# sourceMappingURL=ResponseDto.d.ts.map