UNPKG

@bobmatnyc/ai-code-review

Version:

A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter

21 lines (20 loc) 672 B
/** * @fileoverview Factory for creating review strategy instances. * * This module provides a factory for creating the appropriate review strategy * based on the review options. It handles strategy selection, instantiation, * and customization. */ import { AbstractStrategy } from '../base'; import { ReviewOptions } from '../../types/review'; /** * Factory for creating review strategies */ export declare class StrategyFactory { /** * Create a strategy instance based on review options * @param options Review options * @returns The appropriate strategy instance */ static createStrategy(options: ReviewOptions): AbstractStrategy; }