UNPKG

@bobmatnyc/ai-code-review

Version:

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

46 lines (45 loc) 1.02 kB
/** * @fileoverview Type definitions for review action modules * * This module provides shared types used across the review action modules. */ /** * Priority levels for code review fixes */ export declare enum FixPriority { HIGH = "high", MEDIUM = "medium", LOW = "low" } /** * Structure representing a code fix suggestion */ export interface FixSuggestion { priority: FixPriority; file: string; description: string; currentCode?: string; suggestedCode?: string; lineNumbers?: { start: number; end: number; }; } /** * Summary of fix actions taken */ export interface FixSummary { highPriorityFixed: number; mediumPriorityFixed: number; lowPriorityFixed: number; totalSuggestions: number; } /** * Summary of suggestions found */ export interface SuggestionSummary { highPrioritySuggestions: FixSuggestion[]; mediumPrioritySuggestions: FixSuggestion[]; lowPrioritySuggestions: FixSuggestion[]; totalSuggestions: number; }