@bobmatnyc/ai-code-review
Version:
A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter
31 lines (30 loc) • 1.27 kB
TypeScript
/**
* @fileoverview Architectural review strategy implementation.
*
* This module implements an architectural review strategy using the abstract strategy
* base class. It focuses on reviewing the overall architecture and structure of a
* codebase, including dependency analysis and design patterns.
*/
import { AbstractStrategy } from '../base';
import { FileInfo, ReviewOptions, ReviewResult } from '../../types/review';
import { ProjectDocs } from '../../utils/projectDocs';
import { ApiClientConfig } from '../../core/ApiClientSelector';
/**
* Strategy for architectural code reviews
*/
export declare class ArchitecturalReviewStrategy extends AbstractStrategy {
/**
* Constructor
*/
constructor();
/**
* Execute the architectural review strategy
* @param files Array of file information objects
* @param projectName Name of the project
* @param projectDocs Optional project documentation
* @param options Review options
* @param apiClientConfig API client configuration
* @returns Promise resolving to the review result
*/
execute(files: FileInfo[], projectName: string, projectDocs: ProjectDocs | null, options: ReviewOptions, apiClientConfig: ApiClientConfig): Promise<ReviewResult>;
}